Thanks for CCing, Jakob - I am not subscribed to the list and was thinking of checking the archives, but this way answering is easier (and might not shuffle threads too much) + Jakob Oestergaard <jakob@unthought.net> [17.06.02 21:05]: > On Mon, Jun 17, 2002 at 05:15:11PM +0200, Thomas -Balu- Walter wrote: [...] > > md: md driver 0.90.0 MAX_MD... > > cramfs: wrong magic > > EXT3-FS: unable to read superblock > > EXT2-FS: unable to read superblock > > Kernel panic: VFS: Unable to mount root fs on 09:01 > > Since it's cramfs that complains, I suppose it's your initrd that is > bad. Hm - thats the default woody initrd of that kernel, however I have added the raid module, created a new initrd and got the same message - but I can mount the initrd manually (-t cramfs -o loop) and look whats inside, and I can spawn the shell at boot and load the modules manually (they get loaded automatically too, but still can not find the superblocks) > Compile the RAID-1 into the kernel, forget about using modules. That is > the simple solution that I use - I am no initrd expert, and I have no > intentions of becoming one :) No, that would be "the easy way" - I am not supposed to give up on this 8). If I am able to get it running this way, I don't have to bother with updates or other things. I could just get a new default debian kernel-image and the initrd would be built with the new modules, ... + Scott Bisker <scott@bisker.com> wrote: > What you need to do is recreate your initrd to include the modules you > need during boot. The default mkinitrd /boot/initrd-2.4.18-686-raid1 > 2.4.18-686-raid1 will not suffice. > > Try this. > > mkinitrd --preload=raid1 --preload=xor /boot/initrd-2.4.18-686-raid1 > 2.4.18-686-raid1 The debian mkinitrd does not have --preload, the modules that should be included go into /etc/mkinitrd/modules. I've added raid1 already, but not xor? Perhaps this is the one to go for? > > Not sure about on debian, but raidtools should have at least the > following tools. > > /sbin/arytst > /sbin/detect_multipath > /sbin/lsraid > /sbin/raidreconf The ones above do not exist. Woody's raidtools2 are 0.90.20010914-15 > /sbin/mkraid > /sbin/raid0run > /sbin/raidhotadd > /sbin/raidhotgenerateerror > /sbin/raidhotremove > /sbin/raidsetfaulty > /sbin/raidstart > /sbin/raidstop I have those. Do they have to be on the initrd too? Balu - 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