LWN: Comments on "Persistent storage for a kernel's "dying breath"" https://lwn.net/Articles/434821/ This is a special feed containing comments posted to the individual LWN article titled "Persistent storage for a kernel's "dying breath"". en-us Sun, 31 Aug 2025 03:43:05 +0000 Sun, 31 Aug 2025 03:43:05 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net ACPI links https://lwn.net/Articles/981569/ https://lwn.net/Articles/981569/ naesten The PDF link has gone stale. Either see the <a href="https://web.archive.org/web/20100917032218/http://www.acpi.info/DOWNLOADS/ACPIspec40a.pdf">Wayback Machine</a> for the ACPI 4.0a PDF or the <a href="https://uefi.org/specs/ACPI/6.5/18_Platform_Error_Interfaces.html#error-serialization">HTML version</a> of ACPI 6.5 (the latest at this time). Wed, 10 Jul 2024 20:31:51 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/842143/ https://lwn.net/Articles/842143/ TIRTH007 <div class="FormattedComment"> Can we use this pstore utility for our normal system (embedded device) ? Which is not server.<br> </div> Sat, 09 Jan 2021 15:38:19 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/443728/ https://lwn.net/Articles/443728/ mjg59 <div class="FormattedComment"> Modern macs implement it as an EFI variable. Unsurprisingly, their implementation is incompatible with the EFI spec's implementation of the concept.<br> </div> Thu, 19 May 2011 14:46:58 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/443724/ https://lwn.net/Articles/443724/ kayabek <div class="FormattedComment"> This idea is not new. Macs have had such a device for ages. <br> </div> Thu, 19 May 2011 14:37:26 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/436609/ https://lwn.net/Articles/436609/ cbf123 <div class="FormattedComment"> If the vendor provided storage for ERST, then pstore would work on a normal PC.<br> <p> 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.<br> </div> Fri, 01 Apr 2011 19:20:24 +0000 crashdump to write logs https://lwn.net/Articles/435532/ https://lwn.net/Articles/435532/ Tobu <p>A while ago LWN explained a proposal of <a href="https://lwn.net/Articles/108595/">using kexec to debug crashes</a>. 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 <a href="https://www.kernel.org/doc/Documentation/kdump/kdump.txt">kdump docs</a>.</p> <p>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. </p> Sat, 26 Mar 2011 11:28:32 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/435185/ https://lwn.net/Articles/435185/ mjg59 <div class="FormattedComment"> 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.<br> </div> Thu, 24 Mar 2011 13:57:35 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/435181/ https://lwn.net/Articles/435181/ ebirdie <div class="FormattedComment"> The article reminded me about some very old article of writing oopses to a block device, like swap. At then the conclusion was that it isn't wise since a block device might be at stage of mayhem and there is data at stake. Still I find it appealing, that there could be a block driver for pstore and it is at sysadmin's choice to use it or not. The block driver could be configured to use a USB-storage or whatever storage auxiliary to data storage. I guess the main point is that the sysadmin is very very aware to place the pstore behind some other subsystem than the system's main storage.<br> </div> Thu, 24 Mar 2011 13:52:29 +0000 Persistent storage for a kernel's "dying breath" https://lwn.net/Articles/435183/ https://lwn.net/Articles/435183/ rwmj <div class="FormattedComment"> On ordinary PCs, can RAM be reserved that is preserved across a reboot?<br> <p> I'd love this feature, if it was able to tell me why some box silently rebooted overnight.<br> <p> Rich.<br> </div> Thu, 24 Mar 2011 13:39:11 +0000