Auto Reboot on Panic?

Warren Toomey wkt at tuhs.org
Tue Jul 19 00:24:10 GMT 2005


Hi, I have recently installed FreeBSD 5.3 on a Dell Poweredge 650 server,
and it has panicked twice in the past 3 weeks. Unfortunately, the box is
in a server room for which I don't have a key, and access can take hours.
 
I would like the box to dump core and reboot on a panic. I think I have set
the box up to do this, but on the last panic it didn't reboot. I followed the
information at http://www.bsdatwork.com/2002/03/29/system_panics_part_1/,
and I have compiled a kernel with makeoptions DEBUG=-g, options KDB,
options KDB_UNATTENDED.
 
/etc/rc.conf has these lines: dumpdev="/dev/ad6s1b", 
dumpdir="/usr/local/var/crash". The box has 768M of RAM, ad6s1b has
at least that much space, and is configured as swap. 
 
Can anybody tell me what I have forgotten to do to make the box reboot on
a panic? Many thanks in advance,
 
        Warren


More information about the freebsd-questions mailing list