Date: Fri, 3 Mar 2000 20:00:01 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Jeff Beley <jeffb@cameron.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: crashes Message-ID: <20000303200001.E16946@strontium.scientia.demon.co.uk> In-Reply-To: <20000303044124.A19183@daemon9.cameron.edu> References: <20000303044124.A19183@daemon9.cameron.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Beley wrote: > On those rare ocassions that FreeBSD does crash at a kernel level, where are the logs of crash stored? If you have kernel core dumping enabled, the core dump will be saved in /var/crash and a log message written to /var/log/messages (something like "savecore: reboot after panic: <whatever>". If you don't have kernel core dumping enabled, I don't think much gets logged. Enable dumping with: dumpdev="/dev/your-swap-device" in /etc/rc.conf. Remember that you must use a swap device at least as large as the amount of physical memory you have. Of course, you don't have to reboot after changing rc.conf, in this case the command to run manually is "dumpon /dev/your-swap-device". -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D 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?20000303200001.E16946>