[OpenAFS] Linux 2.6 support

Miroslav Ruda ruda@ics.muni.cz
Tue, 08 Jun 2004 18:10:35 +0200


chas williams (contractor) wrote:
> In message <40C5D0CD.1080703@ics.muni.cz>,Miroslav Ruda writes:
> 
>> checking if kernel uses MODVERSIONS... no
>> checking which kernel modules to build... MP SP
>> configure: WARNING: Cannot determine sys_call_table status. assuming it isn'
>>t exported
> 
> 
> configure is making the wrong guess.  it hard to determine if 
> sys_call_table is exported (without examing the kernel itself).
> for now, after running configure, modify afsconfig.h and change
> it so that it think sys_call_table is exported.
> 
> someday this dependency on sys_call_table should go away (hopefully
> sooner than later)

Now insmod libafs-2.6.6.ko reports

 libafs: module license 'unspecified' taints kernel.
 Found ia32_sys_call_table at 80466be0

but nothing changed with afsd, it's still frozen:

 # ps axuww |grep afs
root      8974  0.0  0.1  3952  964 pts/34   S    17:42   0:00 /usr/vice/etc/afsd -stat 2800 -dcache 2400 -daemons 5 -volumes 128
root      8975  0.0  0.1  3952  964 pts/34   S<   17:42   0:00 /usr/vice/etc/afsd -stat 2800 -dcache 2400 -daemons 5 -volumes 128
root      8976  0.0  0.0     0    0 pts/34   Z    17:42   0:00 [afsd] <defunct>
root      8977  0.0  0.0     0    0 ?        S    17:42   0:00 [afs_cbstart]
root      8978  0.0  0.0     0    0 pts/34   Z<   17:42   0:00 [afsd] <defunct>
root      8979  0.0  0.0     0    0 ?        S    17:42   0:00 [afs_evtstart]
root     16932  0.0  0.1  3672  732 pts/34   R+   18:03   0:00 grep afs


Nothing reported to dmesg or system logs. Any idea what should I debug now?

BTW: in afsconfig.h, I have incommented only EXPORTED_SYS_CALL_TABLE, not
EXPORTED_KALLSYMS etc.

/* #undef EXPORTED_KALLSYMS_ADDRESS */
/* #undef EXPORTED_KALLSYMS_SYMBOL */
/* #undef EXPORTED_SYS_CALL_TABLE */
#define EXPORTED_SYS_CALL_TABLE 1
#define EXPORTED_IA32_SYS_CALL_TABLE 1   /* this was already set to 1 */
/* #undef EXPORTED_TASKLIST_LOCK */

-- 
                  Mirek Ruda