AFS on FreeBSD 8?

Derrick Brashear shadow at gmail.com
Tue May 18 16:11:54 UTC 2010


On Tue, May 18, 2010 at 11:59 AM, Jan Henrik Sylvester <me at janh.de> wrote:
> On 05/04/10 18:45, Benjamin Kaduk wrote:
>>
>> On Tue, 4 May 2010, Jan Henrik Sylvester wrote:
>>
>>> On 04/14/2010 18:52, Benjamin Kaduk wrote:
>>>>
>>>> Could you send a bit of detail about your machine, though? Is it
>>>> single-processor, 32-bit, etc.?
>>>
>>> I just saw that I never answered this question, sorry.
>>>
>>> The machine is a Core2Quad (four cores) currently running on a GENERIC
>>> FreeBSD-8.0-RELEASE i386. I plan to test amd64 in a few weeks. (All
>>> the other machines I could use for testing are i386, too, one 8-STABLE
>>> and the others 8.0-RELEASE.)
>>
>> Thanks! I suspect that we are not quite safe for the SMP case, yet.
>
> I have upgraded almost all of my machines from i386 to amd64 and would like
> to repeat the OpenAFS testing -- even though you suspect it is SMP, which
> applies to all machines available to me.
>
> The port (that uses the master branch) currently only builds until:
> cc -I. -I.. -I../nfs  -I/usr/ports/net/openafs-devel/work/openafs/src
> -I/usr/ports/net/openafs-devel/work/openafs/src/afs
> -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD
> -I/usr/ports/net/openafs-devel/work/openafs/src/config
> -I/usr/ports/net/openafs-devel/work/openafs/src/rx/FBSD
> -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad
> -I/usr/ports/net/openafs-devel/work/openafs/src/util
> -I/usr/ports/net/openafs-devel/work/openafs/src
> -I/usr/ports/net/openafs-devel/work/openafs/src/afs
> -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD
> -I/usr/ports/net/openafs-devel/work/openafs/src/util
> -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad
> -I/usr/ports/net/openafs-devel/work/openafs/src/config
> -I/usr/ports/net/openafs-devel/work/openafs/src/fsint
> -I/usr/ports/net/openafs-devel/work/openafs/src/vlserver
> -I/usr/ports/net/openafs-devel/work/openafs/include
> -I/usr/ports/net/openafs-devel/work/openafs/include/afs  -O -I. -I..
> -I/usr/ports/net/openafs-devel/work/openafs/src/config  -DAFSDEBUG -DKERNEL
> -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -Wall -nostdinc
> -I/usr/include -D_KERNEL -DKLD_MODULE  -elf -mno-align-long-strings
> -fno-common -ffreestanding -I/usr/obj/usr/src/sys/GENERIC -include
> opt_global.h -fno-strict-aliasing -fPIC -O2  -o afs_atomlist.o -c
> /usr/ports/net/openafs-devel/work/openafs/src/util/afs_atomlist.c
> <command-line>:14600381:116: error: opt_global.h: No such file or directory

You get to provide that, from your kernel build. It doesn't come from
openafs. No version of OpenAFS will ever provide that.

configure --with-bsd-kernel-build=/usr/obj/usr/src/sys/GENERIC
or whatever path to your kernel.


More information about the freebsd-afs mailing list