Bug 5463

Summary: Battery info no longer available - AE_AML_METHOD_LIMIT
Product: ACPI Reporter: Alejandro Bonilla Beeche (abonilla)
Component: ACPICA-CoreAssignee: Robert Moore (Robert.Moore)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla, edpeur
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.14-rc4-git Subsystem:
Regression: --- Bisected commit-id:
Attachments: acpidump

Description Alejandro Bonilla Beeche 2005-10-18 10:40:51 UTC
Most recent kernel where this bug did not occur:
Distribution: Debian Sid/Unstable
Hardware Environment: IBM T42
Software Environment: Debian Sid
Problem Description: Problem occurs after I leave the PC for some long time with
xlock running.

Steps to reproduce: Problem occurs after I leave the PC for some long time with
xlock running. (I use tpb to manage buttons, I leave xlock -mode matrix and then
get back after some time. It might give the problem or might not, is really random.

MORE:

> >I think that whenever I put my PC on xlock(matrix screensaver BTW) for
> >too long and then I come back, I see my gnome 2.10 battery
> >icon says N/A.
> >
> >Then, dmesg is full of these messages.
> >
> >    ACPI-0213: *** Error: Method reached maximum reentrancy limit (255)
> >    ACPI-0508: *** Error: Method execution failed
> >[\_SB_.PCI0.LPC_.EC__.BAT0._BIF] (Node c14cd4c0), AE_AML_METHOD_LIMIT
> >    ACPI-0213: *** Error: Method reached maximum reentrancy limit (255)
> >    ACPI-0508: *** Error: Method execution failed
> >[\_SB_.PCI0.LPC_.EC__.BAT0._BIF] (Node c14cd4c0), AE_AML_METHOD_LIMIT
> >    ACPI-0213: *** Error: Method reached maximum reentrancy limit (255)
> >    ACPI-0508: *** Error: Method execution failed
> >[\_SB_.PCI0.LPC_.EC__.BAT0._BIF] (Node c14cd4c0), AE_AML_METHOD_LIMIT
> >    ACPI-0213: *** Error: Method reached maximum reentrancy limit (255)
> >    ACPI-0508: *** Error: Method execution failed
> >[\_SB_.PCI0.LPC_.EC__.BAT0._BIF] (Node c14cd4c0), AE_AML_METHOD_LIMIT
> >
> >abonilla@debian:~$ apt-cache show acpi | grep Version
> >Version: 0.09-1
> >abonilla@debian:~$ apt-cache show acpid | grep Version
> >Version: 1.0.4-3
> >
> >/etc/init.d/acpid restart has no effect.
> >
> >abonilla@debian:~$ acpi -V
> >     Thermal 1: ok, 40.0 degrees C
> >  AC Adapter 1: off-line
> >
> >It is just not showing the battery information.
Comment 1 Len Brown 2005-10-19 18:47:43 UTC
Please verify that you're running the latest released BIOS.

Please attach the output from acpidump --
available in the latest pmtools here:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
Comment 2 Alejandro Bonilla Beeche 2005-10-23 16:38:54 UTC
Some more info from the syslog. This is now the beggining of the error.

Oct 17 18:17:01 localhost /USR/SBIN/CRON[6238]: (root) CMD (   run-parts
--report /etc/cron.hourly)
Oct 17 18:39:16 localhost kernel:     ACPI-0292: *** Error: Looking up [SERN] in
namespace, AE_ALREADY_EXISTS
Oct 17 18:39:16 localhost kernel:     ACPI-0508: *** Error: Method execution
failed [\_SB_.PCI0.LPC_.EC__.GBIF] (Node c14cd600), AE_ALREADY_EXISTS
Oct 17 18:39:16 localhost kernel:     ACPI-0213: *** Error: Method reached
maximum reentrancy
Comment 3 Robert Moore 2005-10-24 13:29:45 UTC
Need acpidump output
Comment 4 Alejandro Bonilla Beeche 2005-10-24 14:34:22 UTC
Created attachment 6381 [details]
acpidump

I did a acpidump -o acpidump.out as said in the README.

Thanks!
Comment 5 Robert Moore 2005-11-17 10:26:03 UTC
Fixed in version 20051117

The METHOD_LIMIT error should go away completely. The ALREADY_EXISTS error 
will happen once or twice. After that, the method is marked non-reentrant and 
the error will no longer happen.

We are investigating an enhancement to get rid of the ALREADY_EXISTS error 
completely.
Comment 6 Robert Moore 2005-11-17 10:29:11 UTC
*** Bug 5490 has been marked as a duplicate of this bug. ***
Comment 7 Len Brown 2006-02-02 14:58:36 UTC
ACPICA 20060127 shipped in Linux-2.6.16-rc1-git6 -- closing.