<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Times New Roman\, Times\, serif";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Times New Roman",serif;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma",sans-serif;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:985086708;
mso-list-type:hybrid;
mso-list-template-ids:663282908 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks Rupert, I was now able to build compat-rdma.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">However I’m uncertain about my process –<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span dir="LTR"></span><span style="color:#1F497D">I’ve
<i>ran install.pl</i> excluding compat-rdma, compat-rdma-devel (and vendors)<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span dir="LTR"></span><span style="color:#1F497D">I’ve extracted the compat-rdma rpm, configured it as you suggested and ran ‘make install’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I observed that after the installation I got quite a few symbol version problems with – iser/t (but iSER was included), xprtrdma and svcrdma (that I don’t even see how can they be included or excluded).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">And also after this process, I’m lacking the source placed under /usr/src/compat-rdma-4.8/ prevents me from building our own driver.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Is there a better process to build OFED, with sources , and perhaps one that will work well with the above modules?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Ram<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Rupert Dance [mailto:rsdance@soft-forge.com] <br>
<b>Sent:</b> Sunday, November 27, 2016 6:09 PM<br>
<b>To:</b> Amrani, Ram <Ram.Amrani@cavium.com>; ewg@lists.openfabrics.org<br>
<b>Cc:</b> Elior, Ariel <Ariel.Elior@cavium.com>; Rahman, Ameen <Ameen.Rahman@cavium.com><br>
<b>Subject:</b> RE: [ewg] Failure to build OFED 4.8 on RHEL 7.2 with native kernel<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Times New Roman\, Times\, serif";color:black">Hi Ram,</span><o:p></o:p></p>
<p class="MsoPlainText">There are still some backports that are not complete and qib is one of them. Here is a suggested work around from Vlad back on 11/2/2016<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">
<hr size="2" width="100%" noshade="" style="color:#7030A0" align="center">
</span></div>
<p class="MsoPlainText">There are no QIB backports yet in OFED-4.8.<o:p></o:p></p>
<p class="MsoPlainText">If you work on RHEL7.2 then use the following configuration parameters:<o:p></o:p></p>
<p class="MsoPlainText"># ./configure --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_en-mod --with-ipoib-mod<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">
<hr size="2" width="100%" noshade="" style="color:#7030A0" align="center">
</span></div>
<p class="MsoPlainText">There may be some other modules that have been added since 11/2/2016 but this should get you started.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Here is what I see for srpms listed in OFED-4.8-20161120-0830.tgz<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="399" valign="top" style="width:239.4pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoPlainText">srpms in OFED-4.8-20161120-0830.tgz<o:p></o:p></p>
</td>
<td width="399" valign="top" style="width:239.4pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoPlainText">Inside rdma_core<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="399" valign="top" style="width:239.4pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoPlainText"><img width="341" height="359" id="Picture_x0020_2" src="cid:image001.png@01D248DF.DE8969A0"><o:p></o:p></p>
</td>
<td width="399" valign="top" style="width:239.4pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoPlainText"><img width="157" height="169" id="Picture_x0020_1" src="cid:image002.png@01D248DF.DE8969A0"><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoPlainText"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="798" valign="top" style="width:6.65in;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoPlainText">srpms in OFED-3.18-2.tgz<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="798" valign="top" style="width:6.65in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoPlainText"><img width="285" height="672" id="Picture_x0020_3" src="cid:image003.png@01D248DF.DE8969A0"><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hope this helps<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Rupert<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<o:p></o:p></p>
<p class="MsoPlainText">From: ewg [<a href="mailto:ewg-bounces@lists.openfabrics.org">mailto:ewg-bounces@lists.openfabrics.org</a>] On Behalf Of Amrani, Ram<o:p></o:p></p>
<p class="MsoPlainText">Sent: Sunday, November 27, 2016 9:42 AM<o:p></o:p></p>
<p class="MsoPlainText">To: <a href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a><o:p></o:p></p>
<p class="MsoPlainText">Cc: Elior, Ariel; Rahman, Ameen<o:p></o:p></p>
<p class="MsoPlainText">Subject: [ewg] Failure to build OFED 4.8 on RHEL 7.2 with native kernel<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi All,<o:p></o:p></p>
<p class="MsoPlainText">I have downloaded the latest OFED build OFED-4.8-20161120-0830 and tried to install it on RHEL 7.2, with native kernel 3.10.0-327.el7.x86_64.<o:p></o:p></p>
<p class="MsoPlainText">I was expecting it to build well since the readme states under section "1.2 Supported Platforms and Operating Systems":<o:p></o:p></p>
<p class="MsoPlainText"> o Linux Operating Systems:<o:p></o:p></p>
<p class="MsoPlainText"> - RedHat EL7.2 3.10.0-327.el7<o:p></o:p></p>
<p class="MsoPlainText"> - SLES12 3.12.28-4<o:p></o:p></p>
<p class="MsoPlainText"> - SLES12.1 3.12.49-11.1<o:p></o:p></p>
<p class="MsoPlainText"> - kernel.org 4.8 *<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The build failed on 'qib', and when I disabled all vendors it still failed but this time on iser.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The iSER failure:<o:p></o:p></p>
<p class="MsoPlainText"> /var/tmp/OFED_topdir/BUILD/compat-rdma-4.8/drivers/infiniband/ulp/iser/iscsi_iser.h:51:23: fatal error: scsi/iser.h: No such file or directory<o:p></o:p></p>
<p class="MsoPlainText"> #include <scsi/iser.h><o:p></o:p></p>
<p class="MsoPlainText">This hints that a kernel version higher than 4.4 is required because that specific file was first introduced in kernel 4.5.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">(the qib failure was similar - implicit declaration for a function introduced in a newer kernel).<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Perhaps there's a step I've missed in the installation?<o:p></o:p></p>
<p class="MsoPlainText">Is this combination supposed to work? Has anyone tried it?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Ram<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">ewg mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a><o:p></o:p></p>
<p class="MsoPlainText"><a href="http://lists.openfabrics.org/mailman/listinfo/ewg">http://lists.openfabrics.org/mailman/listinfo/ewg</a><o:p></o:p></p>
</div>
</div>
</body>
</html>