Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124936

Summary: Software-RAID modules missing in initramfs, kills evms
Product: Gentoo Hosted Projects Reporter: Stefan Nickl <snickl>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: major Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Nickl 2006-03-04 05:00:35 UTC
Gentoo 2006.0 / sys-kernel/genkernel-3.3.10

When following the install instructions, one uses the /proc/config.gz from the LiveCD kernel as a base for genkernel.

In this config, the raid personalities (eg. raid1.ko) are compiled as modules, however "genkernel --evms2" does not add these modules to the initrd environment, only drive-mapper modules are copied (says modules_load).

As a newbie to RAID/EVMS this hit me pretty hard, as EVMS is able to scrape it's entire volume management configuration off the disk, and only fails at the very end when the resulting devices shall become available for mounting. It then leaves the md's up in some half-configured state so one needs to "raidstop --all" before evms_activate will work.

Btw, I solved the problem for me by compiling the raidX-modules into the kernel (--menuconfig). The LiveCD seems to suffer from the same problem, however in this environment the module exists, it just doesn't get loaded.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-13 12:36:55 UTC
This should be fixed in 3.3.11c, which is now in portage.