[Bug 623307] New: Boot hangs when NFS is enabled
http://bugzilla.novell.com/show_bug.cgi?id=623307 http://bugzilla.novell.com/show_bug.cgi?id=623307#c0 Summary: Boot hangs when NFS is enabled Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Critical Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nc.carneiro@yahoo.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9.1.10) Gecko/20100506 SUSE/3.5.10-0.1.1 Firefox/3.5.10 Hi I just installed OpenSUSE 11.3 (final version, fresh installation) and had the same problem reported on Buzilla # 593599, regarding the system not booting when NFS is enable. It was reported the problem was resolved in Milestone 5 but I just installed the final version and still got the problem! Thanks very much. Regards, Noel Carneiro Reproducible: Always Steps to Reproduce: 1.Install system (fresh installation) 2.Add NFS directory mappings using YaST 3.reboot Actual Results: System is not booting. System is just waiting Expected Results: Normal reboot, system working properly, with NFS directories mapped. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c1
Colin Pendred
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c2
Neil Brown
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c3
Ian Smith
From memory, the stalled point reads "Starting nfs clinet services: sm-notify" and I think "idmapd" as well. However, I have removed my NFS shares from /etc/fstab so I cannot check right now.
If nobody else responds before I go to bed, I will re-add the nfs mappings, reboot and take note of the message. BTW, a temporary work-around, while this is being resolved is to add /bin/mount to your sudo list using yast, then make a script file with the manual mount commands listed, and put it in your KDE/Gnome/LXDE autostart directory. e.g. sudo mount 192.168.1.2:/home/ian /home/ian/Server/ etc. About 5 minutes after booting up, my NFS shares become available this way. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c4
--- Comment #4 from Ian Smith
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c5
Noel Carneiro
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c6
--- Comment #6 from Noel Carneiro
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c7
--- Comment #7 from Noel Carneiro
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c8
Neil Brown
From you fstab I see you mount /usr/local via NFS. This is handled by mount_usr so that is almost certainly the issue.
I'm not sure exactly what is causing the hang, but I suspect it is NFSv4 related, as NFSv4 has more local dependencies. Could you try changing /etc/init.d/nfs so that in the mount_usr function (near line 133) the mount commands have the option vers=3. i.e. mount_usr() { test -n "$usr" -o -n "$opt" || return local where for where in $usr $opt ; do mount -o nolock,vers=3 $where || { # maybe network device hasn't appeared yet. udevadm settle mount -o nolock,vers=3 $where } done } (two changes, both "-o nolock" to "-n nolock,vers=3") and see if that makes a difference? Thanks. Ian: do you have a /usr/* filesystem in /etc/fstab too ?? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623307
http://bugzilla.novell.com/show_bug.cgi?id=623307#c9
--- Comment #9 from Ian Smith
Ian: do you have a /usr/* filesystem in /etc/fstab too ??
Not as far as I can tell, but here it is in case I missed something. BTW, I haven't had any problems since changing NFS to version 3 -- Configure bugmail: http://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=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c10
--- Comment #10 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c11
--- Comment #11 from Noel Carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c12
--- Comment #12 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c13
--- Comment #13 from Noel Carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c14
--- Comment #14 from Noel Carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c15
noel carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c16
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c17
--- Comment #17 from Ian Smith
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c18
--- Comment #18 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c19
Noel Carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c20
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c21
--- Comment #21 from Noel Carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c22
--- Comment #22 from noel carneiro
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c23
--- Comment #23 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c24
--- Comment #24 from Ian Smith
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c25
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c26
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c27
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c28
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c29
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c30
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c31
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c32
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c33
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c34
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c35
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c36
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c37
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c38
--- Comment #38 from Noel Carneiro
Hi Noel,
Just a thought.
I often find when I change anything to do with network settings that the firewalls block NFS shares initially, even though they are set up to allow the standard NFS ports.
It could be worth stopping both firewalls temporarily, then restarting your NFS client. That usually works for me.
Hope this helps.
PS: If it does work, please let me know, and I'll file a bug report for the firewall.
-- 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=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c39
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=623307
https://bugzilla.novell.com/show_bug.cgi?id=623307#c40
--- Comment #40 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com