Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!spool.mu.edu!pravda.aa.msen.com!nntp.coast.net!howland.reston.ans.net!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: NSF panic nogrps Date: 5 Feb 1996 10:27:04 GMT Organization: Private BSD site, Dresden Lines: 47 Message-ID: <4f4m1o$48q@uriah.heep.sax.de> References: <4ed7te$jl1@hamilton.maths.tcd.ie> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 dwmalone@maths.tcd.ie (David Malone) writes: > > We have a machine running a 2.1.0 kernel and with most of the > 2.1.0 binarys ( but with a few 2.0.5 still not upgraded ). About > every 10 minutes tha machine panics, the time I was on the console > there was a message about "panic:nfs nogrps". > > The machine nfs exports one disk to a Sunos 4.1.3_U1 machine and > imports a few disks from other SunOS machines. Does any one have > any suggestions where I should begin to look ? I'm not sure if this is related, just in case: Index: kern_prot.c =================================================================== RCS file: /home/cvs/src/sys/kern/kern_prot.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- kern_prot.c 1995/10/08 00:06:07 1.13 +++ kern_prot.c 1995/11/04 10:50:55 1.14 @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_prot.c 8.6 (Berkeley) 1/21/94 - * $Id: kern_prot.c,v 1.13 1995/10/08 00:06:07 swallace Exp $ + * $Id: kern_prot.c,v 1.14 1995/11/04 10:50:55 davidg Exp $ */ /* @@ -407,7 +407,8 @@ if ((error = suser(pc->pc_ucred, &p->p_acflag))) return (error); - if ((ngrp = uap->gidsetsize) > NGROUPS) + ngrp = uap->gidsetsize; + if (ngrp < 1 || ngrp > NGROUPS) return (EINVAL); pc->pc_ucred = crcopy(pc->pc_ucred); if ((error = copyin((caddr_t)uap->gidset, -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)