Skip to contentSkip to conversation

ACPI battery info failure after some period of time, 2.6.3-x and up

DISCUSSION David Ford 6 participants 10 messages Mar 4, 2004 – Mar 5, 2004

lore
Share & tools
lore

David Ford

author
#0 lore raw

powerix root # cat /proc/acpi/battery/BAT0/state
present: yes
ERROR: Unable to read battery status

powerix root # dmesg -c
ACPI-0279: *** Error: Looking up [BST0] in namespace, AE_ALREADY_EXISTS
ACPI-1120: *** Error: Method execution failed [\_SB_.BAT0._BST]
(Node e7bd7680), AE_ALREADY_EXISTS

powerix root # uname -r
2.6.4-rc1

This has been going on since about 2.6.3-rc something. Some while after reading the /proc files, the ability to read the battery information gets munged.

#1 lore raw
Quoted 9 lines · On 12:29 pm Mar 4 David Ford <[email protected]> wrote:

powerix root # cat /proc/acpi/battery/BAT0/state
present: yes
ERROR: Unable to read battery status

powerix root # dmesg -c

    ACPI-0279: *** Error: Looking up [BST0] in namespace,

AE_ALREADY_EXISTS ACPI-1120: *** Error: Method execution failed
[\_SB_.BAT0._BST] (Node e7bd7680), AE_ALREADY_EXISTS

Quoted 6 lines

powerix root # uname -r
2.6.4-rc1

This has been going on since about 2.6.3-rc something. Some while after reading the /proc files, the ability to read the battery information gets munged.

Same here on a Toshiba 1410-s173 noteboook:

[logger] ACPI group battery / action battery is not defined [kernel] ACPI-0279: *** Error: Looking up [BUFF] in namespace,
AE_ALREADY_EXISTS

I don't think it's happened in less than 24 hours of uptime, during which everything is good. I have been using suspend to ram daily if that matters (echo 3 > /proc/acpi/sleep).

Linux version 2.6.3-wolk1.0 (root@jackass) (gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)) #1 Thu Feb 26 16:18:24 CST 2004

\__ Jason Munro
\__ [email protected]
\__ http://hastymail.sourceforge.net/

#2 lore raw
Quoted 23 lines · Jason Munro
Quoted 9 lines · On 12:29 pm Mar 4 David Ford <[email protected]> wrote:

powerix root # cat /proc/acpi/battery/BAT0/state
present: yes
ERROR: Unable to read battery status

powerix root # dmesg -c

    ACPI-0279: *** Error: Looking up [BST0] in namespace,

AE_ALREADY_EXISTS ACPI-1120: *** Error: Method execution failed
[\_SB_.BAT0._BST] (Node e7bd7680), AE_ALREADY_EXISTS

Quoted 6 lines

powerix root # uname -r
2.6.4-rc1

This has been going on since about 2.6.3-rc something. Some while after reading the /proc files, the ability to read the battery information gets munged.

Same here on a Toshiba 1410-s173 noteboook:

[logger] ACPI group battery / action battery is not defined [kernel] ACPI-0279: *** Error: Looking up [BUFF] in namespace,
AE_ALREADY_EXISTS

Quoted 6 lines

I don't think it's happened in less than 24 hours of uptime, during which everything is good. I have been using suspend to ram daily if that matters (echo 3 > /proc/acpi/sleep).

Linux version 2.6.3-wolk1.0 (root@jackass) (gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)) #1 Thu Feb 26 16:18:24 CST 2004

Happened once to me. I actually thought my battery was dying, so I went into the BIOS and did a battery cycle (full discharge). Hasn't come back since, but I'd guess that was a co-incidence. Probably needed it anyway.

Feb 21 18:32:10 kosh kernel:     ACPI-0279: *** Error: Looking up [NACH] in 
namespace, AE_ALREADY_EXISTS
Feb 21 18:32:10 kosh kernel:     ACPI-1120: *** Error: Method execution failed 

[\_SB_.BAT0._BST] (Node c7f88ba0), AE_ALREADY_EXISTS

Was running 2.6.3 (vanilla) at the time. Uptime at this point (first mention in logs) was ~1 day, 1 hour & 15 mins. Probably haven't had >24 hrs uptime since then. Will have this weekend (for testing).

Laptop is an Asus L7300/L7200 (PIII-600 on 440MX chipset) with the latest BIOS. Currently running 2.6.4-rc2 vanilla.

author
#3 lore raw

run a watch -n 1 'cat /proc.../status' and it'll happen really quick, on my machine it happens inside 15 minutes. my notebook is a dell inpsiron 8200.

Quoted 28 lines · Stuart Young
Quoted 6 lines · Jason Munro

Same here on a Toshiba 1410-s173 noteboook:

[logger] ACPI group battery / action battery is not defined [kernel] ACPI-0279: *** Error: Looking up [BUFF] in namespace,
AE_ALREADY_EXISTS

Quoted 8 lines

I don't think it's happened in less than 24 hours of uptime, during which everything is good. I have been using suspend to ram daily if that matters (echo 3 > /proc/acpi/sleep).

Linux version 2.6.3-wolk1.0 (root@jackass) (gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)) #1 Thu Feb 26 16:18:24 CST 2004

