Re: SMP VFS Part 2

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Wed, 1 Dec 2004 13:29:24 -0800
On Wed, Dec 01, 2004 at 05:54:49AM -0500, Jeff Roberson wrote:
> I have updated the patch at:
> 
> http://www.chesapeake.net/~jroberson/smpffs.diff
> 
> It includes bug fixes for a handful of problems that were reported, and a
> few more that I found myself.  It also unwinds giant from open(), which is
> a very high risk area, but after a few days of working out bugs it seems
> to be functioning quite well for me.
> 
> I did a make -j3 buildworld on a box with a lowered maxvnodes.  I also let
> 'stress' run for 8 loops or so until I ran into an unrelated KSE bug.  I
> did some mount/unmount/single user tests as well.
> 
> Use at your own risk.  I still haven't locked quotas, so if you're using
> quota, don't run with this patch.

Trying to mount root from nfs:
setrootbyname failed
panic: mutex Giant not owned at /a/portbuild/i386/src-client/sys/nfsclient/nfs_vfsops.c:397
KDB: enter: panic
[thread pid 1 tid 100003 ]
Stopped at      kdb_enter+0x32: leal    0(%esi),%esi
db> tr
Tracing pid 1 tid 100003 td 0xc195e480
kdb_enter(c0716a84,c0778ce0,c0715dfe,d40da9f4,c195e480) at kdb_enter+0x32
panic(c0715dfe,c0716043,c072681a,18d,c1a9e800) at panic+0x14d
_mtx_assert(c0777840,1,c072681a,18d,0) at _mtx_assert+0x117
nfs_mountroot(c1a9e800,c195e480,a,d40dac08,d40dab20) at nfs_mountroot+0x3b
nfs_omount(c1a9e800,c1b64280,0,c195e480,0) at nfs_omount+0x2a
vfs_mountroot_try(c071f372,c0712f2b,205,4b0,c0712f2b) at vfs_mountroot_try+0x163
vfs_mountroot(c0777840,1,c0712f2b,207,89097500) at vfs_mountroot+0x134
start_init(0,d40dad48,c07140d7,318,45af0f10) at start_init+0x73
fork_exit(c04f87f0,0,d40dad48) at fork_exit+0xa9
fork_trampoline() at fork_trampoline+0x8

Kris

Received on Wed Dec 01 2004 - 20:24:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC