<!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.6000.16481" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=597115815-13082007><FONT face=Arial 
color=#0000ff size=2>Looks like WinIB srp initiator is sending 
[TargetGUID]:[InitiatorGUID] in the request init_port_id struct instead of 
[InitiatorExt]:[InitiatorGUID]. I beleive this is causing the Mellanox 
referenced SRPT to produce an invalid nexus and break the 
connection.</FONT></SPAN></DIV>
<DIV><SPAN class=597115815-13082007><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT 
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT 
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=597115815-13082007><FONT face=Arial color=#0000ff size=2>These 
are the logs from the Mellanox IB_SRPT kernel module for Win64 & Linux x64 
initiator scenarios.</FONT></DIV>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#0000ff size=2>--- Windows 
Inititator (WinIB Gen1 SRP)<BR>===================================<BR>ib_srpt: 
Host i_port_id=0x44d00cffff4b1a00:0xf4f700ffffbb1900 login with 
t_port_id=0x44d00cffff4b1a00:0x44d00cffff4b1a00 it_iu_len=340<BR></DIV></FONT>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=597115815-13082007>Result: n</SPAN>o disk in disk 
manager<BR>===================================</FONT></FONT></FONT></DIV><FONT 
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT 
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT 
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
color=#0000ff size=2></FONT><BR><FONT face=Arial color=#0000ff size=2>--- Linux 
Initiator (OFED Gen2 SRP) -</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff 
size=2>===================================<BR>ib_srpt: Host 
i_port_id=0x0:0x45d00cffff4b1a00 login with 
t_port_id=0x44d00cffff4b1a00:0x44d00cffff4b1a00 it_iu_len=260<BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=597115815-13082007>Result, successful connection and /dev/sda is 
created.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=597115815-13082007>===================================</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2> </DIV></FONT>
<DIV><FONT><SPAN class=597115815-13082007><FONT face=Arial color=#0000ff 
size=2>srp_connection.c</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=597115815-13082007><FONT face=Arial color=#0000ff 
size=2>====================</FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=597115815-13082007><FONT face=Arial 
color=#0000ff>Is there a reason to set the init_port_id.field1 to the target 
port GUID? Per the SRP R16 (Pg 66), this is set to the Initiator 
ID extension (0x0 in above Linux scenario). "</FONT><FONT size=2><FONT 
face=Arial color=#0000ff>The </FONT></FONT><FONT face=Arial color=#0000ff 
size=1>IDENTIFIER EXTENSION </FONT><FONT face=Arial color=#0000ff>field shall be 
chosen by the SRP initiator port to ensure that all SRP initiator port 
</FONT><FONT face=Arial><FONT color=#0000ff>identifiers are unique<SPAN 
class=597115815-13082007>". Linux SRP sets this to the initiator_ext (ib_srp.c 
line 342)</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=597115815-13082007><FONT face=Arial><FONT 
color=#0000ff><SPAN 
class=597115815-13082007></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=597115815-13082007></SPAN></FONT><FONT><SPAN 
class=597115815-13082007><FONT face=Arial color=#0000ff size=2>line 802 - 
815</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=597115815-13082007>       switch( 
p_profile->io_class )<BR>        
{<BR>        case 
SRP_IO_CLASS_R10:<BR>                
p_connection->init_port_id.field1 = 
ca_guid;<BR>                
p_connection->init_port_id.field2 = 
ext_id;<BR>                
p_connection->targ_port_id.field1 = 
p_profile->ioc_guid;<BR>                
p_connection->targ_port_id.field2 = 
ext_id;<BR>                
break;</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=597115815-13082007>        case 
SRP_IO_CLASS:<BR>                
p_connection->init_port_id.field1 = 
ext_id;<BR>                
p_connection->init_port_id.field2 = 
ca_guid;<BR>                
p_connection->targ_port_id.field1 = 
ext_id;<BR>                
p_connection->targ_port_id.field2 = 
p_profile->ioc_guid;<BR>                
break;</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=597115815-13082007>        
default:<BR>                
return IB_INVALID_PARAMETER;<BR>        
}<BR></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=597115815-13082007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV></FONT>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2> </DIV></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org 
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Sufficool, 
Stanley<BR><B>Sent:</B> Tuesday, August 07, 2007 10:12 AM<BR><B>To:</B> 
ofw@lists.openfabrics.org<BR><B>Subject:</B> [ofw] SRP miniport will not start 
with gen2 SRP Target<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=785290617-07082007>I noted this thread 
from May:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A 
href="http://lists.openfabrics.org/pipermail/ofw/2007-May/001565.html">http://lists.openfabrics.org/pipermail/ofw/2007-May/001565.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=785290617-07082007><FONT face=Arial size=2>I am having the same 
issue. Vu at Mellanox says it has something to do with the SRP initiator not 
recognizing the LUNs on the target. ( <A 
href="http://lists.openfabrics.org/pipermail/general/2007-July/037986.html">http://lists.openfabrics.org/pipermail/general/2007-July/037986.html</A> )</FONT></SPAN></DIV>
<DIV><SPAN class=785290617-07082007><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=785290617-07082007><FONT face=Arial size=2>Is there anything 
being done with this? The linux initiators are said to work with this 
target.</FONT></SPAN></DIV></BODY></HTML>