Description of problem:
Generic AMD64 box, single SATA disk, installed with FC2, updated to FC3
During the hardware init stage it says something like
RAID_AUTORUN Error 19
This error is from nash.
Which is ENODEV. Bill -- what's the "raidautorun /dev/md0" sitting on
line 219 of rc.sysinit there for?
To start up any automatic raid arrays after loading all storage
adapters. It's really hard to conditionalize on the presence of an
array at that point.
Note that running 'echo "raidautorun /dev/md0" | nash --quiet' on the
commandline doesn't produce this error for me.
Alan -- what version of udev do you have installed? Stock test2 or a
Stock test2 - still battling overloaded mirror sites to get to current
Still present and I dont understand why it's assigned to mkinitrd. If
I build a custom kernel with no initrd it -still- does this.
nash produces the error, and it's in mkinitrd. It's coming from the
call to nash in rc.sysinit, but it's not real obvious why, as I can't
If you run:
echo "raidautorun /dev/md0" | nash --quiet
post-boot, does it print the error?
If so, an strace of the nash end would be helpful.
Are there any AVC messages on bootup?
Post boot it does print the error if I do this.
The strace is tiny -
brk(), brk(), getppid(), getppid() then
read(0, "raidauto...", 32767) = 21
access("/dev/md0", F_OK) = 0
open("/dev/md0", O_RDWR) = 3
ioctl(3, 0x914, 0) = -1 ENODEV
fstat(1, ... } = 0
mmap(NULL .. [memory alloc])
write(1, "raidautorun: RAID_AUTORUN failed...,
What is the major/minor of your /dev/md0?
Wait -- custom kernel? Does your custom kernel not have RAID built
in? If so, that's why it's happening.
Doh sorry - yes it is a custom kernel the RH kernel doesnt boot on
that box (known fixed issue). It has raid modular.
Does that mean it needs closing with "Alan is an idiot" ?
Yeah, base RAID needs to be built-in so that we can do raid autorun.
I just went through this exact same problem. Is there some reason
mkinitrd can't include the md module on the boot disk and have nash
modprobe it before raidautorun? It has no problem loading the raid1