NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Diagnosing cause of reboots



Luke Maurits <luke%maurits.id.au@localhost> writes:

> While setting that I noticed that kern.dump_on_panic=1 seems to be set
> by default.  Does this mean if my previous reboots were due to panics I
> should have core files lying around somewhere?  I've checked /var/crash
> but all that's there is a file named "minfree" which contains nothing
> but the string "1024" and has a timestamp that's older than my acutal
> install.

Check two things:

  enough swap space, with the dp flag.    man swapctl

  enough space in /var to get the dump file back out.  run
  /etc/rc.d/savecore manually immediately after the crash, and look if
  it logged anything.  If there's a dump and no space, it will leave
  it.   man savecore

Attachment: pgpGk1jmy9MBz.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index