[OpenAFS] Debian installation problem

Benjamin Ylvisaker benjaminy@alumni.cmu.edu
Fri, 18 Jul 2003 11:52:14 -0400


--U(zwwc5ER,a?Ju=.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I'm trying to install OpenAFS on a more or less stock Debian 3.0 system
and I have run into some problems.  First, I had never compiled a kernel
on this system before, so I had to download a kernel source package from
debian.org.  I hope that the source matches the binary kernel I am
using.  I followed the instructions in
/usr/share/doc/openafs-modules-source/README.modules:

--------------------------- Begin README ---------------------------
		       Building Kernel Modules
----------------------------------------


 The easiest way to get AFS modules is to install prebuilt modules.
Fore example if you are running kernel 2.2.18 you might try

apt-get install openafs-modules-2.2.18

If this doesn't work, then you will need to build your own modules.
This means having kernel sources available.  You should install a
kernel sources package and untar it in /usr/src.  Then, install
openafs-modules-source.

apt-get install openafs-modules-source

Next, unpack openafs-modules-source

cd /usr/src
tar xzf openafs.tar.gz

Now, change into your kernel source tree.  You should then create a
.config file; the easiest way to do this is to run make menuconfig or
to copy in a kernel configuration from the same version of the kernel.
Debian kernel packages store a copy of their kernel configuration in
/boot/config.version_number.  Finally build the modules

make-kpkg configure
make-kpkg modules_image

You may need to use the --append_version switch to add version suffixes
like -686 if your modules install into /lib/modules/version-686.
Ignore any errors about genchanges.sh failing.  An openafs-modules deb
should be created.  Use dpkg -i to install this version.
--------------------------- End README ---------------------------

I couldn't find a prebuilt version of the openafs-modules, so I copied a
the config file I found in /boot/ and ran the make-kpkg commands.  After
installing the resultant modules deb and the openafs-client deb I tried
to run '/etc/init.d/openafs-client start', which resulted in the
following message: 

AFS module /lib/modules/2.4.18-686/fs/openafs.o does not exist. Not starting AFS.
Please consider building kernel modules using instructions in
/usr/share/doc/openafs-client/README.modules

so I ran a find command and found openafs.o in /lib/modules/2.4.18/fs/.
So I made a symlink to where the openafs client expected the .o file to
be and tried to start the client again, which resulted in the following
message:

------------------------ Begin Error Message ------------------------
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol try_inc_mod_count_Rsmp_e6105b23
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol path_release_Rsmp_c7c6cbee
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol iget4_Rsmp_35f56c66
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol d_rehash_Rsmp_21967701
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol path_walk_Rsmp_a2600ed8
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol generic_file_mmap_Rsmp_1da0a691
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol page_follow_link_Rsmp_c78ff033
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol iput_Rsmp_f6cf04ed
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol dget_locked_Rsmp_0ac81afd
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol securebits_Rsmp_abe77484
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol d_alloc_root_Rsmp_3a6e663f
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol xtime_Rsmp_f31ddf83
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol add_timer_Rsmp_a19eacf8
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol del_timer_Rsmp_fc62f16d
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol sock_sendmsg_Rsmp_0305fe2e
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol inode_setattr_Rsmp_3f8438ea
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol __user_walk_Rsmp_3d638f38
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol generic_read_dir_Rsmp_540bb154
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol sys_call_table_Rsmp_dfdb18bd
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol generic_file_read_Rsmp_b211c9c2
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol __generic_copy_to_user_Rsmp_d523fdd3
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol path_init_Rsmp_5ed18cc8
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol invalidate_inode_pages_Rsmp_a17010c6
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol sock_recvmsg_Rsmp_2b2d13f2
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol unregister_filesystem_Rsmp_4d632989
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol page_readlink_Rsmp_980ab06e
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol d_instantiate_Rsmp_8b615b93
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol interruptible_sleep_on_timeout_Rsmp_5a57b6ef
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol __vmalloc_Rsmp_79995c5b
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol schedule_timeout_Rsmp_17d59d01
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol generic_file_write_Rsmp_84e24fa9
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol __wake_up_Rsmp_127fda83
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol dput_Rsmp_a3cbfdfb
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol flush_signals_Rsmp_4d8a36d6
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol d_move_Rsmp_01ee13fd
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol sock_release_Rsmp_3e84d401
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol register_filesystem_Rsmp_130e7da5
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol sock_create_Rsmp_f578f147
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol panic_Rsmp_01075bf0
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol vfree_Rsmp_2fd1d81c
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol filemap_fdatasync_Rsmp_889f0fbf
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol unlock_page_Rsmp_a50e23f0
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol interruptible_sleep_on_Rsmp_8c23e4cb
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol filemap_fdatawait_Rsmp_fd2d9509
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol max_mapnr_Rsmp_01139ffc
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol __generic_copy_from_user_Rsmp_116166aa
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol jiffies_Rsmp_0da02d67
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol shrink_dcache_parent_Rsmp_a5e79efe
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol inode_change_ok_Rsmp_8c02fdf4
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol sleep_on_timeout_Rsmp_241949d2
/lib/modules/2.4.18-686/fs/openafs.o: unresolved symbol truncate_inode_pages_Rsmp_4d63bb8f
/lib/modules/2.4.18-686/fs/openafs.o:
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.

Failed to load AFS client, not starting AFS services.
------------------------ End Error Message ------------------------

I did scan through the mailing list archives a bit, but I was unable to
find a solution to my problem.  Any advice will be greatly appreciated.

Benjamin

--U(zwwc5ER,a?Ju=.
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE/GBeypFlxgi1HM9MRAodJAKCB0N8NfrgjlA7t9NljFNhI5LXuPACdFKN7
/DGLJMiTELdXc4NUk8JlQT4=
=y7lQ
-----END PGP SIGNATURE-----

--U(zwwc5ER,a?Ju=.--