kern/72850: apm suspend handling partial broken with 5.3-STABLE

Ralf Wenk RZ-FreeBSD1004 at fh-karlsruhe.de
Mon Oct 18 15:40:29 PDT 2004


>Number:         72850
>Category:       kern
>Synopsis:       apm suspend handling partial broken with 5.3-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 18 22:40:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ralf Wenk
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FH Karlsruhe, University of Applied Sciences
>Environment:
System: FreeBSD rz-tp390x 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Oct 17 19:56:49 CEST 2004 root at rz-tp390x:/usr/obj/usr/src/sys/GENERIC i386
on a IBM ThinkPad 390X

>Description:
In FreeBSD 5.3-STABLE apm suspend disables the operating system but does
not suspend the hardware. Machine does not respond to any key and must
be crashed by powering off. The problem occures regardless if the special
funktion keys Fn+F4 (keyboard suspend) or apm -z is used.

FreeBSD 5.2.1-RELEASE-p10 works as expected.

If apm management is not enabled using amp -z results in a ioctl error.
Using Fn+F4 results in a waiting suspend call show by the blinking
suspend mode LED. If you now enable apm management by apm -e 1 the
machine suspends and could be resumed as expected. This behavior
can be repeated several times if you disable apm management every
time before using Fn+F4 and enable it afterwards.

There are no "detached" messages from cardbus device drivers on the
console when the machine stops working.

ACPI is broken on this old hardware as well, so switching vom apm to
ACPI is not possible.

>How-To-Repeat:
Boot into single user mode. Mount /usr (readonly) to get access to
/usr/sbin/apm.
Press Fn+F4. Now call apm -e 1. Machine suspends. Press Fn to resume.
Call apm -e 0.
Press Fn+F4. Now call apm -e 1. Machine suspends. Press Fn to resume.
Press Fn+F4. Machine stops working. Use power switch.

	
>Fix:

	
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list