From owner-freebsd-stable Tue Jul 3 23:12:23 2001 Delivered-To: freebsd-stable@freebsd.org Received: from midten.fast.no (midten.fast.no [213.188.8.11]) by hub.freebsd.org (Postfix) with ESMTP id 2FB6F37B401 for ; Tue, 3 Jul 2001 23:12:18 -0700 (PDT) (envelope-from Tor.Egge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [213.188.8.11]) by midten.fast.no (8.9.3/8.9.3) with ESMTP id IAA69094; Wed, 4 Jul 2001 08:12:11 +0200 (CEST) Message-Id: <200107040612.IAA69094@midten.fast.no> To: jjreynold@home.com Cc: stable@FreeBSD.ORG Newsgroups: ml.freebsd.stable Subject: Re: Hard lockups since cvsup'ing Jul 1st. Help! From: Tor.Egge@fast.no In-Reply-To: Your message of "Tue, 3 Jul 2001 22:42:10 -0700" References: <15170.44210.486464.356996@whale.home-net> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Jul__4_08:10:38_2001)--" Content-Transfer-Encoding: 7bit Date: Wed, 04 Jul 2001 08:12:11 +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----Next_Part(Wed_Jul__4_08:10:38_2001)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > > that's a little narrower interval than your June 2 for your binary > > search. I'm loathe to update my source tree until this is solved... > > Well, he searching goes on. Right before I left work somebody suggested that > Tor Egge's latest commit > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=512483+0+current/cvs-all > > might fix things, but unfortunately, it does not. Try this patch. Interaction between vop_noislocked and procfs also triggered the problem. - Tor Egge ----Next_Part(Wed_Jul__4_08:10:38_2001)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Index: kern/vfs_default.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_default.c,v retrieving revision 1.28.2.3 diff -u -1 -0 -r1.28.2.3 vfs_default.c --- kern/vfs_default.c 2001/06/26 04:20:08 1.28.2.3 +++ kern/vfs_default.c 2001/07/04 01:39:38 @@ -485,26 +485,21 @@ /* * Return whether or not the node is in use. */ int vop_noislocked(ap) struct vop_islocked_args /* { struct vnode *a_vp; struct proc *a_p; } */ *ap; { - struct vnode *vp = ap->a_vp; - struct lock *l = (struct lock *)vp->v_data; - - if (l == NULL) - return (0); - return (lockstatus(l, ap->a_p)); + return (0); } int vop_stdcreatevobject(ap) struct vop_createvobject_args /* { struct vnode *vp; struct ucred *cred; struct proc *p; } */ *ap; { ----Next_Part(Wed_Jul__4_08:10:38_2001)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message