Re: [ewg] perftest build issue with OFED

2017-12-18 Thread Amrani, Ram
Thank you!

Ram


From: Vladimir Sokolovsky [mailto:v...@dev.mellanox.co.il]
Sent: Monday, December 18, 2017 9:43 PM
To: Amrani, Ram 
Cc: ewg@lists.openfabrics.org
Subject: Re: perftest build issue with OFED


Hi Ram,

I fixed this in the install.pl by:



diff --git a/install.pl b/install.pl
index 1cdfc02..1fd894b 100755
--- a/install.pl
+++ b/install.pl
@@ -1038,7 +1038,7 @@ my %packages_info = (
 { name => "perftest", parent => "perftest",
 selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0,
 available => 1, mode => "user", dist_req_build => [],
-dist_req_inst => [], ofa_req_build => ["rdma-core"],
+dist_req_inst => [], ofa_req_build => ["rdma-core-devel"],
 ofa_req_inst => ["rdma-core"],
 install32 => 0, exception => 0, configure_options => '' },
 'perftest-debuginfo' =>
Thanks,
Vladimir
On 12/18/2017 07:29 PM, Amrani, Ram wrote:
Hi Vlad,
I'm hitting an issue when building OFED from git repos that complains about 
perftest:

This is seen on screen:
[root@lbtlvb-pcie127 OFED-4.8-2-rx]# ./install.pl -c ofed-all.conf

Below is the list of OFED packages that you have chosen
(some may have been added by the installer due to package dependencies):

ofed-scripts
compat-rdma
rdma-core
libibverbs
librdmacm
libibumad
libibcm
perftest

Uninstalling the previous version of OFED
Install ofed-scripts RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/ofed-scripts-4.8-2.1.g2af9969.x86_64.rpm
Build compat-rdma RPM
Running rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' --nodeps 
--define '_dist .rhel7u4' --define 'configure_options   --with-core-mod 
--with-user_mad-mod --with-user_access-mod --with-addr_trans-mod 
--with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-qed-mod 
--with-firmware-mod --with-qede-mod --with-qedr-mod' --define 'KVERSION 
3.10.0-693.el7.x86_64' --define 'K_SRC 
/lib/modules/3.10.0-693.el7.x86_64/source' --define 'K_SRC_OBJ 
/lib/modules/3.10.0-693.el7.x86_64/build' --define '_release 
2.1.g1b2e6e1.3.10.0_693.el7.x86_64' --define 'network_dir 
/etc/sysconfig/network-scripts' --define '_prefix /usr' --define 
'__arch_install_post %{nil}' 
/tmp/OFED-4.8-2-rx/SRPMS/compat-rdma-4.8-2.1.g1b2e6e1.src.rpm
Install compat-rdma RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/compat-rdma-4.8-2.1.g1b2e6e1.3.10.0_693.el7.x86_64.x86_64.rpm
Build rdma-core RPM
Running  rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' --define 
'dist %{nil}' --target x86_64 --define '_prefix /usr' --define '_exec_prefix 
/usr' --define '_sysconfdir /etc' --define '_usr /usr' 
/tmp/OFED-4.8-2-rx/SRPMS/RH/rdma-core-16.0-1.src.rpm
Install rdma-core RPM:
Running rpm -iv  --nodeps 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/rdma-core-16.0-1.x86_64.rpm
Install libibverbs RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibverbs-16.0-1.x86_64.rpm
Install librdmacm RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/librdmacm-16.0-1.x86_64.rpm
Install libibumad RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibumad-16.0-1.x86_64.rpm
Install libibcm RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibcm-16.0-1.x86_64.rpm
Build perftest RPM
Running  rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' --define 
'dist %{nil}' --target x86_64 --nodeps --define '_prefix /usr' --define 
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr' 
/tmp/OFED-4.8-2-rx/SRPMS/perftest-4.1-0.2.g770623f.src.rpm
Failed to build perftest RPM
See /tmp/OFED.65000.logs/perftest.rpmbuild.log


The file contents:
...
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-redhat-linux-gnu-ranlib... ranlib
checking for ANSI C header files... (cached) yes
checking infiniband/verbs.h usability... no
checking infiniband/verbs.h presence... no
checking for infiniband/verbs.h... no
configure: error: ibverbs header files not found
error: Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)


