Timeline for How to early configure Linux kernel to reboot on panic?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 6, 2019 at 9:58 | comment | added | poige | @ShawnJ.Goff boot loader supports passing down this parameter long before userspace is booted. Anyways, see my answer: unix.stackexchange.com/a/517364/6622 | |
| Apr 20, 2018 at 19:39 | comment | added | Ciro Santilli OurBigBook.com | Any way to shutdown instead of reboot? | |
| Jan 21, 2012 at 14:49 | comment | added | Shawn J. Goff | Yes, I do have a watchdog. I'm just putting as many safety nets in place as possible. | |
| Jan 21, 2012 at 14:47 | comment | added | Gilles 'SO- stop being evil' |
@ShawnJ.Goff If you're also concerned about userspace not coming up, then you're asking the wrong question (you want to reboot even if the kernel doesn't panic). And the answer is a form of watchdog by definition; you need to activate the watchdog subsystem (triggering a reboot if /dev/watchdog hasn't been touched in a while). See Documentation/watchdog/watchdog-api.txt.
|
|
| Jan 20, 2012 at 16:36 | comment | added | Shawn J. Goff | I'm looking for a kernel config option here, not something from userspace. Specifically, if for some reason, it can't mount the root filesystem (or for some other reason, userspace never comes up), I need it to reboot. | |
| Jan 20, 2012 at 16:27 | history | answered | jpalecek | CC BY-SA 3.0 |