<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [openib-general] Re: dapl_ep_connect problems</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>As far as i know NetApp's filer does not have ipoib .</FONT>
<BR><FONT SIZE=2>You must have ATS in your system in order to work.</FONT>
<BR><FONT SIZE=2>if you are using opensm try to enable debug and check that both sides </FONT>
<BR><FONT SIZE=2>register ATS servise record "set" and that your system get correct reply to the ATS "get".</FONT>
</P>
<P><FONT SIZE=2> Itamar</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Aniruddha Bohra [<A HREF="mailto:bohra@cs.rutgers.edu">mailto:bohra@cs.rutgers.edu</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, September 12, 2005 8:51 PM</FONT>
<BR><FONT SIZE=2>To: Arlin Davis</FONT>
<BR><FONT SIZE=2>Cc: openib-general@openib.org</FONT>
<BR><FONT SIZE=2>Subject: [openib-general] Re: dapl_ep_connect problems</FONT>
</P>
<BR>
<P><FONT SIZE=2>Arlin Davis wrote:</FONT>
</P>
<P><FONT SIZE=2>> Aniruddha Bohra wrote:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>> Hello,</FONT>
<BR><FONT SIZE=2>>> I tried connecting 2 endpoints using the new uDAPL library.</FONT>
<BR><FONT SIZE=2>>> The connection fails with an invalid route option.</FONT>
<BR><FONT SIZE=2>>> Attached is the log with DAT_DBG_TYPE=0xffff and DAPL_DBG_TYPE=0xffff.</FONT>
<BR><FONT SIZE=2>>> I traced the call to ib_at_route_by_ip(),</FONT>
<BR><FONT SIZE=2>>> It seems like all the arguments (dst_ip, src_ip, r_qual..) are 0x00.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> I have also attached my dat.conf, lsmod, /etc/ibhosts, and /etc/hosts.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> Could you please direct me where to look?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Looks like your configuration is ok.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> The debug message prints the dest GID on return which is a little </FONT>
<BR><FONT SIZE=2>> misleading since the route information is not updated until the async </FONT>
<BR><FONT SIZE=2>> callback fires. I will change this to print the src and dst ip addresses.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> What address are you using for dap_ep_connect? The src_ip address will </FONT>
<BR><FONT SIZE=2>> be set to 10.10.10.12 which was retrieved from the hca_open and the </FONT>
<BR><FONT SIZE=2>> dst_ip address is taken from your (struct sockaddr_in *) </FONT>
<BR><FONT SIZE=2>> remote_ia_address provided with your dat_ep_connect call. Did you </FONT>
<BR><FONT SIZE=2>> ifconfig the IPoIB devices on both sides? Can you ping using the </FONT>
<BR><FONT SIZE=2>> IPoIB addresses?</FONT>
</P>
<P><FONT SIZE=2>My server is a netapp filer. I attached the IP address to the interface,</FONT>
<BR><FONT SIZE=2>10.10.10.11 but the ping fails..</FONT>
</P>
<P><FONT SIZE=2>Also, with the correct IP address, I can now post a connect request, but </FONT>
<BR><FONT SIZE=2>it never gets</FONT>
<BR><FONT SIZE=2>back with a response (other than timeout). Unfortunately I do not </FONT>
<BR><FONT SIZE=2>control the server,</FONT>
<BR><FONT SIZE=2>so I have no way of confirming if it is sent out.</FONT>
</P>
<P><FONT SIZE=2>I am now trying against an identical OpenIB instance. I will let you </FONT>
<BR><FONT SIZE=2>know the result.</FONT>
</P>
<P><FONT SIZE=2>Thanks</FONT>
<BR><FONT SIZE=2>Aniruddha</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>openib-general mailing list</FONT>
<BR><FONT SIZE=2>openib-general@openib.org</FONT>
<BR><FONT SIZE=2><A HREF="http://openib.org/mailman/listinfo/openib-general" TARGET="_blank">http://openib.org/mailman/listinfo/openib-general</A></FONT>
</P>
<P><FONT SIZE=2>To unsubscribe, please visit <A HREF="http://openib.org/mailman/listinfo/openib-general" TARGET="_blank">http://openib.org/mailman/listinfo/openib-general</A></FONT>
</P>
</BODY>
</HTML>