Date: Wed, 07 Jul 2021 17:52:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257043] NFS nfsrpc_readdirplus() panic Message-ID: <bug-257043-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257043 Bug ID: 257043 Summary: NFS nfsrpc_readdirplus() panic Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dgilbert@eicat.ca Server: Threadripper 1900 with 40T ZFS array running 13.0. Client: HiFive Unmatched RISC-V running 14-CURRENT. I believe the most rec= ent commit was ed0a582d88f7cb8deea9b6fbe6dade43911c0dd7 on Sat Jun 19 17:50:11 = 2021 +0200. I was on the client, and wanted to fetch an img to put onto a usb stick. I cd'd into NFS to where the image was stored. As I discovered it was bz2'd = (ll to read dir), I flipped back to the server's shell and pbunzip2'd (much fas= ter --- .bz2 disappears, .img appears). I flipped back to the client and did "= ll" again --- at which point, client panic'd. I'm going to paste part of the bt here. Links below to the kernel, kernel.debug, vmcore. #11 0xffffffc000343466 in panic (fmt=3D0xffffffc000829fb0 <kdb_why> "\372Rg= ") at /home/dgilbert/FreeBSD/src/sys/kern/kern_shutdown.c:843 #12 0xffffffc0003f1916 in cache_enter_time (dvp=3D<optimized out>, vp=3D<op= timized out>, cnp=3D<optimized out>, tsp=3D<optimized out>, dtsp=3D<optimized out>) at /home/dgilbert/FreeBSD/src/sys/kern/vfs_cache.c:2471 #13 0xffffffc000237834 in nfsrpc_readdirplus (vp=3D<optimized out>, uiop=3D0xffffffc2204d56c8, cookiep=3D0xffffffc2204d5580, cred=3D<optimized out>, p=3D<optimized out>, nap=3D0xffffffc2204d5588, attrflagp=3D0xffffffc2204d557c, eofp=3D<optimized out>, stuff=3D0x0) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clrpcops.c:3765 #14 0xffffffc0002423a0 in ncl_readdirplusrpc (vp=3D0xffffffd2591fa1c0, uiop=3D0xffffffc2204d56c8, cred=3D0xffffffd033b29700, td=3D0xffffffc221787b00) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clvnops.c:2506 #15 0xffffffc000251648 in ncl_doio (vp=3D0xffffffd2591fa1c0, bp=3D0xffffffc001876b90, cr=3D0xffffffd033b29700, td=3D0xffffffc221787b00, called_from_strategy=3D<optimized out>) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clbio.c:1696 #16 0xffffffc000250984 in ncl_bioread (vp=3D0xffffffd2591fa1c0, uio=3D0xffffffc2204d5a88, ioflag=3D<optimized out>, cred=3D<optimized out>) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clbio.c:607 #17 0xffffffc0002463e8 in nfs_readdir (ap=3D0xffffffc2204d5ac0) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clvnops.c:2394 #18 0xffffffc0003fef14 in vop_sigdefer (vop=3D<optimized out>, a=3D0xffffffc2204d5ac0) at /home/dgilbert/FreeBSD/src/sys/kern/vfs_default.c:1499 #19 0xffffffc000241b86 in nfs_vnodeops_bypass (a=3D0xf2cf08918fe95d7a) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clvnops.c:209 #20 0xffffffc0005dcd84 in VOP_READDIR_APV (vop=3D0xffffffc000765110 <newnfs_vnodeops>, a=3D0xffffffc2204d5ac0) at vnode_if.c:1939 #21 0xffffffc000421212 in VOP_READDIR (vp=3D<optimized out>, uio=3D<optimiz= ed out>, cred=3D<optimized out>, eofflag=3D<optimized out>, ncookies=3D<optimized out>, cookies=3D<optim= ized out>) at ./vnode_if.h:985 #22 kern_getdirentries (td=3D<optimized out>, fd=3D<optimized out>, buf=3D<= optimized out>, count=3D<optimized out>, basep=3D<optimized out>, residp=3D<optimized out>, bufseg=3D<optimized = out>) at /home/dgilbert/FreeBSD/src/sys/kern/vfs_syscalls.c:4169 #23 0xffffffc000421076 in sys_getdirentries (td=3D0xffffffc000829fb0 <kdb_w= hy>, uap=3D0xffffffc221787ee8) at /home/dgilbert/FreeBSD/src/sys/kern/vfs_syscalls.c:4116 #24 0xffffffc0005d5e14 in syscallenter (td=3D0xffffffc221787b00) at /home/dgilbert/FreeBSD/src/sys/riscv/riscv/../../kern/subr_syscall.c= :189 #25 ecall_handler () at /home/dgilbert/FreeBSD/src/sys/riscv/riscv/trap.c:1= 65 #26 do_trap_user (frame=3D<optimized out>) at /home/dgilbert/FreeBSD/src/sys/riscv/riscv/trap.c:375 #27 <signal handler called> #28 0x0000000040310e08 in ?? () Client: [1:16:17]root@ump:/var/crash> uname -a FreeBSD ump.daveg.ca 14.0-CURRENT FreeBSD 14.0-CURRENT #2 unmatched-n247472-2c2ed1f58a18: Wed Jul 7 01:02:27 EDT 2021=20=20=20=20 dgilbert@vr.home.dclg.ca:/home/dgilbert/FreeBSD/obj/home/dgilbert/FreeBSD/s= rc/riscv.riscv64/sys/GENERIC riscv Server: [2:124:424]root@vr:/vr1/tmp> uname -a FreeBSD vr.home.dclg.ca 13.0-RELEASE FreeBSD 13.0-RELEASE #21 releng/13.0-n244733-ea31abc261f-dirty: Tue Apr 20 12:19:38 EDT 2021=20=20= =20=20 root@vr.home.dclg.ca:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 files: vmcore.3.bz2 https://nextcloud.towernet.ca/s/kzfKrAmqWd7xZYp core.txt.3.bz2 https://nextcloud.towernet.ca/s/Atemjg9AsJY6MP9 info.3.bz2 https://nextcloud.towernet.ca/s/KjGrqfgRidszNJb kernel.3.bz2 https://nextcloud.towernet.ca/s/RGdgMM3KRozWQ6t kernel.3.debug.bz2 https://nextcloud.towernet.ca/s/e6DES6GeCNJeKka --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257043-227>