1 |
Am Samstag, den 16.05.2009, 18:09 +0600 schrieb Mike Kazantsev: |
2 |
> On Sat, 16 May 2009 13:33:04 +0200 |
3 |
> Maximilian Bräutigam <max-braeu@×××.de> wrote: |
4 |
> |
5 |
> > could you please tell me, where to find these options in menuconfig, |
6 |
> > because if i'm compiling my kernel i use: |
7 |
> > genkernel --menuconfig all |
8 |
> > |
9 |
> > if you are thinking of the options in |
10 |
> > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml |
11 |
> > -- these are enabled. |
12 |
> |
13 |
> Yes, I mean these options as well, but in recent kernels there's one |
14 |
> more flag in "Multi-dev" section that's missing in the guide: |
15 |
> "Autodetect RAID arrays during kernel boot". |
16 |
> Obviously, it should be set if you want to boot from mdraid. |
17 |
> |
18 |
> Device Drivers ---> |
19 |
> [*] Multiple devices driver support (RAID and LVM) ---> |
20 |
> <*> RAID support |
21 |
> [*] Autodetect RAID arrays during kernel boot |
22 |
> <*> RAID-1 (mirroring) mode |
23 |
> |
24 |
> But that's not all the prequesites, since you also need a device |
25 |
> and fs driver compiled in. |
26 |
> |
27 |
> It might look like this (but the hardware and/or fs is probably |
28 |
> different in your case): |
29 |
> |
30 |
> Device Drivers ---> |
31 |
> |
32 |
> SCSI device support ---> (RAID settings here is not for sw raid) |
33 |
> -*- SCSI device support |
34 |
> <*> SCSI disk support |
35 |
> |
36 |
> <*> Serial ATA (prod) and Parallel ATA (experimental) drivers ---> |
37 |
> <*> AHCI SATA support |
38 |
> [*] ATA SFF support |
39 |
> <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support |
40 |
> |
41 |
> File systems ---> |
42 |
> <*> The Extended 4 (ext4) filesystem |
43 |
> |
44 |
> |
45 |
> > by the way, if i'm booting w/o the initrd, i get a kernel panic because |
46 |
> > he is not able to mount/find the raid system -- something with |
47 |
> > "superblock not found". |
48 |
> |
49 |
Hi Mike and all other gentoos ;) |
50 |
|
51 |
all of your mentioned options are enabled (since genkernel and me did |
52 |
it). |
53 |
|
54 |
i copied all data to another partition /dev/sdb9 and disabled initrd. by |
55 |
the way, i think that initrd was running, because all the scans after |
56 |
executing the initrd ran without problems. despite, i disabled it and |
57 |
got a kernel panic, like: |
58 |
|
59 |
""" |
60 |
[md] scanned 0 and added 0 |
61 |
... |
62 |
VFS: cannot open root device "sdb9" or unknown block(0,0) |
63 |
please append correct "root=" |
64 |
... |
65 |
Kernel panic - not syncing: VFS: unable to mount root fs on |
66 |
unknown-block(0,0) |
67 |
""" |
68 |
|
69 |
i don't know how to handel this error, since my grub entry is correct |
70 |
(or not?): |
71 |
|
72 |
""" |
73 |
title Gentoo Linux x86_64-2.6.28-5 (no initrd) (on /dev/sdb9) |
74 |
root (hd1,8) |
75 |
kernel /boot/kernel-genkernel-x86_64-2.6.28-gentoo-r5 root=/dev/sdb9 |
76 |
""" |
77 |
|
78 |
kind regards, |
79 |
der Max |