Coda Filesystem: kernel module ============================== We now have a reasonably flexible method to build kernel modules. You can build the module for a kernel which you are not running at the time of the build. To build a custom coda kernel module you need to obtain the tarball from: ftp://ftp.coda.cs.cmu.edu/pub/coda/linux/src/linux-coda-5.2.0.tgz And follow the instructions in the rest of this file. NOTE: the code here is always newer than or equal to: - the kernel - the big Coda tarball To build a coda.o module for your Linux kernel: ----------------------------------------------- For 2.2 kernels: ---------------- A) In this directory build the coda.o module: type: make config --- answer the questions make coda.o su make install B) Get going! Start Coda. (venus-setup testserver.coda.cs.cmu.edu 10000 ; venus & ) For 2.0 kernels: ---------------- A) Prep the kernel cd /usr/src/linux-for-you make oldconfig make dep B) In this directory build the coda.o module: type: make config --- answer the questions make coda.o su make install C) Get going! (venus-setup testserver.coda.cs.cmu.edu 10000 ; venus & ) Note: ===== 1. If you build for a running kernel, you must still have a source tree for that Linux release, otherwise the headers cannot be found. However, that source tree doesn't need modversions.h etc. 2. We don't actively maintain 2.0 code anymore. The 2.1 code is preferred, but not yet perfect. Let us know if there are problems! Peter Braam 6/24/98 braam@cs.cmu.edu