Docunext


How to Restart After A Kernel Panic

November 21st, 2007

This is awesome. :-)

I just read a note at linux.com, referenced from nixcraft.com that you can set a sysctl setting to reboot after a kernel panic. This has caused me problems in the past, so I'm definitely going to use it.

kernel.panic = 10

To check the current value:

cat /proc/sys/kernel/panic

Just to double check the accuracy, I found these two pages which confirm it:

http://www.nslu2-linux.org/wiki/HowTo/AutoRebootOnPanic

http://www.wlug.org.nz/KernelPanic

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022