[Bug 815738] New: mkinitrd fails to create working system for nfs boot
https://bugzilla.novell.com/show_bug.cgi?id=815738 https://bugzilla.novell.com/show_bug.cgi?id=815738#c0 Summary: mkinitrd fails to create working system for nfs boot Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pizza@glidos.net QAContact: jsrain@suse.com Found By: --- Blocker: --- Issuing the command: mkinitrd -k vnlinuz-3.7.10-1.1-desktop -i initrdnfs -d /dev/nfs -f nfs -D eth0 -B results in a initrdnfs which fails on boot at the stage of mounting the root file system, with error report "mount.nfs: Protocol not supported". I believe it is because nfs_v3 and nfs_v4 have been made separate kernal modules. Applying some wild guess work, I was able to fix the problem by adding " nfsv3" to the end of the line "#%modules: nfs" in file /lib/mkinitrd/scripts/boot-nfs.sh -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c
Xiaolong Li
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c1
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c2
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c3
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c4
--- Comment #4 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c5
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c6
Paul Gardiner
I will submit this change to nfs-utils, its also required for 12.3 mount.nfs4 is probably needed, I did not test this part.
Paul, please re-test this change for /lib/mkinitrd/scripts/boot-nfs.sh
Index: mkinitrd-boot.sh =================================================================== --- mkinitrd-boot.sh (revision bbc170fc5de5dd1d808d5e9b785c0a54) +++ mkinitrd-boot.sh (working copy) @@ -1,7 +1,7 @@ #!/bin/bash #%stage: block -#%modules: nfs -#%programs: /sbin/mount.nfs +#%modules: nfsv2 nfsv3 nfsv4 +#%programs: mount.nfs mount.nfs4 #%if: "$rootfstype" = "nfs" -o "$need_nfs" # ##### Network FileSystem
Yes Olaf, that works just fine, thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c7
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c8
--- Comment #8 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c9
--- Comment #9 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c10
Patrick Feucht
https://bugzilla.novell.com/show_bug.cgi?id=815738
https://bugzilla.novell.com/show_bug.cgi?id=815738#c11
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com