Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 1996 12:12:23 +0100 (BST)
From:      Doug Rabson <dfr@render.com>
To:        Robin Cutshaw <robin@intercore.com>
Cc:        current@freebsd.org
Subject:   Re: nfs related panic
Message-ID:  <Pine.BSF.3.95.960905120937.4396B-100000@minnow.render.com>
In-Reply-To: <199609042146.RAA16282@intercore.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Sep 1996, Robin Cutshaw wrote:

> 
> Running 2.2-960801-SNAP or current-smp with 1 or 2 cpu's active I get:
> 
> panic : ufs_ihashget:recursive lock not expected -- pid 155
> 
> when running two or more nfs clients off of this box as a server (and
> building XFree86 312G remotely).  Changing the number of nfsd's running
> had no effect.
> 
> Fixed in -current?

There is a bug in the NFSv3 server.  Try this patch:

Index: nfs_serv.c
===================================================================
RCS file: /home/ncvs/src/sys/nfs/nfs_serv.c,v
retrieving revision 1.30
diff -c -r1.30 nfs_serv.c
*** nfs_serv.c	1996/06/08 12:16:26	1.30
--- nfs_serv.c	1996/09/05 11:11:28
***************
*** 2919,2924 ****
--- 2919,2925 ----
  		nfsm_srvpostop_attr(getret, &at);
  		return (0);
  	}
+ 	vput(nvp);
  	    
  	dirlen = len = NFSX_V3POSTOPATTR + NFSX_V3COOKIEVERF + 2 * NFSX_UNSIGNED;
  	nfsm_reply(cnt);



--
Doug Rabson, Microsoft RenderMorphics Ltd.	Mail:  dfr@render.com
						Phone: +44 171 734 3761
						FAX:   +44 171 734 6426




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960905120937.4396B-100000>