Posted Mar 24, 2011 13:57 UTC (Thu) by mjg59 (subscriber, #23239)
[Link]
Not reliably, no. The only persistent storage that's guaranteed on a BIOS-based PC is the real time clock, and there's not really enough space there. EFI actually helps here(!), although right now we don't implement the bits of the spec that cover this.
Persistent storage for a kernel's "dying breath"
Posted Apr 1, 2011 19:20 UTC (Fri) by cbf123 (guest, #74020)
[Link]
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.