Subject: Re: how to crash & reboot?
To: Julio Merino <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 10/18/2002 08:55:52
On Fri, 18 Oct 2002, Julio Merino wrote:
> On Fri, 18 Oct 2002 16:19:21 +1000
> Charlie Allom <firstname.lastname@example.org> wrote:
> > Hi,
> > my new install of macppc -current is crashing and dropping into db>
> > How can(?) I set it to dump - and reboot automagically - for later
> > perusal of the error?
> Look at options(4) and try to set: `options DDB_ONPANIC=0' (or with
i.e. add "ddb.onpanic = 0" to /etc/sysctl.conf will work.
> > Will it dump to /, can I set it to dump to a larger partition - or a
> > symlink to a larger partition?
> It will dump in /var/crash.
Note: the kernel will dump to your dump device, which is typically local
swap. savecore will then come along and save the kernel core to /var/crash
as Julio mentioned. Upshot is if you didn't add swap, no core. :-(