<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=786213601-06102007><FONT face=Arial
color=#0000ff size=2>Does "lsmod | grep sdp" report SDP is loaded on both
machines?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=786213601-06102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=786213601-06102007><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=786213601-06102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=786213601-06102007><FONT face=Arial
color=#0000ff size=2>Scott</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Zulfi Imani
[mailto:zulfiimani@gmail.com] <BR><B>Sent:</B> Friday, October 05, 2007 4:25
PM<BR><B>To:</B> Scott Weitzenkamp (sweitzen)<BR><B>Cc:</B>
dotanb@dev.mellanox.co.il; general@lists.openfabrics.org<BR><B>Subject:</B>
Re: [ofa-general] Problem running SDP apps using OFED 1.2<BR></FONT><BR></DIV>
<DIV></DIV>I restarted openibd and now my interfaces are
up.<BR><BR>mach#1<BR>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<BR>
inet addr:<A href="http://140.221.37.46">140.221.37.46 </A> Bcast:<A
href="http://140.221.37.255">140.221.37.255</A> Mask:<A
href="http://255.255.255.0">255.255.255.0</A><BR>
inet6 addr: fe80::211:7500:ff:d7f2/64
Scope:Link<BR><BR>mach#2<BR>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
<BR> inet addr:<A
href="http://140.221.37.32">140.221.37.32</A> Bcast:<A
href="http://140.221.37.255">140.221.37.255</A> Mask:<A
href="http://255.255.255.0">255.255.255.0</A><BR>
inet6 addr: fe80::211:7500:ff:d802/64 Scope:Link <BR><BR>I am able to "ping <A
href="http://140.221.37.46">140.221.37.46</A>" from machine#2.<BR><BR>mach#2
> ping <A href="http://140.221.37.46">140.221.37.46</A><BR>PING <A
href="http://140.221.37.46">140.221.37.46 </A>(<A
href="http://140.221.37.46">140.221.37.46</A>) 56(84) bytes of data.<BR>64
bytes from <A href="http://140.221.37.46">140.221.37.46</A>: icmp_seq=1 ttl=64
time=2.49 ms<BR>64 bytes from <A
href="http://140.221.37.46">140.221.37.46</A>: icmp_seq=2 ttl=64 time=0.106
ms<BR>64 bytes from <A href="http://140.221.37.46">140.221.37.46</A>:
icmp_seq=3 ttl=64 time=0.098 ms<BR>--- <A
href="http://140.221.37.46">140.221.37.46</A> ping statistics --- <BR>3
packets transmitted, 3 received, 0% packet loss, time 2002ms<BR>rtt
min/avg/max/mdev = 0.098/0.900/2.498/1.130 ms<BR><BR>But sockets over SDP
still gives me the same "Network Unreachable error".<BR><BR>--- <A
href="http://140.221.37.46">140.221.37.46</A> ping statistics ---<BR>3 packets
transmitted, 3 received, 0% packet loss, time 2002ms<BR>rtt min/avg/max/mdev =
0.098/0.900/2.498/1.130 ms<BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 10/5/07, <B class=gmail_sendername>Scott
Weitzenkamp (sweitzen)</B> <<A
href="mailto:sweitzen@cisco.com">sweitzen@cisco.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Can you
ping between the two nodes using the IPoIB IP address?</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>Scott Weitzenkamp</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>SQA and Release Manager</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Server Virtualization Business
Unit</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Cisco Systems</FONT></DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general-bounces@lists.openfabrics.org"
target=_blank>general-bounces@lists.openfabrics.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general-bounces@lists.openfabrics.org"
target=_blank>general-bounces@lists.openfabrics.org</A>] <B>On Behalf Of
</B>Zulfi Imani<BR><B>Sent:</B> Friday, October 05, 2007 3:01
PM<BR><B>To:</B> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dotanb@dev.mellanox.co.il"
target=_blank>dotanb@dev.mellanox.co.il</A><BR><B>Cc:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general@lists.openfabrics.org"
target=_blank>general@lists.openfabrics.org</A><BR><B>Subject:</B> Re:
[ofa-general] Problem running SDP apps using OFED 1.2<BR></FONT><BR></DIV>
<DIV><SPAN class=e id=q_11572364c075c398_1>
<DIV></DIV>Hi Dotan,<BR><BR>ifconfig shows
up<BR><BR>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
<BR> inet addr: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://140.221.37.32" target=_blank>140.221.37.32</A> Bcast:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://140.221.37.255" target=_blank> 140.221.37.255</A>
Mask:<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://255.255.255.0"
target=_blank>255.255.255.0</A><BR>
inet6 addr: fe80::211:7500:ff:d802/64 Scope:Link
<BR> UP BROADCAST
RUNNING MULTICAST MTU:65520
Metric:1<BR> RX
packets:0 errors:0 dropped:0 overruns:0
frame:0<BR> TX
packets:1 errors:0 dropped:5 overruns:0
carrier:0<BR>
collisions:0 txqueuelen:128
<BR> RX bytes:0 (0.0
b) TX bytes:68 (68.0 b)<BR><BR>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 ? <BR><BR>It
will be great if I can get this cleared.<BR><BR>Thanks<BR>Zulfi<BR><BR>
<DIV><SPAN class=gmail_quote>On 9/30/07, <B class=gmail_sendername>Dotan
Barak</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dotanb@dev.mellanox.co.il" target=_blank>
dotanb@dev.mellanox.co.il </A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Does
a simple "ping" between the nodes is working?<BR>(this way you can be
sure that IPoIB is working and SDP should work)
<BR><BR>Dotan<BR><BR><BR>Zulfi Imani wrote:<BR>> I have not tried
over IPoIB, but opensm is running<BR>><BR>> /home/zulfi >
sminfo<BR>> sminfo: sm lid 1 sm guid 0x11750000ffdaf4, activity count
16220<BR>> priority 0 state 3 SMINFO_MASTER <BR>><BR>> I also
tried a few iband utilities and they all work fine. Not able to<BR>>
run any socket apps over SDP.<BR>><BR>> Thanks<BR>>
Zulfi<BR>><BR>> On 9/27/07, *Jim Mott* <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jimmott@austin.rr.com" target=_blank>
jimmott@austin.rr.com</A><BR>> <mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jimmott@austin.rr.com"
target=_blank>jimmott@austin.rr.com</A>>>
wrote:<BR>><BR>> Were you able to connect
IPoIB between the nodes? Are you sure
<BR>> opensm was running? I am
ashamed to admit that occasionally I <BR>>
forget to start opensm and wonder why SDP does not
connect.<BR>><BR>><BR>><BR>> *From:*
<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general-bounces@lists.openfabrics.org"
target=_blank>general-bounces@lists.openfabrics.org
</A><BR>> <mailto: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general-bounces@lists.openfabrics.org"
target=_blank>general-bounces@lists.openfabrics.org</A>>
[mailto:<BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general-bounces@lists.openfabrics.org"
target=_blank>general-bounces@lists.openfabrics.org</A><BR>>
<mailto:<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general-bounces@lists.openfabrics.org"
target=_blank>general-bounces@lists.openfabrics.org</A>>] *On Behalf
Of<BR>> *Zulfi Imani
<BR>> *Sent:* Thursday, September 27, 2007
3:22 PM<BR>> *To:* <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general@lists.openfabrics.org"
target=_blank>general@lists.openfabrics.org</A><BR>>
<mailto:<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general@lists.openfabrics.org" target=_blank>
general@lists.openfabrics.org</A>><BR>>
*Subject:* [ofa-general] Problem running SDP apps using OFED
1.2<BR>><BR>><BR>><BR>>
Hi,<BR>><BR>> I installed the OFED1.2
stack and am trying to run a simple
socket<BR>> server and client over the SDP
stack. The Infiniband hardware is<BR>>
QLogic. <BR>><BR>> First I set the ENV
vars<BR>> export
LD_PRELOAD=/root/zulfi/iband/INSTALL/lib64/libsdp.so<BR>><BR>>
export
LIBSDP_CONFIG_FILE=/home/zulfi/libsdp.conf<BR>><BR>><BR>>
The SDP config file has: <BR>> *use sdp
server * *:*<BR>> use sdp client *
*:*<BR>> *<BR>>
Then started the socket server and did a 'sdpnetstat -San'
and<BR>> found that it listed the SDP port on
which the server was listening. <BR>><BR>>
On the client machine too I did the same; exported the
variables,<BR>> setup the SDP config file and
on running the client './client<BR>> port#
server_machine' it gave me a "network not reachable" error.
<BR>><BR>> I tried to get some information
about the error on the net but<BR>> could not
find any.<BR>><BR>> I then checked the
/proc/<pid>/maps file and found that
libsdp.so<BR>> was being loaded.
<BR>> also:<BR>>
/root > lsmod | grep sdp<BR>>
ib_sdp 120224 3<BR>><BR>>
Does QLogic support SDP applications ? Or am I missing
something<BR>> in the SDP config file or do I
need to make changes to my code ?
<BR>><BR>> Any information on this will be
a big help.<BR>><BR>>
Thanks,<BR>>
Zulfi<BR>><BR>><BR>><BR>><BR>><BR>><BR>> --<BR>>
Regs,<BR>> Zulfi<BR>>
------------------------------------------------------------------------
<BR>><BR>> _______________________________________________<BR>>
general mailing list<BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:general@lists.openfabrics.org"
target=_blank>general@lists.openfabrics.org</A><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general"
target=_blank>http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general</A><BR>><BR>>
To unsubscribe, please visit <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://openib.org/mailman/listinfo/openib-general"
target=_blank>http://openib.org/mailman/listinfo/openib-general</A>
<BR><BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Regs,<BR>Zulfi
</SPAN></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>--
<BR>Regs,<BR>Zulfi </BLOCKQUOTE></BODY></HTML>