Most recent kernel where this bug did not occur: 2.6.24-rc6-git3 Distribution: Debian GNU Linux 4.0/Etch Hardware Environment: Intel DG965SS, 4GB RAM, onboard e1000, no HDD Software Environment: Debian GNU Linux 4.0r2 x86_64 Problem Description: Starting with -git4 release the System won't boot from network. Booting with root=/dev/nfs ip=dhcp for example ends in asking the user to insert a boot floppy. This is obviously not the expected result when booting from network. The cause seem to be the changeset a6c05c3d064dbb83be88cba3189beb5db9d2dfc3. Looking at the code I found that ic_enable doesn't get set as expected. This prevents the kernel from initializing the ip configuration. The patch & my LK conf (for reference) are attached. This may be not the ideal way of solving this, there are probably better ones. This one "Works For Me" :)
Created attachment 14224 [details] Kernel patch. Fixes nfs boot problem.
Created attachment 14225 [details] My kernel config for reference
Reply-To: akpm@linux-foundation.org On Sat, 29 Dec 2007 11:54:07 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=9661 > > Summary: Booting from nfsroot fails > Product: Networking > Version: 2.5 > KernelVersion: 2.6.24-rc6-git4 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: blocking > Priority: P1 > Component: IPV4 > AssignedTo: shemminger@linux-foundation.org > ReportedBy: bugs@psycast.de > > > Most recent kernel where this bug did not occur: 2.6.24-rc6-git3 > Distribution: Debian GNU Linux 4.0/Etch > Hardware Environment: Intel DG965SS, 4GB RAM, onboard e1000, no HDD > Software Environment: Debian GNU Linux 4.0r2 x86_64 > Problem Description: Starting with -git4 release the System won't boot from > network. Booting with root=/dev/nfs ip=dhcp for example ends in asking the > user > to insert a boot floppy. This is obviously not the expected result when > booting > from network. > > The cause seem to be the changeset a6c05c3d064dbb83be88cba3189beb5db9d2dfc3. > Looking at the code I found that ic_enable doesn't get set as expected. This > prevents the kernel from initializing the ip configuration. > > The patch & my LK conf (for reference) are attached. This may be not the > ideal > way of solving this, there are probably better ones. This one "Works For Me" > :) Thanks for the fix, but please send patches via email and not via bugzilla? Suitable recipients for this one would be netdev@vger.kernel.org Simon Horman <horms@verge.net.au> "David S. Miller" <davem@davemloft.net>
From: Andrew Morton <akpm@linux-foundation.org> Date: Sat, 29 Dec 2007 15:14:01 -0800 > Thanks for the fix, but please send patches via email and not via bugzilla? > > Suitable recipients for this one would be > > netdev@vger.kernel.org > Simon Horman <horms@verge.net.au> > "David S. Miller" <davem@davemloft.net> Simon already sent me a fix for this a few days ago, it's in my tree and will be sent to Linus in due time.
Can anyone provide the fixing commit name, please?
Hopefully 9cecd07c3f7a818a5865daad8cb5be408508dc99 fixed this?
There were actually two regressions here, and two fixes. They probably need to be applied in this order: commit 9cecd07c3f7a818a5865daad8cb5be408508dc99 Author: Simon Horman <horms@verge.net.au> Date: Thu Dec 27 21:19:10 2007 -0800 [IPV4] Fix ip=dhcp regression commit 92ffb85dd33d62ac1dad8b44da62365f2aad413d Author: Amos Waterland <apw@us.ibm.com> Date: Sat Jan 5 23:23:06 2008 -0800 [IPV4] ipconfig: Fix regression in ip command line processing