Subject: Re: NOTE: ACPI update
To: None <current-users@netbsd.org>
From: Takayoshi Kochi <kochi@netbsd.org>
List: current-users
Date: 11/21/2003 10:30:15
Hi,

From: Takayoshi Kochi <kochi@netbsd.org>
Subject: Re: NOTE: ACPI update
Date: Sun, 09 Nov 2003 22:11:56 +0900 (JST)

> > When I try envstat -r some times, the kernel will start spiting
> > these messages and _BST can never be retrieved.
> > 
> > |utdelete-0478 [13] UtUpdateRefCount      : **** Warning **** Large Reference Count (CACA) in object 0xc0e6bd28
> > |
> > |utdelete-0478 [13] UtUpdateRefCount      : **** Warning **** Large Reference Count (CACB) in object 0xc0e6bd28
> > |
> > |utdelete-0478 [09] UtUpdateRefCount      : **** Warning **** Large Reference Count (CACC) in object 0xc0e6bd28
> > |utobject-0558 [04] UtGetSimpleObjectSize : Unsupported type=CA in object 0xc0e6bd28
> > |utdelete-0478 [03] UtUpdateRefCount      : **** Warning **** Large Reference Count (CACA) in object 0xc0e6bd28
> > |
> > |bat: failed to evaluate _BST: 0x8
> > 
> > This is a known problem since ACPI CA 20030619 and it prevented
> > me from updating the ACPI CA tree in NetBSD.
> > Clearly the memory was broken by someone.
> > 
> > I haven't had time to investigate this but Nate Lawson (working
> > for FreeBSD) is at least aware of this and maybe someone
> > at Intel is also aware.
> > 
> > I'll check the status of this and back to you later.
> 
> Unfortunately, no one has got a clue yet.

I got a fix from an Intel guy and commited it yesterday.
This should fix reading battery status on many ThinkPads.
If this breaks something, please report.

---
Takayoshi Kochi