On Monday March 19, [EMAIL PROTECTED] wrote:
> I'm having trouble running a RAID1 root/boot mirror under 2.4.2.  Works
> fine on 2.2.14 though.
> 
> I'm running RH 6.2 with stock 2.2.14 kernel.  Running RAID1 on a pair of
> 9.1 UW SCSI Barracudas as root/boot/lilo.  md0 is / and md1 is 256M swap,
> also a 2 drive mirror. I built the RAID1 at install time using the Redhat GUI.
> 
> This configuration works flawlessly.  However, I've recently compiled the
> 2.4.2 kernel, with no module support; RAID1 static.  When 2.4.2 boots, I
> get an "Kernel panic: VFS: Unable to mount root fs on 09:00".
> 
> Here's the RAID driver output when booting 2.4.2:
> 
> autodetecting RAID arrays
> (read) sda5's sb offset: 8618752 [events: 00000022]
> (read) sdb5's sb offset: 8618752 [events: 00000022]
> autorun ...
> considering sdb5 ...
>   adding sdb5 ...
>   adding sda5 ...
> created md0
> bind<sda5,1>
> bind<sdb5,2>
> running: <sdb5><sda5>
> now!
> sdb5's event counter: 00000022
> sda5's event counter: 00000022
> do_md_run() returned -22
> md0 stopped.
> 
> Note: This RAID1 mirror works great under 2.2.14.  Under 2.4.2 I get the
> "returned -22" - What does this mean?

 -22 == EINVAL

It looks very much like raid1 *isn't* compiled into your kernel.
Can you show us your .config file?

Also /proc/mdstat when booted under 2.2 might help.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to