Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 4875 - SW RAID autodetect fails -- md is module in default kernels
Summary: SW RAID autodetect fails -- md is module in default kernels
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-09-03 02:37 UTC by michaeloqu
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-09-03 14:18:24 UTC

Attachments (Terms of Use)

Description michaeloqu 1999-09-03 02:37:13 UTC
Actually autodetect works, it's "do_md_run()" that finally

I have created the arrays with persistent superblocks,
changed the partition type to 0xfd, and read all the bugs I
could find on bugzilla relating to this.

Everything works fine when booting, with autodetection
saying All The Right Things, right up until...

request_module[md-personality-4]: Root fs not mounted
do_md_run() returned -22
md4 stopped.
... autorun DONE.

It appears that md is compiled as a module in stock RH
kernels, but for autodetect to work, it needs to be _in_
the kernel.  ( has flatly stated in
comments in other bugs that autorun is the only form of
RAID RH supports under the current raidtools.)

This can be remedied by compiling and installing the a
correctly configured kernel, or perhaps by delving into

A more kludgey option is adding raidstart code to
rc.sysinit.  For everything to work properly, it has to go
after modprobe, but before fsck of the non-root
filesystems.  This will not work for RAID on root.

Also see related bug (don't have a number yet, since I
haven't yet entered it into the system) relating to doing
Software RAID installs.

Comment 1 michaeloqu 1999-09-03 03:02:59 UTC
The "other" bug is 4876, "Can't install RHL 6.0 onto SW RAID."

Comment 2 Bill Nottingham 1999-09-03 14:18:59 UTC
This is fixed in the latest mkinitrd in Raw Hide ; it adds
the md-personality-* modules to the initrd.

Note You need to log in before you can comment on or make changes to this bug.