[OpenAFS] RedHat 7.1 and kernel 2.4.3-12

Derek Atkins warlord@MIT.EDU
02 Jul 2001 16:36:48 -0400


Hi,

Sorry, I have no idea what's going on, here.  Well, I know _WHAT_ is
going on (the modversions stuff isn't being loaded/used properly) but
I don't know _WHY_.  The only time I've seen this happen is when I
wind up rebuilding the kernel source myself and the 'make dep' winds
up over-writing some of the Red Hat kernel symbols.  The way I've
fixed this in the past is by 'rm .../include/linux/modules/*' and then
running "make dep" again to rebuild the symbol versions.

I hope this helps,

-derek

Marc Schmitt <schmitt@inf.ethz.ch> writes:

> Sorry, my fault, here it is:
[snip]
> Building in directory: MODLOAD-2.4.3-12-MP
> make[2]: Entering directory
> `/usr/src/openafs-kernel-1.0.4/src/MODLOAD-2.4.3-12-MP'
> Makefile:150: warning: overriding commands for target `xdr_int64.o'
> Makefile.common:234: warning: ignoring old commands for target
> `xdr_int64.o'
> gcc -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
> -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__
> -DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -D__BOOT_KERNEL_SMP=1
> -D__BOOT_KERNEL_UP=0 -D__SMP__ -DSTRUCT_INODE_HAS_I_BYTES=1
> -DINODE_SETATTR_NOT_VOID=1  -I. -I../ -c ../afs/afs_dir.c;
> In file included from ../afs/afs_dir.c:22:
> ../h/time.h:45: nondigits in number and not hexadecimal
> ../h/time.h:45: nondigits in number and not hexadecimal
> ../h/time.h:45: nondigits in number and not hexadecimal
> ../h/time.h:45: parse error before `0da02d67'
> ../h/time.h: In function `jiffies_to_timespec':
> ../h/time.h:47: nondigits in number and not hexadecimal
> ../h/time.h:47: nondigits in number and not hexadecimal
> ../h/time.h:47: nondigits in number and not hexadecimal
> ../h/time.h:48: nondigits in number and not hexadecimal
> ../h/time.h:48: nondigits in number and not hexadecimal
> ../h/time.h:48: nondigits in number and not hexadecimal
> ../h/time.h: At top level:
> ../h/time.h:101: parse error before `72270e35'
> ../h/time.h:101: `do_gettimeofday_R_ver_str' declared as function
[snip]
>
> > I presume that you have the 2.4.3-12 kernel-source RPM installed?
> 
> Yes:
> # rpm -qa | grep kernel
> kernel-2.4.3-12
> openafs-kernel-source-1.0.4-24.2
> kernel-doc-2.4.3-12
> openafs-kernel-1.0.4-24.2
> kernel-headers-2.4.3-12
> kernel-source-2.4.3-12
> 
> 
> Regards,
>     Marc

-- 
       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