kernel trap 12 with interrupts disabled [bge0 on 7.2R]
Chris Timmons
cwt at networks.cwu.edu
Fri May 15 16:02:16 UTC 2009
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;
More information about the freebsd-stable
mailing list