[openib-general] Re: How to debug QP INIT->RTR -22 error
Steve Wooding
steve_wooding at keysounds.co.uk
Sun Oct 16 09:05:47 PDT 2005
Thanks Michael,
Just looking at the kernel-space code gives me a few things to check
with my app.
Cheers,
Steve.
Michael S. Tsirkin wrote:
>Quoting r. Steve Wooding <steve_wooding at keysounds.co.uk>:
>
>
>>Subject: How to debug QP INIT->RTR -22 error
>>
>>Hi there,
>>
>>I'm trying to make a QP connection using the CM, but the active side
>>cannot get to the RTR state. ibv_modify_qp returns errorno -22, invalid
>>argument.
>>
>>What would the best way to find out exactly what the error is and help
>>me fix my app (just to say, it is only my app that's broken, nothing
>>else)? Would turning kernel debugging on be helpful at all?
>>
>>Thanks everyone,
>>
>>
>>Steve.
>>
>>
>
>Yes, enabling debug messages in mthca is typically helpful.
>The relevant code with tests is in mthca_qp.c, function mthca_modify_qp,
>and in uverbs_cmd.c, ib_uverbs_modify_qp.
>
>
>
More information about the general
mailing list