<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1256">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 08/17/2018 12:10 AM, Becker, Jeffrey
      C. (ARC-TN)[InuTeq, LLC] wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:10526135D6F99B4883E9A9799D39E3E43148A14E@NDJSMBX201.ndc.nasa.gov">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1256">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <div>Hi Vlad,</div>
        <div><br>
        </div>
        <div>Just to check, I'm building compat-rdma with only the
          following modules: core, mlx4, mlx4_en and ipoib. Am I missing
          anything? Thanks.</div>
        <div><br>
        </div>
        <div>-jeff<br>
        </div>
      </div>
    </blockquote>
    <br>
    Jeff,<br>
    Do you have kernel-devel-4.12.14-23.1.noarch and
    kernel-default-devel-4.12.14-23.1.x86_64 RPMs installed?<br>
    <br>
    Regards,<br>
    Vladimir<br>
    <blockquote type="cite"
cite="mid:10526135D6F99B4883E9A9799D39E3E43148A14E@NDJSMBX201.ndc.nasa.gov">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <div>
        </div>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <hr tabindex="-1">
          <div id="divRpF959656" style="direction: ltr;"><font size="2"
              face="Tahoma" color="#000000"><b>From:</b> ewg
              [<a class="moz-txt-link-abbreviated" href="mailto:ewg-bounces@lists.openfabrics.org">ewg-bounces@lists.openfabrics.org</a>] on behalf of Becker,
              Jeffrey C. (ARC-TN)[InuTeq, LLC]
              [<a class="moz-txt-link-abbreviated" href="mailto:jeffrey.c.becker@nasa.gov">jeffrey.c.becker@nasa.gov</a>]<br>
              <b>Sent:</b> Thursday, August 16, 2018 2:04 PM<br>
              <b>To:</b> Vladimir Sokolovsky<br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a><br>
              <b>Subject:</b> Re: [ewg] OFED 4.17 latest build error on
              SLES15<br>
            </font><br>
          </div>
          <div>
            <div style="direction:ltr; font-family:Tahoma;
              color:#000000; font-size:10pt">Still no luck (PSB).<br>
              <div style="font-family:Times New Roman; color:#000000;
                font-size:16px">
                <hr tabindex="-1">
                <div id="divRpF581192" style="direction:ltr"><font
                    size="2" face="Tahoma" color="#000000"><b>From:</b>
                    Vladimir Sokolovsky [<a class="moz-txt-link-abbreviated" href="mailto:vlad@dev.mellanox.co.il">vlad@dev.mellanox.co.il</a>]<br>
                    <b>Sent:</b> Thursday, August 16, 2018 12:44 PM<br>
                    <b>To:</b> Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC]<br>
                    <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a><br>
                    <b>Subject:</b> Re: OFED 4.17 latest build error on
                    SLES15<br>
                  </font><br>
                </div>
                <div>
                  <div class="moz-cite-prefix">On 08/16/2018 10:36 PM,
                    Becker, Jeffrey C. (ARC-TN)[InuTeq, LLC] wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div style="direction:ltr; font-family:Tahoma;
                      color:#000000; font-size:10pt">Hi Vlad,<br>
                      <div style="font-family:Times New Roman;
                        color:#000000; font-size:16px">
                        <hr tabindex="-1">
                        <div id="divRpF36018" style="direction:ltr"><font
                            size="2" face="Tahoma" color="#000000"><b>From:</b>
                            Vladimir Sokolovsky [<a
                              class="moz-txt-link-abbreviated"
                              href="mailto:vlad@dev.mellanox.co.il"
                              target="_blank" moz-do-not-send="true">vlad@dev.mellanox.co.il</a>]<br>
                            <b>Sent:</b> Thursday, August 16, 2018 12:07
                            PM<br>
                            <b>To:</b> Becker, Jeffrey C.
                            (ARC-TN)[InuTeq, LLC]<br>
                            <b>Cc:</b> <a
                              class="moz-txt-link-abbreviated"
                              href="mailto:ewg@lists.openfabrics.org"
                              target="_blank" moz-do-not-send="true">
                              ewg@lists.openfabrics.org</a><br>
                            <b>Subject:</b> Re: OFED 4.17 latest build
                            error on SLES15<br>
                          </font><br>
                        </div>
                        <div>
                          <div class="moz-cite-prefix">On 08/15/2018
                            09:47 PM, Becker, Jeffrey C.
                            (ARC-TN)[InuTeq, LLC] wrote:<br>
                          </div>
                          <blockquote type="cite">
                            <div style="direction:ltr;
                              font-family:Tahoma; color:#000000;
                              font-size:10pt">
                              <div>Hi Vlad,</div>
                              <div><br>
                              </div>
                            </div>
                          </blockquote>
                          <br>
                          >> Hi Jeff,<br>
                          >> It works for me with
                          4.12.14-23-default kernel as well
                          (OFED-4.17-20180815-1126).<br>
                          >> Maybe you used some old OFED version.
                          Please try the latest one.<br>
                          >> If it still fails check that the
                          kernel headers are authentic:<br>
                          <br>
                          >> # rpm -qa | grep kernel<br>
                          >> # rpm -qa | grep kernel | xargs rpm
                          -q --verify</div>
                        <div><br>
                        </div>
                        <div>Is this a problem? Thanks.</div>
                        <div><br>
                        </div>
                        <div>-jeff<br>
                        </div>
                        <div><br>
                        </div>
                        <div># rpm -qa | grep kernel | xargs rpm -q
                          --verify<br>
                          .M.......  g /boot/initrd-4.12.14-23-default<br>
                          .M.......  g
                          /boot/initrd-4.12.14-23-default-kdump<br>
                          <br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                  >> No, it is okay.<br>
                  >> So, try OFED-4.17-20180815-1126</div>
                <div><br>
                </div>
                <div>I did. Still get:</div>
                <div><br>
                </div>
                <div>/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:
                  In function ‘ipoib_is_dev_match_addr_rcu’:<br>
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:355:14:
                  error: implicit declaration of function
                  ‘confirm_addr_indev’
                  [-Werror=implicit-function-declaration]<br>
                     ret_addr = confirm_addr_indev(in_dev, 0,<br>
                                ^~~~~~~~~~~~~~~~~~<br>
                </div>
                <div><br>
                </div>
                <div>I'm puzzled since you got it to build fine. Please
                  let me know if you think of anything else. Thanks.</div>
                <div><br>
                </div>
                <div>-jeff<br>
                  <blockquote type="cite">
                    <div style="direction:ltr; font-family:Tahoma;
                      color:#000000; font-size:10pt">
                      <div style="font-family:Times New Roman;
                        color:#000000; font-size:16px">
                        <div><br>
                          >> Regards,<br>
                          >> Vladimir<br>
                          <br>
                          <blockquote type="cite">
                            <div style="direction:ltr;
                              font-family:Tahoma; color:#000000;
                              font-size:10pt">
                              <div style="font-family:Times New Roman;
                                color:#000000; font-size:16px">
                                <hr tabindex="-1">
                                <div id="divRpF332625"
                                  style="direction:ltr"><font size="2"
                                    face="Tahoma" color="#000000"><b>From:</b>
                                    Vladimir Sokolovsky [<a
                                      class="moz-txt-link-abbreviated"
                                      href="mailto:vlad@dev.mellanox.co.il"
                                      target="_blank"
                                      moz-do-not-send="true">vlad@dev.mellanox.co.il</a>]<br>
                                    <b>Sent:</b> Wednesday, August 15,
                                    2018 11:11 AM<br>
                                    <b>To:</b> Becker, Jeffrey C.
                                    (ARC-TN)[InuTeq, LLC]<br>
                                    <b>Cc:</b> <a
                                      class="moz-txt-link-abbreviated"
                                      href="mailto:ewg@lists.openfabrics.org"
                                      target="_blank"
                                      moz-do-not-send="true">
                                      ewg@lists.openfabrics.org</a><br>
                                    <b>Subject:</b> Re: OFED 4.17 latest
                                    build error on SLES15<br>
                                  </font><br>
                                </div>
                                <div>
                                  <div class="moz-cite-prefix">On
                                    08/15/2018 07:18 PM, Becker, Jeffrey
                                    C. (ARC-TN)[InuTeq, LLC] wrote:<br>
                                  </div>
                                  <blockquote type="cite">
                                    <div style="direction:ltr;
                                      font-family:Tahoma; color:#000000;
                                      font-size:10pt">
                                      <div>Hi Vlad,</div>
                                      <div><br>
                                      </div>
                                      <div>Were you able to figure out
                                        what's wrong? Thanks.</div>
                                      <div><br>
                                      </div>
                                      <div>-jeff<br>
                                      </div>
                                    </div>
                                  </blockquote>
                                  <br>
                                  >>Not yet,<br>
                                  >>I have older kernel:
                                  4.12.14-16-default vs yours
                                  4.12.14-23-default but it is hard to
                                  believe that APIs >>were
                                  changed.<br>
                                  >>Can you send me config.log
                                  from
                                  /var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/compat
                                  directory?<br>
                                </div>
                                <div><br>
                                </div>
                                <div>Attached. Thanks.</div>
                                <div><br>
                                </div>
                                <div>-jeff</div>
                                <div><br>
                                </div>
                                <div>>>Meanwhile, I will try to
                                  get the newer kernel.<br>
                                  <br>
                                  Regards,<br>
                                  Vladimir<br>
                                  <br>
                                  <blockquote type="cite">
                                    <div style="direction:ltr;
                                      font-family:Tahoma; color:#000000;
                                      font-size:10pt">
                                      <div style="font-family:Times New
                                        Roman; color:#000000;
                                        font-size:16px">
                                        <hr tabindex="-1">
                                        <div id="divRpF187474"
                                          style="direction:ltr"><font
                                            size="2" face="Tahoma"
                                            color="#000000"><b>From:</b>
                                            ewg [<a
                                              class="moz-txt-link-abbreviated"
href="mailto:ewg-bounces@lists.openfabrics.org" target="_blank"
                                              moz-do-not-send="true">ewg-bounces@lists.openfabrics.org</a>]
                                            on behalf of Becker, Jeffrey
                                            C. (ARC-TN)[InuTeq, LLC] [<a
class="moz-txt-link-abbreviated" href="mailto:jeffrey.c.becker@nasa.gov"
                                              target="_blank"
                                              moz-do-not-send="true">jeffrey.c.becker@nasa.gov</a>]<br>
                                            <b>Sent:</b> Tuesday, August
                                            14, 2018 11:57 AM<br>
                                            <b>To:</b> Vladimir
                                            Sokolovsky<br>
                                            <b>Cc:</b> <a
                                              class="moz-txt-link-abbreviated"
href="mailto:ewg@lists.openfabrics.org" target="_blank"
                                              moz-do-not-send="true">
                                              ewg@lists.openfabrics.org</a><br>
                                            <b>Subject:</b> Re: [ewg]
                                            OFED 4.17 latest build error
                                            on SLES15<br>
                                          </font><br>
                                        </div>
                                        <div>
                                          <div style="direction:ltr;
                                            font-family:Tahoma;
                                            color:#000000;
                                            font-size:10pt">
                                            <div>Hi Vlad,</div>
                                            <div><br>
                                            </div>
                                            <div>PSB<br>
                                            </div>
                                            <div
                                              style="font-family:Times
                                              New Roman; color:#000000;
                                              font-size:16px">
                                              <hr tabindex="-1">
                                              <div id="divRpF492513"
                                                style="direction:ltr"><font
                                                  size="2" face="Tahoma"
                                                  color="#000000"><b>From:</b>
                                                  Vladimir Sokolovsky [<a
class="moz-txt-link-abbreviated" href="mailto:vlad@dev.mellanox.co.il"
                                                    target="_blank"
                                                    moz-do-not-send="true">vlad@dev.mellanox.co.il</a>]<br>
                                                  <b>Sent:</b> Tuesday,
                                                  August 14, 2018 9:43
                                                  AM<br>
                                                  <b>To:</b> Becker,
                                                  Jeffrey C.
                                                  (ARC-TN)[InuTeq, LLC]<br>
                                                  <b>Cc:</b> <a
                                                    class="moz-txt-link-abbreviated"
href="mailto:ewg@lists.openfabrics.org" target="_blank"
                                                    moz-do-not-send="true">
ewg@lists.openfabrics.org</a><br>
                                                  <b>Subject:</b> Re:
                                                  OFED 4.17 latest build
                                                  error on SLES15<br>
                                                </font><br>
                                              </div>
                                              <div>
                                                <div
                                                  class="moz-cite-prefix">On
                                                  08/14/2018 12:18 AM,
                                                  Becker, Jeffrey C.
                                                  (ARC-TN)[InuTeq, LLC]
                                                  wrote:<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div
                                                    style="direction:ltr;
                                                    font-family:Tahoma;
                                                    color:#000000;
                                                    font-size:10pt">
                                                    <div>Hi Vlad,<br>
                                                    </div>
                                                    <div><br>
                                                    </div>
                                                    <div
                                                      style="font-family:Times
                                                      New Roman;
                                                      color:#000000;
                                                      font-size:16px">
                                                      <hr tabindex="-1">
                                                      <div
                                                        id="divRpF590945"
style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b>
                                                          Vladimir
                                                          Sokolovsky [<a
class="moz-txt-link-abbreviated" href="mailto:vlad@dev.mellanox.co.il"
                                                          target="_blank"
moz-do-not-send="true">vlad@dev.mellanox.co.il</a>]<br>
                                                          <b>Sent:</b>
                                                          Monday, August
                                                          13, 2018 1:33
                                                          PM<br>
                                                          <b>To:</b>
                                                          Becker,
                                                          Jeffrey C.
                                                          (ARC-TN)[InuTeq,
                                                          LLC]<br>
                                                          <b>Cc:</b> <a
class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org"
target="_blank" moz-do-not-send="true">
ewg@lists.openfabrics.org</a><br>
                                                          <b>Subject:</b>
                                                          Re: OFED 4.17
                                                          latest build
                                                          error on
                                                          SLES15<br>
                                                        </font><br>
                                                      </div>
                                                      <div>
                                                        <div
                                                          class="moz-cite-prefix">On
                                                          08/13/2018
                                                          08:23 PM,
                                                          Becker,
                                                          Jeffrey C.
                                                          (ARC-TN)[InuTeq,
                                                          LLC] wrote:<br>
                                                        </div>
                                                        <blockquote
                                                          type="cite">
                                                          <style type="text/css" id="owaParaStyle">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
p
        {margin-top:0;
        margin-bottom:0}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>
                                                          <div
                                                          style="direction:ltr;
font-family:Tahoma; color:#000000; font-size:10pt">
                                                          <div>It seems
                                                          the following
                                                          backport code
                                                          in 
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c
                                                          didn't work as
                                                          expected:</div>
                                                          <div><br>
                                                          </div>
                                                          <div>#ifdef
                                                          HAVE_INET_CONFIRM_ADDR_EXPORTED<br>
                                                          #ifdef
                                                          HAVE_INET_CONFIRM_ADDR_5_PARAMS<br>
                ret_addr = inet_confirm_addr(net, in_dev, 0,<br>
                                            
                                                          addr_in->sin_addr.s_addr,<br>
                                             RT_SCOPE_HOST);<br>
                                                          #else<br>
                ret_addr = inet_confirm_addr(in_dev, 0,<br>
                                            
                                                          addr_in->sin_addr.s_addr,<br>
                                             RT_SCOPE_HOST);<br>
                                                          #endif<br>
                                                          #else<br>
                ret_addr = confirm_addr_indev(in_dev, 0,<br>
                                             
                                                          addr_in->sin_addr.s_addr,<br>
                                              RT_SCOPE_HOST);<br>
                                                          #endif<br>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                        <br>
                                                        >> Hi
                                                        Jeff,<br>
                                                        >> On
                                                        SLES15
                                                        (4.12.14-16-default)
                                                        I have in
                                                        compat/config.h:<br>
                                                        >> #define
HAVE_INET_CONFIRM_ADDR_5_PARAMS 1<br>
                                                        >> #define
HAVE_INET_CONFIRM_ADDR_EXPORTED 1<br>
                                                        >><br>
                                                        >> So, it
                                                        should use the
                                                        topmost
                                                        inet_confirm_addr
                                                        and not
                                                        confirm_addr_indev.<br>
                                                        >> Did you
                                                        run configure
                                                        script?</div>
                                                      <div><br>
                                                      </div>
                                                      <div>I used
                                                        install.pl in
                                                        the latest.tgz
                                                        top level
                                                        directory. I
                                                        assume that runs
                                                        configure as a
                                                        first step for
                                                        compat_rdma?
                                                        Thanks.</div>
                                                      <div><br>
                                                      </div>
                                                      <div>-jeff<br>
                                                      </div>
                                                      <div><br>
                                                      </div>
                                                      <div>>>
                                                        Regards,<br>
                                                        >>
                                                        Vladimir<br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                                <br>
                                                >> Hi Jeff,<br>
                                                >> Please attach
                                                compat-rdma.rpmbuild.log
                                                (ls -ltr
                                                /tmp/OFED*/compat-rdma.rpmbuild.log)<br>
                                              </div>
                                              <div><br>
                                              </div>
                                              <div>Attached. Thanks.</div>
                                              <div><br>
                                              </div>
                                              <div>-jeff</div>
                                              <div><br>
                                              </div>
                                              <div>>>Regards,<br>
                                                ??Vladimir<br>
                                                <br>
                                                <br>
                                                <blockquote type="cite">
                                                  <div
                                                    style="direction:ltr;
                                                    font-family:Tahoma;
                                                    color:#000000;
                                                    font-size:10pt">
                                                    <div
                                                      style="font-family:Times
                                                      New Roman;
                                                      color:#000000;
                                                      font-size:16px">
                                                      <div><br>
                                                        <br>
                                                        <blockquote
                                                          type="cite">
                                                          <div
                                                          style="direction:ltr;
font-family:Tahoma; color:#000000; font-size:10pt">
                                                          <div><br>
                                                          </div>
                                                          <div
                                                          style="font-family:Times
                                                          New Roman;
                                                          color:#000000;
font-size:16px">
                                                          <hr
                                                          tabindex="-1">
                                                          <div
                                                          id="divRpF440967"
style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b>
                                                          Becker,
                                                          Jeffrey C.
                                                          (ARC-TN)[InuTeq,
                                                          LLC]<br>
                                                          <b>Sent:</b>
                                                          Monday, August
                                                          13, 2018 10:00
                                                          AM<br>
                                                          <b>To:</b>
                                                          Vladimir
                                                          Sokolovsky ý[<a
class="moz-txt-link-abbreviated" href="mailto:vlad@dev.mellanox.co.il"
                                                          target="_blank"
moz-do-not-send="true">vlad@dev.mellanox.co.il</a>]ý<br>
                                                          <b>Cc:</b> <a
class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org"
target="_blank" moz-do-not-send="true">
ewg@lists.openfabrics.org</a><br>
                                                          <b>Subject:</b>
                                                          OFED 4.17
                                                          latest build
                                                          error on
                                                          SLES15<br>
                                                          </font><br>
                                                          </div>
                                                          <div>
                                                          <div
                                                          style="direction:ltr;
font-family:Tahoma; color:#000000; font-size:10pt">
                                                          <div>Hi Vlad,</div>
                                                          <div><br>
                                                          </div>
                                                          <div>I just
                                                          tried to build
                                                          on SLES15 and
                                                          got the
                                                          following
                                                          error:<br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:
                                                          In function
                                                          ‘ipoib_is_dev_match_addr_rcu’:<br>
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:355:14:
                                                          error:
                                                          implicit
                                                          declaration of
                                                          function
                                                          ‘confirm_addr_indev’
[-Werror=implicit-function-declaration]<br>
                                                             ret_addr =
confirm_addr_indev(in_dev, 0,<br>
                                                                       
^~~~~~~~~~~~~~~~~~<br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Is the
                                                          backport for
                                                          SLES15 missing
                                                          something?
                                                          Thanks.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>-jeff<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                        <p><br>
                                                        </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                                <p><br>
                                                </p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                  <p><br>
                                  </p>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                          <p><br>
                          </p>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <p><br>
                  </p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>