Subject: port-i386/35126: failure to resume after ACPI suspend
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <apb@cequrux.com>
List: netbsd-bugs
Date: 11/26/2006 10:50:01
>Number:         35126
>Category:       port-i386
>Synopsis:       failure to resume after ACPI suspend
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 26 10:50:00 +0000 2006
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.3
>Organization:
Not much
>Environment:
System: NetBSD 4.99.3 
Architecture: i386
Machine: i386
>Description:
	After resuming from ACPI suspend, the machine drops into ddb,
	and the keyboard does not work.
>How-To-Repeat:
        Boot a kernel derived from GENERIC_LAPTOP on a Dell Latitude
        D600 laptop.

        Suspend by pressing the power buton, which is mapped via powerd
        to a script that does "/usr/sbin/apm -z".

	Resume.

	The kernel prints the following:

	acpi0: good morning!
	Stopped in pid 4.1 (apm0) at 0xcb63cbad: lret
	db>

	I was unable to get a trace, because the keyboard did not
	work at this point.
>Fix:
        Unknown.  However, kernels built with unofficial ACPI suspend
        patches from before the apm at acpi emulation was added do not
        have this problem.