[Bug 288444] p9fs chokes on mountpoints in the exported filesystem
Date: Fri, 25 Jul 2025 21:07:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288444
Bug ID: 288444
Summary: p9fs chokes on mountpoints in the exported filesystem
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: markj@FreeBSD.org
CC: markj@FreeBSD.org
I have a ZFS dataset, sb, with a number of child datasets mounted at
/path/to/sb/a, /path/to/sb/b, etc.. If I pass /path/to/sb as a 9p share to
bhyve and mount it in the guest at /mnt, I get a panic:
root@freebsd:/mnt # cd a
panic: cache_enter_time: same vnode for non-dot entry [a] (0xfffffe0059a6da50)
cpuid = 0
time = 1753477407
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xa5/frame 0xfffffe004c092b70
kdb_backtrace() at kdb_backtrace+0xc6/frame 0xfffffe004c092cd0
vpanic() at vpanic+0x214/frame 0xfffffe004c092e70
panic() at panic+0xb5/frame 0xfffffe004c092f30
cache_enter_time() at cache_enter_time+0x1eeb/frame 0xfffffe004c0930f0
p9fs_lookup() at p9fs_lookup+0xcfd/frame 0xfffffe004c0934e0
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0x3b/frame 0xfffffe004c093510
vfs_lookup() at vfs_lookup+0xb2d/frame 0xfffffe004c093790
namei() at namei+0x6a7/frame 0xfffffe004c093910
kern_statat() at kern_statat+0x318/frame 0xfffffe004c093b50
sys_fstatat() at sys_fstatat+0xf4/frame 0xfffffe004c093d10
amd64_syscall() at amd64_syscall+0x3d5/frame 0xfffffe004c093f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe004c093f30
--- syscall (552, FreeBSD ELF64, fstatat), rip = 0x38fbc865262a, rsp =
0x38fbc45a3fb8, rbp = 0x38fbc45a41d0 ---
--
You are receiving this mail because:
You are the assignee for the bug.