Bug 458702

Summary: kdump initrd hangs waiting on cciss or md devices
Product: Red Hat Enterprise Linux 5 Reporter: Doug Chapman <dchapman>
Component: kexec-toolsAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: mgahagan, qcai
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:59:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to exclude md and cciss from critical_disks
none
updated patch to properly handle raid cases none

Description Doug Chapman 2008-08-11 17:28:00 UTC
Created attachment 313983 [details]
patch to exclude md and cciss from critical_disks

Description of problem:
The recent changes to kdump mkdumprd to wait until the needed devices are in place before mounting the root filesystem hangs on md or cciss devices.  This is due to how it parses the devices to be able to find them in sysfs.

Since these devices are always there once the driver is loaded we don't have the race condition issue so the easiest is to just exclude them from etc/critical_disks.

I am attaching a patch to mkdumprd that does that.  Patch has been tested on systems with "md" and "cciss" disks.

Version-Release number of selected component (if applicable):
kexec-tools-1.102pre-31


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2008-08-11 18:23:39 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Doug Chapman 2008-08-11 19:17:45 UTC
Created attachment 313995 [details]
updated patch to properly handle raid cases

In the process of looking at this we also found that for raid devices it does not add the /dev/sd* devices needed to critical_disks as it should.  This is an updated patch that has the fix mentioned in the orignal comment and also fixes this raid case.

This has been tested on 3 different ia64 systems with these configs:

lvm on top of raid on scsi disks
raid on scsi disks
lvm on top of cciss disks


all appear to kdump properly and inspection of etc/critical_disks shows what is expected (the needed sd disks only).

Comment 3 Neil Horman 2008-08-12 10:47:21 UTC
fixed in -32.el5.  Thanks!

Comment 4 Doug Chapman 2008-08-18 18:09:07 UTC
Neil,

Thanks, I have verified that -32.el5 does indeed work nicely.

- Doug

Comment 8 errata-xmlrpc 2009-01-20 20:59:38 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0105.html