Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124936 - Software-RAID modules missing in initramfs, kills evms
Summary: Software-RAID modules missing in initramfs, kills evms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-03-04 05:00 UTC by Stefan Nickl
Modified: 2006-04-13 12:36 UTC (History)
0 users

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 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.