Coda File System

Re: CODA on Fedora Core 1

From: Nuno Tavares <nunotavares_at_hotmail.com>
Date: Sat, 29 May 2004 02:06:00 +0100
Thanks for your replies.

>From the beginning this is what you need to do.  Get the follwing files:
>
>http://www.coda.cs.cmu.edu/pub/coda/linux/src/linux-coda-6.0-1.tgz

I assume that I can use the SRPMS versions of the following files (which
I've built and installed its corresponding RPM), instead of rebuilding the
source code.

>http://www.coda.cs.cmu.edu/pub/coda/linux/src/lwp-1.11.tar.gz
>http://www.coda.cs.cmu.edu/pub/coda/linux/src/rpc2-1.22.tar.gz
>http://www.coda.cs.cmu.edu/pub/coda/linux/src/rvm-1.9.tar.gz
>http://www.coda.cs.cmu.edu/pub/coda/linux/src/coda-6.0.6.tar.gz
>
>Untar them all:
>
>tar xzvf <filename>
>
>Enter the linux-coda directory and run "make config" and give the
>appropriate answer to the questions for your system.

Ok, here goes the output:
:Linux source directory [/usr/src/linux]:
:/usr/src/linux-2.4.22-1.2115.nptl
:
:The kernel source tree is version 2.4.22-1.2115.nptl. Alternate target
:install directory []:
:  Module install directory [/lib/modules/2.4.22-1.2115.nptl]:
:Kernel configuration options:
:    Symmetric multiprocessing support is disabled. Module version
:    checking is enabled.
:    Proc fs support is enabled.
:/usr/src/linux-2.4.22-1.2115.nptl/modversions.h does not exist!
:    To fix, run 'make dep' in /usr/src/linux-2.4.22-1.2115.nptl.

I've linked the file
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h
 to
/usr/src/linux-2.4.22-1.2115.nptl/modversions.h
and it stops complaining

>The look at the Makefile that has been formed.  There is a line near the
>top that says something like:
>
>SUBDIR:=linux2.$UTS_SUB

#SUBDIR:=linux$(UTS_SHORT)
SUBDIR:=linux2.4

>or something like that.  This does not work on Redhat Systems for some
>reason.  Simply edit it to say:
>
>SUBDIR:=linux2.4
>
>then type "make coda.o"
>
>Now you have a shiny new coda.o in the linux2.4 sudirectory.  That that
>and copy it into the appropriate lib/modules directory (as Niraj
>mentioned, it is something like /lib/modules/2.4.xx/kernel/fs/coda/)

# cp linux2.4/coda.o /lib/modules/2.4.22-1.2115.nptl/kernel/fs/coda/

>Then as root, run "rmmod coda", "depmod -a" and "insmod coda" which will
>give you feedback as to which coda.o it used.  If the corect one loaded
>then you are all set.

# /etc/init.d/venus.init stop
# rmmod coda
# depmod -a

>Now your system is setup properly to install Coda 6.0.6, so install as
>you normally would.

# dmesg | grep "^Coda"
Coda Kernel/Venus communications, v5.3.18, coda_at_cs.cmu.edu Coda: Bye bye.
Coda Kernel/Venus communications, v5.3.18, coda_at_cs.cmu.edu
#

It should appear v6.0.x right? At least it should output the interface 
version we are now using. Default would be CODAv2, right? What I did was
compiling a CODAv3 module, right? dmesg should differentiate.

I think it's all set, since venus-setup doesn't complain anymore. ]#
venus-setup testserver.coda.cs.cmu.edu 20000 /etc/services already has new
services registered! Good. /etc/services ready for Coda
#

-- 
Nuno Tavares
http://nthq.cjb.net/
Received on 2004-05-28 21:08:09