[OpenAFS-devel] openafs on fedora core 2, 2.6 kernel -- no luck yet....

Matthew Miller mattdm@mattdm.org
Tue, 18 May 2004 17:36:09 -0400


Just an update... haven't gotten it working yet or figured out what's going
wrong. I got this the snapshot from this morning (May 18), and I'm building
on Fedora Core 2 final release.

The i386_linux* thing is sorted out, as is the symlinmking problem in the
kernel tree, so everything _basically_ builds out of the box. I still had to
pach the sock_create call to take a fifth parameter (I'm guessing '0')
because of the selinux patch in Fedora's kernel. And there's a typo in 
./src/venus/Makefile.in on line 315 -- it says "kdump62" when I'm pretty
sure it means "kdump64" -- this fouls up "make install".

So, fixed those things, and 

 $ ./configure --with-afs-sysname=i386_linux26 \
           --with-linux-kernel-headers=/lib/modules/2.6.5-1.358/build/
 $ make
 $ sudo make install

and I end up with /usr/local/lib/openafs/libafs-2.6.5-1.358.o, which gives
me the same old:

  $ sudo insmod libafs-2.6.5-1.358.o
  insmod: error inserting 'libafs-2.6.5-1.358.o': -1 Invalid module format

  $ dmesg |tail -1
  No module found in object

So that's where I am.... any suggestions?


Thanks very much for your help (including, y'know, coding the thing in the
first place).


-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>