Use ramoops for logging under Linux (2021)

13 zdw 2 5/24/2025, 5:33:16 PM embear.ch ↗

Comments (2)

remram · 4h ago
Interestingly pstore has other backends (although not necessarily on your embedded platform) such as ACPI and UEFI variables. Pretty nifty. It's one of those things you never need until it's the only thing that can save you. Definitely worth knowing the name.

I recently had to troubleshoot an issue where machines would reboot randomly in our cluster and I would never have been able to read the kernel panic logs without pstore (I assumed a power issue but it turned out to be a Ceph bug).

tripdout · 6h ago
On Android devices, without a serial console, this is often your best way to get logs for crashes happening before Android starts up enough to stream logs with logcat.