If you assemble disks with md=d0,/dev/hda,/dev/hdb it fails if /dev/hda is missing (for example because it's dead). This patch fixes it: --- linux-2.6.5-rc1/init/do_mounts_md.c.ORIG 2004-03-16 15:14:48.000000000 +0100 +++ linux-2.6.5-rc1/init/do_mounts_md.c 2004-03-20 14:30:33.000000000 +0100 @@ -142,7 +142,7 @@ else dev = MKDEV(MD_MAJOR, minor); create_dev(name, dev, devfs_name); - for (i = 0; i < MD_SB_DISKS && devname != 0; i++) { + for (i = 0; i < MD_SB_DISKS && devname != 0;) { char *p; char comp_name[64]; u32 rdev; @@ -158,12 +158,11 @@ rdev = bstat(comp_name); if (rdev) dev = new_decode_dev(rdev); - if (!dev) { - printk(KERN_WARNING "md: Unknown device name: %s\n", devname); - break; - } - - devices[i] = dev; + if (dev) + devices[i++] = dev; + else + printk(KERN_WARNING "md: Unknown device name: " + "%s\n", devname); devname = p; } Mike. -- Netu, v qba'g yvxr gur cynvagrkg :) - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html