LWN.net Logo

Persistent storage for a kernel's "dying breath"

Persistent storage for a kernel's "dying breath"

Posted Apr 1, 2011 19:20 UTC (Fri) by cbf123 (guest, #74020)
In reply to: Persistent storage for a kernel's "dying breath" by rwmj
Parent article: Persistent storage for a kernel's "dying breath"

If the vendor provided storage for ERST, then pstore would work on a normal PC.

If no hardware storage is available, the next best option is to use "kexec -p" to set up a recovery kernel that uses kexec to take over on a panic. The init scripts can then be modified to detect when they're running under the recovery kernel, and they can just dumps the original kernel memory to disk and then reboot.


(Log in to post comments)

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