[openib-general] Re: dapl_ep_connect problems

Aniruddha Bohra bohra at cs.rutgers.edu
Mon Sep 12 10:37:27 PDT 2005


James Lentini wrote:

>
>On Sun, 11 Sep 2005, Aniruddha Bohra wrote:
>
>  
>
>>Hello,
>>   I tried connecting 2 endpoints using the new uDAPL library.
>>The connection fails with an invalid route option.
>>Attached is the log with DAT_DBG_TYPE=0xffff and DAPL_DBG_TYPE=0xffff.
>>I traced the call to ib_at_route_by_ip(),
>>It seems like all the arguments (dst_ip, src_ip, r_qual..) are 0x00.
>>
>>I have also attached my dat.conf, lsmod, /etc/ibhosts, and /etc/hosts.
>>
>>Could you please direct me where to look?
>>
>>Thanks
>>Aniruddha
>>
>>
>>    
>>
>
>The parameters you passed to dapl_ep_connect don't look good:
>
>dapl_ep_connect (0x8057218, 
>{4294967280.4294967295.4294967295.4294967295}, 4A275800, 0, -1, (nil), 
>0, 0)
>
>The second argument should be the IP address you want to connect to. 
>The address doesn't look good. Can you verify that you are passing 
>uDAPL a good address?
>
>I'll look over our code to see if there is a bug in our debug 
>statement. We are printing out the 8-bit octets of the IP address as 
>unsigned integer values. I can't explain why octet 1 is 0xFFFFFFF0 and 
>octets 2,3, and 4 are 0xFFFFFFFF. 
>
>Also your private data size is -1. I would change that to 0, but this 
>isn't the problem. 
>  
>
Hi
    I checked the code and it seems there was indeed a problem with that.
I changed the code and now it posts the connect request and does not
get any event. The ep_status is DAT_EP_STATE_CONNECT_PENDING.
I am trying now with dapltest to see if it is a problem with my server
(netapp filer NFSoRDMA) or the Open IB stack.

Thanks for your help. If you have any idea about some special configuration
required for the connection, I would really appreciate your help. Is 
there any
way to see the requests similar to tcpdump?

Thanks
Aniruddha




More information about the general mailing list