Summary: | [patch] allow compilation of kernel for pure udev system with genkernel + bootsplash | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Defresne Sylvain (keiichi) <kamisama> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gentoo, gregkh, livecd, matteo-ml, paulpach, plasmaroo, redeeman |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 48301 | ||
Attachments: | udev/linuxrc patch for clean initrd unmount |
Description
Defresne Sylvain (keiichi)
2004-04-28 15:13:45 UTC
We should really be using initramfs for 2.6 instead of initrd. But that is going to take a bit of work, that hopefully I can get to in a month or so, once the rest of the kernel stuff is cleaned up... Either way, we need to put udev into initramfs too, this is just a note... Adding livecd@gentoo.org to CC since this is a "Feature" planned for 2004.2 release. Adding plasmaroo directly to the CC on this one so hopefully he can get it into genkernel 3.0.2b for me... *hint* *hint* Hi, the patch looks good and I'll add it in to CVS... The only issue is that we want to get this into LiveCDs and they use CDROOT=1... Could you make a patch to mount udev when CDROOT=1 please? This only needs an extention to the generic/linuxrc file. Sidenotes: [ "$?" -eq '0' ] || is better than [ ! "$?" -eq "0" ] && and there isn't a need for locals in the compile_udev() function. Good otherwise. Tim, did this get added to genkernel 3.0.2b or...? i don't think it got added since my last attempt to run udev + genkernel generated initrd gave the same results as before (root not found). When is this going in? Genkernel is the only thing keeping me from going udev. well, you can always compile your kernel by hand, of course. but having an initrd isn't a silly idea (or gentoo wouldn't use it :), and the only usable way to get one is using genkernel. you can indeed have udev perfectly working also along with genkernel (in fact, I do), but it's not -ehm- "elegant". Just don't use in your lilo.conf the "real_root" thing. It'll work. The reason to fix this is that things are made to work, and not by kluge. ;) It won't be until after 2004.2 (end of the month) since we want to keep the same version of genkernel for all arches. Created attachment 35267 [details, diff]
udev/linuxrc patch for clean initrd unmount
OK, udev support is now in 3.0.2e and should work; just make sure you run genkernel with the --udev parameter. If there are any issues, please reopen this bug. Thanks! |