crashdump to write logs
Posted Mar 26, 2011 11:28 UTC (Sat) by Tobu
In reply to: Persistent storage for a kernel's "dying breath"
Parent article: Persistent storage for a kernel's "dying breath"
A while ago LWN explained a proposal of using kexec to debug crashes. One prepares a crashdump kernel in some reserved memory area, and when the system crashes, it kexecs into the new kernel which can then write back a big core dump of the crashed kernel. Here are the kdump docs.
It seems like both kernels could be extended to dump and read logs in some ram area, which doesn't require hardware support and could be a fallback when there is no persistent area for pstore. Those logs can then be read without requiring kernel debug symbols or a kernel hacker to make sense of the kdump image.
to post comments)