Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170753 - LUKS + RAID1: crypt_root does not create md# devices
Summary: LUKS + RAID1: crypt_root does not create md# devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 16:55 UTC by Nicolas Schlumberger
Modified: 2007-08-22 19:54 UTC (History)
0 users

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


Attachments
initrd.script-patch, created with diff -upN (initrd.scripts.diff,316 bytes, patch)
2007-03-13 16:58 UTC, Nicolas Schlumberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Schlumberger 2007-03-13 16:55:36 UTC
Booting a RAID1 system with LUKS encrypted ROOT.
Genkernel complains about missing device (/dev/md3 in my case)
adding root= or real_root= to grub.conf helped creating the missing devices, but would not boot set root to /dev/mapper/root.
After reading through genkernel's initrd.scripts and linuxrc, I found a missing line in initrd.scripts

Reproducible: Always

Actual Results:  
Not cleanly booting system.
Additional typing is need to get it running (setting root device)

Expected Results:  
clean boot, with interrupt for luks passphrase.

posting patch in next comment
Comment 1 Nicolas Schlumberger 2007-03-13 16:58:57 UTC
Created attachment 113186 [details, diff]
initrd.script-patch, created with diff -upN

The patch, as announced.

BTW. I've been running genkernel-3.4.6, no guarantee on later versions

cheers
nico
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-21 00:35:31 UTC
OK.  I've added this to SVN and it will show up in the next genkernel release.
Comment 3 Nicolas Schlumberger 2007-06-21 00:53:58 UTC
Thanks a lot

I already started to fear that my report was incomplete, or too unimportant.

cheers
nico
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-21 17:22:03 UTC
Nah, we had taken a break after 2007.0's release, and then I got a new job and moved across the country.  I'm just now returning and starting to churn through the 1000+ bugs in my Inbox...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-22 19:54:06 UTC
Please test genkernel 3.4.9_prer1 or better.  This should be fixed now.