New problem reading battery
After about a day of uptime, ACPI on my laptop seems to die, and is no longer able to read the battery, as well as leaving several error messages in the logs. Note that on bootup, everything seems to work fine (and continues to work fine for about a day).
I'm running acpi-0702 + nocorruption.2 patch + omnibook module + toshiba3k module. System is a Compal ACL00 (same as Toshiba 3000 series, same manufacturer as HP omnibook). Note that the omnibook module (/proc/omnibook/battery) is still able to read the battery status because it doesn't depend on ACPI, but reads the hardware directly. So this is an ACPI problem, and probably not hardware. ;)
I suspect that this may be the cause of the hard-system lockup I sometimes see, with the same frequency -- ~once/day. No oops, system just hangs, or sometimes turns itself off. But when it hangs I can still ping it, though not ssh in to it.
Here are a log of all the relevant messages this boot (uptime 1 day, 14 hours), Boot was at Jul 23 19:49:49 (scroll to bottom to see the errors):
Jul 23 19:49:49 localhost kernel: ACPI: RSDP (v000 TOSCPL ) @ 0x000f6ed0 Jul 23 19:49:49 localhost kernel: ACPI: RSDT (v001 TOSCPL RSDT 01540.00000) @ 0x1fef9be0 Jul 23 19:49:49 localhost kernel: ACPI: FADT (v001 TOSCPL 888M2 01540.00000) @ 0x1fefef8c Jul 23 19:49:49 localhost kernel: ACPI: MADT not present Jul 23 19:49:49 localhost kernel: Local APIC disabled by BIOS -- reenabling. Jul 23 19:49:49 localhost kernel: Found and enabled local APIC! Jul 23 19:49:49 localhost kernel: ACPI: Subsystem revision 20020702 Jul 23 19:49:49 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd96a, last bus=2 Jul 23 19:49:49 localhost kernel: PCI: Using configuration type 1 Jul 23 19:49:49 localhost kernel: tbxface-0099 [03] Acpi_load_tables : ACPI Tables successf ully loaded Jul 23 19:49:49 localhost random: Initializing random number generator: succeeded Jul 23 19:49:49 localhost kernel: Parsing Methods:............................................... ................................................................................................. ..................................... Jul 23 19:49:49 localhost kernel: Table [DSDT] - 579 Objects with 57 Devices 181 Methods 16 Regio ns Jul 23 19:49:49 localhost kernel: ACPI Namespace successfully loaded at root c033973c Jul 23 19:49:49 localhost kernel: evxfevnt-0076 [04] Acpi_enable : Transition to ACPI m ode successful Jul 23 19:49:49 localhost kernel: Executing all Device _STA and_INI methods:..................... .................................... Jul 23 19:49:49 localhost kernel: 57 Devices found containing: 57 _STA, 1 _INI methods Jul 23 19:49:49 localhost acpid: acpid startup succeeded Jul 23 19:49:49 localhost kernel: Completing Region/Field/Buffer/Package initialization:......... ...................................................... Jul 23 19:49:50 localhost kernel: Initialized 11/16 Regions 0/0 Fields 34/34 Buffers 18/18 Packag es (579 nodes) Jul 23 19:49:50 localhost kernel: ACPI: Interpreter enabled Jul 23 19:49:50 localhost kernel: ACPI: Using PIC for interrupt routing Jul 23 19:49:50 localhost kernel: ACPI: System [ACPI] (supports S0 S1 S4 S5) Jul 23 19:49:50 localhost kernel: ACPI: PCI Root Bridge [PCI0] (00:00) Jul 23 19:49:50 localhost kernel: PCI: Probing PCI hardware (bus 00) Jul 23 19:49:50 localhost pcmcia: Starting PCMCIA services: Jul 23 19:49:50 localhost kernel: Unknown bridge resource 0: assuming transparent Jul 23 19:49:50 localhost kernel: Unknown bridge resource 2: assuming transparent Jul 23 19:49:50 localhost kernel: pci_bind-0191 [103] acpi_pci_bind : Device 00:02:00.01 not present in PCI namespace Jul 23 19:49:50 localhost kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 *10 11 12 14 15 ) Jul 23 19:49:50 localhost kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 *10 11 12 14 15 ) Jul 23 19:49:50 localhost kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *9 10 11 12 14 15 ) Jul 23 19:49:50 localhost kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11 12 14 15 ) Jul 23 19:49:50 localhost kernel: ACPI: Embedded Controller [EC0] (gpe 28)
Jul 23 19:49:50 localhost kernel: ACPI: Battery Slot [BAT1] (battery present) Jul 23 19:49:50 localhost kernel: ACPI: Power Button (FF) [PWRF] Jul 23 19:49:50 localhost kernel: ACPI: Lid Switch [LID] Jul 23 19:49:50 localhost kernel: ACPI: Sleep Button (CM) [SLPB] Jul 23 19:49:50 localhost kernel: ACPI: Processor [CPU0] (supports C1, 2 performance states) Jul 23 19:49:50 localhost kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_ IRQ SERIAL_PCI SERIAL_ACPI enabled Jul 24 19:48:49 localhost kernel: dsutils-0349 [87827] Ds_create_operand : Object name [PBST] was not found in namespace Jul 24 19:48:49 localhost kernel: dsutils-0512 [87826] Ds_create_operands : While creating Arg 1 - AE_AML_NAME_NOT_FOUND Jul 24 20:04:10 localhost kernel: utmisc-0608 [87835] Ut_acquire_mutex : Thread 6D11 couldnot acquire Mutex [ACPI_MTX_Namespace] AE_ERROR Jul 24 20:04:10 localhost kernel: acpi_battery-0195 [87833] acpi_battery_get_statu: Error evaluating _BST Jul 24 20:32:40 localhost kernel: acpi_utils-0071 [87914] acpi_extract_package : Invalid 'package' argument Jul 24 20:32:40 localhost kernel: acpi_battery-0205 [87913] acpi_battery_get_statu: Error extracting _BST Jul 24 23:35:15 localhost kernel: exresnte-0103 [87888] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 24 23:35:15 localhost kernel: acpi_battery-0195 [87883] acpi_battery_get_statu: Error evaluating _BST Jul 24 23:35:15 localhost kernel: exresnte-0103 [87888] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 24 23:35:15 localhost kernel: acpi_battery-0195 [87883] acpi_battery_get_statu: Error evaluating _BST Jul 25 00:13:08 localhost kernel: exresnte-0103 [87891] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 25 00:13:08 localhost kernel: acpi_battery-0195 [87886] acpi_battery_get_statu: Error evaluating _BST Jul 25 00:13:08 localhost kernel: exresnte-0103 [87891] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 25 00:13:08 localhost kernel: acpi_battery-0195 [87886] acpi_battery_get_statu: Error evaluating _BST Jul 25 00:44:13 localhost kernel: exresnte-0103 [87891] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 25 00:44:13 localhost kernel: acpi_battery-0195 [87886] acpi_battery_get_statu: Error evaluating _BST Jul 25 00:44:13 localhost kernel: exresnte-0103 [87891] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 25 00:44:13 localhost kernel: acpi_battery-0195 [87886] acpi_battery_get_statu: Error evaluating _BST Jul 25 10:16:33 localhost kernel: exresnte-0103 [87984] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 25 10:16:33 localhost kernel: acpi_battery-0195 [87979] acpi_battery_get_statu: Error evaluating _BST Jul 25 10:16:33 localhost kernel: exresnte-0103 [87984] Ex_resolve_node_to_val: No object attached to node c1832968 Jul 25 10:16:33 localhost kernel: acpi_battery-0195 [87979] acpi_battery_get_statu: Error evaluating _BST Jul 25 10:19:23 localhost kernel: utmisc-0608 [87991] Ut_acquire_mutex : Thread 4B01 couldnot acquire Mutex [ACPI_MTX_Namespace] AE_ERROR Jul 25 10:19:23 localhost kernel: acpi_battery-0134 [87989] acpi_battery_get_info : Error evaluating _BIF Jul 25 10:19:31 localhost kernel: utmisc-0608 [87991] Ut_acquire_mutex : Thread 4B02 couldnot acquire Mutex [ACPI_MTX_Namespace] AE_ERROR Jul 25 10:19:31 localhost kernel: acpi_battery-0134 [87989] acpi_battery_get_info : Error evaluating _BIF Jul 25 10:19:59 localhost kernel: utmisc-0608 [87991] Ut_acquire_mutex : Thread 4B05 couldnot acquire Mutex [ACPI_MTX_Namespace] AE_ERROR Jul 25 10:19:59 localhost kernel: acpi_battery-0134 [87989] acpi_battery_get_info : Error evaluating _BIF
The last few messages occur when I type
cat /proc/acpi/battery/BAT1/state
(which hangs) and then I type ctrl-C. The message does not appear in the log until I hit gtrl-C.
Note that I am running wmacpi, which is attempting to read the battery status on a regular basis.
Cheers,
-- Bob
Bob McElrath ([email protected]) Univ. of Wisconsin at Madison, Department of Physics
"No nation could preserve its freedom in the midst of continual warfare."
--James Madison, April 20, 1795