[OpenAFS] Re: OpenAFS 1.2.10 and taroon (RH Enterprise Linux 3.0 beta)

Troy Dawson dawson@fnal.gov
Wed, 01 Oct 2003 13:32:15 -0500


Hi nomad,
I was just about to post to the list when I saw your e-mail.
I have been unsuccesful to recompile a kernel module for openafs 1.2.9 or 
1.2.10 for the kernel in taroon.  I have tried with both beta1 and beta2, and 
also with the newly release fedora-core kernel.
I have tried just loading in modules from the latest 9 kernels (2.4.20-20) 
with no luck.

When compiling, I have tried compiling on a beta release of taroon, as well as 
a beta release of fedora.  I have also tried just putting the kernel source on 
a RedHat 9 machine, the one I usually compile my openafs kernel modules on, 
still with no luck.

I probrubly should have sent to the list earlier, I just kept having other 
things come up.  Plus I thought I'd wait for the second beta's kernels to see 
if they worked any better, they didn't.

I usually get one of two errors.  The one I only got with openafs 1.2.9, so I 
won't worry you with that, but here is the other one I consistantly get.

# rpmbuild -ba openafs-1.2.10.spec
...
snip of alot of stuff
...
gcc   -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing 
-fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL -D_KERNEL 
-DMODULE -DREDHAT_FIX  -I. -I../ 
-I/usr/src/redhat/BUILD/openafs-1.2.10/src/config -c ../afs/afs_lhash.c;
gcc   -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing 
-fno-common -pipe -march=pentium -D__KERNEL__  -DCPU=586 -DKERNEL -D_KERNEL 
-DMODULE -DREDHAT_FIX  -I. -I../ 
-I/usr/src/redhat/BUILD/openafs-1.2.10/src/config -c ../afs/afs_analyze.c;
In file included from ../afs/sysincludes.h:71,
                  from ../afs/afs_analyze.c:19:
../linux/mm.h:203: parse error before "pte_addr_t"
../linux/mm.h:203: warning: no semicolon at end of struct or union
../linux/mm.h:203: warning: no semicolon at end of struct or union
../linux/mm.h:204: warning: data definition has no type or storage class
../linux/mm.h:223: parse error before '}' token
../linux/mm.h:223: warning: data definition has no type or storage class
../linux/mm.h: In function `page_zone':
../linux/mm.h:421: dereferencing pointer to incomplete type
../linux/mm.h: In function `set_page_zone':
../linux/mm.h:426: dereferencing pointer to incomplete type
../linux/mm.h:427: dereferencing pointer to incomplete type
../linux/mm.h: In function `page_mapped':
../linux/mm.h:603: dereferencing pointer to incomplete type
../linux/mm.h: At top level:
../linux/mm.h:613: parse error before '*' token
../linux/mm.h:613: warning: data definition has no type or storage class
make[4]: *** [afs_analyze.o] Error 1
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/openafs-1.2.10/src/libafs/MODLOAD-2.4.21-3.EL-i386-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.2.10/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.2.10'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.2.10'
make: *** [only_libafs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.25479 (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.25479 (%build)

#

That was actually a cut and paste from the build on a RedHat 9 machine, that 
had previously built the whole openafs rpm.  I say that so you know that it 
had all the libraries and such installed.  The only thing I changed was I 
removed it's other kernel-source, and added kernel-source-2.4.21-3.EL

Troy Dawson
p.s. If you want, I can sent the error from the build on a Taroon beta2 
machine.  But it looks pretty much the same.


> To: openafs-info@openafs.org
> Date: Tue, 30 Sep 2003 14:17:08 -0700
> From: Lee Damon <nomad@ssli-mail.ee.washington.edu>
> Subject: [OpenAFS] OpenAFS 1.2.10 and taroon (RH Enterprise Linux 3.0 beta)
> 
> Has anyone played with this combination?  Any gotcha's I should be are of
> before diving in?
> 
> thanks,
> nomad

-- 
__________________________________________________
Troy Dawson  dawson@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________