Open
Description
"crash" fails with the more recent (5.17+) linux kernels with the following error:
UBUNTUTOOLS_UBUNTU_DDEBS_MIRROR= python3 hotkdump.py -c 1 -d /workspace/case-data/example-crash-dumps/lathiat/kdump-demos/jammy/x86_64/5.19.0-35-generic/dump.202303240831
initializing hotkdump, SF#1, vmcore: /workspace/case-data/example-crash-dumps/lathiat/kdump-demos/jammy/x86_64/5.19.0-35-generic/dump.202303240831
kernel version: 5.19.0-35-generic
created /tmp/tmp_mga1ww5 temporary directory for the intermediary files
The .ddeb file linux-image-unsigned-5.19.0-35-generic-dbgsym_5.19.0-35.36~22.04.1_amd64.ddeb already exists, re-using it
Executing command: `dpkg -x linux-image-unsigned-5.19.0-35-generic-dbgsym_5.19.0-35.36~22.04.1_amd64.ddeb /tmp/tmp_mga1ww5/ddeb-root`
Loading `vmcore` file /workspace/case-data/example-crash-dumps/lathiat/kdump-demos/jammy/x86_64/5.19.0-35-generic/dump.202303240831 into `crash`, please wait..
Executing command: `/workspace/github/hotkdump/crash -i /tmp/tmp_mga1ww5/crash_commands -s /workspace/case-data/example-crash-dumps/lathiat/kdump-demos/jammy/x86_64/5.19.0-35-generic/dump.202303240831 /tmp/tmp_mga1ww5/ddeb-root/usr/lib/debug/boot/vmlinux-5.19.0-35-generic`
crash: invalid structure member offset: kmem_cache_s_num
FILE: memory.c LINE: 9619 FUNCTION: kmem_cache_init()
[/workspace/github/hotkdump/crash] error trace: 56184f3b969e => 56184f38d2f4 => 56184f45b11b => 56184f45b09c
It's fixed upstream(1), but it still hasn't landed in the Ubuntu series yet(2). In order to be able to use the "latest and the greatest" version of "crash", we may:
- build the crash ourselves, ship hotkdump as a snap bundled with the source-built crash
- build the crash ourselves, containerize the hotkdump,
- containerize the hotkdump, use a rolling distro as base
- ?? ... any other ideas
Metadata
Metadata
Assignees
Labels
No labels