<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/29/16 10:40 PM, Jeff Johnson
wrote:<br>
</div>
<blockquote
cite="mid:CAFCYAsd7ackWbzgfwUSfRUu+PO3ZmXjWQ=RLUHosJ_bVi9B=Aw@mail.gmail.com"
type="cite">
<div dir="ltr">I did some updating to this kernel as well using
the cr repo. I ran into some similar differences. There is a new
version of kmod and it appeared some file locations differed
from 7.2.</div>
</blockquote>
yes indeed they are in different locations from the usual
kernel/fs/lustre/<br>
<br>
<br>
<blockquote
cite="mid:CAFCYAsd7ackWbzgfwUSfRUu+PO3ZmXjWQ=RLUHosJ_bVi9B=Aw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>--Jeff</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 29, 2016 at 10:27 PM,
Riccardo Veraldi <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:Riccardo.Veraldi@cnaf.infn.it"
target="_blank">Riccardo.Veraldi@cnaf.infn.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I fixed it
building Lustre 2.8.60 and it works.<br>
Anyway the kernel modules osd_zfs.ko and so on are placed in<br>
/lib/modules/<a moz-do-not-send="true" href="tel:3.10.0-514"
value="+13100514">3.10.0-514</a>.el7.x86_64/fs/<br>
instead of /lib/modules/<a moz-do-not-send="true"
href="tel:3.10.0-514" value="+13100514">3.10.0-514</a>.el7.x86_64/<wbr>kernel/fs/lustre
and<br>
/lib/modules/3.10.0-514.el7.<wbr>x86_64/kernel/fs/extra<br>
so I had to modify the src.rpm accordingly to rebuild it
properly.<br>
Any hint about this, on how to restore the standard path of
the lustre,<br>
lnet, osd_zfs kernel modules ?<br>
<br>
thank you<br>
<span class="HOEnZb"><font color="#888888"><br>
Riccardo<br>
</font></span>
<div class="HOEnZb">
<div class="h5"><br>
<br>
On 11/29/16 2:25 PM, Riccardo Veraldi wrote:<br>
> Hello.<br>
><br>
> Today I rebuilt Lustre for the new kernel which is
inside RHEL<br>
> 7.3/CentOS 7.3 <a moz-do-not-send="true"
href="tel:3.10.0-514" value="+13100514">3.10.0-514</a>.el7.x86_64<br>
> I do not know what changed in the distribution but
it is not compiling<br>
> anymore.<br>
> What changed in my environment was a yum update
which brought the system<br>
> from RHEL 7.2 kernel 3.10.0-327.36.3.el7.x86_64<br>
> to RHEL7.3 kernel 3.10.0-514.el7.x86_64<br>
> Anyone has the same issue ?<br>
><br>
> thank you<br>
><br>
> CC: gcc<br>
> LD: /usr/bin/ld -m elf_x86_64<br>
> CPPFLAGS: -include
/root/rpmbuild/BUILD/lustre-2.<wbr>8.0/undef.h<br>
> -include /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/config.h<br>
> -I/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/libcfs/include<br>
> -I/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lnet/include<br>
> -I/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lustre/include<br>
> CFLAGS: -g -O2 -Werror -Wall -Werror<br>
> EXTRA_KCFLAGS: -include
/root/rpmbuild/BUILD/lustre-2.<wbr>8.0/undef.h<br>
> -include /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/config.h
-g<br>
> -I/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/libcfs/include<br>
> -I/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lnet/include<br>
> -I/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lustre/include<br>
><br>
> Type 'make' to build Lustre.<br>
> + make -j2 -s<br>
> Making all in .<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:
In<br>
> function 'kiblnd_hdev_get_attr':<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2153:9:<br>
> error: implicit declaration of function
'ib_query_device'<br>
> [-Werror=implicit-function-<wbr>declaration]<br>
> rc = ib_query_device(hdev->ibh_<wbr>ibdev,
attr);<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:
In<br>
> function 'kiblnd_dev_need_failover':<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2251:9:<br>
> error: passing argument 1 of 'rdma_create_id' from
incompatible pointer<br>
> type [-Werror]<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>dummy_callback,
dev,<br>
> RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: expected 'struct net *' but argument is of
type 'int (*)(struct<br>
> rdma_cm_id *, struct rdma_cm_event *)'<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2251:9:<br>
> error: passing argument 2 of 'rdma_create_id' from
incompatible pointer<br>
> type [-Werror]<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>dummy_callback,
dev,<br>
> RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: expected 'rdma_cm_event_handler' but argument
is of type 'struct<br>
> kib_dev_t *'<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2251:9:<br>
> error: passing argument 3 of 'rdma_create_id' makes
pointer from integer<br>
> without a cast [-Werror]<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>dummy_callback,
dev,<br>
> RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: expected 'void *' but argument is of type
'int'<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2251:9:<br>
> error: too few arguments to function
'rdma_create_id'<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>dummy_callback,
dev,<br>
> RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: declared here<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:
In<br>
> function 'kiblnd_dev_failover':<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2321:9:<br>
> error: passing argument 1 of 'rdma_create_id' from
incompatible pointer<br>
> type [-Werror]<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>cm_callback,
dev, RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: expected 'struct net *' but argument is of
type 'int (*)(struct<br>
> rdma_cm_id *, struct rdma_cm_event *)'<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2321:9:<br>
> error: passing argument 2 of 'rdma_create_id' from
incompatible pointer<br>
> type [-Werror]<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>cm_callback,
dev, RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: expected 'rdma_cm_event_handler' but argument
is of type 'struct<br>
> kib_dev_t *'<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2321:9:<br>
> error: passing argument 3 of 'rdma_create_id' makes
pointer from integer<br>
> without a cast [-Werror]<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>cm_callback,
dev, RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: expected 'void *' but argument is of type
'int'<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:2321:9:<br>
> error: too few arguments to function
'rdma_create_id'<br>
> cmid = kiblnd_rdma_create_id(kiblnd_<wbr>cm_callback,
dev, RDMA_PS_TCP,<br>
> ^<br>
> In file included from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.h:74:0,<br>
> from<br>
> /root/rpmbuild/BUILD/lustre-2.<wbr>8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.c:42:<br>
> /usr/src/kernels/3.10.0-514.<wbr>el7.x86_64/include/rdma/rdma_<wbr>cm.h:172:20:<br>
> note: declared here<br>
> struct rdma_cm_id *rdma_create_id(struct net *net,<br>
> ^<br>
> cc1: all warnings being treated as errors<br>
> make[7]: ***<br>
> [/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lnet/klnds/o2iblnd/<wbr>o2iblnd.o]
Error 1<br>
> make[6]: *** [/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lnet/klnds/o2iblnd]
Error 2<br>
> make[5]: *** [/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lnet/klnds]
Error 2<br>
> make[4]: *** [/root/rpmbuild/BUILD/lustre-<wbr>2.8.0/lnet]
Error 2<br>
> make[4]: *** Waiting for unfinished jobs....<br>
> make[3]: *** [_module_/root/rpmbuild/BUILD/<wbr>lustre-2.8.0]
Error 2<br>
> make[2]: *** [modules] Error 2<br>
> make[1]: *** [all-recursive] Error 1<br>
> make: *** [all] Error 2<br>
> error: Bad exit status from /var/tmp/rpm-tmp.mYkfwi
(%build)<br>
><br>
><br>
> RPM build errors:<br>
> Bad exit status from /var/tmp/rpm-tmp.mYkfwi
(%build)<br>
><br>
> ______________________________<wbr>_________________<br>
> lustre-discuss mailing list<br>
> <a moz-do-not-send="true"
href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
> <a moz-do-not-send="true"
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org"
rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
lustre-discuss mailing list<br>
<a moz-do-not-send="true"
href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
<a moz-do-not-send="true"
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org"
rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">------------------------------<br>
Jeff Johnson<br>
Co-Founder<br>
Aeon Computing<br>
<br>
<a moz-do-not-send="true"
href="mailto:jeff.johnson@aeoncomputing.com"
target="_blank">jeff.johnson@aeoncomputing.com</a><br>
<a moz-do-not-send="true"
href="http://www.aeoncomputing.com" target="_blank">www.aeoncomputing.com</a><br>
t: 858-412-3810 x1001 f: 858-412-3845<br>
m: 619-204-9061<br>
<br>
4170 Morena Boulevard, Suite D - San Diego, CA 92117
<div><br>
</div>
<div>High-Performance Computing / Lustre Filesystems /
Scale-out Storage</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>