From owner-freebsd-bugs Tue Aug 15 1:35:58 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from calcaphon.demon.co.uk (calcaphon.demon.co.uk [193.237.19.5]) by hub.freebsd.org (Postfix) with ESMTP id 0EC2637B90B for ; Tue, 15 Aug 2000 01:34:49 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by calcaphon.demon.co.uk (8.9.3/8.9.1) with ESMTP id JAA43826; Tue, 15 Aug 2000 09:34:20 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id JAA02068; Tue, 15 Aug 2000 09:31:53 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Tue, 15 Aug 2000 09:31:53 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@henny.webweaving.org Reply-To: Nick Hibma To: Josef Karthauser Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/20375: APM doesn't work properly! Suspend/resume/suspend/hang In-Reply-To: <20000812174728.A509@pavilion.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Right, my problems were unrelated. After a pretty long goose chase, my laptop crashing was my own fault. And after that I can get it to crash when suspending or resuming. Nick > > I believe that it broke sometime in the last couple of months. > > > > If I could get a trace that'd find the culprit, but unfortunately > > the machine hangs hard - power reset required. Maybe some debug > > output to stderr would catch the problem. Is there somewhere in > > the bus code that I can add some debug that'll show each device > > being suspended? > > > > Ok, more updates. > > There _is_ a sysctl (debug.apm_debug) recently added for debugging. > > Using the kernel debugger I've determined that the freeze is almost > definitely in the bios32 call: > > apm_do_suspend > apm_suspend_system > apm_bioscall > bios32 > HANG > > This happens on the second suspend only, the first time through it > succeeds, and returns after a resume event (keypress, etc.). > > Who's our APM wizard? I've no idea what the bios interaction should > be. > > Joe > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message > -- Qube Software, Ltd. Private: n_hibma@qubesoft.com n_hibma@webweaving.org n_hibma@freebsd.org http://www.qubesoft.com/ http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message