Re: 1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c:1905

2016-08-07 Thread Rick Macklem
Harry Schmalzbauer wrote:
> Hello,
>
> I had another crash which I'm quite sure was triggered by mount_unionfs:
Just in case you are not already aware, unionfs is always broken. Read the BUGS
section at the end of "man mount_unionfs". If it were easy to fix, someone would
have done so long ago. Yes, some use it successfully, but if not...

Sorry, but I suspect that is how it will remain, rick

Unread portion of the kernel message buffer:
panic: __lockmgr_args: downgrade a recursed lockmgr nfs @
/usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c:1905
- Crash info deleted for brevity.

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c:1905

2016-08-07 Thread Harry Schmalzbauer
 Hello,

I had another crash which I'm quite sure was triggered by mount_unionfs:

Unread portion of the kernel message buffer:
panic: __lockmgr_args: downgrade a recursed lockmgr nfs @
/usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c:1905

cpuid = 3
KDB: stack backtrace:
#0 0x80b2d887 at kdb_backtrace+0x67
#1 0x80ae5332 at vpanic+0x182
#2 0x80ae51a3 at panic+0x43
#3 0x80ab6987 at __lockmgr_args+0xe87
#4 0x80ba3c7c at vop_stdlock+0x3c
#5 0x82cd at VOP_LOCK1_APV+0x8d
#6 0x80a17c1c at unionfs_lock+0x48c
#7 0x82cd at VOP_LOCK1_APV+0x8d
#8 0x80bc8703 at _vn_lock+0x43
#9 0x80a17380 at unionfs_readdir+0x140
#10 0x81110e6f at VOP_READDIR_APV+0x8f
#11 0x80bc59ab at kern_getdirentries+0x21b
#12 0x80bc5768 at sys_getdirentries+0x28
#13 0x80fab6ae at amd64_syscall+0x4ce
#14 0x80f8dc0b at Xfast_syscall+0xfb
Uptime: 44m36s
Dumping 337 out of 2002 MB:..5%..15%..24%..34%..43%..53%..62%..72%..81%..91%

#0  doadump (textdump=) at pcpu.h:221
221 pcpu.h: Permission denied.
in pcpu.h
(kgdb) backtrace
#0  doadump (textdump=) at pcpu.h:221
#1  0x80ae4db9 in kern_reboot (howto=260) at
/usr/local/share/deploy-tools/RELENG_11/src/sys/kern/kern_shutdown.c:366
#2  0x80ae536b in vpanic (fmt=, ap=)
at
/usr/local/share/deploy-tools/RELENG_11/src/sys/kern/kern_shutdown.c:759
#3  0x80ae51a3 in panic (fmt=0x0) at
/usr/local/share/deploy-tools/RELENG_11/src/sys/kern/kern_shutdown.c:690
#4  0x80ab6987 in __lockmgr_args (lk=,
flags=, ilk=, wmesg=,
pri=, timo=, file=, line=)
at /usr/local/share/deploy-tools/RELENG_11/src/sys/kern/kern_lock.c:992
#5  0x80ba3c7c in vop_stdlock (ap=) at
lockmgr.h:98
#6  0x82cd in VOP_LOCK1_APV (vop=,
a=) at vnode_if.c:2087
#7  0x80a17c1c in unionfs_lock (ap=0xfe2296a0) at
vnode_if.h:859
#8  0x82cd in VOP_LOCK1_APV (vop=,
a=) at vnode_if.c:2087
#9  0x80bc8703 in _vn_lock (vp=,
flags=66560, file=, line=) at
vnode_if.h:859
#10 0x80a17380 in unionfs_readdir (ap=) at
/usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c:1531
#11 0x81110e6f in VOP_READDIR_APV (vop=,
a=) at vnode_if.c:1822
#12 0x80bc59ab in kern_getdirentries (td=,
fd=, buf=0x800a35000 ,
count=, basep=0xfe229980, residp=0x0)
at vnode_if.h:758
#13 0x80bc5768 in sys_getdirentries (td=0x0,
uap=0xfe229a40) at
/usr/local/share/deploy-tools/RELENG_11/src/sys/kern/vfs_syscalls.c:3940
#14 0x80fab6ae in amd64_syscall (td=,
traced=0) at subr_syscall.c:135
#15 0x80f8dc0b in Xfast_syscall () at
/usr/local/share/deploy-tools/RELENG_11/src/sys/amd64/amd64/exception.S:396
#16 0x0045da4a in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal

Analyzing is out of my scope, sorry.
But I hope somebody else can before 11-RELEASE ships with this problem.

Thanks,

-Harry
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"