Subject: Re: how to crash & reboot?
To: Bill Studenmund <firstname.lastname@example.org>
From: Charlie Allom <email@example.com>
Date: 10/19/2002 02:04:24
On Fri, Oct 18, 2002 at 08:55:52AM -0700, Bill Studenmund wrote:
> 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
> > sysctl).
> 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. :-(
OK I have 256 MB RAM and 256 MB local swap - and 128 MB in /var.
How big will a kernel core be? Everything in RAM? (ie 256MB) or is it
more selective. Am I missing the FAQ?