Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 19:18:06 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Brian Candler <B.Candler@pobox.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: how to set dumpdev
Message-ID:  <20050429190711.P85282@carver.gumbysoft.com>
In-Reply-To: <20050428102936.GA89935@uk.tiscali.com>
References:  <E1DR4FP-0003oy-Rv@cs1.cs.huji.ac.il> <20050428053528.G59099@lexi.siliconlandmark.com> <20050428102936.GA89935@uk.tiscali.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050429190711.P85282>