[openib-general] cmpost: failure sending REQ: -22

Jeff Carr jcarr at linuxmachines.com
Thu Jun 2 18:37:21 PDT 2005


On 06/01/05 14:43, William Jordan wrote:
>>Has anyone seen ib_send_cm_req() return -22?
> 
> 
> I'm not sure what you are testing with, Jeff, but I ran into the same
> problem the first time I tried to use ucm_simple. The source and
> destination lid and guid are embedded in the source, and need to be
> modified to fit the test systems. Otherwise you will get an errno
> EINVAL.
> 

On the client system:
# cat /sys/class/infiniband/mthca0/ports/1/lid
0x2

On the server system:
# cat /sys/class/infiniband/mthca0/ports/1/lid
0x3

modprobe ib_cmpost "slid=0x3" "dlid=0x2" "message_count=0x10" 
"message_size=0x100"

Yet on the client:

root at delta:~# dmesg |tail -n 10
NET: Registered protocol family 10
Disabled Privacy Extensions on device c033a200(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
ib1: no IPv6 routers present
ib0: no IPv6 routers present
cmpost: starting client
cmpost: connecting
cmpost: failure sending REQ: -22
cmpost: test complete

So, it's not something simple like the LID's not matching. Of course, 
that doesn't rule out that I'm not doing something else stupid. :)

Jeff



More information about the general mailing list