<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Well, I have been able to build for the 7.3 and updates kernels,
but I have yet to succeed in building against any 3.10.693.*
kernel. I can update everything except the kernel and still build
it.</p>
<p>I, for one, would love some feedback about what needs changed to
build with the latest kernel. I get different errors than you, so
it may be something different.</p>
<p><br>
</p>
<p>I tend to get <br>
</p>
<p><b><i>In file included from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/include/lustre_compat.h:39:0,</i></b><b><i><br>
</i></b><b><i> from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/include/lvfs.h:45,</i></b><b><i><br>
</i></b><b><i> from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/include/obd.h:53,</i></b><b><i><br>
</i></b><b><i> from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/osd-zfs/osd_handler.c:45:</i></b><b><i><br>
</i></b><b><i>/usr/src/zfs-0.7.5/include/linux/blkdev_compat.h:412:18:
error: expected identifier or '(' before 'struct'</i></b><b><i><br>
</i></b><b><i> bio_set_op_attrs(struct bio *bio, unsigned rw,
unsigned flags)</i></b><b><i><br>
</i></b><b><i> ^</i></b><b><i><br>
</i></b><b><i>include/linux/bio.h:48:44: note: in definition of
macro 'bio_set_op_attrs'</i></b><b><i><br>
</i></b><b><i> #define bio_set_op_attrs(bio, op, flags)
((bio)->bi_rw |= (op | flags))</i></b><b><i><br>
</i></b><b><i> ^</i></b><b><i><br>
</i></b><b><i>include/linux/bio.h:48:48: error: expected ')'
before '->' token</i></b><b><i><br>
</i></b><b><i> #define bio_set_op_attrs(bio, op, flags)
((bio)->bi_rw |= (op | flags))</i></b><b><i><br>
</i></b><b><i> ^</i></b><b><i><br>
</i></b><b><i>/usr/src/zfs-0.7.5/include/linux/blkdev_compat.h:412:1:
note: in expansion of macro 'bio_set_op_attrs'</i></b><b><i><br>
</i></b><b><i> bio_set_op_attrs(struct bio *bio, unsigned rw,
unsigned flags)</i></b><b><i><br>
</i></b></p>
<b>
</b>
<p><br>
</p>
<p>Yet the same configure/make lines work if I merely boot kernel
3.10.0-514.26.2<br>
</p>
<p><br>
</p>
<p>Brian Andrus<br>
</p>
<br>
<div class="moz-cite-prefix">On 1/8/2018 12:26 AM, Scott Wood wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SLXP216MB0846A0E1A9423677F80B4BD7AA130@SLXP216MB0846.KORP216.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">Thanks for the feedback,
Riccardo. I understand not all versions are certified
compatible but knowing that some folks have had success helps
build some confidence. I tried building 2.8.0, the latest
from the 2.8 branch, the latest from the 2.9 branch, 2.10.2,
and the latest from master (<span>2.10.56_85_g76afb10-1). Only
the latter two succeeded.</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>I'll run some
tests and hold off to see if other chime in with known
successes or known issues. I'm ldiskfs, not zfs. Tcp only,
not infiniband or RDMA. No lnet routers. Independent MGT
and MDT, rather than combined. 48 OSTs and about 70
clients. Pretty basic config. Fingers crossed on more
similar success stories.</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Cheers,</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Scott</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Riccardo Veraldi <a class="moz-txt-link-rfc2396E" href="mailto:Riccardo.Veraldi@cnaf.infn.it"><Riccardo.Veraldi@cnaf.infn.it></a><br>
<b>Sent:</b> Monday, 8 January 2018 5:28:42 PM<br>
<b>To:</b> Scott Wood; <a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a><br>
<b>Subject:</b> Re: [lustre-discuss] Issues compiling
lustre-client 2.8 on CentOS 7.4</font>
<div> </div>
</div>
<div style="background-color:#FFFFFF">
<div class="x_moz-cite-prefix">I am running at the moment 2.10.1
clients with any server version down to 2.5 without troubles.
I know that there is no warranty of full interoperability bot
so far I did not have problems.<br>
Not sure if you can run 2.8 on Centos 7.4. You can try to git
clone the latest source code from 2.8.* and see if it builds
on Centos 7.4<br>
<br>
On 1/7/18 8:10 PM, Scott Wood wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div id="x_divtagdefaultwrapper" dir="ltr"
style="font-size:12pt; color:#000000;
font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">Afternoon, folks,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">In the interest of
patching kernels to mitigate Meltdown security issues on
user accessible systems, we're trying to build lustre
client rpms for the latest released Centos 7.4 kernel, <span>3.10.0-693.11.6.el7.x86_64.
We're running in to issues compiling though. As I
understand from the docs, as our servers are CentOS6 and
running the Intel distributed 2.7.0 server binaries, the
newest "officially" supported client versions are lustre
2.8. </span></p>
<p style="margin-top:0; margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span>Has anyone
run the 2.10.2 (or 2.10.x) clients connecting to 2.7.0
servers (as we have successfully built all client rpms
from a current git checkout, and from a 2.10.2
checkout)? Alternatively, is there a known 2.8.x tag
that builds successfully on CentOS7.4? Is there a third
option that folks would </span>propose?</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">build errors
visible at <a href="https://pastebin.com/izF3bXg3"
class="x_OWAAutoLink" id="LPlnk538340"
moz-do-not-send="true">https://pastebin.com/izF3bXg3</a></p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Cheers</p>
<p style="margin-top:0; margin-bottom:0">Scott</p>
</div>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
lustre-discuss mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org" moz-do-not-send="true">lustre-discuss@lists.lustre.org</a>
<a class="x_moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" moz-do-not-send="true">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
</blockquote>
<p><br>
</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
</blockquote>
<br>
</body>
</html>