Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 10:24:04 +1000
From:      Warren Toomey <wkt@tuhs.org>
To:        freebsd-questions@freebsd.org
Subject:   Auto Reboot on Panic?
Message-ID:  <20050719002404.GA39681@minnie.tuhs.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050719002404.GA39681>