RPM build errors:
bogus date in %changelog: Sat Oct 21 2012 - 
i...@mellanox.com
bogus date in %changelog: Sun May 14 2012 - 
i...@mellanox.com
bogus date in %changelog: Sun Feb 02 2012 - 
i...@mellanox.com
bogus date in %changelog: Sun Feb 02 2012 - 
i...@mellanox.com
bogus date in %changelog: Mon Jan 01 2012 - 
i...@mellanox.com
Bad exit status from /var/tmp/rpm-tmp.suWGld (%build

[ewg] OFA EWG Meeting: Monday, Dec 18th, 2017, 09:00 AM US Pacific Time (12pm EST) - Minutes

2017-12-18 Thread Davis, Arlin R
Attendees  Company
Pradeep Kankipati Broadcom
Robert Woodruff   Intel
Arlin Davis  Intel
Bill SchmidtIntel
Tatyana Nikolova  Intel
Jim RyanOFA
Vladimir SokolovskyMellanox
Rupert DanceSW Forge
Ram Amrani  Cavium


Minutes:



*Opens

*   Discussion on next major release and targeted kernel version; defer until 
January

*   Board approval for OFED 4.8.2, IWG/EWG cooperation, interop equipment needs

?  Arlin to contact Susan and get OFED 4.8-2 approval on Board agenda (DONE)

?  Arlin agreed to attend IWG meetings, he will coordinate with Paul Bowden

?  Software Forge has provided equipment, used own budget in the past

?  Going forward we need OFA/IBTA budgeting or more HW vendor donations?

*   Problem with OFED "without dependency" installation option?

?  Can potentially cause operational errors; readme may not be enough warning?

?  Tatyana's particular issue can be resolved by adding another dependency 
during OFED installation. Work with Vlad to update OFED installation 
dependencies.

*OFED 4.8-2

*RH7.4 and SLES12.3 backport update (base is running fine)

?  Kernel: IB core, mlx4, mlx5, IPoIB, iSER, SRP all working

?  Package updates: rdma_core-v16, perftest 4.1-0.2

*Known issues:
- SLES12 SP3 compilation fails for: qib (patch submitted but still fails)
- RHEL7.4 compilation fails for: bnxt , qedr (still working/testing patches)

- perftest build issue; Vlad posted patch to ewg mailing list.

*Bug Status (following bugs are minor; agreed to defer - non blocking 
for 4.8-2)

?  2643 - perftest 
not properly syncing between client and server

?  2661 - rstream 
intermittent error: connection refused (stale connection)

*OFED 4.8-1 RC schedule

?  Still working patches and testing; not likely to hit RC1 this year.

?  Vlad's last day to include patches for a daily build will be Tuesday Dec 19th

?  Please make best effort to get Vlad your fixes early on Tuesday.



Please feel free to correct any omissions.



Regards,



Arlin






___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg

Re: [ewg] perftest build issue with OFED

2017-12-18 Thread Vladimir Sokolovsky

Hi Ram,

I fixed this in the install.pl by:


diff --git a/install.pl b/install.pl
index 1cdfc02..1fd894b 100755
--- a/install.pl
+++ b/install.pl
@@ -1038,7 +1038,7 @@ my %packages_info = (
 { name => "perftest", parent => "perftest",
 selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 
=> 0,

 available => 1, mode => "user", dist_req_build => [],
-    dist_req_inst => [], ofa_req_build => ["rdma-core"],
+    dist_req_inst => [], ofa_req_build => ["rdma-core-devel"],
 ofa_req_inst => ["rdma-core"],
 install32 => 0, exception => 0, configure_options => '' },
 'perftest-debuginfo' =>

Thanks,
Vladimir

On 12/18/2017 07:29 PM, Amrani, Ram wrote:


Hi Vlad,

I’m hitting an issue when building OFED from git repos that complains 
about perftest:


_This is seen on screen:_

[root@lbtlvb-pcie127 OFED-4.8-2-rx]# ./install.pl -c ofed-all.conf

Below is the list of OFED packages that you have chosen

(some may have been added by the installer due to package dependencies):

ofed-scripts

compat-rdma

rdma-core

libibverbs

librdmacm

libibumad

libibcm

perftest

Uninstalling the previous version of OFED

Install ofed-scripts RPM:

Running rpm -iv 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/ofed-scripts-4.8-2.1.g2af9969.x86_64.rpm


Build compat-rdma RPM

Running rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' 
--nodeps --define '_dist .rhel7u4' --define 'configure_options   
--with-core-mod --with-user_mad-mod --with-user_access-mod 
--with-addr_trans-mod --with-mlx4-mod --with-mlx4_en-mod 
--with-mlx5-mod --with-qed-mod --with-firmware-mod --with-qede-mod 
--with-qedr-mod' --define 'KVERSION 3.10.0-693.el7.x86_64' --define 
'K_SRC /lib/modules/3.10.0-693.el7.x86_64/source' --define 'K_SRC_OBJ 
/lib/modules/3.10.0-693.el7.x86_64/build' --define '_release 
2.1.g1b2e6e1.3.10.0_693.el7.x86_64' --define 'network_dir 
/etc/sysconfig/network-scripts' --define '_prefix /usr' --define 
'__arch_install_post %{nil}' 
/tmp/OFED-4.8-2-rx/SRPMS/compat-rdma-4.8-2.1.g1b2e6e1.src.rpm


Install compat-rdma RPM:

Running rpm -iv 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/compat-rdma-4.8-2.1.g1b2e6e1.3.10.0_693.el7.x86_64.x86_64.rpm


Build rdma-core RPM

Running  rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' 
--define 'dist %{nil}' --target x86_64 --define '_prefix /usr' 
--define '_exec_prefix /usr' --define '_sysconfdir /etc' --define 
'_usr /usr' /tmp/OFED-4.8-2-rx/SRPMS/RH/rdma-core-16.0-1.src.rpm


Install rdma-core RPM:

Running rpm -iv  --nodeps 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/rdma-core-16.0-1.x86_64.rpm


Install libibverbs RPM:

Running rpm -iv 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibverbs-16.0-1.x86_64.rpm


Install librdmacm RPM:

Running rpm -iv 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/librdmacm-16.0-1.x86_64.rpm


Install libibumad RPM:

Running rpm -iv 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibumad-16.0-1.x86_64.rpm


Install libibcm RPM:

Running rpm -iv 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibcm-16.0-1.x86_64.rpm


Build perftest RPM

Running  rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' 
--define 'dist %{nil}' --target x86_64 --nodeps --define '_prefix 
/usr' --define '_exec_prefix /usr' --define '_sysconfdir /etc' 
--define '_usr /usr' 
/tmp/OFED-4.8-2-rx/SRPMS/perftest-4.1-0.2.g770623f.src.rpm


Failed to build perftest RPM

See /tmp/OFED.65000.logs/perftest.rpmbuild.log

_The file contents:_

…

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes


checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for x86_64-redhat-linux-gnu-ranlib... ranlib

checking for ANSI C header files... (cached) yes

checking infiniband/verbs.h usability... no

checking infiniband/verbs.h presence... no

checking for infiniband/verbs.h... no

configure: error: ibverbs header files not found

error: Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)

RPM build errors:

    bogus date in %changelog: Sat Oct 21 2012 - i...@mellanox.com

    bogus date in %changelog: Sun May 14 2012 - i...@mellanox.com

    bogus date in %changelog: Sun Feb 02 2012 - i...@mellanox.com

    bogus date in %changelog: Sun Feb 02 2012 - i...@mellanox.com

    bogus date in %changelog: Mon Jan 01 2012 - i...@mellanox.com

    Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)

It seems as if the perftest aren’t built against rdma-core that is 
included.


Thanks,

Ram



___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg

[ewg] perftest build issue with OFED

2017-12-18 Thread Amrani, Ram
Hi Vlad,
I'm hitting an issue when building OFED from git repos that complains about 
perftest:

This is seen on screen:
[root@lbtlvb-pcie127 OFED-4.8-2-rx]# ./install.pl -c ofed-all.conf

Below is the list of OFED packages that you have chosen
(some may have been added by the installer due to package dependencies):

ofed-scripts
compat-rdma
rdma-core
libibverbs
librdmacm
libibumad
libibcm
perftest

Uninstalling the previous version of OFED
Install ofed-scripts RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/ofed-scripts-4.8-2.1.g2af9969.x86_64.rpm
Build compat-rdma RPM
Running rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' --nodeps 
--define '_dist .rhel7u4' --define 'configure_options   --with-core-mod 
--with-user_mad-mod --with-user_access-mod --with-addr_trans-mod 
--with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-qed-mod 
--with-firmware-mod --with-qede-mod --with-qedr-mod' --define 'KVERSION 
3.10.0-693.el7.x86_64' --define 'K_SRC 
/lib/modules/3.10.0-693.el7.x86_64/source' --define 'K_SRC_OBJ 
/lib/modules/3.10.0-693.el7.x86_64/build' --define '_release 
2.1.g1b2e6e1.3.10.0_693.el7.x86_64' --define 'network_dir 
/etc/sysconfig/network-scripts' --define '_prefix /usr' --define 
'__arch_install_post %{nil}' 
/tmp/OFED-4.8-2-rx/SRPMS/compat-rdma-4.8-2.1.g1b2e6e1.src.rpm
Install compat-rdma RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/compat-rdma-4.8-2.1.g1b2e6e1.3.10.0_693.el7.x86_64.x86_64.rpm
Build rdma-core RPM
Running  rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' --define 
'dist %{nil}' --target x86_64 --define '_prefix /usr' --define '_exec_prefix 
/usr' --define '_sysconfdir /etc' --define '_usr /usr' 
/tmp/OFED-4.8-2-rx/SRPMS/RH/rdma-core-16.0-1.src.rpm
Install rdma-core RPM:
Running rpm -iv  --nodeps 
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/rdma-core-16.0-1.x86_64.rpm
Install libibverbs RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibverbs-16.0-1.x86_64.rpm
Install librdmacm RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/librdmacm-16.0-1.x86_64.rpm
Install libibumad RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibumad-16.0-1.x86_64.rpm
Install libibcm RPM:
Running rpm -iv  
/tmp/OFED-4.8-2-rx/RPMS/redhat-release-server-7.4-18.el7/x86_64/libibcm-16.0-1.x86_64.rpm
Build perftest RPM
Running  rpmbuild --rebuild  --define '_topdir /var/tmp//OFED_topdir' --define 
'dist %{nil}' --target x86_64 --nodeps --define '_prefix /usr' --define 
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr' 
/tmp/OFED-4.8-2-rx/SRPMS/perftest-4.1-0.2.g770623f.src.rpm
Failed to build perftest RPM
See /tmp/OFED.65000.logs/perftest.rpmbuild.log


