Re: Reproducible panic of 6.2 on double mount ntfs



Jan Henrik Sylvester wrote:
With '/dev/ad0s1 /mnt/ad0s1 ntfs ro,noauto 0 0' in fstab, if I issue 'mount /mnt/ad0s1' twice, I always get a panic with the message:

panic: lockmgr: locking against myself

I should have done some more intelligent research before...

kern/89966 (6.0-STABLE) is exactly what I see. (The difference between my mount+fstab and manual mount_ntfs is that the first includes ro.)

kern/104393 (7.0-CURRENT) does not even have the ro, but is otherwise the same.

kern/71391 (5.2.1-RELEASE) might be related...

I wonder why a panic that seems to be so easy to reproduce is not analyzed and fixed -- probably ntfs is simply not very important to anyone and the panic can be avoided quite easily.

Since I should be able to avoid issuing repeated execution of mount with some concentration (I ran into this four times now), it should not be too much of an issue for me, either...

Regards,
Jan Henrik
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Mounting NFS root FS
    ... Locking depends on persistent storage, ... And can't have locks without the mount. ... The nfsmount which is in the klibc distribution supports running an ad hoc portmap daemon, which allows locking to be done by forwarding information to the "real" portmap for when the real rpc.statd is run. ...
    (Linux-Kernel)
  • Re: Mounting NFS root FS
    ... Locking depends on persistent storage, ... Except for the fact that to be able to mount anything RW you ... generally _want_ to have locks. ...
    (Linux-Kernel)
  • Re: NFS-Filelocking: FreeBSD vs. Linux
    ... Auch ohne Locking hängt sich die NFS-Verbindung noch manchmal weg bzw. scheitert bereits beim Mount. ... Einmal hatte ich sogar den kuriosen Zustand, daß der Server keine Verzeichnisse mehr exportiert hat, obwohl alles korrekt in exports eingetragen war. ...
    (de.comp.os.unix.bsd)
  • Re: [RFC PATCH] file as directory
    ... which mount takes priority on the lookup? ... Then you are going to have interesting time with locking in final mntput. ... directory should only depend on the contents of the underlying inode. ...
    (Linux-Kernel)