<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>Hi
jeff.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>there
are some issues you need to check:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>there
are WR that were posted to the remote QP RQ before posting the WR to the SQ in
local side</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>both
of the QPs are alive and in valid states (at least RTR for responder and
RTS for requestor)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>the
QPs parameters are synch (for example: the psn)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>the
route that you are using is valid (port, remote QP number, remote
lid)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>if you
are using UD/UC QPs maybe the packet were dropped ..</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>if you
have an IB analyzer you should check that the packet was sent to the expected QP
number</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>you
can check the port counters to see how many data was sent / received to each IB
port</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=875394515-18012006>I Hope
i gave you some useful information</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006></SPAN></FONT><FONT face=Tahoma><BR><FONT size=2><SPAN
class=875394515-18012006><FONT color=#0000ff face=Arial>[Dotan
Barak] </FONT></SPAN></FONT></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma><FONT
size=2><SPAN class=875394515-18012006> </SPAN>-----Original
Message-----<BR><B>From:</B> openib-general-bounces@openib.org
[mailto:openib-general-bounces@openib.org]<B>On Behalf Of </B>Walls, Jeffrey
Joel<BR><B>Sent:</B> Wednesday, January 18, 2006 5:39 PM<BR><B>To:</B>
openib-general<BR><B>Subject:</B> [openib-general] Debugging
Infiniband?<BR><BR></DIV></FONT></FONT>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>I first must admit
that I'm new to Infiniband and Infiniband programming.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>I have just begun
writing my first commercial application using IB late last</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>year. I'm very
familiar with socket programming (TCP, Multicast, etc),
though.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>I'm wondering what
techniques expierenced IB programmers use to debug</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>IB
applications.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>My situation is that
I'm running an data producer on Windows XP and a set</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>of data consumers on
Linux. So for Windows, I'm using WinIB (gen1) and</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>for linux I'm using
OpenIB (gen2).</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>I have both sides
implemented according to some of the example code I've</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>seen and also
according to the documents I've been able to find. The
connections</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>all seem to be set up
properly and my producer successfully posts all of its
sends</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>(at least according to
my CQE's returned).</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>The problem is that my
receiver never sees any of the IB packets. I post the
receive</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>and then wait forever
polling the CQ.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>I've run out of ideas
on what to even look at and am now looking for suggestions
on</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>how to best figure out
this problem.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>If you have any ideas
or need more clarification, I'd love to hear from you.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>Also, if this isn't
the proper forum for such discussions, if you could please guide
me</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>in the right
direction, I would greatly appreciate that as well.</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond></FONT></SPAN> </DIV>
<DIV><SPAN class=256473415-18012006><FONT face=Garamond>Best
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=256473415-18012006><FONT
face=Garamond>Jeff<BR></FONT></SPAN><SPAN class=256473415-18012006><FONT
color=#0000ff face=Arial size=2><SPAN
class=875394515-18012006> </SPAN></FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>