From owner-freebsd-fs@FreeBSD.ORG Tue Mar 9 21:03:41 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7885816A4CE for ; Tue, 9 Mar 2004 21:03:41 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C2343D39 for ; Tue, 9 Mar 2004 21:03:41 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i2A53eqg032466; Wed, 10 Mar 2004 00:03:40 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200403100308.i2A38PYS002421@khavrinen.lcs.mit.edu> References: <20040310022555.7097420EEB@citi.umich.edu> <200403100308.i2A38PYS002421@khavrinen.lcs.mit.edu> Date: Wed, 10 Mar 2004 00:03:38 -0500 To: Garrett Wollman From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-fs@freebsd.org cc: openafs-devel@openafs.org Subject: Re: [OpenAFS-devel] OpenAFS for FreeBSD 5.2 patch X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 05:03:41 -0000 At 10:08 PM -0500 3/9/04, Garrett Wollman wrote: >< 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. Well, if it was doing that, then who knows *what* set of options I was compiling it with the last time! Well, I had just gone through a buildworld/buildkernel cycle, and I have nothing under /usr/src/sys/i386/compile . It looks like my opt_global.h file is sitting at: /usr/obj/usr/src/sys/Dual-Athlon2k/opt_global.h And I have a 'cvs checkout' of the present openafs source sitting at /usr/cvs/openafs. So, this time I did: cd /usr/src/sys rm -Rf openafs cp -rp /usr/cvs/openafs . cd openafs export MAKE=/usr/local/bin/gmake patch -p0