From owner-freebsd-current Thu Sep 5 04:13:20 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA06641 for current-outgoing; Thu, 5 Sep 1996 04:13:20 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA06627 for ; Thu, 5 Sep 1996 04:13:15 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id MAA08981; Thu, 5 Sep 1996 12:12:24 +0100 Date: Thu, 5 Sep 1996 12:12:23 +0100 (BST) From: Doug Rabson To: Robin Cutshaw cc: current@freebsd.org Subject: Re: nfs related panic In-Reply-To: <199609042146.RAA16282@intercore.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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