On Thursday 03 June 2010 9:45:56 pm Garrett Cooper wrote:
On Thu, Jun 3, 2010 at 2:30 PM, David Rhodus sdrho...@gmail.com wrote:
Is there a rc.conf variable to automatically save core on a panic and
reboot ?
Setting dumpdev=AUTO doesn't seem to do the trick.
# uname -a
FreeBSD
maybe you could add a ddb(8) command to your crontab? i for example
have this in my crontab:
@reboot /sbin/ddb script 'kdb.enter.panic=textdump set; capture on;
show pcpu; show allpcpu; bt; ps; show locks; show alllocks; show
lockedvnods; alltrace; call doadump'
cheers.
--
Alexander Best
Is there a rc.conf variable to automatically save core on a panic and reboot ?
Setting dumpdev=AUTO doesn't seem to do the trick.
# uname -a
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Jun 3 20:00:22 UTC
2010 root@:/usr/obj/usr/src/sys/GE amd64
#
On Thu, 3 Jun 2010, David Rhodus wrote:
Is there a rc.conf variable to automatically save core on a panic and reboot ?
Setting dumpdev=AUTO doesn't seem to do the trick.
dumpdev merely controls which swap device the dump gets written to.
You probably want to either compile your kernel with
In response to David Rhodus sdrho...@gmail.com:
Is there a rc.conf variable to automatically save core on a panic and reboot ?
Setting dumpdev=AUTO doesn't seem to do the trick.
Did you also set dumpdir? Is dumpdir set to a location with enough
disk space to hold a kernel dump? Is the swap
On Thu, Jun 3, 2010 at 2:30 PM, David Rhodus sdrho...@gmail.com wrote:
Is there a rc.conf variable to automatically save core on a panic and reboot ?
Setting dumpdev=AUTO doesn't seem to do the trick.
# uname -a
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Jun 3 20:00:22 UTC
2010