[4323] in arla-drinkers

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

Re: arla-devel port for FreeBSD (was: Patches to get Arla running

daemon@ATHENA.MIT.EDU (Tomas Olsson)
Fri Mar 7 01:45:02 2008

From arla-drinkers-bounces@stacken.kth.se Fri Mar 07 06:45:02 2008
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 16480 invoked from network); 7 Mar 2008 06:45:01 -0000
Received: from mx3.kth.se (130.237.48.97)
  by charon.mit.edu with SMTP; 7 Mar 2008 06:45:01 -0000
Received: from localhost (localhost [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id C5698697FB;
	Fri,  7 Mar 2008 07:45:00 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id FkRaiwP05Cy8; Fri,  7 Mar 2008 07:44:59 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx3.kth.se (Postfix) with ESMTP id 64E2D6975E;
	Fri,  7 Mar 2008 07:44:53 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id B3174534FE;
	Fri,  7 Mar 2008 07:44:52 +0100 (CET)
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 4500C534FE
	for <arla-drinkers@tapas.stacken.kth.se>;
	Fri,  7 Mar 2008 07:44:50 +0100 (CET)
Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id m276inTT009482
	for <arla-drinkers@stacken.kth.se>; Fri, 7 Mar 2008 07:44:49 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
	by smtp-1.sys.kth.se (Postfix) with ESMTP id 950BC155BB2;
	Fri,  7 Mar 2008 07:44:44 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Score: 0.495
X-Spam-Level: 
X-Spam-Status: No, score=0.495 tagged_above=-200 required=5
	tests=[BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0,
	FH_HOST_EQ_D_D_D_D=1.212, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877,
	RDNS_DYNAMIC=0.1]
Received: from smtp-1.sys.kth.se ([127.0.0.1])
	by localhost (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id Id5hftbbD+yx; Fri,  7 Mar 2008 07:44:41 +0100 (CET)
Received: from [213.89.100.105] (c213-89-100-105.bredband.comhem.se
	[213.89.100.105])
	by smtp-1.sys.kth.se (Postfix) with ESMTP id D93F2155B8D;
	Fri,  7 Mar 2008 07:44:40 +0100 (CET)
Subject: Re: arla-devel port for FreeBSD (was: Patches to get Arla running
	on FreeBSD 8-CURRENT)
From: Tomas Olsson <tol@stacken.kth.se>
To: Alec Kloss <alec-dated-1205290157.d7dd21@SetFilePointer.com>
In-Reply-To: <20080307024916.GC1911@hamlet.SetFilePointer.com>
References: <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>
	<20080301210055.GA8919@hamlet.SetFilePointer.com>
	<20080302161258.L21146@fledge.watson.org>
	<1204477663.4180.36.camel@hippo.t.nxs.se>
	<20080303045554.GC8919@hamlet.SetFilePointer.com>
	<20080307024916.GC1911@hamlet.SetFilePointer.com>
Date: Fri, 07 Mar 2008 07:43:46 +0100
Message-Id: <1204872226.4059.15.camel@hippo.t.nxs.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.0 
Cc: afs@FreeBSD.org, arla-drinkers@stacken.kth.se,
	Robert Watson <rwatson@FreeBSD.org>,
	Garance A Drosehn <gad@FreeBSD.org>, Rasmus Kaj <kaj@kth.se>
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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se

On Thu, 2008-03-06 at 20:49 -0600, Alec Kloss wrote:
> Anyway, Tomas, or others, do you have any hints for me about how
> best to start diagnosing and maybe fixing issues?  The most
> repeatable way I've found to get bad behavior is to rsync -a
> /usr/src and /usr/obj into AFS.  After 30 seconds or so of this,
> I'll start getting messages like these:
> 
>  lockmgr: thread 0xc6970840 unlocking unheld lock
>  lockmgr: thread 0xc6970840 unlocking unheld lock
>  lockmgr: thread 0xc6970840 unlocking unheld lock
>  lockmgr: thread 0xc6970840 unlocking unheld lock
>  lockmgr: thread 0xc6970840 unlocking unheld lock
> 
> on the console.  Eventually, rsync will block and generally things
> will decay.  Overnight, I'm going to script the console while
> attempting this with nnpfsdeb almost-all set.  This is, of course,
> a lot slower than arla normally runs, but I'm hoping someone may be
> able to see the source of the trouble.  I'll post the console
> somewhere tomorrow.  
> 
> Anyway, any hints about debugging arla would be welcome.
> 
Some random thoughts:
 * If you don't have it yet, get a debug kernel with full vfs sanity
checking etc.
 * Set a breakpoint (or panic) at the lockmgr printf and inspect stack
trace and other live threads.
 * See if you can run into similar problems using arla's tests, if
you're lucky there will be a faster way to trigger it.
 * Perhaps you can cut down on almost-all. Not sure how much. Of course,
there's always the risk that timing changes with nnpfsdebug on.
 * try arlad --tracefile=foo.trace (in the cache dir) and cat it to
nnpfs/readtrace.py to decipher it when you're done. It's fast and gives
a complete log of arlad-nnpfs communication.

Hope this helps
		/t

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

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