Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401583 - genkernel --mdadm doesn't include "linear" MD module into initramfs
Summary: genkernel --mdadm doesn't include "linear" MD module into initramfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 21:41 UTC by parafin
Modified: 2012-02-12 02:00 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 parafin 2012-01-30 21:41:57 UTC
All current sys-kernel/genkernel versions (up to 3.4.24) doesn't include "linear.ko" kernel module into initramfs when run like this:
genkernel --mdadm all
So if you want to use linear MD array as root device, you have to either use --all-ramdisk-modules option or compile linear RAID level into kernel. It seems unlogical to me, that all other RAID types are supported by default and linear gets left out.

Reproducible: Always

Steps to Reproduce:
1. genkernel --mdadm all
2. try booting with root filesystem on the linear MD device
Actual Results:  
boot fails because specified root device doesn't exist

Expected Results:  
boot should succeed
Comment 1 parafin 2012-01-30 23:25:30 UTC
Actually --all-ramdisk-modules isn't even enough, you have to add doload=linear kernel parameter.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-02-12 02:00:42 UTC
InGit