Am Samstag, den 16.05.2009, 18:09 +0600 schrieb Mike Kazantsev:
> On Sat, 16 May 2009 13:33:04 +0200
> Maximilian Bräutigam <max-br...@gmx.de> wrote:
> 
> > could you please tell me, where to find these options in menuconfig,
> > because if i'm compiling my kernel i use:
> > genkernel --menuconfig all
> > 
> > if you are thinking of the options in 
> > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
> > -- these are enabled.
> 
> Yes, I mean these options as well, but in recent kernels there's one
> more flag in "Multi-dev" section that's missing in the guide:
> "Autodetect RAID arrays during kernel boot".
> Obviously, it should be set if you want to boot from mdraid.
> 
>   Device Drivers  --->
>     [*] Multiple devices driver support (RAID and LVM)  --->
>       <*>   RAID support
>         [*]     Autodetect RAID arrays during kernel boot
>         <*>     RAID-1 (mirroring) mode
> 
> But that's not all the prequesites, since you also need a device
> and fs driver compiled in.
> 
> It might look like this (but the hardware and/or fs is probably
> different in your case):
> 
>   Device Drivers  --->
> 
>     SCSI device support  ---> (RAID settings here is not for sw raid)
>       -*- SCSI device support
>       <*> SCSI disk support
> 
>     <*> Serial ATA (prod) and Parallel ATA (experimental) drivers  --->
>       <*>   AHCI SATA support
>       [*]   ATA SFF support
>         <*>     Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
> 
>   File systems  --->
>     <*> The Extended 4 (ext4) filesystem
> 
> 
> > by the way, if i'm booting w/o the initrd, i get a kernel panic because
> > he is not able to mount/find the raid system -- something with
> > "superblock not found".
> 
Hi Mike and all other gentoos ;) 

all of your mentioned options are enabled (since genkernel and me did
it).

i copied all data to another partition /dev/sdb9 and disabled initrd. by
the way, i think that initrd was running, because all the scans after
executing the initrd ran without problems. despite, i disabled it and
got a kernel panic, like:

"""
[md] scanned 0 and added 0
 ...
VFS: cannot open root device "sdb9" or unknown block(0,0)
please append correct "root="
 ...
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(0,0)
"""

i don't know how to handel this error, since my grub entry is correct
(or not?):

"""
title           Gentoo Linux x86_64-2.6.28-5 (no initrd) (on /dev/sdb9)
root            (hd1,8)
kernel          /boot/kernel-genkernel-x86_64-2.6.28-gentoo-r5 root=/dev/sdb9
"""

kind regards,
der Max



Reply via email to