Subject: kern/25289: powerdown failed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@NetBSD.org>
List: netbsd-bugs
Date: 04/23/2004 11:11:55
>Number:         25289
>Category:       kern
>Synopsis:       powerdown failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 23 09:13:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Klausner
>Release:        NetBSD 2.0C/20040418
>Organization:
	
>Environment:
	
	
Architecture: i386
Machine: i386
>Description:
After a mainboard replacement, 'shutdown -p now' doesn't poweroff the
machine any longer.
It just says:

syncing disks... 2 done
WARNING: powerdown failed!
WARNING: ACPI powerdown failed!
WARNING: APM powerdown failed!

The operating system has halted.
Please press any key to reboot.

I have the following ACPI/APM options enabled in my kernel config:
apm0    at mainbus0                     # Advanced power management
acpi0           at mainbus0
acpiacad*       at acpi?                # ACPI AC Adapter
acpibat*        at acpi?                # ACPI Battery
acpibut*        at acpi?                # ACPI Button
acpiec*         at acpi?                # ACPI Embedded Controller
acpilid*        at acpi?                # ACPI Lid Switch
acpitz*         at acpi?                # ACPI Thermal Zone
options         ACPIVERBOSE     # verbose ACPI device autoconfig messages

dmesg | grep -e apm -e acpi gives:
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <ASUS  ,A7V600-X,42302e31>, AslId <MSFT,31313031>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0C01 [System Board] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx0 at acpi0 (PNP0C04)
fdc0 at acpi0 (PNP0700)
lpt0 at acpi0 (PNP0401)
com0 at acpi0 (PNP0501-1)
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNPB02F [Joystick/Game port] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured

Enabling
options       APM_V10_ONLY            # Use only the APM 1.0 calls
options       APM_DEBUG               # APM debugging option
doesn't change a thing.

>How-To-Repeat:
shutdown -p now
on an Asus A7V600-X.
>Fix:
Sorry, no idea.
>Release-Note:
>Audit-Trail:
>Unformatted: