Red Hat Bugzilla – Bug 465361
mkdumprd doesn't handle raid5 properly
Last modified: 2009-01-20 15:59:04 EST
Description of problem:
when a kdump initrd is built on a system that boots off of raid5 it fails with:
No module raid5 found for kernel 2.6.18-117.el5, aborting.
Failed to run mkdumprd
that is because it appears to be looking for a module named raid5.ko but it is named raid456.ko.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 319356 [details]
patch to correct raid personality for raid5
This should fix it. Please confirm and I'll check it in as soon as I can. Thanks!
Created attachment 319374 [details]
updated patch to handle raid 456
I found a couple issues with your patch. There are a couple different paths where it was trying to find a module named raid5.ko. I moved this to a point that covers both. Also, your patch converted any raid level to raid456 including raid 0, 1 and 01 which each have their own modules.
I tested this on my ia64 system with a raid5 root device. I want to test at least on other raid level before we call this done. I am planning on doing a raid0 install test case later today anyway so this is no extra work.
This latest patch works with a raid0 root also so we should be OK now.
looks good, I'll check it in as soon as it gets the acks it needs.
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.