NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/37861: ACPI Error after power failure: Cannot release Mutex



>Number:         37861
>Category:       port-i386
>Synopsis:       ACPI Error after power failure: Cannot release Mutex
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 24 12:00:05 +0000 2008
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.48 (sources from 2008-01-06 12:00 UTC)
>Organization:
Not much
>Environment:
System: NetBSD 4.99.48 i386 (sources from 2008-01-06 12:00 UTC)
Architecture: i386
Machine: i386
>Description:
Following a failure of external power to a laptop, a few ACPI-related
error messages appear on the console, the system incorrectly things that
acpiacad0 is still connected, and the system incorrectly thinks that
acpibat0 is still fully charged and not discharging.

>How-To-Repeat:
Boot.  See the following acpi-related messages:

$ dmesg | grep -i acpi
cpu0: features bfe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu1: features bfe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20070320
acpi0: X/RSDT: OemId <HP    ,30AA    ,28040620>, AslId <HP  ,00000001>
mpacpi: could not get bus number, assuming bus 0
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 4 at level 2
mpacpi: found subordinate bus 1 at level 2
mpacpi: found subordinate bus 2 at level 2
mpacpi: found subordinate bus 3 at level 2
mpacpi: 5 PCI busses
mpacpi: ISA interrupt override 0 -> 2 (0/0)
mpacpi: ISA interrupt override 9 -> 9 (1/3)
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 4 int routing
mpacpi: configuring PCI bus 1 int routing
mpacpi: configuring PCI bus 2 int routing
mpacpi: configuring PCI bus 3 int routing
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
acpi: activate failed for PNP0C0F
C01E (PNP0C01) [System Board] at acpi0 not configured
C002 (PNP0A08) [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
acpiec0 at acpi0 (C005, PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
C1B8 (PNP0A06) [Generic Container Device] at acpi0 not configured
com0 at acpi0 (C1E4, PNP0501)
C1E8 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
lpt0 at acpi0 (C1E9, PNP0401)
C1F5 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C1F7 (IFX0102) at acpi0 not configured
npx0 at acpi0 (C204, PNP0C04)
attimer0 at acpi0 (C205, PNP0100): AT Timer
C1EE (PNP0200) [AT DMA Controller] at acpi0 not configured
pcppi0 at acpi0 (C206, PNP0800)
C207 (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pckbc0 at acpi0 (C208, PNP0303): kbd port
pckbc1 at acpi0 (C209, SYN0112): aux port
C20B (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C20D (PNP0000) [AT Interrupt Controller] at acpi0 not configured
C32A (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
C213 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C107 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C108 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C109 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C10A (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C123 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C124 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C125 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
C327 (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
C20C (HPQ0006) at acpi0 not configured
acpibat0 at acpi0 (C1B4, PNP0C0A-1): ACPI Battery (Control Method)
acpibat1 at acpi0 (C1B3, PNP0C0A-2): ACPI Battery (Control Method)
acpiacad0 at acpi0 (C1B2, ACPI0003): ACPI AC Adapter
acpibut0 at acpi0 (C231, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (C22A, PNP0C0D): ACPI Lid Switch
C22F (PNP0C14) at acpi0 not configured
C310 (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
C308 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C309 (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C30A (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C30B (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
C30C (PNP0C0B) [ACPI Fan] at acpi0 not configured
C30D (PNP0C0B) [ACPI Fan] at acpi0 not configured
C30E (PNP0C0B) [ACPI Fan] at acpi0 not configured
C30F (PNP0C0B) [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0 (TZ0): active cooling level 0: 80.0C active cooling level 1: 
70.0C active cooling level 2: 60.0C active cooling level 3: 50.0C
acpitz1 at acpi0 (TZ1): critical 105.0C passive 38.0C, passive cooling
acpitz2 at acpi0 (TZ2): critical 105.0C, passive cooling
acpitz3 at acpi0 (TZ3): critical 105.0C passive 28.2C, passive cooling
acpitz4 at acpi0 (TZ4): critical 110.0C, passive cooling
apm0 at acpi0: Power Management spec V1.2
acpibat0: battery info: Hewlett-Packard, LIon, Primary 01725 2006/04/29
acpilid0: lid closed.
acpilid0: lid opened.
acpiacad0: AC adapter online.


Have a power failure so the laptop starts running on its internal battery.
See the folowing kernel messages:

ACPI Error (exmutex-0483): Cannot release Mutex [C142], not acquired [20070320]
ACPI Error (psparse-0631): Method parse/execution failed 
[\_SB_.C002.C003.C005.C1A8] (Node 0xc1dc9c80), AE_AML_MUTEX_NOT_ACQUIRED
ACPI Error (psparse-0631): Method parse/execution failed [\_SB_.C1A8] (Node 
0xc1dcdaa0), AE_AML_MUTEX_NOT_ACQUIRED
ACPI Error (psparse-0631): Method parse/execution failed [\_SB_.C1B4._BST] 
(Node 0xc1dcd9e0), AE_AML_MUTEX_NOT_ACQUIRED
acpibat0: failed to evaluate _BST: AE_AML_MUTEX_NOT_ACQUIRED


Note that envstat(8) thinks the external power is still on and the
batter is not discharging:

$ envstat -r
[acpiacad0]
  connected:         ON
[acpibat0]
         present:         ON
      design cap:      4.086 Ah
   last full cap:      4.086 Ah
      technology:          1
  design voltage:     10.800 V
        warn cap:      0.205 Ah ( 5.02%)
         low cap:      0.041 Ah ( 1.00%)
         voltage:     12.522 V
     charge rate:        N/A
  discharge rate:        N/A
          charge:      4.086 Ah (100.00%)
        charging:        OFF
    charge state:     NORMAL
[acpibat1]
         present:        OFF
      design cap:      0.000 Wh
   last full cap:      0.000 Wh
      technology:          0
  design voltage:      0.000 V
        warn cap:      0.000 Wh
         low cap:      0.000 Wh
         voltage:        N/A
     charge rate:        N/A
  discharge rate:        N/A
          charge:        N/A
        charging:        N/A
    charge state:    UNKNOWN
[acpitz0]
     temperature:     50.000 degC
[acpitz1]
     temperature:     48.000 degC
[acpitz2]
     temperature:     47.000 degC
[acpitz3]
     temperature:     31.400 degC
[acpitz4]
     temperature:     40.000 degC
[coretemp0]
  cpu0 temperature:     49.000 degC
[coretemp1]
  cpu1 temperature:     49.000 degC


>Fix:
Unknown




Home | Main Index | Thread Index | Old Index