From owner-freebsd-stable Tue Jul 3 13:36:12 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 087F337B409 for ; Tue, 3 Jul 2001 13:36:07 -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 WAA53135; Tue, 3 Jul 2001 22:35:12 +0200 (CEST) Message-Id: <200107032035.WAA53135@midten.fast.no> To: mike@sentex.net Cc: kevin.way@overtone.org, mhall@nms.fnc.fujitsu.com, freebsd-stable@FreeBSD.ORG Subject: Re: Hard lockups since cvsup'ing Jul 1st. Help! From: Tor.Egge@fast.no In-Reply-To: Your message of "Tue, 03 Jul 2001 15:46:45 -0400" References: <5.1.0.14.0.20010703154600.03842e60@marble.sentex.ca> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Jul__3_22:34:55_2001)--" Content-Transfer-Encoding: 7bit Date: Tue, 03 Jul 2001 22:35: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(Tue_Jul__3_22:34:55_2001)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > At 03:38 PM 7/3/01 -0400, Kevin Way wrote: > > > The kernel/world I built on Sunday night seem to lock my > > > system up hard after 3-5 minutes. > > > >Similar problem here. My system hard locked after a fresh world > > > I would either try compiling a kernel without mfs, or cvsup again to make > sure you have the latest commit which just went in a few min it ago. procfs also need a bandaid patch or vop_noislocked should be changed to just return 0. - Tor Egge ----Next_Part(Tue_Jul__3_22:34:55_2001)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Index: sys/miscfs/procfs/procfs.h =================================================================== RCS file: /home/ncvs/src/sys/miscfs/procfs/Attic/procfs.h,v retrieving revision 1.32.2.1 diff -u -r1.32.2.1 procfs.h --- sys/miscfs/procfs/procfs.h 2000/11/01 20:19:48 1.32.2.1 +++ sys/miscfs/procfs/procfs.h 2001/07/03 20:11:14 @@ -66,6 +66,7 @@ * control data for the proc file system. */ struct pfsnode { + struct lock pfs_lock; struct pfsnode *pfs_next; /* next on list */ struct vnode *pfs_vnode; /* vnode associated with this pfsnode */ pfstype pfs_type; /* type of procfs node */ Index: sys/miscfs/procfs/procfs_subr.c =================================================================== RCS file: /home/ncvs/src/sys/miscfs/procfs/Attic/procfs_subr.c,v retrieving revision 1.26.2.1 diff -u -r1.26.2.1 procfs_subr.c --- sys/miscfs/procfs/procfs_subr.c 2000/06/21 09:33:43 1.26.2.1 +++ sys/miscfs/procfs/procfs_subr.c 2001/07/03 20:11:14 @@ -130,6 +130,7 @@ vp->v_data = pfs; + lockinit(&pfs->pfs_lock, PVFS, "pfslk", 0, LK_NOPAUSE); pfs->pfs_next = 0; pfs->pfs_pid = (pid_t) pid; pfs->pfs_type = pfs_type; ----Next_Part(Tue_Jul__3_22:34:55_2001)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message