LWN.net Logo

Nortel Patch

Nortel Patch

Posted Apr 13, 2008 20:29 UTC (Sun) by Felix_the_Mac (guest, #32242)
Parent article: Notes from the Collaboration Summit


A couple of articles about the summit 
(such as this one http://news.yahoo.com/s/cmp/20080410/tc_cmp/207100528)
mention a patch from Nortel for restarting a crashed system.

Do anyone have any links to more info about this?

Thanks


(Log in to post comments)

Nortel Patch

Posted Apr 17, 2008 7:30 UTC (Thu) by mingo (subscriber, #31122) [Link]

the observation is correct - automatic reboot upon lockups is not possible in Linux yet.

The soft-lockup detector looks like the logical place to put this feature. I have whipped up a
patch for this and have queued it up for v2.6.26:

http://redhat.com/~mingo/softlockup-patches/softlockup-al...

it adds softlockup_panic=1 boot option, a /proc/sys/kernel/softlockup_panic sysctl, and a
CONFIG_SOFTLOCKUP_PANIC=y .config option - whichever is the most convenient to use.

this feature should be used in conjunction with panic_timeout=2, so that every panic reboots
the box after two seconds. Probably /proc/sys/kernel/softlockup_thresh should be decreased as
well to 10 seconds (down from the default 60 seconds) - so the combined reboot delay should be
12 seconds.

(Note: the feature will be default-available on all default kernel builds, but the sysctl will
default to off. I.e. the config option influences the value of the default, not the
availability of the feature.)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds