[4250] in arla-drinkers

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

Re: arla on FreeBSD 6 or 7?

daemon@ATHENA.MIT.EDU (Alec Kloss)
Mon Jan 21 19:06:06 2008

From arla-drinkers-bounces@stacken.kth.se Tue Jan 22 00:06:06 2008
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 17470 invoked from network); 22 Jan 2008 00:06:05 -0000
Received: from mx2.kth.se (130.237.48.98)
  by charon.mit.edu with SMTP; 22 Jan 2008 00:06:05 -0000
Received: from localhost (localhost [127.0.0.1])
	by mx2.kth.se (Postfix) with ESMTP id 8EC751097C2;
	Tue, 22 Jan 2008 01:06:04 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx2.kth.se ([127.0.0.1])
	by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 2HNjAAd3HFap; Tue, 22 Jan 2008 01:06:00 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx2.kth.se (Postfix) with ESMTP id 122C6109E48;
	Tue, 22 Jan 2008 01:05:49 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 825A253500;
	Tue, 22 Jan 2008 01:05:49 +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 6B90E53500
	for <arla-drinkers@tapas.stacken.kth.se>;
	Tue, 22 Jan 2008 01:05:47 +0100 (CET)
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 m0M05kCu013404
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Jan 2008 01:05:47 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id C66CA16C00C
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Jan 2008 01:05:41 +0100 (CET)
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-200 required=5
	tests=[BAYES_00=-2.599, WEIRD_PORT=0.001]
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 RummAF6YI8kr for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Jan 2008 01:05:35 +0100 (CET)
Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com
	[63.224.10.2]) by mx1.kth.se (Postfix) with SMTP id 6E491FD2CF
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Jan 2008 01:05:33 +0100 (CET)
Received: (qmail 19162 invoked by uid 4250); 21 Jan 2008 18:05:32 -0600
Received: by hamlet.SetFilePointer.com (tmda-sendmail, from uid 4250);
	Mon, 21 Jan 2008 18:05:31 -0600 (CST)
Date: Mon, 21 Jan 2008 18:05:28 -0600
To: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: arla on FreeBSD 6 or 7?
Message-ID: <20080122000528.GE6729@hamlet.SetFilePointer.com>
References: <20080118031908.GA1578@hamlet.SetFilePointer.com>
	<8FB98FF4521F9E4CA16EF827AA55B2830F3424@mucse342.eu.infineon.com>
	<2CEC7E48-14A6-4781-9EBA-8DDCF93CCF2B@randomscrews.net>
	<20080119061302.GD1251@hamlet.SetFilePointer.com>
	<20080120143605.S96172@fledge.watson.org>
Mime-Version: 1.0
In-Reply-To: <20080120143605.S96172@fledge.watson.org>
User-Agent: Mutt/1.4.2.2i
X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew)
From: Alec Kloss <alec-keyword-arla.4d43de@SetFilePointer.com>
X-Primary-Address: alec@SetFilePointer.com
Cc: arla-drinkers@stacken.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: multipart/mixed; boundary="===============1763786159=="
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se


--===============1763786159==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="Ns7jmDPpOpCD+GE/"
Content-Disposition: inline


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

On 2008-01-20 14:44, Robert Watson wrote:
>=20
> I ran into a few difficulties with this on 8-CURRENT (not surprisingly), =
in=20
> approximately this order:
>=20
> - The Coda and Arla liblwp's have the same name but different functionali=
ty.
>   I wonder if Arla's liblwp could be installed as liblwp_arla?  Uninstall=
ing
>   Coda did the trick, but it would be nice to be able to have both on the=
=20
>   same
>   machine.
>=20
> - configure seemed to get fairly confused about picking the right variant=
s=20
> of
>   various VFS-related calls, such as vget(), and often enabled several
>   #defines rather than just one.  For example, I found that
>   HAVE_THREE_ARGUMENTS_VFS_BUSY and HAVE_FOUR_ARGUMENTS_VFS_BUSY were both
>   defined.
>=20
> - I ran into quite a few unprotected ifdefs, such as "#if=20
> __NetBSD_version__ >
>   " which need to be in the form "#if defined (__NetBSD__) && ...".
>=20
> - VFS has changed some more -- VOP_LOCK() now lacks a thread pointer,
>   VOP_OPEN() accepts a file * rather than a file index as the last argume=
nt,
>   so typically it's now NULL rather than -1.  And other things along these
>   lines.
>=20
[chop]
> In continue to wonder if the right answer for FreeBSD isn't just to=20
> unifdef/configure the kernel module and import it into CVS.  This would=
=20
[chop]

<disclaimer>
Just to be clear, I don't know much about the innards of arla, VFS,
or any such thing.  I'm a Java bunny by trade.  I've been a FreeBSD
user forever (well, since the mid-90s anyway) and an arla/OpenAFS
user for the last five years or so.  I just heard that arla from
CVS works in 6.x, so I started making some ports hoping to increase
the exposure so that, next time FreeBSD's VFS shifts, maybe someone
in the know would have arla installed and would get it fixed,
rather than the current state where I've got machines I'd love to
run newer FreeBSD's on stuck with older ones. =20
</disclaimer>

I'm 100% willing to help out and can dedicate some time every week
to this task.  If -current is the way to go, I'll build a -current
machine and see what I can hack together to get things working.  I
haven't had much luck with arla on 7.x yet, but you're right, that
working on -current would probably be better.  It'd be nice to hear
from someone more "in" with arla to hear their opinion about
importing nnpfs into FreeBSD.  IMHO, having a working AFS client
near-out-of-the-box would be a wonderful thing for AFS and for
FreeBSD.

As for liblwp, I'm already abusing things a little by installing
into $PREFIX/arla;  does that not help?  I suppose during link we
might be getting coda's lwp linked in?  I can look into what it
would take to rename liblwp in my port.  I'm curious to know how
different arla's liblwp and coda's liblwp are---I'd think there'd
be some chance of them sharing.

Anyway, csup'ing to -current on a test box now... I'll try to get
nnpfs running on -current.  As I was working on getting it working
on 7.x, I did get the kernel module loaded, arlad started, and /afs
mounted, but ls /afs resulted in a panic in nnpfs_getattr.  I don't
have much else to tell you until I get my "real" test machine
updated to -current and running with gdb.  If you've got any hints
about what's different between 6.3 and 7.x for me I'd love to hear
them.

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

--Ns7jmDPpOpCD+GE/
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFHlTNI2s33paJBmA4RAjYhAJ9Z7+t2/0J9HxTzkKnVn3o4djZ4awCfWTyM
4EfQ42fsLaCbgMm2dbFbza4=
=nQVx
-----END PGP SIGNATURE-----

--Ns7jmDPpOpCD+GE/--

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

--===============1763786159==--

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