From owner-acpi-jp@jp.freebsd.org  Wed Mar  7 18:06:16 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id SAA17815;
	Wed, 7 Mar 2001 18:06:16 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from webcom.it (brian.inet.it [213.92.4.195])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with SMTP id SAA17808
	for <acpi-jp@jp.freebsd.org>; Wed, 7 Mar 2001 18:06:14 +0900 (JST)
	(envelope-from andrea@webcom.it)
Received: (qmail 6345 invoked by uid 1000); 7 Mar 2001 09:01:32 -0000
Date: Wed, 7 Mar 2001 10:01:32 +0100
From: Andrea Campi <andrea@webcom.it>
To: acpi-jp@jp.freebsd.org
Cc: iwasaki@jp.freebsd.org
Message-ID: <20010307100131.B1268@webcom.it>
References: <20010305120159.A535@webcom.it> <20010306214734D.iwasaki@jp.FreeBSD.org> <20010306141642.C421@webcom.it> <20010307002422X.iwasaki@jp.FreeBSD.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010307002422X.iwasaki@jp.FreeBSD.org>; from iwasaki@jp.freebsd.org on Wed, Mar 07, 2001 at 12:24:22AM +0900
X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 1095
Subject: [acpi-jp 1095] Re: Bug in battery support in IBM Thinkpad?
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: andrea@webcom.it

> 
> > By the way, did you have a look at my ASL file? I'm not an expert but it
> > _BIF and _BST entries look suspicious to me...
> 
> That is not so strange for me.  I wrote simple asl for the test,
> executed it with acpicadb, and got a normal result.
> 
>         Name(BSTB, Package(0x4) {
>             0x0,
>             0xffffffff,
>             0xffffffff,
>             0xffffffff,
>         })
> 		:
>         Method(_BIF) {
> 		:
>             Store("LION", Index(BIFB, 0xb, ))
>             Return(BIFB)
>         }
> 
> And we have a almost same ACPI data with yours, not TP570E but TP570.
> http://www.jp.freebsd.org/cgi/cvsweb.cgi/ACPI/data/TP570.asl?cvsroot=freebsd-jp

Ok if it's not my machine, then there must be something wrong in how we parse
the ASL; but if so, why wasn't it showing up on everybody else's machine?

Here we have a structure full of bogus data. I saw nothing really strange in
our dev/acpi, so it's probably in the contrib/ code... I even tried enabiling
DEBUG for most of the layers/levels, but the I get so much debugging that my
serial couln't possibly handle!!

Bah. If you don't have suggestions on how to debug it, I'll look closer at the
code and see if something could be writing garbage around on the stack / heap
(as might very well be the case here), but there's not much more that I can do.

Bye,
	Andrea

-- 
Failure is not an option. It comes bundled with your Microsoft product.
