Description of problem: The kdump fails if /dev/sdb1 is selected as the dump partition in /etc/kdumpl.conf. /dev/sda1 has no problem. The init script in dump inird seems to fail to create the block device file for /dev/sdb1. Version-Release number of selected component (if applicable): kexec-tools-1.101-75 How reproducible: Always Steps to Reproduce: 1. add "ext3 /dev/sdb1" to /etc/kdump.conf 2. echo c > /proc/sysrq-trigger 3. Actual results: kdump script in dump initrd cannot find /dev/sdb1 and fails. Expected results: kdump succeeds. Additional info: init script in dump initrd creates incorrect device files for sdb. The following is the output of 'ls -l /dev/sdb*' which is executed in shell session of initrd. brw-r--r-- 1 root 0 8, 16 Oct 2 14:18 /dev/sdb brw-r--r-- 1 root 0 8, 17 Oct 2 14:18 /dev/sdb17 brw-r--r-- 1 root 0 8, 18 Oct 2 14:18 /dev/sdb18 brw-r--r-- 1 root 0 8, 19 Oct 2 14:18 /dev/sdb19 brw-r--r-- 1 root 0 8, 20 Oct 2 14:18 /dev/sdb20 brw-r--r-- 1 root 0 8, 21 Oct 2 14:18 /dev/sdb21 brw-r--r-- 1 root 0 8, 22 Oct 2 14:18 /dev/sdb22 brw-r--r-- 1 root 0 8, 23 Oct 2 14:18 /dev/sdb23 brw-r--r-- 1 root 0 8, 24 Oct 2 14:18 /dev/sdb24 brw-r--r-- 1 root 0 8, 25 Oct 2 14:18 /dev/sdb25 brw-r--r-- 1 root 0 8, 26 Oct 2 14:18 /dev/sdb26 Appended patch fixed this problem.
Created attachment 137673 [details] mkdumprd.diff
Created attachment 137674 [details] mkdumprd.diff 2 Sorry, the patch is reverted. I submit the correct one.
*** Bug 208310 has been marked as a duplicate of this bug. ***
*** Bug 209289 has been marked as a duplicate of this bug. ***
QE ack for 5b2 according to section 12c of the release criteria.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering. This request is not yet committed for inclusion in release.
fixed in -78.el5
I confirmed kexec-tools-1.101-78 fixes the bug on my box.
Fix confirmed with 1.101-98.el5 which is part of the RHEL5-Server-20061020.1 trees.