Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100169 - latest genkernel with md raid and lvm2 does not boot
Summary: latest genkernel with md raid and lvm2 does not boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
: 100168 102395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-24 17:44 UTC by Glen Dragon
Modified: 2005-08-13 16:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glen Dragon 2005-07-24 17:44:36 UTC
This is very similar to Bug #98193, which apparently was fixed in 3.2.5 

I'm trying to used raid 5 and md (compiled into the kernel) with genkernel and
udev. I am also using lvm2 on top of the md0 device. 
This worked great with genkernel 3.1.x

It says "searching for volume groups"... "none found"
if I go into the shell. i don't have a /dev/md0
dmesg doesn't report the starting raid as ususal.

My genkernel line:
genkernel all --lvm2 

My kernel (grub) boot lines:
kernel /kernel-genkernel-x86-64-2.6.12-gentoo-r6 root=/root/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/vg/root2 dolvm2 udev nodevfs
initrd /initramfs-genkernel-x86-64-2.6.12-gentoo-r6


old working grub config with genkernel 3.1.6 (?)
kernel /kernel-2.6.12-gentoo root=/root/ram0 init=/linuxrc ramdisk=8192
real_root=/dev/vg/root2 dolvm2 udev nodevfs
initrd /initramfs-2.6.12-gentoo

This used to work.  I guess in the meantime, I'll have to go back to genkernel
3.1.6. Please let me know if you need more info.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
booted
Comment 1 Glen Dragon 2005-07-24 17:46:21 UTC
fyi this was genkernel 3.2.10, and 3.2.9 also did not work.
Comment 2 Glen Dragon 2005-07-24 17:51:38 UTC
from bug #98193 

>> Activating udev
>> real_root is a md device. Setting up the device node (If necessary)...
>> Creation of /dev/md1 Succeeded...

I don't have anything like that when booting. Since I am booting from LVM, I
assume that it does not know that it needs to create the md0 device. 
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-07-25 04:44:16 UTC
*** Bug 100168 has been marked as a duplicate of this bug. ***
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-07-29 14:01:49 UTC
Please try with genkernel-3.3.2 specifying lvmraid=md0 on boot.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-08-04 14:32:32 UTC
Please see comment #4; reopen if issues persist.
Comment 6 Glen Dragon 2005-08-05 11:13:50 UTC
It still does not work for me. It still does not display anything about
activating the md device. 

Using genkernel-3.3.5
and the kernel line:
kernel /kernel-genkernel-x86_64-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ra
mdisk=8192 real_root=/dev/vg/root2 dolvm2 udev nodevfs lvmraid=md0

Does the order of the arguments matter at all?  Is there a list of options to pass?
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2005-08-09 07:43:08 UTC
Try lvmraid=/dev/md0
Comment 8 Glen Dragon 2005-08-11 18:21:26 UTC
it works.  Thanks
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2005-08-13 16:01:47 UTC
*** Bug 102395 has been marked as a duplicate of this bug. ***