From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 18 22:40:28 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CBA316A4CF for ; Mon, 18 Oct 2004 22:40:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59C4143D31 for ; Mon, 18 Oct 2004 22:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9IMeQrP030029 for ; Mon, 18 Oct 2004 22:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9IMeQov030028; Mon, 18 Oct 2004 22:40:26 GMT (envelope-from gnats) Resent-Date: Mon, 18 Oct 2004 22:40:26 GMT Resent-Message-Id: <200410182240.i9IMeQov030028@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ralf Wenk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C77816A4CE for ; Mon, 18 Oct 2004 22:35:29 +0000 (GMT) Received: from rz06.fh-karlsruhe.de (rz06.FH-Karlsruhe.DE [193.196.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A14843D55 for ; Mon, 18 Oct 2004 22:35:28 +0000 (GMT) (envelope-from root@fh-karlsruhe.de) Received: from rz-tp600e.fh-karlsruhe.de ([193.196.65.252] helo=RZ-TP600E127.FH-Karlsruhe.DE) by rz06.fh-karlsruhe.de with esmtp (Exim 4.42) id 1CJg6B-000a6C-3K; Tue, 19 Oct 2004 00:35:27 +0200 Received: from root by RZ-TP600E127.FH-Karlsruhe.DE with local (Exim 4.42 (FreeBSD)) id 1CJg6A-0000tI-Sk; Tue, 19 Oct 2004 00:35:26 +0200 Message-Id: Date: Tue, 19 Oct 2004 00:35:26 +0200 From: Ralf Wenk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Ralf Wenk Subject: kern/72850: apm suspend handling partial broken with 5.3-STABLE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ralf Wenk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 22:40:29 -0000 >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@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: