Details
-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
Lustre 2.3.0
-
None
-
3
-
5411
Description
While evaluating Lustre 2.3 for our environment, I tried to recompile the lustre client for a later version of the Red Hat kernel. With the following commands
git checkout -b b2_3 remotes/origin/b2_3 sh autogen.sh ./configure --with-linux=/usr/src/kernels/2.6.32-279.11.1.el6.x86_64
I got the warnings below during the build but the build completed.
configure: WARNING: Disabling server because complete ext4 source does not exist. If you are building using kernel-devel packages and require ldiskfs server support then ensure that the matching kernel-debuginfo-common and kernel-debuginfo-common-<arch> packages are installed. [snip] WARNING: /lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/obdecho.ko needs unknown symbol echo_obd_ops WARNING: /lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/obdecho.ko needs unknown symbol echo_persistent_pages_fini WARNING: /lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/obdecho.ko needs unknown symbol echo_persistent_pages_init WARNING: /lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/ptlrpc.ko needs unknown symbol lut_boot_epoch_update WARNING: /lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/ptlrpc.ko needs unknown symbol lut_mod_exit WARNING: /lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/ptlrpc.ko needs unknown symbol lut_mod_init
Trying to load the modules gave unknown symbol errors:
Nov 1 16:17:53 cs04r-sc-serv-48 kernel: Lustre: Lustre: Build Version: 2.3.0--PRISTINE-2.6.32-279.11.1.el6.x86_64 Nov 1 16:17:53 cs04r-sc-serv-48 kernel: ptlrpc: Unknown symbol lut_boot_epoch_update Nov 1 16:17:53 cs04r-sc-serv-48 kernel: ptlrpc: Unknown symbol lut_mod_exit Nov 1 16:17:53 cs04r-sc-serv-48 kernel: ptlrpc: Unknown symbol lut_mod_init Nov 1 16:17:53 cs04r-sc-serv-48 modprobe: FATAL: Error inserting lustre (/lib/modules/2.6.32-279.11.1.el6.x86_64/updates/kernel/fs/lustre/lustre.ko): Unknown symbol in module, or unknown parameter (see dmesg)
compiling the same code with additional --disable-servers added to the configure options compiles without warnings and loading the module works as expected.
The same configure line without the --disable-servers option does work without problems for compiling the lustre client rpms on lustre 1.8.X