From nobody Sat May 24 03:26:48 2025 X-Original-To: freebsd-current@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 4b46rr47F1z5x1RQ for ; Sat, 24 May 2025 03:26:52 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b46rq3yMpz3T4S for ; Sat, 24 May 2025 03:26:51 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of cy.schubert@cschubert.com designates 3.97.99.32 as permitted sender) smtp.mailfrom=cy.schubert@cschubert.com; dmarc=permerror reason="p tag has invalid value: quarantine rua=mailto:p[ostmaster@cschubert.com" header.from=cschubert.com (policy=permerror) Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTPS id IeatuN84c9JM2IfX8u90A1; Sat, 24 May 2025 03:26:50 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id IfX7uHEIKWbOaIfX7umVXJ; Sat, 24 May 2025 03:26:50 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Q5lx4J2a c=1 sm=1 tr=0 ts=68313c7a a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=dt9VzEwgFbYA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=nANpaBTGJXAnN7kKxhwA:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 9E2F8E2; Fri, 23 May 2025 20:26:48 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 932DE132; Fri, 23 May 2025 20:26:48 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Rick Macklem cc: Cy Schubert , freebsd-current@freebsd.org Subject: Re: NFS Panic In-reply-to: References: <20250523054806.732E923F@slippy.cwsent.com> Comments: In-reply-to Rick Macklem message dated "Fri, 23 May 2025 17:06:02 -0700." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 May 2025 20:26:48 -0700 Message-Id: <20250524032648.932DE132@slippy.cwsent.com> X-CMAE-Envelope: MS4xfL+nb9wx3Y2WLDyUqMuhNAQi/L1xRSrRi45F7OPxfzhrLdhH6l8BVLWhd6ulFHdPazsSU/i2Ddrr3175WqiWTtk7ys/uAGIyqRkfPeyHEN4xSTOD3Slp dl4UyoQEdVqtDRxA3MubILsBfqqXuiJ5n6fkjWfAjUl34ksGerWbb01+PCoMfHQayVmfUHQka5+9ynGOx6ewLrQsOHdeyR8qjPWdABxpKN9e4yUH+nJIciv0 Lu18G4WrZKekI9PvRJ5Kjw== X-Rspamd-Queue-Id: 4b46rq3yMpz3T4S X-Spamd-Bar: / X-Spamd-Result: default: False [0.57 / 15.00]; NEURAL_HAM_SHORT(-0.97)[-0.972]; NEURAL_SPAM_MEDIUM(0.83)[0.831]; NEURAL_SPAM_LONG(0.61)[0.608]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; MIME_TRACE(0.00)[0:+]; DMARC_BAD_POLICY(0.00)[cschubert.com : p tag has invalid value: quarantine rua=mailto:p[ostmaster@cschubert.com]; TO_DN_SOME(0.00)[]; TAGGED_RCPT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[] In message , Rick Macklem writes: > --000000000000c0ae7f0635d67be9 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Thu, May 22, 2025 at 10:48=E2=80=AFPM Cy Schubert .com> wrote: > > > > Hi, > > > > A couple of my machines have had the following panic. > > > > panic: refcount 0xfffff8008dbdabf4 wraparound^M > > cpuid =3D 3^M > > time =3D 1747977394^M > > KDB: stack backtrace:^M > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > > 0xfffffe008d1474d0^M > > vpanic() at vpanic+0x136/frame 0xfffffe008d147600^M > > panic() at panic+0x43/frame 0xfffffe008d147660^M > > vput() at vput+0x67/frame 0xfffffe008d147680^M > > nfs_lookup() at nfs_lookup+0x3bf/frame 0xfffffe008d1479f0^M > > vop_sigdefer() at vop_sigdefer+0x30/frame 0xfffffe008d147a20^M > > vfs_lookup() at vfs_lookup+0x467/frame 0xfffffe008d147aa0^M > > namei() at namei+0x2ed/frame 0xfffffe008d147b00^M > > vn_open_cred() at vn_open_cred+0x537/frame 0xfffffe008d147c80^M > > openatfp() at openatfp+0x281/frame 0xfffffe008d147dd0^M > > sys_openat() at sys_openat+0x3d/frame 0xfffffe008d147e00^M > > amd64_syscall() at amd64_syscall+0x15a/frame 0xfffffe008d147f30^M > > fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe008d147f3= > 0^M > > --- syscall (499, FreeBSD ELF64, openat), rip =3D 0x82213d96a, rsp =3D > > 0x8209c3518, > > rbp =3D 0x8209c3550 ---^M > > Uptime: 22h48m25s^M > > Dumping 3196 out of 7994 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%.= > .91 > > %^M > > Dump complete^M > > Automatic reboot in 15 seconds - press a key on the console to abort^M > > Rebooting...^M > > > > The panicking machine was the NFS client. The machine was at 30fd79b0c0a3= > . > > The NFS mount was handled by the automounter to mount my home dir from > > another machine. I was rsyncing a copy of src (mistakenly) to the machine= > . > > Some of the files were written to the share before it panicked. The > > underlying filesystem is on ZFS. > I think the attached patch should fix it. When I did the named attribute pa= > tch, > I somehow deleted an initialization of newvp. > > If you can try the patch, let me know if it fixes the problem. > > Thanks for reporting it, rick > The patch fixes the panic. Thanks for the fix. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0