geninitrd fails if softraid partition (mdXpY) used as rootfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PLD Linux |
New
|
Undecided
|
Unassigned |
Bug Description
I get "ERROR: RAID devices not found for "/dev/md0p1", check your configuration!" if softraid partition (mdXpY) is used as rootfs:
-------
# geninitrd -v -f foo 2.36.2-1
geninitrd: # $Revision: 12044 $ $Date: 2011-01-13 21:20:40 +0100 (czw) $
geninitrd: Using _lib: lib64
geninitrd: Using initrd_dir: /usr/lib64/initrd
geninitrd: find_tool: found /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: found /usr/lib64/
geninitrd: find_tool: found /sbin/mdadm
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: find_tool: did not found any of: /usr/sbin/
geninitrd: find_tool: did not found any of: /usr/sbin/
geninitrd: find_tool: did not found any of: /bin/splash.bin
geninitrd: find_tool: did not found any of: /usr/lib64/
geninitrd: Using modprobe -c to get modules config
geninitrd: Finding SATA modules
geninitrd: Using /dev/md0p1 as device for rootfs
geninitrd: Finding modules for device path /dev/md0p1
geninitrd: Finding RAID details using mdadm for rootdev=/dev/md0p1
geninitrd: ERROR: RAID devices not found for "/dev/md0p1", check your configuration!
-------
my fstab:
-------
/dev/md0p1 / ext2 defaults 0 1
/dev/md0p2 swap swap defaults 0 0
none /proc proc defaults,
none /sys sysfs defaults,
none /proc/bus/usb usbfs defaults,
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/cpuset cpuset defaults,noauto 0 0
-------
mdadm.conf
-------
#MAILADDR <email address hidden>
#PROGRAM /usr/sbin/
ARRAY /dev/md0 metadata=0.90 UUID=9fec8181:
-------
mdadm output:
-------
# mdadm -v --detail --scan
ARRAY /dev/md0 level=raid5 num-devices=3 metadata=0.90 UUID=9fec8181:
devices=
-------
versions:
- geninitrd: 10000.32-1 and 10000.20-5
- arch: x86_64
- mdadm: 3.1.2
- kernel: 2.36.2-1
description: | updated |
description: | updated |
description: | updated |
Try to replace mod-md.sh with this one and retest: svn.pld- linux.org/ cgi-bin/ viewvc. cgi/svn/ geninitrd/ trunk/mod- md.sh?view= markup& pathrev= 12071
http://