From owner-freebsd-fs@freebsd.org Sun Jun 4 00:24:35 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61251BFBD1E for ; Sun, 4 Jun 2017 00:24:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 327E182927; Sun, 4 Jun 2017 00:24:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 4DA7CACF9; Sun, 4 Jun 2017 00:24:34 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 0996D7445; Sun, 4 Jun 2017 00:24:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id FG8xLbA2lqba; Sun, 4 Jun 2017 00:24:24 +0000 (UTC) Subject: Re: NFS panic: newnfs_copycred: negative nfsc_ngroups DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 0F6FF743F From: Bryan Drewery To: Rick Macklem Cc: FreeBSD FS References: <2b7a77df-8291-d399-6d1f-c454fbb2a5d9@FreeBSD.org> Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Sat, 3 Jun 2017 17:24:11 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <2b7a77df-8291-d399-6d1f-c454fbb2a5d9@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W9BiI7qw5NUJwWMAOuAgklILN69Bu4Sne" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2017 00:24:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W9BiI7qw5NUJwWMAOuAgklILN69Bu4Sne Content-Type: multipart/mixed; boundary="t30sl9o0Iqi52grB5oQqjfqEgsw39giSs"; protected-headers="v1" From: Bryan Drewery To: Rick Macklem Cc: FreeBSD FS Message-ID: Subject: Re: NFS panic: newnfs_copycred: negative nfsc_ngroups References: <2b7a77df-8291-d399-6d1f-c454fbb2a5d9@FreeBSD.org> In-Reply-To: <2b7a77df-8291-d399-6d1f-c454fbb2a5d9@FreeBSD.org> --t30sl9o0Iqi52grB5oQqjfqEgsw39giSs Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/3/2017 3:43 PM, Bryan Drewery wrote: > Last reported here but I forgot to follow-up > https://lists.freebsd.org/pipermail/freebsd-current/2013-July/042996.ht= ml >=20 > I still get this quite often. >=20 > Server is: 10.2-RELEASE-p2 >=20 > Client is: 12.0-CURRENT #5 r318116M >=20 > mount is (no soft or intr since 2013): >=20 >> tank:/tank/distfiles/freebsd /mnt/distfiles = nfs rw,bg,noatime,rsize=3D65536,wsize=3D65536,readahead=3D8= ,nfsv4,rdirplus 0 0 >=20 > I have a core for debugging... >> (kgdb) bt >> #0 __curthread () at ./machine/pcpu.h:232 >> #1 doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.c:318 >> #2 0xffffffff803abf3c in db_fncall_generic (addr=3D, r= v=3D, nargs=3D, args=3D) at = /usr/src/sys/ddb/db_command.c:581 >> #3 db_fncall (dummy1=3D, dummy2=3D, dum= my3=3D, dummy4=3D) at /usr/src/sys/ddb/db_c= ommand.c:629 >> #4 0xffffffff803abaaf in db_command (last_cmdp=3D, cmd= _table=3D, dopager=3D) at /usr/src/sys/ddb/= db_command.c:453 >> #5 0xffffffff803ab7e4 in db_command_loop () at /usr/src/sys/ddb/db_co= mmand.c:506 >> #6 0xffffffff803ae89f in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:248 >> #7 0xffffffff80a9fda3 in kdb_trap (type=3D3, code=3D-61456, tf=3D) at /usr/src/sys/kern/subr_kdb.c:654 >> #8 0xffffffff80ee9286 in trap (frame=3D0xfffffe355f840540) at /usr/sr= c/sys/amd64/amd64/trap.c:537 >> #9 >> #10 kdb_enter (why=3D0xffffffff81455661 "panic", msg=3D= ) at /usr/src/sys/kern/subr_kdb.c:444 >> #11 0xffffffff80a5d759 in vpanic (fmt=3D, ap=3D0xfffffe= 355f8406d0) at /usr/src/sys/kern/kern_shutdown.c:772 >> #12 0xffffffff80a5d59f in _kassert_panic (fatal=3D1, fmt=3D0xffffffff8= 1434d8b "newnfs_copycred: negative nfsc_ngroups") at /usr/src/sys/kern/ke= rn_shutdown.c:669 >> #13 0xffffffff80946ec2 in newnfs_copycred (nfscr=3D0xfffff8047b3eb530,= cr=3D0xfffff80122cfa500) at /usr/src/sys/fs/nfs/nfs_commonport.c:244 >> #14 0xffffffff8094bddc in nfscl_getstateid (vp=3D, nfhp= =3D0xfffff80501233902 "\233\262\tM\336\006\236\313\n", fhlen=3D28, mode=3D= 1, fords=3D, cred=3D, p=3D, = stateidp=3D, lckpp=3D) at /usr/src/sys/fs/n= fsclient/nfs_clstate.c:630 >> #15 0xffffffff8095ca88 in nfsrpc_read (vp=3D0xfffff8030bc209c0, uiop=3D= 0xfffffe355f840af8, cred=3D0xfffff80122cfa500, p=3D0x0, nap=3D0xfffffe355= f8409d0, attrflagp=3D0xfffffe355f840aa4, stuff=3D) at /usr= /src/sys/fs/nfsclient/nfs_clrpcops.c:1396 >> #16 0xffffffff8096b90a in ncl_readrpc (vp=3D0xfffff8030bc209c0, uiop=3D= 0xfffffe355f840af8, cred=3D0xfffff801b4913300) at /usr/src/sys/fs/nfsclie= nt/nfs_clvnops.c:1375 >> #17 0xffffffff80976656 in ncl_doio (vp=3D0xfffff8030bc209c0, bp=3D0xff= fffe349a268750, cr=3D, td=3D0x0, called_from_strategy=3D) at /usr/src/sys/fs/nfsclient/nfs_clbio.c:1643 >> #18 0xffffffff80978694 in nfssvc_iod (instance=3D) at /= usr/src/sys/fs/nfsclient/nfs_clnfsiod.c:302 >> #19 0xffffffff80a1e394 in fork_exit (callout=3D0xffffffff80978420 , arg=3D0xffffffff81c7de64 , frame=3D0xfffffe3= 55f840c00) at /usr/src/sys/kern/kern_fork.c:1038 >> #20 >> (kgdb) p *nfscr >> $3 =3D {nfsc_uid =3D 3735929054, nfsc_groups =3D {3735929054 }, nfsc_ngroups =3D -559038242} >> (kgdb) frame 17 >> #17 0xffffffff80976656 in ncl_doio (vp=3D0xfffff8030bc209c0, bp=3D0xff= fffe349a268750, cr=3D, td=3D0x0, called_from_strategy=3D) at /usr/src/sys/fs/nfsclient/nfs_clbio.c:1643 >> (kgdb) p vp->v_mount->mnt_stat.f_mntonname >> $8 =3D "/mnt/distfiles", '\000' >=20 > I had some bogus -domain in my nfsuserd options on the client that I > removed after the recent panic. Not sure if it is relevant. >=20 No that had no impact, I've hit it 3 times since sending the last email. --=20 Regards, Bryan Drewery --t30sl9o0Iqi52grB5oQqjfqEgsw39giSs-- --W9BiI7qw5NUJwWMAOuAgklILN69Bu4Sne Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZM1MrAAoJEDXXcbtuRpfP4q8IAIwZ3nrg8N9KbFoxEUyGRIrg LpqovrI9XGEhBwxLVD8MWON8GUl037tGGHxMm6F+RW5mQFnC50++lV0FVD2qe49e QkmAYe3QzoAGgicNXlouCCh2t41lTMIunjdMcYbxvUVsvoiQTGwBTO5uYMaOTQRn gD2S44D5hlKyaicBbH/wNcDkbyeBHmz6ZvR84l9w3u3dXHDTp0JS4SGDVm6Uydt/ HCzLPeoU6u/lm/AAkzFGmHt3VCbmIHWd8ArY2jSzmANkD3jhipa+0/VErcndkKY7 mMFjYfUgkOv/3Y6B6F7nw+1gL4Z0X0b8Ens/DPacf3T6+924N0IYk3y6BxuWy7U= =f8eu -----END PGP SIGNATURE----- --W9BiI7qw5NUJwWMAOuAgklILN69Bu4Sne--