Coda File System

Re: Help for installation

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Tue, 22 Mar 2005 13:46:21 -0500
On Tue, Mar 22, 2005 at 05:21:47AM -0800, rajesh kashid wrote:
> Thanks for reply,
>  
> I am using 2.6 kernel.Which kernel module should i use.

The standard Coda module in the 2.6 kernels should work fine. The only
problems that you might encounter are that Fedora Core 3 doesn't seem to
build it by default, and any systems that use udev won't autoload the
module.

To work around the second problem, add an explicit modprobe coda in the
coda-client/venus.init startup script or add 'coda' to /etc/modules.

If your distribution kernel doesn't include a prebuilt module, then you
either have to rebuild the complete kernel from scratch, or build just
the Coda kernel module separately.

To build separately,

- Grab the latest linux-coda tarball,
    wget http://ftp.coda.cs.cmu.edu/pub/coda/linux/kernel/linux-coda-6.1.tgz

- Install your distribution's kernel-headers/kbuild packages,

    Debian:
	apt-get install kernel-headers-`uname -r`

    Fedora Core 2 or 3:
	According to http://fedoranews.org/colin/fnu/issue14.shtml ,
	everything should have been installed along with the
	kernel package.

    Redhat 7.0 through 9 and Fedora Core 1:
	Install the kernel-source rpm. You might have to copy the
	configuration file that your kernel was built with and rebuild
	the dependencies/module versions;
	    cd /lib/modules/`uname -r`/build
	    cp configs/config.??? .config
	    make oldconfig dep

    In general:
	Don't really know, but either the next step will just work out
	of the box, or it is the install kernel-sources, figure out the
	right config that was used to build your kernel, run make
	oldconfig dep to rebuild dependencies.

- Extract linux-coda tarball, build and install the module;

    tar -xvzf linux-coda-6.1.tgz
    cd linux-coda-6.1
    make
    make install

- Finally check if the newly built module loads successfully

    modprobe coda
    dmesg | tail
    # This should show something like,
    # ...
    # ... kernel: Coda Kernel/Venus communications, v6.1, coda_at_cs.cmu.edu

Jan
Received on 2005-03-22 13:47:37