Troubleshooting
Problem
This technote explains why installing IBM® Rational® ClearCase® on Linux® can fail with unresolved symbol errors along with instructions to resolve the problem.
Cause
After rebuilding the MVFS module attempts to start up ClearCase fails with the following (similar) error:
GENERAL ERROR:
ClearCase daemons: albd_server lockmgr
insmod: a module named sunrpc already exists
Using /lib/modules/2.4.18-14/kernel/net/sunrpc/sunrpc.o
/lib/modules/fs/mvfs.o: unresolved symbol d_lookup_Rbe9b6965
/lib/modules/fs/mvfs.o: unresolved symbol d_alloc_root_Re2ad6e91
/lib/modules/fs/mvfs.o: unresolved symbol vfs_follow_link_R4a4220c0
/lib/modules/fs/mvfs.o: unresolved symbol igrab_R7b4ede7f
/lib/modules/fs/mvfs.o: unresolved symbol vfs_mkdir_Re14d71a8
/lib/modules/fs/mvfs.o: unresolved symbol d_rehash_R4ec9489c
/lib/modules/fs/mvfs.o: unresolved symbol vfs_mknod_R535ef168
EXAMPLE ERROR PARTICULAR TO A SPECIFIC PROBLEM
/lib/modules/fs/mvfs.o: unresolved symbol mdki_linux_createvp
/lib/modules/fs/mvfs.o: unresolved symbol mdki_linux_clntkudp_create
/lib/modules/fs/mvfs.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.
Using /lib/modules/fs/mvfs.o
Warning: The module you are trying to load (/lib/modules/fs/mvfs.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.
Warning: kernel-module version mismatch
/lib/modules/fs/mvfs.o was compiled for kernel version 1.2.3
while this kernel is version 2.4.21-4.EL
/opt/rational/clearcase/etc/clearcase: Loading MVFS failed
---- Please review /var/log/messages for information on the problem.
---- You may need to rebuild your kernel, rebuild your vnode module, and reboot your system. Information on how to do this can be found in your Release Notes and file /var/adm/rational/clearcase/mvfs/vnode_src/README.txt.
Note: Attempts to manually load vnode.o results in the error:
cd /var/adm/atria/mvfs/vnode_src
insmod vnode.o
vnode.o: kernel-module version mismatch
vnode.o was compiled for kernel version 2.4.21-4.ELcustom
while this kernel is version 2.4.21-4.EL.
The general issue is that the MVFS needs to be re-linked to the Linux kernel.
In the specific example, the makefile used to build the MVFS vnode.o was compiled for kernel version 2.4.21-4.ELcustom instead of kernel is version 2.4.21-4.EL.
Resolving The Problem
The MVFS needs to be rebuilt.
The Linux kernel needs to be "clean" before the VNODE can be rebuilt.
Cleaning the kernel is a relatively quick process and will result in a highly successful and error free install of ClearCase.
Modify the MakeFile and rebuild the kernel to successfully build the MVFS.
- Login as root:
- Obtain the Linux version (uname -r)
Example:
$ uname -r
2.4.20-8
Note: Where 2.4 is the Major Version
- cd /usr/src/<Major version>
Note: The directory where Linux kernel source tree resides.
- vi Makefile and change the line (for specific issue only):
FROM: EXTRAVERSION = -4.ELcustom
TO: EXTRAVERSION = -4.EL
- Make mrproper
- cp configs/kernel-2.4.21-i686.config .config
- Make oldconfig
- Make dep
- cd /var/adm/atria/mvfs/vnode_src
- Make clean
- Make
- Make install
- Stop ClearCase: /usr/atria/etc/atria_start stop
- Start ClearCase: /usr/atria/etc/atria_start start
Related Information
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21160273