Debug kernel panic

From TykWiki
Revision as of 18:58, 25 August 2012 by Tykling (talk | contribs)
Jump to navigationJump to search

To debug a FreeBSD kernel panic, and to make the machine reboot instead of sitting there when it does happen, I add the following line to /etc/crontab: @reboot root /sbin/ddb script 'kdb.enter.panic=textdump set; capture on; show allpcpu; bt; ps; alltrace; show alllock; show lockedvnods; call doadump; reset'