Bug 521665 - Diskless boot stops because NFS module loading fails
Summary: Diskless boot stops because NFS module loading fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-netboot
Version: 11
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Jaroslav Reznik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-07 14:45 UTC by bertrand.monfort
Modified: 2010-06-28 14:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-06-28 14:31:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Properly finds module dependencies on F11 i386 (649 bytes, patch)
2009-09-11 01:50 UTC, Brian Long
no flags Details | Diff

Description bertrand.monfort 2009-09-07 14:45:11 UTC
Description of problem:
Diskless boot stops because of NFS module

Version-Release number of selected component (if applicable):
system-config-netboot  Version       : 0.1.45.4 Révision      : 5.fc11

How reproducible: very reproductible


Steps to Reproduce:
1. use system-config-netboot to create an node kernel image for diskless machine
2. try to boot the diskless PC
3. Distant boot is uncomplete because NFS module can't be loaded
  
Actual results:
Boot is uncomplete for the diskless PC, init 3 is not reached

Expected results:
Boot until init 3

Additional info:

SOLUTION IN ATTACH FILE : updateDikless 

There is just one modification (adding kernel/fs/nfs_common kernel/fs/fscache in line 203).You can do it in replacing updateDikless by the attached file or in replacing the former line 203 of updateDiskless by :

for d in kernel/drivers/net kernel/fs/nfs kernel/fs/nfs_common kernel/fs/fscache kernel/fs/lockd kernel/net/sunrpc kernel/net/ipv6 kernel/crypto;

Comment 1 Brian Long 2009-09-10 13:05:36 UTC
I can confirm the same behavior.  It appears updateDiskless is not properly parsing modules.dep when determining the kernel module dependencies.  modules.dep contains the following line:

kernel/fs/nfs/nfs.ko: kernel/fs/lockd/lockd.ko kernel/fs/fscache/fscache.ko kernel/fs/nfs_common/nfs_acl.ko kernel/net/sunrpc/auth_gss/auth_rpcgss.ko kernel/net/sunrpc/sunrpc.ko

You would think the procedure moddeps() would properly add fscache, nfs_acl and auto_rpcgss to initrd, but it does not.  I have not yet had a chance to run updateDiskless with "set -x" to determine where the problem lies.

Comment 2 Brian Long 2009-09-11 01:50:12 UTC
Created attachment 360597 [details]
Properly finds module dependencies on F11 i386

The attached patch to the moddeps() function fixes the problem for me.  The generated initrd.img contains nfs_acl.ko, fscache.ko and other modules which were needed but missing in order to NFS-boot Fedora 11 i386 with the latest 2.6.30.x kernel.

Comment 3 Jaroslav Reznik 2009-09-11 07:13:26 UTC
Thanks for report, I'll check it asap but I'm out of the office right now as we have Developers Conference this week.

Thanks For Your Patience.

Comment 4 Alexey Torkhov 2009-10-07 14:45:27 UTC
Confirming that patch works.

Comment 5 Alexey Torkhov 2009-12-08 09:43:26 UTC
But, at the same time, patch breaks images built for RHEL/CentOS...

Comment 6 Brian Long 2009-12-08 13:00:29 UTC
I've seen no action on this bug since it was opened back in September.  Could Jaroslav at least accept the bug and get it out of the NEW state please?

Comment 7 Jaroslav Reznik 2009-12-10 09:48:09 UTC
Sorry, I was quite busy and s-c-netboot is unfortunately low priority package :( I didn't commit the patch before checking, looks like more work is needed.

Comment 8 Bug Zapper 2010-04-28 10:12:59 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Bug Zapper 2010-06-28 14:31:17 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.