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

Bug 401583

Summary: genkernel --mdadm doesn't include "linear" MD module into initramfs
Product: Gentoo Hosted Projects Reporter: parafin <help>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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