Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 22:41:40 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Trevin Chow <trevin@mail.com>
Cc:        questions@freebsd.org
Subject:   Re: System crashing for unknown reason
Message-ID:  <15011.6404.563919.65199@guru.mired.org>
In-Reply-To: <5.0.2.1.2.20010304203903.026716e8@mail.trevinchow.com>
References:  <5.0.2.1.2.20010304202741.00aef750@mail.trevinchow.com> <68268964@toto.iv> <5.0.2.1.2.20010304203903.026716e8@mail.trevinchow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry 'bout the dup, Trevin.


Trevin Chow <trevin@mail.com> types:
> At 10:32 PM 3/4/2001 -0600, you wrote:
> >If you've got dumpdev set in /etc/rc.conf, the /etc/rc will use
> >dumpon(8) to tell the OS to save a core image to that device when it
> >panics, and will call savecore to check for such a dump and save it to
> >/var/crash during the automatic reboot after the panic. You can set it
> >in /etc/rc.conf and do the dumpon command by hand, and the next crash
> >should leave you a core image in /var/crash.
> Sorry, I'm pretty new to all this.  How do you set "dumpdev" in 
> /etc/rc.conf?  dumpdev="/var/crash"?

No, you set it to a swap partition. See the dumpon and savecore man pages.

> Then i presume i create the /var/crash directory?

Yes, you have to create it, and make sure it's on a big enough
partition to save memory and the kernel image to. Again, see the
savecore man page for information about that.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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