I have a machine running Arch x86_64 2.6.30.
It's root is set on a raid5 array automatically mounted under /dev/md0.
This is done via the kernel params as follows:
kernel /vmlinuz26 md=0,/dev/sda3,/dev/sdb3,/dev/sdc3 md=2,/dev/sda2,/dev/sdb2,/dev/sdc2 rootfstype=ext4 root=/dev/md0 ro
This used to work fine, however sometimes, it will fail to assemble the md0 array.
What happens is that everything goes normal, the kernel probes for block IDs, it finds matches, then waits for the array to assemble 10 seconds.
This is usually instantly done, however sometimes it waits 10 seconds, after which it timeouts and drops to a recovery console which I can't use because it doesn't accept any input. I think this may be because the only keyboards I have available are USB keyboards (even tho the keyboard works in the GRUB menu).
When this happens, I just have to reboot and the array will mount just fine.
Btw, this happens around 30% of the time.
It happens after clean shutdowns.
It can happen more than once in a row.
Since it fails to mount the rootfs, it can't write in any logs.
Has anyone ever seen something like this?
Any ideas why it might be happening?