On 29 Dec 2016, at 22:24, Ian Lepore <ian_at_freebsd.org> wrote: > > On Thu, 2016-12-29 at 21:17 +0100, O. Hartmann wrote: >> Am Thu, 29 Dec 2016 20:26:32 +0100 >> Dimitry Andric <dim_at_FreeBSD.org> schrieb: ... >>> Do you have some Linux rdma or infiniband headers or libraries >>> installed >>> into /usr or /usr/local? This might be the cause of the problems. >> No Linux, but I found these files on all of the boxes in question: >> >> locate rdma >> >> [...] >> /usr/include/rdma >> /usr/include/rdma/rdma_cma.h >> /usr/include/rdma/rdma_cma_abi.h >> /usr/lib/librdmacm.a >> /usr/lib/librdmacm.so >> /usr/lib/librdmacm.so.1 >> >> ll usr/include/rdma discovers: >> >> total 44 >> 322075 drwxr-xr-x 2 root wheel - 512B Oct 7 13:52 ./ >> 240768 drwxr-xr-x 55 root wheel - 6.5K Dec 29 19:14 ../ >> 324275 -r--r--r-- 1 root wheel - 21K Oct 7 13:52 rdma_cma.h >> 324276 -r--r--r-- 1 root wheel - 4.7K Oct 7 13:52 >> rdma_cma_abi.h ... > The rdma stuff is part of OFED, it comes from sys/ofed/include. Other > parts of it are in sys/contrib/rmda and src/contrib/ofed. Maybe it > only gets installed if you are using certain kernel options? I'm not > sure. Indeed, this turns out to be enabled by WITH_OFED. It then uses the Makefile in contrib/ofed/include/rdma to install headers, and the Makefile in contrib/ofed/usr.lib/librdmacm to install a library. Unfortunately the headers aren't compatible with the qemu requirements, so the port still needs to have --disable-rdma, in any case. -Dimitry
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC