[Bug 458068] New: mount hangs while mounting nfs partition
https://bugzilla.novell.com/show_bug.cgi?id=458068 Summary: mount hangs while mounting nfs partition Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sassmann@novell.com QAContact: qa@suse.de Found By: Development Created an attachment (id=259227) --> (https://bugzilla.novell.com/attachment.cgi?id=259227) strace sassmann@samsung:~> ps fax |grep mount 4120 pts/1 S+ 0:00 | \_ strace -o /tmp/mount.strace -f -tt -s 512 mount /dev/sda1 /mnt/ 4121 pts/1 T+ 0:00 | \_ mount /dev/sda1 /mnt/ 4122 pts/1 T+ 0:00 | \_ /sbin/mount.ntfs /dev/sda1 /mnt/ -o rw 4124 pts/1 S+ 0:00 | \_ /bin/mount -i -f -t fuseblk -o rw,allow_other,blksize=4096 /dev/sda1 /mnt hangs indefinetly, does not respond to ^C -- 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=458068
Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=458068
User chrubis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c1
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=458068
User pzimmer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c2
Philipp Zimmer
https://bugzilla.novell.com/show_bug.cgi?id=458068
User pzimmer@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c3
--- Comment #3 from Philipp Zimmer
https://bugzilla.novell.com/show_bug.cgi?id=458068
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c4
Jeff Mahoney
Strace ends in fnctl -> probably kernel problem.
[pid 967] open("/etc/mtab~", O_WRONLY) = 6 [pid 967] alarm(30) = 0 [pid 967] fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0} Nope. F_SETLKW means it's requesting a POSIX file lock, and is waiting on the lock to be released. The lock is for /etc/mtab~. The kernel is not hanging and the process can be killed via kill -9. x300:/proc # ls -li /etc/mtab~ 277047 -rw------- 1 root root 0 Jan 6 14:35 /etc/mtab~ x300:/proc # cat locks ... 2: POSIX ADVISORY WRITE 964 fd:01:277047 0 EOF 2: -> POSIX ADVISORY WRITE 967 fd:01:277047 0 EOF x300:/proc # ps auxw|grep 964 root 964 0.0 0.0 12768 968 pts/1 T+ 14:35 0:00 mount /dev/sda1 /mnt This is because the call path looks like: mount -> mount.ntfs -> mount, with both mount calls trying to lock /etc/mtab~. mount.ntfs is causing the "reentrant" behavior, so I'll assign to the gnome component. Adding util-linux maintainer to cc. -- 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=458068
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=458068
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=458068
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=458068
User szaka@ntfs-3g.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c5
--- Comment #5 from Szabolcs Szakacsits
https://bugzilla.novell.com/show_bug.cgi?id=458068
User mkoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c6
Matthias Koenig
https://bugzilla.novell.com/show_bug.cgi?id=458068
User mkoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c7
Matthias Koenig
https://bugzilla.novell.com/show_bug.cgi?id=458068
User szaka@ntfs-3g.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=458068#c8
--- Comment #8 from Szabolcs Szakacsits
This is a bug in mount, a regression of bug 444966 and already fixed. There was a code path in mount, where the lock was not released before calling the mount helper. Please see bug 459839.
Access Denied. -- 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.
participants (1)
-
bugzilla_noreply@novell.com