lkml.org 
[lkml]   [2007]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Modular kernel (2.6.20) and software raid auto detection
On Thursday February 15, andrew@walrond.org wrote:
>
> With my ide driver and the md stuff all built into the kernel, my software
> raid drives and associated /dev/md? devices are detected and created by the
> kernel.

Yep.

>
> With the md stuff built in but the ide driver modular and loaded later by
> udev, the drives are not detected.

No, they aren't.

>
> So, I guessed that perhaps if I made the md stuff modular aswell and load it
> _after_ loading the ide driver, this might kickstart the auto-detect stuff.
> But it didn't :(

No, it wouldn't.

>
> Is there a way to make auto-detection work without having the ide driver built
> in?

Don't use in-kernel auto-detection. Use mdadm to do the
auto-detection for you.

mdadm --assemble --scan --homehost='<system>' --auto-update-homehost

might work providing your hostname has been set by the time it runs.

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

\
 
 \ /
  Last update: 2007-02-16 00:35    [W:0.034 / U:1.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site