[ofa-general] Problem running SDP apps using OFED 1.2

Scott Weitzenkamp (sweitzen) sweitzen at cisco.com
Fri Oct 5 18:37:05 PDT 2007


Does "lsmod | grep sdp" report SDP is loaded on both machines?
 
I would then use strace with the client to watch the socket system calls
happening, to make sure the client is trying to use SDP.
 
Scott


________________________________

	From: Zulfi Imani [mailto:zulfiimani at gmail.com] 
	Sent: Friday, October 05, 2007 4:25 PM
	To: Scott Weitzenkamp (sweitzen)
	Cc: dotanb at dev.mellanox.co.il; general at lists.openfabrics.org
	Subject: Re: [ofa-general] Problem running SDP apps using OFED
1.2
	
	
	I restarted openibd and now my interfaces are up.
	
	mach#1
	ib0       Link encap:InfiniBand  HWaddr
80:00:00:02:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
	          inet addr:140.221.37.46   Bcast:140.221.37.255
Mask:255.255.255.0
	          inet6 addr: fe80::211:7500:ff:d7f2/64 Scope:Link
	
	mach#2
	ib0       Link encap:InfiniBand  HWaddr
80:00:00:03:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 
	          inet addr:140.221.37.32  Bcast:140.221.37.255
Mask:255.255.255.0
	          inet6 addr: fe80::211:7500:ff:d802/64 Scope:Link 
	
	I am able to "ping 140.221.37.46" from machine#2.
	
	mach#2 > ping 140.221.37.46
	PING 140.221.37.46 (140.221.37.46) 56(84) bytes of data.
	64 bytes from 140.221.37.46: icmp_seq=1 ttl=64 time=2.49 ms
	64 bytes from 140.221.37.46: icmp_seq=2 ttl=64 time=0.106 ms
	64 bytes from 140.221.37.46: icmp_seq=3 ttl=64 time=0.098 ms
	--- 140.221.37.46 ping statistics --- 
	3 packets transmitted, 3 received, 0% packet loss, time 2002ms
	rtt min/avg/max/mdev = 0.098/0.900/2.498/1.130 ms
	
	But sockets over SDP still gives me the same "Network
Unreachable error".
	
	--- 140.221.37.46 ping statistics ---
	3 packets transmitted, 3 received, 0% packet loss, time 2002ms
	rtt min/avg/max/mdev = 0.098/0.900/2.498/1.130 ms
	
	
	
	On 10/5/07, Scott Weitzenkamp (sweitzen) <sweitzen at cisco.com>
wrote: 

		Can you ping between the two nodes using the IPoIB IP
address?
		 
		Scott Weitzenkamp
		SQA and Release Manager
		Server Virtualization Business Unit
		Cisco Systems
		 


________________________________

			From: general-bounces at lists.openfabrics.org
[mailto:general-bounces at lists.openfabrics.org] On Behalf Of Zulfi Imani
			Sent: Friday, October 05, 2007 3:01 PM
			To: dotanb at dev.mellanox.co.il
			Cc: general at lists.openfabrics.org
			Subject: Re: [ofa-general] Problem running SDP
apps using OFED 1.2
			
			
			
			Hi Dotan,
			
			ifconfig shows up
			
			ib0       Link encap:InfiniBand  HWaddr
80:00:00:03:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00 
			          inet addr: 140.221.37.32  Bcast:
140.221.37.255 <http://140.221.37.255>   Mask:255.255.255.0
			          inet6 addr: fe80::211:7500:ff:d802/64
Scope:Link 
			          UP BROADCAST RUNNING MULTICAST
MTU:65520  Metric:1
			          RX packets:0 errors:0 dropped:0
overruns:0 frame:0
			          TX packets:1 errors:0 dropped:5
overruns:0 carrier:0
			          collisions:0 txqueuelen:128 
			          RX bytes:0 (0.0 b)  TX bytes:68 (68.0
b)
			
			does this mean that the apps would now use IPoIB
