[4379] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: Patches to get Arla running on FreeBSD 8-CURRENT

daemon@ATHENA.MIT.EDU (Alec Kloss)
Tue Jul 29 22:24:37 2008

From arla-drinkers-bounces@stacken.kth.se Wed Jul 30 02:24:37 2008
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 574 invoked from network); 30 Jul 2008 02:24:37 -0000
Received: from mx1.kth.se (130.237.32.140)
  by charon.mit.edu with SMTP; 30 Jul 2008 02:24:37 -0000
Received: from localhost (localhost [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id 4FBDD16C080;
	Wed, 30 Jul 2008 04:24:35 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx1.kth.se ([127.0.0.1])
	by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 8kC1iXhRVOUm; Wed, 30 Jul 2008 04:24:33 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx1.kth.se (Postfix) with ESMTP id 55C0016C07D;
	Wed, 30 Jul 2008 04:24:06 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 6A35251D5B;
	Wed, 30 Jul 2008 04:24:06 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id A49FB51D5B
	for <arla-drinkers@tapas.stacken.kth.se>;
	Wed, 30 Jul 2008 04:24:04 +0200 (CEST)
Received: from mx1.kth.se (mx1.kth.se [130.237.32.140])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id m6U2O2KQ017447
	for <arla-drinkers@stacken.kth.se>;
	Wed, 30 Jul 2008 04:24:03 +0200 (MET DST)
Received: from localhost (localhost [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id 0D75016C088
	for <arla-drinkers@stacken.kth.se>;
	Wed, 30 Jul 2008 04:23:57 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx1.kth.se ([127.0.0.1])
	by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id XKtSVFghs-pD for <arla-drinkers@stacken.kth.se>;
	Wed, 30 Jul 2008 04:23:55 +0200 (CEST)
Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com
	[63.224.10.2]) by mx1.kth.se (Postfix) with SMTP id 8C76F16C07D
	for <arla-drinkers@stacken.kth.se>;
	Wed, 30 Jul 2008 04:23:53 +0200 (CEST)
Received: (qmail 51914 invoked by uid 4250); 29 Jul 2008 21:23:46 -0500
Received: by hamlet.SetFilePointer.com (tmda-sendmail, from uid 4250);
	Tue, 29 Jul 2008 21:23:46 -0500
Date: Tue, 29 Jul 2008 21:23:46 -0500
To: afs@freebsd.org, arla-drinkers@stacken.kth.se
Subject: Re: Patches to get Arla running on FreeBSD 8-CURRENT
Message-ID: <20080730022345.GA20912@hamlet.SetFilePointer.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>
Mime-Version: 1.0
In-Reply-To: <47d0403c0807161443l4f002f17ibc1e5bfea4b925cd@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alec Kloss <alec-keyword-arla.4d43de@SetFilePointer.com>
X-Primary-Address: alec@SetFilePointer.com
Cc: Robert Watson <rwatson@freebsd.org>, Ben Kaduk <minimarmot@gmail.com>
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0830104877=="
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se


--===============0830104877==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4"
Content-Disposition: inline


--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--

--===============0830104877==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

--===============0830104877==--

home help back first fref pref prev next nref lref last post