From owner-freebsd-stable@FreeBSD.ORG Wed Sep 17 16:25:41 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 3D0F3106564A for ; Wed, 17 Sep 2008 16:25:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2F1328FC13 for ; Wed, 17 Sep 2008 16:25:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA10.westchester.pa.mail.comcast.net with comcast id Fs4f1a01b0EZKEL5AsRe4W; Wed, 17 Sep 2008 16:25:38 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA01.westchester.pa.mail.comcast.net with comcast id FsRd1a00Y4v8bD73MsRe87; Wed, 17 Sep 2008 16:25:38 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=dHXwCAxPUx6gRrN_76gA:9 a=Mq0AV_DmAACENhIdTgUA:7 a=X1pRQMuGILI79Mu8DBhHahzUh78A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id BB1B317B81A; Wed, 17 Sep 2008 09:25:37 -0700 (PDT) Date: Wed, 17 Sep 2008 09:25:37 -0700 From: Jeremy Chadwick To: Stephen Clark Message-ID: <20080917162537.GB95431@icarus.home.lan> References: <48D0EBCE.9030503@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48D0EBCE.9030503@earthlink.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Stable Subject: Re: 6.3 reboot -d doesn't work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 16:25:41 -0000 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 > > /etc/defaults/rc.conf > dumpdir="/var/crash" # Directory where crash dumps are to be stored > savecore_flags="" # Used if dumpdev is enabled above, and present. > > Z2873# sysctl -a |grep physmem > hw.physmem: 259481600 > Swap: 1024M Total, 1024M Free > Z2873# dumpon -v /dev/ad0s1b > kernel dumps on /dev/ad0s1b > > 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 > > from /var/log/messages: > Sep 17 07:28:12 Z2873 kernel: ad0: 28615MB at > ata0-master UDMA66 > Sep 17 07:28:12 Z2873 kernel: Trying to mount root from ufs:/dev/ad0s1a > Sep 17 07:28:12 Z2873 savecore: no dumps found > > Is this broken? 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 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |