Patches to get Arla running on FreeBSD 8-CURRENT
Robert Watson
rwatson at FreeBSD.org
Sat Feb 16 05:12:27 CET 2008
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.stacken.kth.se/pipermail/arla-drinkers/attachments/20080216/c8b52bf1/20080216-arla-0001.bin
More information about the Arla-drinkers
mailing list