Description of problem: kdump misreads a root device on ia64 box. Consequently, checking root filesystem always fails. In mkdumprd, the way to search a root device is not good enough for ia64. Version-Release number of selected component (if applicable): kexec-tools-1.101-83.el5 How reproducible: Always Steps to Reproduce: 1. In /etc/kdump.conf, specify nowhere to copy /proc/vmcore file. 2. Start kdump service. 3. Make system panic. Actual results: kdump misreads a root device. Anyway /proc/vmcore cannot be copied. Expected results: kdump finds a root device correctly, and then it can check root filesystem. Additional info: Here's a patch to fix this problem. This patch will be good enough for i386, ia64, and x86_64. --- mkdumprd 5 Oct 2006 20:03:22 -0000 1.25 +++ mkdumprd 6 Oct 2006 19:48:15 -0000 @@ -1598,7 +1598,7 @@ emit "#check to see if we have root= on emit "ROOTDEV=\`cat /proc/cmdline | grep root=\`" emit "if [ -n \"\$ROOTDEV\" ]" emit "then" -emit " ROOTDEV=\`cat /proc/cmdline | cut -d\" \" -f2 | sed -e's/root=//'\`" +emit " ROOTDEV=\`cat /proc/cmdline | sed 's/^.*root=//' | cut -d\" \" -f1\`" emit " IS_LABEL=\`echo \$ROOTDEV | grep LABEL\`" emit " IS_UUID=\`echo \$ROOTDEV | grep UUID\`" emit " if [ -n \"\$IS_LABEL\" -o -n \"\$IS_UUID\" ] "
yeah, I can see how that might improve the parsing of the rootdev, in the event that root\ isn't the second value key. fixed in -85.el5. Thanks!
Fix confirmed in kexec-tools-1.101-164.el5.