[OpenAFS-devel] OpenAFS for FreeBSD 5.2 patch

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Tue Mar 9 19:08:27 PST 2004

<<On Tue, 9 Mar 2004 21:40:22 -0500, Garance A Drosihn <drosih at rpi.edu> said:

> I don't understand this comment.  Everything for my kernel is
> under /usr/src/sys...  Or do you mean I have to build openafs
> under /usr/src/sys?

Actually, the real issue (which the patches don't address at all) is
that you absolutely must build the kernel parts of OpenAFS (or any
kernel module, for that matter) against the correct kernel option
headers for the kernel you plan to use.  The Makefile simply assumes
that you are using GENERIC (or are sufficiently similar to GENERIC
as makes no difference).  If you dig into the Makefile you will see an
explicit reference to sys/${arch}/compile/GENERIC; you need to update
that to point to wherever your kernel was compiled.


More information about the freebsd-fs mailing list