Patches to get Arla running on FreeBSD 8-CURRENT (fwd)
Robert Watson
rwatson at FreeBSD.org
Sat Feb 16 10:56:55 UTC 2008
FYI--looks like Arla is now at least minimally running on FreeBSD 8.x. The
continuing plan is:
(1) Make sure Arla is actually stable on FreeBSD 8-CURRENT and add FreeBSD
7-STABLE to the mix, get more people testing it on recent FreeBSD
versions. With any luck the attached patch will go back into the base
Arla tree in some form or another.
(2) Import the nnpfs kernel module into the base CVS tree in order to avoid
future VFS-related lag, but retain Arla in the ports collection. Likely
de-ifdef the module once imported.
The goal would be to get to the point where an AFS client can be used out of
the box in FreeBSD 7.1 by simply installing the Arla port. Right now it
appears the Heimdal in the base system is too old to work with the latest
Arla, requiring installing the Heimdal port to be installed. I'm not sure
who's maintianing Heimdal in the base tree currently, but we should get that
fixed on general principle.
Robert N M Watson
Computer Laboratory
University of Cambridge
---------- Forwarded message ----------
Date: Sat, 16 Feb 2008 04:12:27 +0000 (GMT)
From: Robert Watson <rwatson at FreeBSD.org>
To: arla-drinkers at stacken.kth.se
Cc: afs at FreeBSD.org
Subject: Patches to get Arla running on FreeBSD 8-CURRENT
Dear Arla folk,
I've spent the evening getting Arla (checked out of anoncvs) up and running on
FreeBSD 8-CURRENT, and have it at least minimally running (/afs mounted, some
directory access, read a few files, etc), although arlad core dumped fairly
quickly during use. I've not yet attempted to debug that problem though.
I've attached a patch that does a few things:
First, it does a few minor Arla cleanups that appear to be necessary to build
on FreeBSD 8: A few general Arla ifdef fixes, etc, such as testing
defined(SunOS) before using the value, likewise on __NetBSD_Version__, OpenBSD,
etc. Fix two build dependency issues I ran into regarding building arlalib
before dependent tools and an include that broke (at least on FreeBSD).
Second, it adds new autoconf and ifdef parts to get Arla building on FreeBSD 8,
such as handling VFS changes that appeared in FreeBSD 7.x and 8.x, the priv(9)
kernel privilege framework, some include problems I ran into with using
/usr/src/sys before /usr/include/sys (which doesn't work for generated files
such as vnode_if.h), and things along those lines.
Unfortunately, I'm not set up to easily build test on other platforms, and I've
also not had a chance to try this on FreeBSD 7 -- my guess is some minor tweaks
may be required with respect to both of those, but hopefully these are steps in
the right direction and someone with a bit more Arla experience can sort out
what I've done into things with keeping and things with fixing :-). I'll
investigate the arlad crash tomorrow.
Patch also up at:
http://www.watson.org/~robert/freebsd/20080216-arla.diff
Robert N M Watson
Computer Laboratory
University of Cambridge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080216-arla.diff
Type: text/x-diff
Size: 25035 bytes
Desc:
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20080216/081cdafa/20080216-arla.bin
-------------- next part --------------
_______________________________________________
freebsd-afs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe at freebsd.org"
More information about the freebsd-fs
mailing list