I have taken sometime to trace down this bug.

When running OFED 1.3 on 2.6.9-42.ELsmp kernel, putenv("IBV_FORK_SAFE=1");
causes ibv_get_device_list() to print out a Warning and set errno = 22 :

A:errno=0
libibverbs: Warning: fork()-safety requested but init failed
B:errno=22

errno keeps value 22 and causes ibv_modify_xrc_rcv_qp() to fail.

Another way to make ibv_modify_xrc_rcv_qp() to fail is to set errno = 22 just
before calling this function. However, this only happens on 2.6.9-42.ELsmp 
kernel,
on 2.6.18-8.e15 kernel, it succeeds.

2.6.9-42.ELsmp is the kernel in Mellanox testing cluster 
helios.mellanox.com/ibd001-0032

Thanks for Mellanox guys to have a look


--CQ


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to