Happened once to me. I actually thought my battery was dying, so I went into the BIOS and did a battery cycle (full discharge). Hasn't come back since, but I'd guess that was a co-incidence. Probably needed it anyway.

Feb 21 18:32:10 kosh kernel:     ACPI-0279: *** Error: Looking up [NACH] in namespace, AE_ALREADY_EXISTS
Feb 21 18:32:10 kosh kernel:     ACPI-1120: *** Error: Method execution failed [\_SB_.BAT0._BST] (Node c7f88ba0), AE_ALREADY_EXISTS

Was running 2.6.3 (vanilla) at the time. Uptime at this point (first mention in logs) was ~1 day, 1 hour & 15 mins. Probably haven't had >24 hrs uptime since then. Will have this weekend (for testing).

Laptop is an Asus L7300/L7200 (PIII-600 on 440MX chipset) with the latest BIOS. Currently running 2.6.4-rc2 vanilla.

#4 lore raw
Quoted 3 lines · David Ford

run a watch -n 1 'cat /proc.../status' and it'll happen really quick, on my machine it happens inside 15 minutes. my notebook is a dell inpsiron 8200.

Tried it as soon as you sent me a reply using:
watch -n 1 'cat /proc/acpi/battery/BAT0/state'

...and it just failed then, using 2.6.4-rc2 still.

--
Stuart Young - [email protected] is for LKML and related email only

#5 lore raw
Quoted 1 line · Stuart Young

...and it just failed then, using 2.6.4-rc2 still.

have you tried applying patch from ...

ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.4/ acpi-20040220-2.6.4.diff.bz2

I'm on IBM X30, linux 2.6.4-rc2. No problem.

# uptime
 13:02:07 up  3:31,  4 users,  load average: 0.08, 0.07, 0.08
# cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          unknown
present rate:            0 mW
remaining capacity:      31780 mWh
present voltage:         12419 mV

Jeff.

#6 lore raw
Quoted 4 lines · On 11:02 pm Mar 4 Jeff Chua <[email protected]> wrote:
Quoted 1 line · Stuart Young

...and it just failed then, using 2.6.4-rc2 still.

root@jackass /proc/acpi/battery/BAT1# watch -n 1 'cat ./state'

Over 30 minutes running and still looks fine. I use the GKACPI Gkrellm plugin which polls the battery status every 30 seconds I beleive. Since this started I have gone up to 2 + days uptime without it being triggered, but sometimes its less.

Quoted 5 lines

have you tried applying patch from ...

ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release /2.6.4/
acpi-20040220-2.6.4.diff.bz2

The 2.6.3 patch from the same release day does not apply cleanly with the wolk patchset in place :/ I will try the latest with this patch and see what happens.

\__ Jason Munro
\__ [email protected]
\__ http://hastymail.sourceforge.net/

#7 lore raw
Quoted 4 lines
Quoted 4 lines

have you tried applying patch from ... ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release /2.6.4/
acpi-20040220-2.6.4.diff.bz2

this patch did not help on my dell inspiron 3800. the battery status worked with 2.6.0, but it's been broken in the past couple versions. same as others were seeing:
ACPI-0279: *** Error: Looking up [BST0] in namespace, AE_ALREADY_EXISTS
ACPI-1120: *** Error: Method execution failed [\_SB_.BAT0._BST] (Node d7fc7ba0), AE_ALREADY_EXISTS

i'm trying 2.6.4-rc2 with this acpi patch.

Signature · 3 lines
____________________}John Flinchbaugh{______________________
| [email protected]         http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~
#8 lore raw
In reply to Jeff Chua
Quoted 15 lines · Jeff Chua
Quoted 1 line · Stuart Young

...and it just failed then, using 2.6.4-rc2 still.

have you tried applying patch from ...

ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6. 4/ acpi-20040220-2.6.4.diff.bz2

I'm on IBM X30, linux 2.6.4-rc2. No problem.

# uptime
 13:02:07 up  3:31,  4 users,  load average: 0.08, 0.07, 0.08
Quoted 7 lines
# cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          unknown
present rate:            0 mW
remaining capacity:      31780 mWh
present voltage:         12419 mV

Same failure. Works for 15-20 mins, then it stops reporting anything past the battery being present.

--
Stuart Young - [email protected] is for LKML and related email only

#9 lore raw
In reply to David Ford

Hi,

I have had this problem (or at least very similar) since 2.6.0. the -test worked fine.

I run 2.6.3-gentoo-r1 on a Dell Inspiron 8600

Charles

Quoted 16 lines · On Thu, 04 Mar 2004 13:29:01 -0500 David Ford…

powerix root # cat /proc/acpi/battery/BAT0/state
present: yes
ERROR: Unable to read battery status

powerix root # dmesg -c

    ACPI-0279: *** Error: Looking up [BST0] in namespace,
    AE_ALREADY_EXISTS ACPI-1120: *** Error: Method execution failed
    [\_SB_.BAT0._BST] 

(Node e7bd7680), AE_ALREADY_EXISTS

powerix root # uname -r
2.6.4-rc1

This has been going on since about 2.6.3-rc something. Some while after reading the /proc files, the ability to read the battery information gets munged.