[OpenAFS] Installing 1.4.0.rc6 version of OpenAFS

Derek Atkins warlord@MIT.EDU
Mon, 10 Oct 2005 14:45:21 -0400

Quoting Ron Croonenberg <ronc@depauw.edu>:

>> That's... ODD.  What do you see under:
>>   /lib/modules/2.4.22-1.2199.nptl_afs_ssi_9/build
> lrwxrwxrwx  1 root root     26 Oct  6 11:23 build ->
> /opt/OpenSSI/CVS/linux-ssi
> [root@oort 2.4.22-1.2199.nptl_afs_ssi_9smp]# ls build
> arch           drivers  MAINTAINERS                   Rules.make
> cluster        fs       Makefile                      scripts
> configs        include  Makefile.org                  System.map
> COPYING        init     mm
> tmp_include_depends
> CREDITS        ipc      net                           vmlinux
> crypto         kdb      OpenAFS-OpenSSI-kernel.patch
> CVS            kernel   README
> Documentation  lib      REPORTING-BUGS

Wait...  Where's this 2.4.22-1.2199.nptl_afs_ssi_9smp coming from?

Can you send me the output of:

ls -l /lib/modules/
ls -l /lib/modules/2.4.22-1.2199.nptl_afs_ssi_9
ls -l /lib/modules/2.4.22-1.2199.nptl_afs_ssi_9smp

> yes I can do that ...
> --with-linux-kernel-headers=/lib/modules/2.4.22-1.2199.nptl_afs_ssi_9/build
> and, btw using this option instead works :
> --with-linux-kernel-headers=/usr/src/linux-2.4.22-1.2199.nptl_ssi_9
> (./configure --with-afs-sysname=i386_linux24 --prefix=/usr
> --libdir=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin
> --with-linux-kernel-headers=/usr/src/linux-2.4.22-1.2199.nptl_ssi_9
> --enable-redhat-buildsys --enable-transarc-paths)

So it looks like /lib/modules isn't pointing to the proper 'build' 
directory.. You aren't getting the right kernel header sources.  This 
is a bug in your
install, IMHO.


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available