Coda File System

Re: coda kernel module on Fedora Core 2

From: Jerry Amundson <jerry_at_pbs.com>
Date: Thu, 21 Oct 2004 22:17:36 -0500
On Tue October 19 2004 11:25 pm, Jan Harkes wrote:
> On Tue, Oct 19, 2004 at 10:24:18PM -0500, Jerry Amundson wrote:
> > I assume I should be able to compile only the fs/coda/ module,
> > right? I didn't find much in the archives for FC2. Perhaps I'm
> > being really dense on this one.
> >
> > With kernel-2.6.8-1.521, in /usr/src/2.6.8-1.521, I "make
> > menuconfig" to enable CONFIG_CODA_FS  ...
> >
> > [root_at_stp linux-2.6.8-1.521]# make fs/coda/
>
> ...
>
> > /bin/sh: line 1: .tmp_versions/coda.mod: No such file or directory
>
> Hmm, I have no idea. Coda builds fine in the pristine 'Linus'
> kernels. Maybe it has to do with the invocation of make fs/coda?
> There shouldn't be any strange dependencies outside of the fs/coda
> directory, but on the other hand I think I used 'make SUBDIRS=fs/coda
> modules' to rebuild just coda.

Yep, something like that. FC2's kernel-source package  (called 
kernel-sourcecode sometime after kernel-2.6.5) is borked. It does not 
AFAIK allow individual module builds, and the default Makefile does not 
seem to install to a usable area. So.... I did this:
o removed "custom" from the EXTRAVERSION line of Makefile
o make modules
o make modules_install
o depmod -e -F /boot/System.map-`uname -r`

I now have a usable module:
[root_at_uhura root]# modinfo coda
author:         Peter J. Braam <braam_at_cs.cmu.edu>
license:        GPL
vermagic:       2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3
depends:        

Let the fun begun!

jerry
Received on 2004-10-21 23:20:50