Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 09:02:14 -0700 (PDT)
From:      Chris Timmons <cwt@networks.cwu.edu>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-stable@freebsd.org, Martin Sugioarto <nakal@web.de>, John Baldwin <jhb@freebsd.org>
Subject:   Re: kernel trap 12 with interrupts disabled [bge0 on 7.2R]
Message-ID:  <20090515085956.X21017@n.cwu.edu>
In-Reply-To: <20090515130609.GG1927@deviant.kiev.zoral.com.ua>
References:  <1696198956@web.de> <20090514091410.H12558@n.cwu.edu> <20090514093008.Q12558@n.cwu.edu> <200905141317.56551.jhb@freebsd.org> <20090514152838.E12558@n.cwu.edu> <20090515082458.GB1927@deviant.kiev.zoral.com.ua> <20090515053142.D17400@n.cwu.edu> <20090515130609.GG1927@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

Kostik,

Looking good after applying your patch and rebuilding the kernel.  I've 
been exercising the machine for a couple of hours under the same load 
which crashed it in short order yesterday.

I will report back if any problems appear.

Thank you for your help!

Regards,
-Chris

last pid:  4131;  load averages: 11.72,  8.89,  5.94 
up 0+02:03:21  08:59:48
102 processes: 6 running, 96 sleeping
CPU: 38.7% user,  0.0% nice, 11.2% system,  0.0% interrupt, 50.1% idle
Mem: 409M Active, 1737M Inact, 241M Wired, 544K Cache, 112M Buf, 1372M 
Swap: 8192M Total, 8192M Free


On Fri, 15 May 2009, Kostik Belousov wrote:

> The file structure in the dump is fully initialized. It seems that the
> issue is with devfs replacing file ops vector with devfs-specific one
> in devfs_open() before the struct file is fully initialized in vn_open.
> Please, try the patch below (against 7) and report results.
>
> Index: fs/devfs/devfs_vnops.c
> ===================================================================
> --- fs/devfs/devfs_vnops.c	(revision 192089)
> +++ fs/devfs/devfs_vnops.c	(working copy)
> @@ -890,6 +890,7 @@
> 	if (fp != NULL) {
> 		FILE_LOCK(fp);
> 		fp->f_data = dev;
> +		fp->f_vnode = vp;
> 		FILE_UNLOCK(fp);
> 	}
> 	fpop = td->td_fpop;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090515085956.X21017>