On Samstag 17 April 2010, David Mehler wrote: > Hello, > I've got a new gentoo box with two drives that i'm using raid1 on. On > boot the md raid autodetection is failing. Here's the error i'm > getting: > > md: Waiting for all devices to be available before autodetect > md: If you don't use raid, use raid=noautodetect > md: Autodetecting RAID arrays. > md: Scanned 4 and added 4 devices. > md: autorun ... > md: considering sda3 ... > md: adding sda3 ... > md: sda1 has different UUID to sda3 > md: adding sdb3 ... > md: sdb1 has different UUID to sda3 > md: created md3 > md: bind<sdb3> > md: bind<sda3> > md: running: <sda3><sdb3> > md: personality for level 1 is not loaded! > md: do_md_run() returned -22 > md: md3 stopped. > md: unbind<sda3> > md: export_rdev(sda3) > md: unbind<sdb3> > md: export_rdev(sdb3) > md: considering sda1 ... > md: adding sda1 ... > md: adding sdb1 ... > md: created md1 > md: bind<sdb1> > md: bind<sda1> > md: running: <sda1><sdb1> > md: personality for level 1 is not loaded! > md: do_md_run() returned -22 > md: md1 stopped. > md: unbind<sda1> > md: export_rdev(sda1) > md: unbind<sdb1> > md: export_rdev(sdb1) > md: ... autorun DONE. > EXT3-fs: unable to read superblock > FAT: unable to read boot sector > VFS: Cannot open root device "md3" or unknown-block(9,3) > Please append a correct "root=" boot option; here are the available > partitions: 1600 4194302 hdc driver: ide-cdrom > 0810 20971520 sdb driver: sd > 0811 40131 sdb1 > 0812 530145 sdb2 > 0813 20394517 sdb3 > 0800 20971520 sda driver: sd > 0801 40131 sda1 > 0802 530145 sda2 > 0803 20394517 sda3 > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(9,3) Pid: 1, comm: swapper Not tainted 2.6.32-gentoo-r7 #1 > Call Trace: > [<c12e4bd9>] ? panic+0x38/0xd3 > [<c143fb34>] ? mount_block_root+0x1e9/0x1fd > [<c143fb81>] ? mount_root+0x39/0x4d > [<c143fcd7>] ? prepare_namespace+0x142/0x168 > [<c143f31e>] ? kernel_init+0x167/0x172 > [<c143f1b7>] ? kernel_init+0x0/0x172 > [<c100344f>] ? kernel_thread_helper+0x7/0x10 > > I've booted with a live CD and checked the arrays they look good, i'm > not sure how to correct this UUID issue, any suggestions welcome. > Thanks. > Dave.
well, don't make raid1 support a module. Put it into the kernel.