Re: how to set dumpdev

From: Doug White <dwhite_at_gumbysoft.com>
Date: Fri, 29 Apr 2005 19:18:06 -0700 (PDT)
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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Sat Apr 30 2005 - 00:18:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:33 UTC