unionfs or tmpfs Kernel Panic on 10.2-BETA1

Shawn Webb shawn.webb at hardenedbsd.org
Sat Jul 18 16:01:06 UTC 2015

Looks like there's some locking issues in 10.2-BETA1/amd64. I'm at revision bf2d0b176566519b95f21d01cc101f4b60247ab8 in this repo:


=== Begin Log ===
Trying to mount root from ufs:/dev/ufs/HardenedBSD_Install [ro,noatime]...
Mounting filesystems...
tunefs: soft updates set
tunefs: file system reloaded
camcontrol: subcommand "identify" requires a valid device identifier
panic: __lockmgr_args: recursing on non recursive lockmgr tmpfs @ /usr/src/sys/kern/vfs_subr.c:2174
cpuid = 1
KDB: enter: panic
[ thread pid 20959 tid 100107 ]
Stopped at      kdb_enter+0x3e: movq    $0,kdb_why
db> bt
Tracing pid 20959 tid 100107 td 0xfffff80006680000
kdb_enter() at kdb_enter+0x3e/frame 0xfffffe00fd9c3200
vpanic() at vpanic+0x146/frame 0xfffffe00fd9c3240
panic() at panic+0x43/frame 0xfffffe00fd9c32a0
__lockmgr_args() at __lockmgr_args+0x1151/frame 0xfffffe00fd9c33b0
vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe00fd9c33d0
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe00fd9c3400
_vn_lock() at _vn_lock+0xaa/frame 0xfffffe00fd9c3470
vget() at vget+0x67/frame 0xfffffe00fd9c34b0
tmpfs_alloc_vp() at tmpfs_alloc_vp+0x207/frame 0xfffffe00fd9c3530
tmpfs_lookup() at tmpfs_lookup+0x3d5/frame 0xfffffe00fd9c3590
VOP_CACHEDLOOKUP_APV() at VOP_CACHEDLOOKUP_APV+0xf1/frame 0xfffffe00fd9c35c0
vfs_cache_lookup() at vfs_cache_lookup+0xd6/frame 0xfffffe00fd9c3620
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xf1/frame 0xfffffe00fd9c3650
relookup() at relookup+0xa1/frame 0xfffffe00fd9c36b0
unionfs_relookup() at unionfs_relookup+0x102/frame 0xfffffe00fd9c3710
unionfs_relookup_for_delete() at unionfs_relookup_for_delete+0x56/frame 0xfffffe00fd9c37a0
unionfs_rmdir() at unionfs_rmdir+0xce/frame 0xfffffe00fd9c3800
VOP_RMDIR_APV() at VOP_RMDIR_APV+0xf7/frame 0xfffffe00fd9c3830
kern_rmdirat() at kern_rmdirat+0x1b9/frame 0xfffffe00fd9c39a0
amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe00fd9c3ab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00fd9c3ab0
--- syscall (137, FreeBSD ELF64, sys_rmdir), rip = 0x156d6ae08ca, rsp = 0x7ffffbe2c988, rbp = 0x7ffffbe2c9b0 ---
=== End Log ===

If there's anything you need from me, please let me know. It's 100% reproducible at bootup on one of my systems.

Shawn Webb

GPG Key ID:                0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150718/2b3a7774/attachment.bin>

More information about the freebsd-stable mailing list