Re: RAID modules and CONFIG_AUTODETECT_RAID

From: Ian Grant (Ian.Grant@cl.cam.ac.uk)
Date: Wed Nov 15 2000 - 04:38:14 EST


>
> [Ian Grant]
> > In 2.2.x we were able to build a kernel with RAID modules and have it
> > autodetect RAID partitions at boot time - so we could use raid root
> > partitions.
>
> Really? Funny, because IIRC RAID autodetection does not even exist in
> 2.2.x kernels. Perhaps you are referring to vendor-patched kernels --
> some distributions ship 2.2 kernels with RAID patches applied.

Sorry, I am referring to 2.2.x with Ingo's RAID patches.

> > In 2.40 the configuration option CONFIG_AUTODETECT_RAID is explicitly
> > disabled unless at least one RAID module is built into the kernel. I
> > presume there is a good reason for this and that it's not just a
> > mistake.
>
> What would be the point? Autodetection is only needed for mounting the
> root filesystem. After root is mounted, you can use raidtools.

I'll try again: we need autodetection to mount a RAID root filesystems on
those machines that have them, but we don't want RAID *built in* to the kernel
- we want it as modules, because lots of our machines don't have RAID
partitions on their disks at all. i.e. I want CONFIG_MD_{LINEAR,RAID{0,1,5}}=m
 but then I can't say CONFIG_AUTODETECT_RAID=y We could do this with Ingo's
patches for 2.2.x but we can't do it with 2.4.0

Of course we need an initrd with the raid modules on it before we can boot
from a RAID root partition.

-- 
Ian Grant, Computer Lab., New Museums Site, Pembroke Street, Cambridge
Phone: +44 1223 334420          Personal e-mail: iang at pobox dot com 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:27 EST