<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 14 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Pavaman<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Can you try to resolve this and send Vlad a patch?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tziporet<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> ewg-bounces@lists.openfabrics.org [mailto:ewg-bounces@lists.openfabrics.org]
<b>On Behalf Of </b>Pavaman Subramaniyam<br>
<b>Sent:</b> Tuesday, July 24, 2012 11:27 PM<br>
<b>To:</b> ewg@lists.openfabrics.org<br>
<b>Cc:</b> Daniel Vega; Brad Benton<br>
<b>Subject:</b> [ewg] Build issues with OFED-3.5 on ppc64<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi Vladimir,</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I have installed OFED-3.5-20120716-0723.tgz on RHEL 6.2 machine and tried ./install.sh script with options 2 and 3.</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">The compat-rdma RPM build fails as follows:</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Building kernel modules</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Kernel version: 2.6.32-220.el6.ppc64</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Modules directory: //lib/modules/2.6.32-220.el6.ppc64/updates</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Kernel sources: /lib/modules/2.6.32-220.el6.ppc64/build</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">env CWD=/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5 BACKPORT_INCLUDES= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> make -C /lib/modules/2.6.32-220.el6.ppc64/build SUBDIRS="/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5" \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> V=1 \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_MEMTRACK= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_DEBUG_INFO=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_IPOIB=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_IPOIB_CM=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SDP= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SRP=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SRPT=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_USER_MAD=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_USER_ACCESS=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_USER_MEM=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_ADDR_TRANS=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_MTHCA=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_IPOIB_DEBUG=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_ISER= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_SCSI_ISCSI_ATTRS= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_ISCSI_TCP= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_EHCA=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_EHCA_SCALING=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_RDS=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_RDS_RDMA=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_RDS_TCP=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_RDS_DEBUG= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_IPOIB_DEBUG_DATA= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SDP_SEND_ZCOPY= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SDP_RECV_ZCOPY= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SDP_DEBUG= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_SDP_DEBUG_DATA= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_IPATH= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_QIB= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_MTHCA_DEBUG=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_MADEYE= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_QLGC_VNIC= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_QLGC_VNIC_DEBUG= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_QLGC_VNIC_STATS= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_CHELSIO_T3=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_CXGB3=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_CXGB3_DEBUG= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_CHELSIO_T4=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_CXGB4=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_NES=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_NES_DEBUG= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_MLX4_CORE=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_MLX4_EN=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_MLX4_INFINIBAND=m \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_MLX4_ETHERNET= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_MLX4_DEBUG=y \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_INFINIBAND_AMSO1100= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_SUNRPC_XPRT_RDMA= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> CONFIG_NFSD_RDMA= \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> LINUXINCLUDE=' \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -D__OFED_BUILD__ \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -DCOMPAT_BASE="\"compat-2012-07-02-6-gaf528a2\"" -DCOMPAT_BASE_TREE="\"unknown\"" -DCOMPAT_BASE_TREE_VERSION="\"rc3\"" -DCOMPAT_PROJECT="\"Compat-rdma\"" -DCOMPAT_VERSION="\"d418e0e-n\""
\</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -include /lib/modules/2.6.32-220.el6.ppc64/build/include/linux/autoconf.h \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -include /var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/include/linux/autoconf.h \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -include /var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/include/linux/compat-2.6.h \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/include \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/drivers/infiniband/debug \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -I/usr/local/include/scst \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/drivers/infiniband/ulp/srpt \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> $(if $(CONFIG_XEN),-D__XEN_INTERFACE_VERSION__=$(CONFIG_XEN_INTERFACE_VERSION)) \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> $(if $(CONFIG_XEN),-I$(srctree)/arch/x86/include/mach-xen) \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -I$(srctree)/arch/$(SRCARCH)/include \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -Iarch/$(SRCARCH)/include/generated -Iinclude \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> -I$(srctree)/arch/$(SRCARCH)/include \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> ' \</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> modules</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">make[1]: Entering directory `/usr/src/kernels/2.6.32-220.el6.ppc64'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Makefile:558: /usr/src/kernels/2.6.32-220.el6.ppc64/arch/ppc64/Makefile: No such file or directory</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">make[1]: *** No rule to make target `/usr/src/kernels/2.6.32-220.el6.ppc64/arch/ppc64/Makefile'. Stop.</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.el6.ppc64'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">make: *** [kernel] Error 2</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">error: Bad exit status from /var/tmp/rpm-tmp.Hi7krm (%build)</span>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">RPM build errors:</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> Bad exit status from /var/tmp/rpm-tmp.Hi7krm (%build)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">=====================================================================================</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">There is /usr/src/kernels/2.6.32-220.el6.ppc64/arch/powerpc directory and not /usr/src/kernels/2.6.32-220.el6.ppc64/arch/ppc64 as being looked for building compat-rdma.</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Similar issue was reported for building OFED-3.2 on SLES11SP2 GMC for ppc64.</span>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks and Regards,<br>
<br>
**********************************************************<br>
IBM India, Systems and Technology Labs,<br>
ISL -Linux On Power,<br>
"D2" Block , Ground FLoor,<br>
Embassy Manyata Tech Park,<br>
Outer ring road, Nagawara Villages,<br>
Bengalooru , Karnataka India 560045<br>
Landline No: (080) 40255125<br>
Mobile No: 9901333220</span><o:p></o:p></p>
</div>
</body>
</html>