Date: Tue, 03 Jul 2001 22:35:11 +0200 From: Tor.Egge@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! Message-ID: <200107032035.WAA53135@midten.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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
> 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
[-- Attachment #2 --]
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;
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107032035.WAA53135>
