Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145115 - genkernel-3.4.0-r1; get NFSROOT via udhcpc, allow network drivers to be modules
Summary: genkernel-3.4.0-r1; get NFSROOT via udhcpc, allow network drivers to be modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-08-25 14:39 UTC by Stefan Nickl
Modified: 2006-10-23 09:11 UTC (History)
1 user (show)

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


Attachments
NFSROOT via udhcpc (genkernel-udhcp.patch,3.68 KB, patch)
2006-08-25 14:41 UTC, Stefan Nickl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Nickl 2006-08-25 14:39:41 UTC
Hi,

this is a proof-of-concept patch which makes it possible to have network drivers as modules in the initramfs. I started this since the README of Intels's e1000 driver says the driver is only supported when compiled as a module. But since there has been some talk about removing the kernel based solution for mounting a nfs root, this might be of more general interest.

I'm not quite happy with how the rootpath value is passed back from the script, maybe someone has a better idea here.

Also note that I use the "-R" option to udhcpc which requires the "udhcp_additional_items.diff" patch being applied to busybox (already included in the archive). It's a bit outdated, but trivial to fix.

Plus the patch fixes #143476 as a bonus ;)
Comment 1 Stefan Nickl 2006-08-25 14:41:15 UTC
Created attachment 95088 [details, diff]
NFSROOT via udhcpc
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-13 13:23:26 UTC
I've added this to subversion now, it'll show up in 3.4.3+ of genkernel.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-13 13:28:14 UTC
FYI, similar functionality also exists in genkernel-4 svn.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-23 09:11:27 UTC
Fixed in 3.4.3