From owner-freebsd-current@FreeBSD.ORG Sat Apr 30 02:18:08 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F47D16A4CE; Sat, 30 Apr 2005 02:18:07 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 145D843D3F; Sat, 30 Apr 2005 02:18:07 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 05D0472DEB; Fri, 29 Apr 2005 19:18:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 000DA72DEA; Fri, 29 Apr 2005 19:18:06 -0700 (PDT) Date: Fri, 29 Apr 2005 19:18:06 -0700 (PDT) From: Doug White To: Brian Candler In-Reply-To: <20050428102936.GA89935@uk.tiscali.com> Message-ID: <20050429190711.P85282@carver.gumbysoft.com> References: <20050428053528.G59099@lexi.siliconlandmark.com> <20050428102936.GA89935@uk.tiscali.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: how to set dumpdev X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 02:18:09 -0000 On Thu, 28 Apr 2005, Brian Candler wrote: > On Thu, Apr 28, 2005 at 05:37:16AM -0400, Andre Guibert de Bruet wrote: > > > i can't use dumpon, since the kernel is panicking on boot, so > > >tried in loader.conf: > > > dumpdev="/dev/ar0s1b" > > >but getting: > > >db> call doadump > > >Cannot dump. No dump device defined. > > >0x25 > > > > > >i need this is for current 6.0 > > >thanks, > > > danny > > > > > > > That directive, along with dumpdir, would be set in /etc/rc.conf. > > According to `man dumpon` (on a 5-STABLE system): > > Since dumpon cannot be used during kernel initialization, the dumpdev > variable of loader(8) must be used to enable dumps for system panics > which occur during kernel initialization. > > But I don't find 'dumpdev' referenced anywhere under /usr/src/sys/boot/. Is > the documentation wrong? It wouldn't be there, but it alos loks like that tunable has gone away when GEOM took over definign the dump device. Now it needs a struct to specify the target, and you wouldn't be able to set it until way late in the boot anyway (when GEOM attaches the disks). -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org