[OpenAFS] Latest RH 7.x and 8.x kernel module info

John Koyle jkoyle@rfpdepot.com
10 Feb 2003 16:17:19 -0700


First off, I'm not a member of this list (yet) so please cc me in any
replies.

In looking through the archives I see that others have had the same
problems in creating kernel modules for RedHat systems since they so
graciously decided to drop the sys_call_table support.

I realize there has been a patch developed which is included in 1.2.7
and higher releases.  I finally got OpenAFS working on the latest RedHat
kernel's (-19 and -24), but there is a small problem with the
distribution.

The configure script still checks for sys_call_table and when it doesn't
find it, it dies.  By hand editing the configure script and removing
this check, it leaves /* #undef EXPORTED_SYS_CALL_TABLE */ in the
config/afsconfig.h header and compiles nicely (loads and works too)! 
I've tested this on both RH7.3 and 8.0 (UP and MP) and haven't had any
trouble with it so far.

I hadn't seen this tidbit of information anywhere on the list yet and I
hope it will help others until the afs autoconf folks have fixed this
problem.

BTW, I tried this on v1.2.7, v1.2.8, v1.2.9rc2 and v1.3.2 (1.3.2 didn't
complain that the symbol wasn't there, but when it finished compiling
the module wouldn't load because it still wanted to find it).

John