Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2008 21:23:46 -0500
From:      Alec Kloss <alec-keyword-arla.4d43de@SetFilePointer.com>
To:        afs@freebsd.org, arla-drinkers@stacken.kth.se
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: Patches to get Arla running on FreeBSD 8-CURRENT
Message-ID:  <20080730022345.GA20912@hamlet.SetFilePointer.com>
In-Reply-To: <47d0403c0807161443l4f002f17ibc1e5bfea4b925cd@mail.gmail.com>
References:  <20080223092516.O23969@fledge.watson.org> <20080223102922.GF38141@hamlet.setfilepointer.com> <20080223110549.GG38141@hamlet.setfilepointer.com> <20080223161249.GH38141@hamlet.setfilepointer.com> <90334B40754BEDC2991E0147@ganymede.hub.org> <p0624081bc3e936674ece@128.113.24.47> <20080226061140.GI28956@hamlet.SetFilePointer.com> <47d0403c0807152152j7c452b3cp275f8015da783542@mail.gmail.com> <20080716114118.GJ71954@hamlet.SetFilePointer.com> <47d0403c0807161443l4f002f17ibc1e5bfea4b925cd@mail.gmail.com>

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

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've been kicking around arla from CVS against a pretty
recent -current.  I can load nnpfs, start arlad, get and list
tokens, but attempting to "ls /afs" results in a seemingly
permanent hang after showing this:

lock order reversal:
 1st 0xc1c8dd64 user map (user map) @
/usr/current/src/sys/vm/vm_map.c:2208
 2nd 0xc2088ce8 ufs (ufs) @
/usr/current/src/sys/vm/vm_object.c:1053
KDB: stack backtrace:
db_trace_self_wrapper(c0b49785,c878ea98,c07d02ae,c0b4c052,c2088ce8,...)
at db_trace_self_wrapper+0x26
kdb_backtrace(c0b4c052,c2088ce8,c0b4049d,c0b4049d,c0b6d558,...) at
kdb_backtrace+0x29
witness_checkorder(c2088ce8,9,c0b6d558,41d,c0783fb4,...) at
witness_checkorder+0x6de
__lockmgr_args(c2088ce8,80400,c2088d04,0,0,...) at
__lockmgr_args+0x777
ffs_lock(c878eba0,0,9f,80400,c2088c90,...) at ffs_lock+0x8a
VOP_LOCK1_APV(c0c3e160,c878eba0,c0c56080,c2088c90,80400,...) at
VOP_LOCK1_APV+0xa5
_vn_lock(c2088c90,80400,c0b6d558,41d,28725000,...) at _vn_lock+0x5e
vm_object_sync(c2010174,0,0,2000,0,...) at vm_object_sync+0x186
vm_map_sync(c1c8dd20,28725000,28727000,0,0,...) at
vm_map_sync+0x281
msync(c1ebc000,c878ecf8,c,c0b4ca63,c0c1aed8,...) at msync+0x6c
syscall(c878ed38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (65, FreeBSD ELF32, msync), eip =3D 0x2827007f, esp =3D
0x2857374c, ebp =3D 0x285737c8 ---

I've gotten remote GDB set up and working at least with the kernel
sources... I'm not sure if it'll let me step into nnpfs correctly
or not.  I'm rebuilding a kernel with options as described here:

http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-deadloc=
ks.html

to see if I can glean any more info.  Anyone (Robert maybe?) got
any other tips for me?

--=20
Alec Kloss  alec@SetFilePointer.com   IM: angryspamhater@yahoo.com
PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E
"No Bunny!" -- Simon, from Frisky Dingo

--YiEDa0DAkWCtVeE4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFIj9Cx2s33paJBmA4RAiOzAJwJ2V9ASOINfOEMsr9Jwon84jT00QCcDvJp
rFa68xMWxUt4ZCmjy02V194=
=5GeD
-----END PGP SIGNATURE-----

--YiEDa0DAkWCtVeE4--



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