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

Can't find the vmlinux file for kernel Version 4.18.0-80.11.2.el8_0.x86_64 (CentOS8)

Only for an older version like below. /usr/lib/debug/usr/lib/modules/4.18.0-80.7.1.el8_0.x86_64/vmlinux

Any pointer for me from where to download it?

DebugInfo repo is enabled, but still getting not the actual vmlinux file.

It looks like CentOS is behind on copying kernel debuginfo rpms into the repository (at so I don't think you can get the file you want at the moment.

OK. So I have to wait. Thanks for reply.

You may want to file a request at and urge^W ask CentOS devs. There is one for CentOS-7

Thanks Akemi Yagi.

Opened a bug report for it on regarding this issue.