Subject: port-i386/23868: ACPI no longer gives battery/temp info
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@fluff.azeotrope.org>
List: netbsd-bugs
Date: 12/24/2003 01:45:46
>Number:         23868
>Category:       port-i386
>Synopsis:       ACPI no longer gives battery/temp info
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 24 07:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dave Huang
>Release:        NetBSD 1.6ZG
>Organization:
	
>Environment:
	
	
System: NetBSD fluff.azeotrope.org 1.6ZG NetBSD 1.6ZG (FLUFF) #35: Wed Dec 24 01:26:47 CST 2003 khym@fluff.azeotrope.org:/usr/obj.i386/sys/arch/i386/compile/FLUFF i386
Architecture: i386
Machine: i386
>Description:
	Since the import of ACPI-CA 20031203, my Dell Inspiron 8000 no
longer provides battery and temperature information. envstat -r
reports 0 for all of the battery values, and 25.050 degrees C for the
temperature. An earlier kernel works fine.

Current dmesg excerpt:

NetBSD 1.6ZG (FLUFF) #35: Wed Dec 24 01:26:47 CST 2003
	khym@fluff.azeotrope.org:/usr/obj.i386/sys/arch/i386/compile/FLUFF
total memory = 511 MB
avail memory = 469 MB
using 6144 buffers containing 26292 KB of memory
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 848.18 MHz, id 0x686
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20031203
acpi0: X/RSDT: OemId <DELL  , CPi R  ,27d30303>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibat1 at acpi0 (PNP0C0A-2): ACPI Battery (Control Method)
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0F13 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
  [ a lot of PCI and ISA devices removed ]
acpibat0: battery info: , , , 
        -0169: *** Error: UtAllocate: Attempt to allocate zero bytes
        -0169: *** Error: UtAllocate: Attempt to allocate zero bytes
        -0169: *** Error: UtAllocate: Attempt to allocate zero bytes
        -0169: *** Error: UtAllocate: Attempt to allocate zero bytes
acpibat1: battery info: , , , 


A working kernel shows:

NetBSD 1.6ZE (FLUFF) #34: Sat Nov  1 19:06:39 CST 2003
	khym@fluff.azeotrope.org:/usr/obj.i386/sys/arch/i386/compile/FLUFF
total memory = 511 MB
avail memory = 469 MB
using 6144 buffers containing 26292 KB of memory
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 848.19 MHz, id 0x686
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20031029
acpi0: X/RSDT: OemId <DELL  , CPi R  ,27d30303>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibat1 at acpi0 (PNP0C0A-2): ACPI Battery (Control Method)
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0F13 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0700 at acpi0 not configured
PNP0501 at acpi0 not configured
SMCF010 at acpi0 not configured
PNP0401 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
  [ a lot of PCI and ISA devices removed ]

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: