Cannot find debug kernel vmlinux

Latest response

Greetings, I hope someone can help with this.

I am running the RHEL 7.4 debug kernel:

uname -r


A kernel vmcore has been created while debugging an issue and is in /var/crash/ as per usual. However, when I attempt to do crash analysis I get this:

crash /var/crash/ /usr/lib/debug/lib/modules/3.10.0-693.21.1.el7.x86_64/vmlinux


And then:

crash: /usr/lib/debug/lib/modules/3.10.0-693.21.1.el7.x86_64/vmlinux and /var/crash/ do not match!

But I cannot find out how to install the appropriate vmlinux for the debug kernel which I presume would be in /usr/lib/debug/lib/modules/3.10.0-693.21.1.el7.x86_64.debug/vmlinux but that file does not exist despite installing every kernel-debug-devel file and debuginfo-install file I could find.

Does anyone know where I can get the right debug kernel vmlinux file?


  • Greg


Do you have kernel-debuginfo and kernel-debuginfo-common installed?


To analyze the debug kernel vmcore, you will need the kernel-debug-debuginfo package for your kernel.

Best of luck, Marc

The missing step here is probably subscribing to the debug channel to actually get the debuginfo packages:

debuginfo-install kernel

and then run crash /usr/lib/debug/lib/modules//vmlinux \ /var/crash//vmcore