Subject: Re: ACPI panic. (in acpibat)
To: Jared D. McNeill <jmcneill@invisible.ca>
From: None <wulf@ping.net.au>
List: port-i386
Date: 01/09/2003 22:05:12
> 
> This is a multi-part message in MIME format.
> --------------000900030403020108050001
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> Andrew Gillham wrote:
> 
> >Hi,
> >
> >My Dell Latitude CPx panics if I have the acpibat driver enabled.
> >Below is the boot messages / traceback from my serial console.
> >  
> >
> Can you try the attached patch to dev/acpi/acpica/Subsystem/dsobject.c 
> and let me know how you make out?

Hi,

I've tried this patch on my laptop with the following result:

mainbus0 (root)
 tbxface-0198 [01] AcpiLoadTables        : ACPI Tables successfully acquired
Parsing all Control Methods:
Table [DSDT] - 370 Objects with 52 Devices 157 Methods 2 Regions
ACPI Namespace successfully loaded at root 0xc04d27f8
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Mobile Pentium III (686-class), 996.73 MHz, id 0x6b1
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 512 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: 16 page colors
acpi0 at mainbus0
evxfevnt-0173 [02] AcpiEnable            : Transition to ACPI mode successful
acpi0: SCI interrupting at irq 9
acpi_pci_fixup starts:
acpi0: fixing up PCI bus 0 at level 1
acpi0: fixing up intr link \_SB_.PCI0.LNKC
acpi0: fixing up PCI bus 1 at level 2
acpi0: fixing up PCI bus 2 at level 2
acpi0: fixing up PCI bus 3 at level 3
ACPI Object Type 0x0c at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpiacad0: AC adapter connected
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibat0: not present
acpibat1 at acpi0 (PNP0C0A-2): ACPI Battery (Control Method)
dsobject-0296: *** Warning: Buffer created with zero length in AML
 psparse-1286: *** Error: Method execution failed [\SX45] (Node 0xc098cd28), AE_NO_MEMORY
 psparse-1286: *** Error: Method execution failed [\_SB_.BIF_] (Node 0xc098f0a8), AE_NO_MEMORY
 psparse-1286: *** Error: Method execution failed [\_SB_.BAT1._BIF] (Node 0xc09906a8), AE_NO_MEMORY
acpibat1: failed to evaluate _BIF: 4
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0C01 [System Board] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0F13 [PS/2 Port for PS/2-style Mice] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
ACPI Object Type 0x0b at acpi0 not configured
acpitz0 at acpi0 (): ACPI Thermal Zone
acpitz0: failed to evaluate _TZP: 5
[...]

BTW: The kernel will crash immediately after loading the APCI namespace
if acpi0 and ioapic are enabled together.

cheerio Berndt