Weilin Chang
2013-Oct-24 21:13 UTC
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@localhost myrpms]# rpm -ivh
lustre-ldiskfs-3.1.4-2.6.18_prep_201310231743.i386.rpm
Preparing... ########################################### [100%]
1:lustre-ldiskfs ########################################### [100%]
[root@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
_______________________________________________
Lustre-discuss mailing list
Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss
Weilin Chang
2013-Oct-25 18:13 UTC
Re: build and install lustre from source code -- warning on livcfs.ko for no modversions
There is a warning message while doing "make SUBDIRS=scripts". Is
there anything missing? Is there a way to work around the problem?
guest@localhost:~/build/kernel/linux-2.6.18-194.17.1^G[guest@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-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.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@localhost myrpms]# rpm -ivh
lustre-ldiskfs-3.1.4-2.6.18_prep_201310231743.i386.rpm
Preparing... ########################################### [100%]
1:lustre-ldiskfs ########################################### [100%]
[root@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
_______________________________________________
Lustre-discuss mailing list
Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss