From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 1 10:40:21 2003 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 8EDBC16A4CE for ; Mon, 1 Dec 2003 10:40:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 641A74400E for ; Mon, 1 Dec 2003 10:40:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hB1IeHFY012497 for ; Mon, 1 Dec 2003 10:40:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hB1IeHUk012496; Mon, 1 Dec 2003 10:40:17 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 1 Dec 2003 10:40:17 -0800 (PST) Resent-Message-Id: <200312011840.hB1IeHUk012496@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, "Jesse D.Guardiani" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6577516A4CE for ; Mon, 1 Dec 2003 10:34:22 -0800 (PST) Received: from chortos.wingnet.net (chortos.wingnet.net [206.30.57.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 113C443FDF for ; Mon, 1 Dec 2003 10:34:16 -0800 (PST) (envelope-from jesse@chortos.wingnet.net) Received: (qmail 17884 invoked by uid 1001); 1 Dec 2003 18:34:14 -0000 Message-Id: <20031201183414.17883.qmail@chortos.wingnet.net> Date: 1 Dec 2003 18:34:14 -0000 From: "Jesse D.Guardiani" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/59876: APM suspend/resume broken with FreeBSD 5.2-BETA on IBM Thinkpad A30p X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Jesse D.Guardiani" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 18:40:21 -0000 >Number: 59876 >Category: misc >Synopsis: APM suspend/resume broken with FreeBSD 5.2-BETA on IBM Thinkpad A30p >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 01 10:40:16 PST 2003 >Closed-Date: >Last-Modified: >Originator: Jesse D. Guardiani >Release: FreeBSD 5.2-BETA i386 >Organization: WingNET Internet Services >Environment: System: FreeBSD trevarthan.int.wingnet.net 5.2-BETA FreeBSD 5.2-BETA #3: Sun Nov 30 14:21:53 EST 2003 jesse@trevarthan.int.wingnet.net:/usr/src/sys/i386/compile/TREVARTHAN i386 >Description: I enable the software watchdog, then suspend the machine and capture output on serial console: Lock GEOM topology not exclusively locked @ ../../. ./geom/geom_subr.c:261 acd0: WARNING - removed from configuration sio4: detached The machine is fully suspended at this point. Now I resume the machine: pci_cfgintr: 0:29 INTA BIOS irq 9 pci_cfgintr: 0:29 INTB BIOS irq 11 pci_cfgintr: 0:29 INTC BIOS irq 9 pci_cfgintr: 0:31 INTB BIOS irq 5 pci_cfgintr: 0:31 INTB BIOS irq 5 pci_cfgintr: 0:31 INTB BIOS irq 5 pci_cfgintr: 1:0 INTA BIOS irq 9 pci_cfgintr: 2:0 INTA BIOS irq 9 pci_cfgintr: 2:0 INTB BIOS irq 5 pci_cfgintr: 2:0 INTC BIOS irq 9 pci_cfgintr: 2:2 INTA BIOS irq 9 pci_cfgintr: 2:8 INTA BIOS irq 10 ata0: resetting devices .. Normally the machine would lock at this point with the hard disk light on. The only way to fix it is to power down and back on. However, since I have enabled the software watchdog, I simply wait a few seconds and I receive this: interrupt total irq0: clk 18254 irq1: atkbd0 9 irq3: sio1 6 irq4: sio0 882 irq6: fdc0 1 irq9: cbb0 wi0++ 37 irq13: npx0 1 irq14: ata0 3524 irq15: ata1 32 Total 22746 watchdog_fire(c073ba80,2,c06d9616,f5,d2a0bca4) at watchdog_fire+0xb5 hardclock(d2a0bca4,0,c06f57a0,bf,c3a6bd00) at hardclock+0x10a clkintr(d2a0bca4,d2a0bc70,c0526125,c07134e0,0) at clkintr+0xa9 intr_execute_handlers(c072c880,d2a0bca4,c07134e0,2bc530c4,c19d2c5c) at intr_exec ute_handlers+0xb8 atpic_handle_intr(0) at atpic_handle_intr+0xbf Xatpic_intr0() at Xatpic_intr0+0x1e --- interrupt, eip = 0xc06925b5, esp = 0xd2a0bce8, ebp = 0xd2a0bce8 --- cpu_idle_default(d2a0bd10,c050b55c,c0739bc0,2,c06da083) at cpu_idle_default+0x5 cpu_idle(c0739bc0,2,c06da083,53,c050b520) at cpu_idle+0x1f idle_proc(0,d2a0bd48,c06d9f44,311,0) at idle_proc+0x3c fork_exit(c050b520,0,d2a0bd48) at fork_exit+0xb4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xd2a0bd7c, ebp = 0 --- Debugger("watchdog timeout") Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 db> I hope the above information is helpful. I'm not a kernel programmer. I AM familiar with C, but I'm not very good with debuggers. Please let me know if you need additional info. Thanks! >How-To-Repeat: Step 1: Fn + F4 to suspend machine Step 2: Fn to resume machine >Fix: unknown. >Release-Note: >Audit-Trail: >Unformatted: