Re: [ewg] libmlx4 build error in 1-19 build

2010-01-21 Thread Eli Cohen
Hi Tung,

I just checked this on OFED-1.5.1-20100120-0600.tgz and it worked
without problem. Since nothing has changed in libmlx4 and the last few
days, it shouldn't matter which version I chose. I believe the problem
is with old header files in your system. Please remove old header
files under /usr/include/infiniband or /usr/local/include/infiniband.

The system I was using is sles11 x86_64.

On Wed, Jan 20, 2010 at 09:48:41AM -0700, Tung, Chien Tin wrote:
 I pulled down OFED 1.5.1 (OFED-1.5.1-20100119-0600.tgz, non-RDMAoE version) 
 and got this error (install.pl --hpc):
 
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -D_GNU_SOURCE -O2 -g -pipe -Wall 
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
 --param=ssp-buffer-size=4 -m64 -mtune=generic -MT buf.lo -MD -MP -MF 
 .deps/buf.Tpo -c src/buf.c -o buf.o /dev/null 21
 src/verbs.c: In function 'mlx4_create_ah':
 src/verbs.c:686: error: 'struct ibv_port_attr' has no member named 
 'link_layer'
 src/verbs.c:686: error: 'IBV_LINK_LAYER_ETHERNET' undeclared (first use in 
 this function)
 src/verbs.c:686: error: (Each undeclared identifier is reported only once
 src/verbs.c:686: error: for each function it appears in.)
 src/verbs.c:687: warning: implicit declaration of function 'ibv_cmd_get_mac'
 make[1]: *** [verbs.lo] Error 1
 make[1]: *** Waiting for unfinished jobs
 
 
 similar error in MVAPICH as well.
 
 Perhaps something from RDMAoE leaked into this one?
 
 Chien
 
 --
 Chien Tung | chien.tin.t...@intel.com
 
 
 
 ___
 ewg mailing list
 ewg@lists.openfabrics.org
 http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Re: [ewg] OFED-1.5.1 failure over iWarp

2010-01-21 Thread Woodruff, Robert J


On the server side, if I do not specify an address,
the server starts

[wo...@det-17 src]$ 
[wo...@det-17 src]$ /sbin/ifconfig 
eth0  Link encap:Ethernet  HWaddr 00:04:23:AF:8E:CE  
  inet addr:192.168.0.17  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::204:23ff:feaf:8ece/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1544 errors:0 dropped:0 overruns:0 frame:0
  TX packets:991 errors:0 dropped:0 overruns:0 carrier:0
  collisions:41 txqueuelen:100 
  RX bytes:360766 (352.3 KiB)  TX bytes:131310 (128.2 KiB)
  Base address:0xdc00 Memory:f9fa-f9fc 

eth1  Link encap:Ethernet  HWaddr 00:04:23:AF:8E:CF  
  inet addr:192.168.1.17  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  Base address:0xdc80 Memory:f9fe-fa00 

eth2  Link encap:Ethernet  HWaddr 00:12:55:02:AE:CC  
  inet addr:192.168.2.17  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::212:55ff:fe02:aecc/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:34136 errors:0 dropped:0 overruns:0 frame:0
  TX packets:35012 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:2863188 (2.7 MiB)  TX bytes:2907831 (2.7 MiB)
  Interrupt:169 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:930 errors:0 dropped:0 overruns:0 frame:0
  TX packets:930 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:70925 (69.2 KiB)  TX bytes:70925 (69.2 KiB)

[wo...@det-17 src]$ 
[wo...@det-17 src]$ 
[wo...@det-17 src]$ ucmatose 
cmatose: starting server


But on the client, it fails on any of the ip addresses,
but differently on 192.168.1.17.

 ucmatose -s  192.168.0.17
cmatose: starting client
cmatose: connecting
cmatose: event: RDMA_CM_EVENT_ADDR_ERROR, error: -2
receiving data transfers
sending replies
data transfers complete
test complete
return status 0

 ucmatose -s  192.168.1.17
cmatose: starting client
cmatose: connecting
cmatose: event: RDMA_CM_EVENT_ADDR_ERROR, error: -110
receiving data transfers
sending replies
data transfers complete
test complete
return status 0

 ucmatose -s  192.168.2.17
cmatose: starting client
cmatose: connecting
cmatose: event: RDMA_CM_EVENT_ADDR_ERROR, error: -2
receiving data transfers
sending replies
data transfers complete
test complete
return status 0
[wo...@det-16 ~]$

 

-Original Message-
From: Hefty, Sean 
Sent: Wednesday, January 20, 2010 9:30 PM
To: Woodruff, Robert J; tzipo...@dev.mellanox.co.il; Tung, Chien Tin; Davis, 
Arlin R
Cc: OpenFabrics EWG; Steve Wise; Eli Cohen; Vladimir Sokolovsky
Subject: RE: [ewg] OFED-1.5.1 failure over iWarp

[wo...@det-16 ~]$ ucmatose -s  192.168.2.17
cmatose: starting client

Btw - this should be 'ucmatose -s 192.168.0.17', and needs to start
after the server is running.  But, this isn't going to work since...

[wo...@det-17 src]$ ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:04:23:AF:8E:CE
  inet addr:192.168.0.17  Bcast:192.168.0.255
Mask:255.255.255.0
  inet6 addr: fe80::204:23ff:feaf:8ece/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1272 errors:0 dropped:0 overruns:0 frame:0
  TX packets:909 errors:0 dropped:0 overruns:0 carrier:0
  collisions:41 txqueuelen:100
  RX bytes:309724 (302.4 KiB)  TX bytes:123706 (120.8 KiB)
  Base address:0xdc00 Memory:f9fa-f9fc

[wo...@det-17 src]$ ucmatose -b 192.168.0.17
cmatose: starting server
cmatose: bind address failed: No such file or directory

the server is failing.

Can anyone test ucmatose over iwarp on the latest kernel.org kernel?

- Sean

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


[ewg] OFED 1.4.2 Build Failure

2010-01-21 Thread Jonathan Green
When I attempt to build OFED 1.4.2 on FC9 1.6.25-14 I get the following
error.

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'
/OFED-1.4.2/SRPMS/libmthca-1.0.5-1.ofed1.4.2.src.rpm
Failed to build libmthca RPM
See /tmp/OFED.21908.logs/libmthca.rpmbuild.log

libmthca.rpmbuild.log is attached.

Thanks,
Jon


libmthca.rpmbuild.log
Description: Binary data
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg