Kernel vmlinux files do not contain debug info
Task Info (Flyspray) | |
---|---|
Opened By | qookie (qookie) |
Task ID | 75652 |
Type | Bug Report |
Project | Arch Linux |
Category | Kernel |
Version | None |
OS | x86_64 |
Opened | 2022-08-19 15:24:19 UTC |
Status | Assigned |
Assignee | Tobias Powalowski (tpowa) |
Assignee | Jan Alexander Steffens (heftig) |
Assignee | David Runge (dvzrv) |
Details
Description:
The kernel vmlinux files (contained in the linux-headers packages) have their debug info stripped, which makes it impossible to debug kernel crashes using "crash".
This applies to at least linux-headers-5.19.2.arch1-1 and linux-zen-headers-5.19.2-zen1-1, and presumably to all kernels based on the same PKGBUILD.
Steps to reproduce:
- Follow https://wiki.archlinux.org/title/Kdump to set up a dump kernel using a kernel from the repo (instead of a manually compiled one),
- Trigger a crash,
- Try to inspect the dump file with "crash":
$ crash /usr/lib/modules/5.19.2-zen1-1-zen/build/vmlinux crashdump-2022-08-19-16:44:58
crash 8.0.1 ... For help, type "help". Type "apropos word" to search for commands related to "word"...
crash: /usr/lib/modules/5.19.2-zen1-1-zen/build/vmlinux: no debugging data available