[openib-general] Re: dapl_ep_connect problems

James Lentini jlentini at netapp.com
Mon Sep 12 10:33:39 PDT 2005




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. 



More information about the general mailing list