-CURRENT panics in NFS

Juraj Lutter otis at FreeBSD.org
Sat Feb 27 14:18:26 UTC 2021


Reliably reproducible:

VNASSERT failed: dvp != vp not true at /usr/src/sys/kern/vfs_cache.c:2269 (cache_enter_time)
0xfffff80079321e00: type VDIR
    usecount 4, writecount 0, refcount 3 seqc users 0 mountedhere 0
    hold count flags ()
    flags (VV_ROOT|VV_VMSIZEVNLOCK)
    v_object 0xfffff801eeaf1d68 ref 0 pages 2 cleanbuf 1 dirtybuf 0
    lock type nfs: SHARED (count 1)
        fileid 34 fsid 0x3a3a00ff02
panic: condition dvp != vp not met at /usr/src/sys/kern/vfs_cache.c:2269 (cache_enter_time)
cpuid = 1
time = 1614435453
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00d01c3e10
vpanic() at vpanic+0x181/frame 0xfffffe00d01c3e60
panic() at panic+0x43/frame 0xfffffe00d01c3ec0
cache_enter_time() at cache_enter_time+0x1574/frame 0xfffffe00d01c3fa0
nfsrpc_readdirplus() at nfsrpc_readdirplus+0xcb6/frame 0xfffffe00d01c43d0
ncl_readdirplusrpc() at ncl_readdirplusrpc+0xdc/frame 0xfffffe00d01c4520
ncl_doio() at ncl_doio+0x423/frame 0xfffffe00d01c45b0
ncl_bioread() at ncl_bioread+0x5cc/frame 0xfffffe00d01c4740
nfs_readdir() at nfs_readdir+0x18f/frame 0xfffffe00d01c4850
vop_sigdefer() at vop_sigdefer+0x2f/frame 0xfffffe00d01c4880
VOP_READDIR_APV() at VOP_READDIR_APV+0x38/frame 0xfffffe00d01c48a0
kern_getdirentries() at kern_getdirentries+0x1fb/frame 0xfffffe00d01c4990
sys_getdirentries() at sys_getdirentries+0x29/frame 0xfffffe00d01c49c0
amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00d01c4af0
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00d01c4af0
--- syscall (554, FreeBSD ELF64, sys_getdirentries), rip = 0x8012a83fa, rsp = 0x7fffffffd928, rbp = 0x7fffffffd960 ---
KDB: enter: panic
[ thread pid 1879 tid 101207 ]
Stopped at      kdb_enter+0x37: movq    $0,0x128bdde(%rip)
db>


—
Juraj Lutter
XMPP: juraj (at) lutter.sk
GSM: +421907986576

> On 27 Feb 2021, at 15:10, Juraj Lutter <otis at FreeBSD.org> wrote:
> 
> - poudriere data stored on NFS
> - NFS server 12-STABLE
> - NFS client (that panicked) 14-CURRENT
> - Panic string:
> 
> condition dvp != vp not met at /usr/src/sys/kern/vfs_cache.c:2269 (cache_enter_time)
> 
> backtrace:
> 
> Tracing pid 27294 tid 100893 td 0xfffffe00ea1a3500
> kdb_enter() at kdb_enter+0x37/frame 0xfffffe00ea3dee10
> vpanic() at vpanic+0x1b2/frame 0xfffffe00ea3dee60
> panic() at panic+0x43/frame 0xfffffe00ea3deec0
> cache_enter_time() at cache_enter_time+0x1574/frame 0xfffffe00ea3defa0
> nfsrpc_readdirplus() at nfsrpc_readdirplus+0xcb6/frame 0xfffffe00ea3df3d0
> ncl_readdirplusrpc() at ncl_readdirplusrpc+0xdc/frame 0xfffffe00ea3df520
> ncl_doio() at ncl_doio+0x423/frame 0xfffffe00ea3df5b0
> ncl_bioread() at ncl_bioread+0x5cc/frame 0xfffffe00ea3df740
> nfs_readdir() at nfs_readdir+0x18f/frame 0xfffffe00ea3df850
> vop_sigdefer() at vop_sigdefer+0x2f/frame 0xfffffe00ea3df880
> VOP_READDIR_APV() at VOP_READDIR_APV+0x38/frame 0xfffffe00ea3df8a0
> kern_getdirentries() at kern_getdirentries+0x1fb/frame 0xfffffe00ea3df990
> sys_getdirentries() at sys_getdirentries+0x29/frame 0xfffffe00ea3df9c0
> amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00ea3dfaf0
> fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00ea3dfaf0
> 
> 
> running processes:
> 
> 27295 27179 27179     0  S+      piperd  0xfffff800090b4ba0  xargs
> 27294 27179 27179     0  R+      CPU 1                       find
> 27179   816 27179     0  S+      wait    0xfffff80181b69528  sh
> 
> Dump header from device: /dev/vtbd0p3
>  Architecture: amd64
>  Architecture Version: 2
>  Dump Length: 1860571136
>  Blocksize: 512
>  Compression: none
>  Dumptime: 2021-02-27 14:59:59 +0100
>  Hostname: b14.builder.wilbury.net
>  Magic: FreeBSD Kernel Dump
>  Version String: FreeBSD 14.0-CURRENT #0 main-n245107-172f2fc11cc: Fri Feb 26 15:20:00 CET 2021
>    root at b14.builder.wilbury.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
>  Panic String: condition dvp != vp not met at /usr/src/sys/kern/vfs_cache.c:2269 (cache_enter_time)
>  Dump Parity: 1481068399
>  Bounds: 0
>  Dump Status: good
> 
>> Juraj Lutter
> XMPP: juraj (at) lutter.sk
> GSM: +421907986576
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list