2

A CentOS7 server is experiencing crashes. According to RHEL7's documentation, I should be able to view details using the crash utility:

crash /var/crash/<timestamp>/vmcore /usr/lib/debug/lib/modules/<kernel>/vmlinux

I see a few folders in /var/crash along with the respective vmcore files. I am missing is the /usr/lib/debug/lib/modules/ folder, which is needed to use crash.

What additional utilities are needed so that the modules folder is populated per documentation above?

2

The previous page of the RHEL documentation also tells you following:

In addition to crash, it is also necessary to install the kernel-debuginfo package that corresponds to your running kernel, which provides the data necessary for dump analysis.

So all you need is to install kernel-debuginfo package with the same version as your kernel.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/kernel_crash_dump_guide/chap-analyzing-a-core-dump#sect-crash-installing-the-utility

EDIT:

There is the debuginfo repository:

http://debuginfo.centos.org/7/x86_64/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.