[Lustre-discuss] build and install lustre from source code -- warning on livcfs.ko for no modversions

Weilin Chang Weilin.Chang at huawei.com
Fri Oct 25 11:13:20 PDT 2013


There is a warning message while doing "make SUBDIRS=scripts". Is there anything missing? Is there a way to work around the problem?


guest at localhost:~/build/kernel/linux-2.6.18-194.17.1^G[guest at Lustre-server2 linux-2.6.18-194.17.1]$ make SUBDIRS=scripts
  WARNING: Symbol version dump /home/guest/build/kernel/linux-2.6.18-194.17.1/Module.symvers
           is missing; modules will have no dependencies and modversions.
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms


From: Weilin Chang
Sent: Thursday, October 24, 2013 2:13 PM
To: lustre-discuss at lists.lustre.org
Cc: Weilin Chang
Subject: build and install lustre from source code -- warning on livcfs.ko for no modversions

I built and installed Lustre from source. When I installed built luster-modules- RPM, I got libcfs.ko from the kernel-2.6.18-prep has no modversions (the message is posted below), so it cannot be reused for kernel. Is there any procedure I need to do during the build? There is include/config/modversion.h under patched kernel, but the file does not have any contens and its size is 0.

Thanks for your help.

Here were messages when I installed RPM:

# rpm -ivh kernel-2.6.18prep-1.i386.rpm
Preparing...                ########################################### [100%]
        package kernel-2.6.18prep-1.i386 is already installed
[root at localhost myrpms]# rpm -ivh lustre-ldiskfs-3.1.4-2.6.18_prep_201310231743.i386.rpm
Preparing...                ########################################### [100%]
   1:lustre-ldiskfs         ########################################### [100%]
[root at localhost myrpms]# rpm -ivh lustre-modules-1.8.5-2.6.18_prep_201310231743.i386.rpm
Preparing...                ########################################### [100%]
   1:lustre-modules         ########################################### [100%]
Warning: Module libcfs.ko from kernel 2.6.18-prep has no modversions, so it cannot be reused for kernel 2.6.18-194.17.1.el5
Congratulations on finishing your Lustre installation!  To register
your copy of Lustre and find out more about Lustre Support, Service,
and Training offerings please visit

-Weilin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20131025/f1deee40/attachment.htm>


More information about the lustre-discuss mailing list