So I've been trying to debug a weird intermittent kernel crash for a server running Ubuntu-Server 16.04, which has had me stumped for ages, and so I installed and setup linux-crashdump
following the Ubuntu wiki crash dump recipe.
After waiting for the issue to rear its head again, linux-crashdump
has done its thing and generated a crash dump, but now I can't figure out how to make any use of it!
The Ubuntu guide provides two methods for viewing them, either using crash
or apport-retrace
, but neither of these methods works as described.
apport-retrace
simply returns:
ERROR: report file does not contain the required fields
Meanwhile for crash
, I've downloaded the appropriate image with debug info using apt-get install linux-image-$(uname -r)-dbgsym
as recommended, before running the following command:
crash /usr/lib/debug/boot/vmlinux-4.4.0-93-generic /var/crash/linux-image-4.4.0-93-generic-201709131146.crash
However this results in an error of:
crash: linux-image-4.4.0-93-generic-201709131146.crash: not a supported file format
What is the correct way to view linux-crashdump
dumps now? Am I missing steps that aren't in the guide?