From owner-freebsd-stable@FreeBSD.ORG Thu Sep 18 11:57:20 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF1701065671 for ; Thu, 18 Sep 2008 11:57:20 +0000 (UTC) (envelope-from sclark46@earthlink.net) Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by mx1.freebsd.org (Postfix) with ESMTP id 95E518FC13 for ; Thu, 18 Sep 2008 11:57:20 +0000 (UTC) (envelope-from sclark46@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=GYxGTAlWa1oV0eGrRnANX0QKXmXGpeM4ZLO6ZbnNoCKeV/pS1HITT9T7xiIaiiaS; h=Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [24.144.77.185] (helo=joker.seclark.com) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KgI8N-00076q-W6; Thu, 18 Sep 2008 07:57:20 -0400 Message-ID: <48D2421E.5090909@earthlink.net> Date: Thu, 18 Sep 2008 07:57:18 -0400 From: Stephen Clark User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Jeremy Chadwick References: <48D0EBCE.9030503@earthlink.net> <20080917162537.GB95431@icarus.home.lan> <20080917170346.GA49607@sandvine.com> <20080917202848.GA99931@icarus.home.lan> In-Reply-To: <20080917202848.GA99931@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec792c1c5de0b95165f721e6c50e6714bd58350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.144.77.185 Cc: FreeBSD Stable , Ed Maste Subject: Re: 6.3 reboot -d doesn't work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sclark46@earthlink.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 11:57:21 -0000 Jeremy Chadwick wrote: > On Wed, Sep 17, 2008 at 01:03:46PM -0400, Ed Maste wrote: >> On Wed, Sep 17, 2008 at 09:25:37AM -0700, Jeremy Chadwick wrote: >> >>> On Wed, Sep 17, 2008 at 07:36:46AM -0400, Stephen Clark wrote: >>>> I am trying to get a crash dump but am unable to with FreeBSD 6.3-RELEASE-p2 >>>> >>>> [...] >>>> reboot -d >>>> ... >>>> dumping 255M 2 chunks >>>> >>>> >>>> Then nothing - the system doesn't reboot and I have to hard reset it. >>>> When it comes back up there is no crash file in /var/crash >>>> [...] >>> It's a known problem. If when the machine reboots, you forcefully enter >>> single-user, you should be able to get the kernel dump using savecore. >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/118255 >> Your PR doesn't look like Stephen's problem to me, since according to >> his description the system hangs when trying to do the dump so there >> won't be anything on the disk for savecore to save. > > You're right, thanks Ed. His "when it comes back up there is no crash > file" is what threw me for a loop. > > Stephen, does the problem *only* happen when using the -d flag, or does > the system lock up on reboot in general? > > If the latter, try using one or both of the following sysctls: > > hw.acpi.handle_reboot=1 > hw.acpi.disable_on_reboot=1 > > If the lesser, I've no idea. > The problem only happens when I do the reboot -d. If I do reboot it comes back ok. I have tried it on two different platforms 1) a Biostar TForce 6100 mainboard with an AMD dual core processor 2) a Soekris net5501 with the same results. I get the dumping message and then it hangs and I have to hard reset the box. Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson)