[OpenAFS] AFS on RHEL 3 RPMs
David Chait
davidc@bonair.stanford.edu
Thu, 25 Dec 2003 14:23:26 -0800
This is a multi-part message in MIME format.
------=_NextPart_000_0025_01C3CAF2.A8EB86D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All,
Does anyone have an "Iron clad" way of building/compiling AFS =
against a RHEL kernel? I have managed to get the SRPM to build by =
modifying it only to build for the i686 platform, however the kernel =
module still returns the following whenever I attempt to initiate it:
[root@fac-print2 modload]# /etc/init.d/afs start
Hmm... I can't seem to find an AFS kernel module suitable for your =
Linux
kernel. That means you will need to build or obtain a suitable module.
The following information may be of some use in obtaining assistance:
CPU Type: 686.intel.8
Linux version: 2.4.21-4.0.1.EL #1 Thu Oct 23 01:36:33 EDT 2003
RedHat release: Red Hat Enterprise Linux AS release 3 (Taroon)
Symbol versions:
sock_create aed60fac
Did not find matching module in SymTable
Failed to load AFS client, not starting AFS services.
-- The SymTable does include the following:
[root@fac-print2 modload]# more SymTable=20
# This file describes the available AFS kernel modules and what kernel
# versions they work with. Each line matches against some kernel symbol
# version, and specifies a module which may be used with kernels =
containing
# that version of the specified symbol. Only lines which match the
# currently-running kernel are considered.
#
# In addition, each line may specify a minimum CPU model on which the =
module
# will work. If this value is present, the actual CPU model must be =
greater
# than or equal to the version specified; otherwise, the module is =
assumed
# to work on any CPU.
#
# The last match found will be used.
#
# Symbol Version MinCPU Module
#=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
iget4 84b9adda - 2.4.21-4.0.1.EL
> sock_create=3Df91c78f0
-- I do have indications of failure in the libafsmap file though:
[root@fac-print2 modload]# more libafs.map
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
inode_change_ok_Rd6dfaf8c
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
register_filesystem_Rf7c836bc
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
generic_file_mmap_R140050d0
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
remove_wait_queue_R1947093e
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
d_instantiate_R73b1831c
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
sock_sendmsg_R111e2258
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
d_alloc_root_R1960a161
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
generic_file_write_R10d8de30
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
force_sig_R843f9371
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
path_init_R82b4e26a
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
shrink_dcache_parent_R2c7ffb45
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
filemap_fdatasync_R8843a7ef
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
page_follow_link_R99a0945a
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
unregister_sysctl_table_R506ce9e1
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
highmem_start_page_Rbf673ded
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
d_move_Rd9e0ddc4
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
sock_recvmsg_Rf3fc90f3
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
truncate_inode_pages_R176f7b23
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
irq_stat_Rd032f027
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
generic_read_dir_R76398518
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
unlock_page_Rcd79f955
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
__user_walk_Rd36acb79
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
find_task_by_pid_R0d769ec7
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
dget_locked_R29c6dda3
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
d_rehash_R4beccf1e
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
init_task_union_R7213c5d7
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
iget4_R84b9adda
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
inode_setattr_R1c7e87f8
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
kmap_high_Rc657051e
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
filemap_fdatawait_R1771e74f
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
generic_file_read_Ree39831c
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
invalidate_inode_pages_R696eb5eb
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
page_readlink_Rb4f99d7e
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
proc_dointvec_R9301a062
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
dput_R9be2f601
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
unregister_filesystem_R4c227b0d
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
add_wait_queue_R53621d0f
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
path_release_Red4e40d9
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
path_walk_Rd5be8cfe
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
register_sysctl_table_R28a9fd05
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
init_mm_R93ca81c5
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
sock_create_Rf91c78f0
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
iput_R96060046
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
flush_signals_R0462ff76
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
kunmap_high_R0c5bc038
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved symbol =
sock_release_Rb733d53f
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=20
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
Warning: kernel-module version mismatch
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o was compiled for =
kernel version 2.4.20-19.9
while this kernel is version 2.4.21-4.0.1.EL
-- It is interresting that it states that this kernel mod was compiled =
for kernel version 2.4.20-19.9 when in reality, I built the RPM against =
this very machine/kernel.
Any guidance would be appreciated.
Thanks,
David
------=_NextPart_000_0025_01C3CAF2.A8EB86D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Does anyone have an =
"Iron clad"=20
way of building/compiling AFS against a RHEL kernel? I have managed to =
get the=20
SRPM to build by modifying it only to build for the i686 platform, =
however the=20
kernel module still returns the following whenever I attempt to initiate =
it:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>[root@fac-print2 modload]# =
/etc/init.d/afs=20
start<BR>Hmm... I can't seem to find an AFS kernel module suitable =
for=20
your Linux<BR>kernel. That means you will need to build or obtain =
a=20
suitable module.<BR>The following information may be of some use in =
obtaining=20
assistance:<BR>CPU Type: =20
686.intel.8<BR>Linux version: 2.4.21-4.0.1.EL #1 Thu Oct 23 =
01:36:33 EDT=20
2003<BR>RedHat release: Red Hat Enterprise Linux AS release 3 =
(Taroon)<BR>Symbol=20
versions:<BR> sock_create aed60fac<BR>Did not find matching module =
in=20
SymTable<BR>Failed to load AFS client, not starting AFS =
services.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-- The SymTable does include the=20
following:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>[root@fac-print2 modload]# more =
SymTable <BR># This=20
file describes the available AFS kernel modules and what kernel<BR># =
versions=20
they work with. Each line matches against some kernel symbol<BR># =
version,=20
and specifies a module which may be used with kernels containing<BR># =
that=20
version of the specified symbol. Only lines which match the<BR>#=20
currently-running kernel are considered.<BR>#<BR># In addition, each =
line may=20
specify a minimum CPU model on which the module<BR># will work. If =
this=20
value is present, the actual CPU model must be greater<BR># than or =
equal to the=20
version specified; otherwise, the module is assumed<BR># to work on any=20
CPU.<BR>#<BR># The last match found will be used.<BR>#<BR># Symbol =
Version MinCPU =20
Module<BR>#=3D=3D=3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D =20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>iget4&nbs=
p; =20
84b9adda =
- =20
2.4.21-4.0.1.EL<BR>> sock_create=3Df91c78f0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-- I do have indications of failure in=20
the libafsmap file though:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>[root@fac-print2 modload]# more=20
libafs.map<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: unresolved =
symbol=20
inode_change_ok_Rd6dfaf8c<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL=
.o:=20
unresolved symbol=20
register_filesystem_Rf7c836bc<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.=
1.EL.o:=20
unresolved symbol=20
generic_file_mmap_R140050d0<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.=
EL.o:=20
unresolved symbol=20
remove_wait_queue_R1947093e<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.=
EL.o:=20
unresolved symbol=20
d_instantiate_R73b1831c<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o=
:=20
unresolved symbol=20
sock_sendmsg_R111e2258<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=
=20
unresolved symbol=20
d_alloc_root_R1960a161<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=
=20
unresolved symbol=20
generic_file_write_R10d8de30<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1=
.EL.o:=20
unresolved symbol=20
force_sig_R843f9371<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=20
unresolved symbol=20
path_init_R82b4e26a<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=20
unresolved symbol=20
shrink_dcache_parent_R2c7ffb45<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0=
.1.EL.o:=20
unresolved symbol=20
filemap_fdatasync_R8843a7ef<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.=
EL.o:=20
unresolved symbol=20
page_follow_link_R99a0945a<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.E=
L.o:=20
unresolved symbol=20
unregister_sysctl_table_R506ce9e1<BR>/usr/vice/etc/modload/libafs-2.4.21-=
4.0.1.EL.o:=20
unresolved symbol=20
highmem_start_page_Rbf673ded<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1=
.EL.o:=20
unresolved symbol=20
d_move_Rd9e0ddc4<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol =
sock_recvmsg_Rf3fc90f3<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=
=20
unresolved symbol=20
truncate_inode_pages_R176f7b23<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0=
.1.EL.o:=20
unresolved symbol=20
irq_stat_Rd032f027<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol=20
generic_read_dir_R76398518<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.E=
L.o:=20
unresolved symbol=20
unlock_page_Rcd79f955<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved symbol=20
__user_walk_Rd36acb79<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved symbol=20
find_task_by_pid_R0d769ec7<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.E=
L.o:=20
unresolved symbol=20
dget_locked_R29c6dda3<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved symbol=20
d_rehash_R4beccf1e<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol=20
init_task_union_R7213c5d7<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL=
.o:=20
unresolved symbol=20
iget4_R84b9adda<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol=20
inode_setattr_R1c7e87f8<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o=
:=20
unresolved symbol=20
kmap_high_Rc657051e<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=20
unresolved symbol=20
filemap_fdatawait_R1771e74f<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.=
EL.o:=20
unresolved symbol=20
generic_file_read_Ree39831c<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.=
EL.o:=20
unresolved symbol=20
invalidate_inode_pages_R696eb5eb<BR>/usr/vice/etc/modload/libafs-2.4.21-4=
.0.1.EL.o:=20
unresolved symbol=20
page_readlink_Rb4f99d7e<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o=
:=20
unresolved symbol=20
proc_dointvec_R9301a062<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o=
:=20
unresolved symbol=20
dput_R9be2f601<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol=20
unregister_filesystem_R4c227b0d<BR>/usr/vice/etc/modload/libafs-2.4.21-4.=
0.1.EL.o:=20
unresolved symbol=20
add_wait_queue_R53621d0f<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.=
o:=20
unresolved symbol=20
path_release_Red4e40d9<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=
=20
unresolved symbol=20
path_walk_Rd5be8cfe<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=20
unresolved symbol=20
register_sysctl_table_R28a9fd05<BR>/usr/vice/etc/modload/libafs-2.4.21-4.=
0.1.EL.o:=20
unresolved symbol=20
init_mm_R93ca81c5<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol =
sock_create_Rf91c78f0<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved symbol=20
iput_R96060046<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved=20
symbol=20
flush_signals_R0462ff76<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o=
:=20
unresolved symbol=20
kunmap_high_R0c5bc038<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o: =
unresolved symbol=20
sock_release_Rb733d53f<BR>/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o:=
=20
<BR>Hint: You are trying to load a module without a GPL compatible=20
license<BR> and it has unresolved =
symbols. =20
Contact the module supplier for<BR> =
assistance,=20
only they can help you.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Warning: kernel-module version=20
mismatch<BR> =20
/usr/vice/etc/modload/libafs-2.4.21-4.0.1.EL.o was compiled for kernel =
version=20
2.4.20-19.9<BR> while this =
kernel is=20
version 2.4.21-4.0.1.EL</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-- It is interresting that it states =
that this=20
kernel mod was compiled for kernel version 2.4.20-19.9 when in reality,=20
I built the RPM against this very machine/kernel.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Any guidance would be =
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>David</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0025_01C3CAF2.A8EB86D0--