? How do i tell when IPoIB is working and when it isnt ? Because I
assume when it isnt it would default to Ethernet ? 
			
			It will be great if I can get this cleared.
			
			Thanks
			Zulfi
			
			
			On 9/30/07, Dotan Barak <
dotanb at dev.mellanox.co.il <mailto:dotanb at dev.mellanox.co.il> > wrote: 

				Does a simple "ping" between the nodes
is working?
				(this way you can be sure that IPoIB is
working and SDP should work) 
				
				Dotan
				
				
				Zulfi Imani wrote:
				> I have not tried over IPoIB, but
opensm is running
				>
				> /home/zulfi > sminfo
				> sminfo: sm lid 1 sm guid
0x11750000ffdaf4, activity count 16220
				> priority 0 state 3 SMINFO_MASTER 
				>
				> I also tried a few iband utilities and
they all work fine. Not able to
				> run any socket apps over SDP.
				>
				> Thanks
				> Zulfi
				>
				> On 9/27/07, *Jim Mott* <
jimmott at austin.rr.com <mailto:jimmott at austin.rr.com> 
				> <mailto:jimmott at austin.rr.com>> wrote:
				>
				>     Were you able to connect IPoIB
between the nodes?  Are you sure 
				>     opensm was running?  I am ashamed
to admit that occasionally I 
				>     forget to start opensm and wonder
why SDP does not connect.
				>
				>
				>
				>     *From:*
general-bounces at lists.openfabrics.org 
				>     <mailto:
general-bounces at lists.openfabrics.org> [mailto:
				>
general-bounces at lists.openfabrics.org
				>
<mailto:general-bounces at lists.openfabrics.org>] *On Behalf Of
				>     *Zulfi Imani 
				>     *Sent:* Thursday, September 27,
2007 3:22 PM
				>     *To:*
general at lists.openfabrics.org
				>     <mailto:
general at lists.openfabrics.org <mailto:general at lists.openfabrics.org> >
				>     *Subject:* [ofa-general] Problem
running SDP apps using OFED 1.2
				>
				>
				>
				>     Hi,
				>
				>     I installed the OFED1.2 stack and
am trying to run a simple socket
				>     server and client over the SDP
stack. The Infiniband hardware is
				>     QLogic. 
				>
				>     First I set the ENV vars
				>     export
LD_PRELOAD=/root/zulfi/iband/INSTALL/lib64/libsdp.so
				>
				>     export
LIBSDP_CONFIG_FILE=/home/zulfi/libsdp.conf
				>
				>
				>     The SDP config file has: 
				>     *use sdp server * *:*
				>     use sdp client * *:*
				>     *
				>     Then started the socket server and
did a 'sdpnetstat -San' and
				>     found that it listed the SDP port
on which the server was listening. 
				>
				>     On the client machine too I did
the same; exported the variables,
				>     setup the SDP config file and on
running the client './client
				>     port# server_machine' it gave me a
"network not reachable" error. 
				>
				>     I tried to get some information
about the error on the net but
				>     could not find any.
				>
				>     I then checked the
/proc/<pid>/maps file and found that libsdp.so
				>     was being loaded. 
				>     also:
				>     /root > lsmod | grep sdp
				>     ib_sdp                120224  3
				>
				>     Does QLogic support SDP
applications ? Or am I missing something
				>     in the SDP config file or do I
need to make changes to my code ? 
				>
				>     Any information on this will be a
big help.
				>
				>     Thanks,
				>     Zulfi
				>
				>
				>
				>
				>
				>
				> --
				> Regs,
				> Zulfi
				>
------------------------------------------------------------------------

				>
				>
_______________________________________________
				> general mailing list
				> general at lists.openfabrics.org
				>
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
				>
				> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general 
				
				




			-- 
			Regs,
			Zulfi 




	-- 
	Regs,
	Zulfi 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071005/6a091cd0/attachment.html>


More information about the general mailing list