Debug kernel panic: Difference between revisions
From TykWiki
Jump to navigationJump to search
(Created page with "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 <code>/etc/crontab</etc>: <code> @reb...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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 <code>/etc/crontab</ | 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 <code>/etc/crontab</code>: | ||
< | <pre> | ||
@reboot root /sbin/ddb script 'kdb.enter.panic=textdump set; capture on; show allpcpu; bt; ps; alltrace; show alllock; show lockedvnods; call doadump; reset' | @reboot root /sbin/ddb script 'kdb.enter.panic=textdump set; capture on; show allpcpu; bt; ps; alltrace; show alllock; show lockedvnods; call doadump; reset' | ||
</ | </pre> |
Latest revision as of 18:59, 25 August 2012
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'