[ofa-general] Another OFED 1.3 XRC bug with 2.6.9 kernel

Tang, Changqing changquing.tang at hp.com
Mon Feb 18 16:35:32 PST 2008



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





More information about the general mailing list