From nobody Wed Jul 07 17:52:33 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3E59F11F5CAB for ; Wed, 7 Jul 2021 17:52:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GKn7j1Fkgz4Ynj for ; Wed, 7 Jul 2021 17:52:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1392D118EE for ; Wed, 7 Jul 2021 17:52:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 167HqXo2033966 for ; Wed, 7 Jul 2021 17:52:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 167HqXQ8033965 for bugs@FreeBSD.org; Wed, 7 Jul 2021 17:52:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257043] NFS nfsrpc_readdirplus() panic Date: Wed, 07 Jul 2021 17:52:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dgilbert@eicat.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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 "\372Rg= ") at /home/dgilbert/FreeBSD/src/sys/kern/kern_shutdown.c:843 #12 0xffffffc0003f1916 in cache_enter_time (dvp=3D, vp=3D, cnp=3D, tsp=3D, dtsp=3D) at /home/dgilbert/FreeBSD/src/sys/kern/vfs_cache.c:2471 #13 0xffffffc000237834 in nfsrpc_readdirplus (vp=3D, uiop=3D0xffffffc2204d56c8, cookiep=3D0xffffffc2204d5580, cred=3D, p=3D, nap=3D0xffffffc2204d5588, attrflagp=3D0xffffffc2204d557c, eofp=3D, 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) at /home/dgilbert/FreeBSD/src/sys/fs/nfsclient/nfs_clbio.c:1696 #16 0xffffffc000250984 in ncl_bioread (vp=3D0xffffffd2591fa1c0, uio=3D0xffffffc2204d5a88, ioflag=3D, cred=3D) 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, 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 , a=3D0xffffffc2204d5ac0) at vnode_if.c:1939 #21 0xffffffc000421212 in VOP_READDIR (vp=3D, uio=3D, cred=3D, eofflag=3D, ncookies=3D, cookies=3D) at ./vnode_if.h:985 #22 kern_getdirentries (td=3D, fd=3D, buf=3D<= optimized out>, count=3D, basep=3D, residp=3D, bufseg=3D) at /home/dgilbert/FreeBSD/src/sys/kern/vfs_syscalls.c:4169 #23 0xffffffc000421076 in sys_getdirentries (td=3D0xffffffc000829fb0 , 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) at /home/dgilbert/FreeBSD/src/sys/riscv/riscv/trap.c:375 #27 #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.=