[OpenAFS-devel] 1.3.75 on FC3
Matthew N. Andrews
matt@slackers.net
Wed, 15 Dec 2004 17:36:46 -0800
d'oh,
here's some more info on my problems with openafs on FC3 x86_64
after looking at dmesg and slapping my forhead I see:
libafs: Unknown symbol ia32_sys_call_table
at this point I looked at acinclude.m4, and tried this patch to force the test
for ia32_sys_cal_table to fail:
---- cut here ----
--- acinclude.m4 2004-12-13 11:40:42.000000000 -0800
+++ acinclude.m4.no_ia32_sys_call_table 2004-12-15 16:31:22.093260576 -0800
@@ -579,9 +579,7 @@
if test "x$ac_cv_linux_config_modversions" = "xno" -o
$AFS_SYSKVERS -ge 26; then
AC_MSG_WARN([Cannot determine sys_call_table status.
assuming it isn't exported])
ac_cv_linux_exports_sys_call_table=no
- if test -f "$LINUX_KERNEL_PATH/include/asm/ia32_unistd.h"; then
- ac_cv_linux_exports_ia32_sys_call_table=yes
- fi
+ ac_cv_linux_exports_ia32_sys_call_table=no
else
LINUX_EXPORTS_INIT_MM
LINUX_EXPORTS_KALLSYMS_ADDRESS
---- cut here ----
this then causes the make to fail when compiling the libafs module with these
errors:
CC [M]
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/AFS_component_version_number.o
CC [M]
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.o
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:
In function `afs_init':
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:453:
warning: `interruptible_sleep_on' is deprecated (declared at
include/linux/wait.h:290)
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:462:
error: `sys_exit' undeclared (first use in this function)
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:462:
error: (Each undeclared identifier is reported only once
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:462:
error: for each function it appears in.)
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:463:
error: `sys_open' undeclared (first use in this function)
/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.c:464:
warning: assignment from incompatible pointer type
make[6]: ***
[/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP/osi_module.o]
Error 1
make[5]: ***
[_module_/usr/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP]
Error 2
make[5]: Leaving directory `/lib/modules/2.6.9-1.678_FC3smp/build'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs/MODLOAD-2.6.9-1.678_FC3smp-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/home/ma3d/rpmbuild/BUILD/openafs-1.3.76/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/home/ma3d/rpmbuild/BUILD/openafs-1.3.76'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/ma3d/rpmbuild/BUILD/openafs-1.3.76'
make: *** [all] Error 2
Is there a way to get the current openafs code to work on a machine which has
neither ia32_sys_call_table, nor sys_call_table?
-Matt
Matthew N. Andrews wrote:
> hello,
>
> after getting 1.3.75 to compile on a dual processor x86_64 FC3 machine,
> I am now stuck with a module that fails to load with the following error:
>
> # insmod /usr/vice/etc/modload/libafs-2.6.9-1.678_FC3smp-amd64.ko
> insmod: error inserting
> '/usr/vice/etc/modload/libafs-2.6.9-1.678_FC3smp-amd64.ko': -1 Unknown
> symbol in module
>
>
> I remember others seeing this same error earlier on thelist, but
> couldn't find a reference to what the problem was then. anyone have any
> ideas?
>
> thanks for any help.
>
> -Matthew Andrews
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
>