Created attachment 1117180 [details] rhcert test log for kdump Description of problem: The rhcert tool is not able to verify kdump image.The rhcert tool is not able to find actual path of the vmlinux file. Version-Release number of selected component (if applicable): redhat-certification-backend-2.0-20151117.el6.noarch redhat-certification-hardware-1.6.6-20150901.el6.noarch redhat-certification-information-1.6.6-20150901.el6.noarch kernel-debuginfo-2.6.32-573.12.1.el6.x86_64 kernel-debuginfo-common-x86_64-2.6.32-573.12.1.el6.x86_64 How reproducible: Steps to Reproduce: 1.Install the rhcert tool on RHEL6.7 2.Install kernel-debuginfo and and kernel-debuginfo-common rpm 2.Run the Kdump local test 3.Check the result in /var/log/rhcert/run/x/... Actual results: The test script is not able to find the actual path of vmlinux file and hence not able to verify the vmcore file Expected results: The test should be able to identify the path of vmlinux file and be able to verify the vmcore file Additional info:
Any update on this issue? We are hitting the same issue often. Please proved the solution. Thanks, Praveen
It looks like you have a mismatch going on. From your log file: Checking required packages: ... kernel-debuginfo-2.6.32-573.8.1.el6.x86_64 Rebuilding /boot/initrd-2.6.32-573.el6.x86_64kdump.img ... The test will now cause a kernel panic to exercise kdump ... method: panic kernel: 2.6.32-573.el6.x86_64 ... crash: /usr/lib/debug/lib/modules/2.6.32-573.el6.x86_64/vmlinux: No such file or directory It seems that you might have multiple kernels installed but not corresponding kernel-debuginfo. There is a version mismatch between what the script reports finding installed for kernel-debuginfo (2.6.32-573.8.1.el6) and the kernel the remaining code executes against (2.6.32-573.el6). Please sanity check your system. Make sure that for the kernels that are installed there is a corresponding kernel-debuginfo installed. Let us know the outcome. Thank you, Travis
I tried this out on my system, you are going to need to install the matching kernel-debuginfo for the kernel the system has booted otherwise you get the crash error not being able to find vmlinux. Note that the installed version of kernel-debuginfo has a kernel version specific directory hence the error. # rpm -q kernel-debuginfo kernel-debuginfo-2.6.32-573.18.1.el6.x86_64 # pwd /usr/lib/debug/lib/modules/2.6.32-573.18.1.el6.x86_64 # ls -l ... -rwxr-xr-x. 1 root root 135624055 Jan 6 13:09 vmlinux # rpm -q kernel-debuginfo kernel-debuginfo-2.6.32-573.el6.x86_64 # pwd /usr/lib/debug/lib/modules/2.6.32-573.el6.x86_64 # ls -l ... -rwxr-xr-x. 1 root root 135375691 Jul 1 2015 vmlinux
Working after trying the above work around.
Praveen, It is necessary that for the version of the kernel running on the system that will have the kdump test performed that a matching version of kernel-debuginfo be installed. There needs to be version parity between the two packages, kernel and kernel-debuginfo, for the test to work properly. Travis