The file contents:
...
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-redhat-linux-gnu-ranlib... ranlib
checking for ANSI C header files... (cached) yes
checking infiniband/verbs.h usability... no
checking infiniband/verbs.h presence... no
checking for infiniband/verbs.h... no
configure: error: ibverbs header files not found
error: Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)


RPM build errors:
bogus date in %changelog: Sat Oct 21 2012 - i...@mellanox.com
bogus date in %changelog: Sun May 14 2012 - i...@mellanox.com
bogus date in %changelog: Sun Feb 02 2012 - i...@mellanox.com
bogus date in %changelog: Sun Feb 02 2012 - i...@mellanox.com
bogus date in %changelog: Mon Jan 01 2012 - i...@mellanox.com
Bad exit status from /var/tmp/rpm-tmp.suWGld (%build)


It seems as if the perftest aren't built against rdma-core that is included.

Thanks,
Ram

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg

Re: [ewg] [GIT PULL compat-rdma] Update qib backport for SLES 12.3

2017-12-18 Thread Vladimir Sokolovsky

On 12/18/2017 04:18 PM, Czeszun, Tomasz wrote:


Hi Vlad,

Please pull from 
git://flatbed.openfabrics.org/~tomaszc/compat-rdma:for_vlad


commit 12506c84ba4bb39de2ce891510ba323adb00cf9e  –  Update qib 
backport for SLES 12.3


Thanks,

Tomasz




Hi Tomasz,
This patch fails to be applied:
# ./scripts/admin_rdma.sh -n -p

Applying backport patch^[[00m: ^[[34mpatches/0010-BACKPORT-qib.patch^[[00m
patching file drivers/infiniband/hw/qib/qib_file_ops.c
patching file drivers/infiniband/hw/qib/qib_fs.c
patching file drivers/infiniband/hw/qib/qib_init.c
patching file drivers/infiniband/hw/qib/qib_user_pages.c
Hunk #2 FAILED at 72.
1 out of 2 hunks FAILED -- saving rejects to file 
drivers/infiniband/hw/qib/qib_user_pages.c.rej

patching file drivers/infiniband/hw/qib/qib_pcie.c
Hunk #1 succeeded at 187 with fuzz 2.
Hunk #2 succeeded at 236 with fuzz 2.
^[[31mPatching patches/0010-BACKPORT-qib.patch failed^[[00m, update it


Regards,
Vladimir


-
*Intel Technology Poland sp. z o.o.
*ul. Słowackiego 173 | 80-298 Gdańsk | Sąd Rejonowy Gdańsk Północ | 
VII Wydział Gospodarczy Krajowego Rejestru Sądowego - KRS 101882 | NIP 
957-07-52-316 | Kapitał zakładowy 200.000 PLN.


Ta wiadomość wraz z załącznikami jest przeznaczona dla określonego 
adresata i może zawierać informacje poufne. W razie przypadkowego 
otrzymania tej wiadomości, prosimy o powiadomienie nadawcy oraz trwałe 
jej usunięcie; jakiekolwiek przeglądanie lub rozpowszechnianie jest 
zabronione.
This e-mail and any attachments may contain confidential material for 
the sole use of the intended recipient(s). If you are not the intended 
recipient, please contact the sender and delete all copies; any review 
or distribution by others is strictly prohibited.




___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg


___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg

[ewg] [GIT PULL compat-rdma] Update qib backport for SLES 12.3

2017-12-18 Thread Czeszun, Tomasz

Hi Vlad,

Please pull from git://flatbed.openfabrics.org/~tomaszc/compat-rdma:for_vlad
commit 12506c84ba4bb39de2ce891510ba323adb00cf9e  -  Update qib backport for 
SLES 12.3
Thanks,
Tomasz


Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial 
Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | 
Kapital zakladowy 200.000 PLN.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i 
moze zawierac informacje poufne. W razie przypadkowego otrzymania tej 
wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; 
jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). If you are not the intended recipient, please 
contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/mailman/listinfo/ewg