[ACPI-sppt] System freeze when lid is closed.

Bryan Moffit <[email protected]>
Newsgroups gmane.linux.acpi.support
Message-ID <Pine.LNX.4.44.0307310516590.29392-100000@home1>
My system freezes up if I leave the lid closed on my Dell Inspiron 5100 
for some amount of time.  Sometimes it takes 30 minutes... sometimes a few 
hours.  When it comes back up, I check my /var/log/acpid (showing when I 
closed my lid at 22:34:19, then when I rebooted at 05:07:28):

...snip...
[Mon Jul 28 22:34:19 2003] received event "button/lid LID 00000080 00000011"
[Mon Jul 28 22:34:19 2003] completed event "button/lid LID 00000080 00000011"
[Tue Jul 29 05:07:28 2003] starting up
...snip...

And a corresponding entries in /var/log/messages (entries between the 
times of the above events, when the lid was closed):

...snip...
Jul 29 02:04:16 home1 kernel:     ACPI-0334: *** Error: Looking up [PBST] in namespace, AE_NOT_FOUND
Jul 29 02:04:16 home1 kernel:     ACPI-1103: *** Error: Method execution failed [\_SB_.PCI0.LPC0.BAT1._BST] (Node c167ba80), AE_NOT_FOUND
...snip...

Funny... the battery readback works fine when the lid is open.  Only when 
I shut the lid, do I get this error message (after some indefinite amount 
of time).  And I have to do a hard-reboot (holding down the power button 
until the system restarts).  I've even tried removing "Button" ACPI 
support from the kernel... but get the same results.

For completeness... here's a dmesg output (ACPI relevant stuff only):

Linux version 2.4.20 ([email protected]) (gcc version 3.2.2 20030222 
(Red Hat Linux 3.2.2-5)) #1 Tue Jul 29 12:53:37 EDT 2003
...
...
ACPI: have wakeup address 0xc0001000
...
ACPI: RSDP (v000 PTLTD                      ) @ 0x000f78e0
ACPI: RSDT (v001 PTLTD    RSDT   01540.00000) @ 0x1ff76dd0
ACPI: FADT (v001 INTEL  NBGV     01540.00000) @ 0x1ff7af64
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 01540.00000) @ 0x1ff7afd8
ACPI: DSDT (v001  INTEL Brkdle_G 01540.00000) @ 0x00000000
ACPI: BIOS passes blacklist
...
PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=2
PCI: Using configuration type 1
    ACPI-0274: *** Info: Table [DSDT] replaced by host OS
    ACPI-0263: *** Info: GPE Block0 defined as GPE0 to GPE31
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.SLOT._PRT]
ACPI: Embedded Controller [EC0] (gpe 28)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 10 11 14 15, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 10 11 14 15, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 10 11 14 15, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 10 11 14 15, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 *10 11 14 15)
schedule_task(): keventd has not started
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
...
ACPI: AC Adapter [ACAD] (off-line)    // Only because my power cable wasn't connected at the time.
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Processor [CPU0] (supports C1 C2, 8 throttling states)
ACPI: Thermal Zone [THRM] (44 C)
...

My webpage (seems to be somewhat popular lately), outlines how I compiled 
ACPI support into my kernel:
http://cabibbo.physics.wm.edu/computer/inspiron5100.html

I suspect that the DSDT I've used (for BIOS A02) may not be completely 
compatible with the BIOS of my laptop A06.  I've attempted to construct my 
own table... but the Intel instructions (using pmtools and iasl) lead to 
errors:

> ./acpidmp | ./acpixtract DSDT > dsdt.dat 
> iasl -d dsdt.dsl 

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030522 [May 23 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

Loading Acpi table from file dsdt.dsl
 tbutils-0221: *** Warning: Invalid table signature found: [nsse]
Table header is invalid!
Couldn't get table from the file

> cat dsdt.dsl
nssearch-0386: *** Error: NsSearchAndEnter: Bad character in ACPI Name: 50015452
  psargs-0438: *** Error: Looking up [0x50015452] (NON-ASCII)
 in namespace, AE_BAD_CHARACTER
SearchNode (nil) StartNode (nil) ReturnNode 0x80a1c7c
 psparse-1284: *** Error: , AE_BAD_CHARACTER
Could not parse ACPI tables, AE_BAD_CHARACTER

Argh.  I don't think that my new laptop is a bad character. ;b 

Can anyone offer any suggestions on any of the problems I've mentioned?


-- 
-------------------------------------------------------------------------------
		 Bryan Moffit
	  email: [email protected]



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.