[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-coda
Subject: Re: coda kernel module on Fedora Core 2
From: Jerry Amundson <jerry () pbs ! com>
Date: 2004-10-22 3:17:36
Message-ID: 200410212217.37482.jerry () pbs ! com
[Download RAW message or body]
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@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@uhura root]# modinfo coda
author: Peter J. Braam <braam@cs.cmu.edu>
license: GPL
vermagic: 2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3
depends:
Let the fun begun!
jerry
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic