File: README.modules

package info (click to toggle)
openafs 1.2.3final2-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 57,996 kB
  • ctags: 74,894
  • sloc: ansic: 387,313; cpp: 98,757; makefile: 9,333; sh: 7,814; perl: 6,524; yacc: 2,097; asm: 1,139; tcl: 249; csh: 123; lex: 106
file content (35 lines) | stat: -rw-r--r-- 1,227 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
		       Building Kernel Modules
----------------------------------------


 The easiest way to get AFS modules is to install prebuilt modules.
Fore example if you are running kernel 2.2.18 you might try

apt-get install openafs-modules-2.2.18

If this doesn't work, then you will need to build your own modules.
This means having kernel sources available.  You should install a
kernel sources package and untar it in /usr/src.  Then, install
openafs-modules-source.

apt-get install openafs-modules-source

Next, unpack openafs-modules-source

cd /usr/src
tar xzf openafs.tar.gz

Now, change into your kernel source tree.  You should then create a
.config file; the easiest way to do this is to run make menuconfig or
to copy in a kernel configuration from the same version of the kernel.
Debian kernel packages store a copy of their kernel configuration in
/boot/config.version_number.  Finally build the modules

make-kpkg configure
make-kpkg modules_image

You may need to use the --append_version switch to add version suffixes
like -686 if your modules install into /lib/modules/version-686.
Ignore any errors about genchanges.sh failing.  An openafs-modules deb
should be created.  Use dpkg -i to install this version.