Date: Sat, 3 Jun 2017 17:24:11 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: FreeBSD FS <freebsd-fs@FreeBSD.org> Subject: Re: NFS panic: newnfs_copycred: negative nfsc_ngroups Message-ID: <c8df390d-590f-5843-8f62-b284d295240a@FreeBSD.org> In-Reply-To: <2b7a77df-8291-d399-6d1f-c454fbb2a5d9@FreeBSD.org> References: <2b7a77df-8291-d399-6d1f-c454fbb2a5d9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W9BiI7qw5NUJwWMAOuAgklILN69Bu4Sne Content-Type: multipart/mixed; boundary="t30sl9o0Iqi52grB5oQqjfqEgsw39giSs"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: FreeBSD FS <freebsd-fs@FreeBSD.org> Message-ID: <c8df390d-590f-5843-8f62-b284d295240a@FreeBSD.org> 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<optimized out>, r= v=3D<optimized out>, nargs=3D<optimized out>, args=3D<optimized out>) at = /usr/src/sys/ddb/db_command.c:581 >> #3 db_fncall (dummy1=3D<optimized out>, dummy2=3D<optimized out>, dum= my3=3D<optimized out>, dummy4=3D<optimized out>) at /usr/src/sys/ddb/db_c= ommand.c:629 >> #4 0xffffffff803abaaf in db_command (last_cmdp=3D<optimized out>, cmd= _table=3D<optimized out>, dopager=3D<optimized out>) 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<optimized out>, code=3D<opt= imized out>) at /usr/src/sys/ddb/db_main.c:248 >> #7 0xffffffff80a9fda3 in kdb_trap (type=3D3, code=3D-61456, tf=3D<opt= imized out>) 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 <signal handler called> >> #10 kdb_enter (why=3D0xffffffff81455661 "panic", msg=3D<optimized out>= ) at /usr/src/sys/kern/subr_kdb.c:444 >> #11 0xffffffff80a5d759 in vpanic (fmt=3D<optimized out>, 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<optimized out>, nfhp= =3D0xfffff80501233902 "\233\262\tM\336\006\236\313\n", fhlen=3D28, mode=3D= 1, fords=3D<optimized out>, cred=3D<optimized out>, p=3D<optimized out>, = stateidp=3D<optimized out>, lckpp=3D<optimized out>) 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<optimized out>) 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<optimized out>, td=3D0x0, called_from_strategy=3D<o= ptimized out>) at /usr/src/sys/fs/nfsclient/nfs_clbio.c:1643 >> #18 0xffffffff80978694 in nfssvc_iod (instance=3D<optimized out>) at /= usr/src/sys/fs/nfsclient/nfs_clnfsiod.c:302 >> #19 0xffffffff80a1e394 in fork_exit (callout=3D0xffffffff80978420 <nfs= svc_iod>, arg=3D0xffffffff81c7de64 <nfs_asyncdaemon+4>, frame=3D0xfffffe3= 55f840c00) at /usr/src/sys/kern/kern_fork.c:1038 >> #20 <signal handler called> >> (kgdb) p *nfscr >> $3 =3D {nfsc_uid =3D 3735929054, nfsc_groups =3D {3735929054 <repeats = 17 times>}, nfsc_ngroups =3D -559038242} >> (kgdb) frame 17 >> #17 0xffffffff80976656 in ncl_doio (vp=3D0xfffff8030bc209c0, bp=3D0xff= fffe349a268750, cr=3D<optimized out>, td=3D0x0, called_from_strategy=3D<o= ptimized out>) at /usr/src/sys/fs/nfsclient/nfs_clbio.c:1643 >> (kgdb) p vp->v_mount->mnt_stat.f_mntonname >> $8 =3D "/mnt/distfiles", '\000' <repeats 73 times> >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c8df390d-590f-5843-8f62-b284d295240a>