Red Hat Bugzilla – Bug 38791
Software RAID won't autorun
Last modified: 2007-04-18 12:32:59 EDT
Software RAID does not autorun on any platform that doesn't use MSDOS style
partition tables because the only partition type in fs/partitions that
calls md_autodetect_dev() is msdos.c.
I'm attaching a patch that should make RAID autorun work on OSF partitions
(although I cannot test it yet, since the installer crashes on me - bug
#38790). Ideally, the add_gd_partition() function would be like the
add_partition() function in 2.2, where the partition type was passed in (or
just 0 if partitions didn't have types) and add_gd_partition would then
have the logic to call md_autodetect_dev().
Created attachment 17068 [details]
Patch to fs/partitions/osf.c to enable RAID autorun
Ingo: can you take a peek at this?
One other (possibly obvious) comment on this, especially since the release notes
with RC1 suggest software RAID: compile the RAID modules in to the default
kernel. The above patch is useless without that.
Ingo? Arjan? anybody?
The above patch is not in the current cvs, is this a patch that we want? reject
*** Bug 40586 has been marked as a duplicate of this bug. ***