[OpenAFS] Red Hat 7.1 module won't load

Tariq Kara karat@somewhere.umd.edu
Thu, 21 Jun 2001 19:28:21 -0400 (EDT)


I did not use the RPM package.  I downloaded the real thing :) i.e the tar
file.  I tried to use the rpm on my smp machine but I got unresolved
symbols.  So i just recompiled the source and it works now.  

On 21 Jun 2001, Derek Atkins wrote:

> Tariq,
> 
> Did you try just compiling the kernel module using the
> openafs-kernel-source RPM package?
> 
> -derek
> 
> Tariq Kara <karat@somewhere.umd.edu> writes:
> 
> > I suggest you get the source and use that.  I had the same problem with
> > rpms but with the source I had no problems at all.
> > 
> > This is what I had to do though
> > 
> > edit src/config/Makefile.i386_linux24
> > 
> > change 2.3.99-PRE to 2.4.2
> > 
> > then use the following make command
> > 
> > make SYS_NAME="i386_linux24" LINUX_VERS="2.4.2"
> > 
> > after compilation at a certain point you will copy the modload directory
> > to /usr/vice/etc/
> > 
> > after copying in the modload directory do this
> > 
> > 
> > ln -s libafs-2.4.2.o libafs-2.4.2-2.o
> > ln -s libafs-2.4.2.mp.o libafs-2.4.2-2.mp.o
> > 
> > This is what I did and it worked for me on RH 7.1 out of the box.
> > 
> > 
> > Hope this helps
> > 
> > 
> > On Thu, 21 Jun 2001, Gedaliah Wolosh wrote:
> > 
> > > 
> > > Hi all,
> > > 
> > > I'm trying to get afs running on a RH 7.1 box but the module won't load.
> > > 
> > > Here is the relevant information
> > > 
> > > rpms installed
> > > 
> > > openafs-kernel-1.0.4-24.2
> > > openafs-client-1.0.4-24.2
> > > openafs-devel-1.0.4-24.2
> > > openafs-1.0.4-24.2
> > > 
> > > 
> > > /etc/init.d/afs start
> > > 
> > > + '[' -f /etc/sysconfig/afs ']'
> > > + . /etc/sysconfig/afs
> > > ++ AFS_CLIENT=on
> > > ++ AFS_SERVER=off
> > > ++ LARGE=-stat 2800 -dcache 2400 -daemons 5 -volumes 128
> > > ++ MEDIUM=-stat 2000 -dcache 800 -daemons 3 -volumes 70
> > > ++ SMALL=-stat 300 -dcache 100 -daemons 2 -volumes 50
> > > ++ OPTIONS=-stat 2000 -dcache 800 -daemons 3 -volumes 70
> > > ++ VERBOSE=
> > > ++ AFSD_OPTIONS=-stat 2000 -dcache 800 -daemons 3 -volumes 70
> > > ++ AFS_POST_INIT=
> > > + KSYMS_FILE=/proc/ksyms
> > > + SEARCH_STR=unregister_filesystem
> > > + DEFAULT_SMP_PREFIX=smp_
> > > + PREFIX=
> > > + MODLOADDIR=/usr/vice/etc/modload
> > > + load_client
> > > + '[' -z '' ']'
> > > + choose_client
> > > ++ uname -v
> > > + set X '#1' Sun Apr 8 20:41:30 EDT 2001
> > > + shift
> > > + MP=
> > > ++ uname -r
> > > + VERSION=2.4.2-2
> > > + LIBAFS=libafs-2.4.2-2.o
> > > + '[' '!' -f /usr/vice/etc/modload/libafs-2.4.2-2.o ']'
> > > + set_prefix
> > > + h=[0-9a-fA-F]
> > > +
> > > h8=[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]
> > > + prefix_set=0
> > > ++ fgrep unregister_filesystem /proc/ksyms
> > > + set X c0137c50 unregister_filesystem_R89ac44d0
> > > + shift
> > > + str=unregister_filesystem_R89ac44d0
> > > + /sbin/insmod -f -m /usr/vice/etc/modload/libafs-2.4.2-2.o
> > > + echo Failed to load AFS client, not starting AFS services.
> > > Failed to load AFS client, not starting AFS services.
> > > + exit 1
> > > 
> > > 
> > > If I try and run the failed command --
> > > /sbin/insmod -f -m /usr/vice/etc/modload/libafs-2.4.2-2.o
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol generic_file_mmap_R807a06f4
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol generic_read_dir_R7a085a57
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol d_move_R38710d1e
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol truncate_inode_pages_R231b9bcf
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol path_release_R548c3155
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol register_filesystem_Rb8a75f47
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol __user_walk_R4fec11a4
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol generic_file_read_R59f7b415
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol invalidate_inode_pages_R2a3a883e
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol dput_R68bd8667
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol page_follow_link_R6107da3c
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol path_init_R697d6d21
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol d_rehash_Rc2e5bf83
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol sock_sendmsg_Rd12c3eeb
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol sock_release_R10a0c021
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol path_walk_Rec942904
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol inode_setattr_Ra792f1ea
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol unregister_filesystem_R47ed3c26
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol d_delete_Rb439230b
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol d_instantiate_R159df957
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol dget_locked_R5195c822
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol iput_R3846aa90
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol page_readlink_R36d32c38
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol sock_recvmsg_Rc3143bb0
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol d_alloc_root_R6133b4e0
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol flush_signals_R4aed4576
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol iget4_Rf9ac5c53
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol generic_file_write_Rb143f195
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol inode_change_ok_Re0763d52
> > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol sock_create_R406082d7
> > > 
> > > 
> > > Any help would be greatly appreciated
> > > 
> > > 
> > 
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> 
>