[ofa-general] Re: Errors while loading librdmacm & libibverbs

Pete Wyckoff pw at osc.edu
Wed Aug 1 09:27:50 PDT 2007


erezz at voltaire.com wrote on Wed, 01 Aug 2007 12:41 +0300:
> I'm trying to run STGT with iSER support. I'm using the STGT kernel
> (2.6.22) with the STGT userspace code. Since it uses libibverbs &
> librdmacm, I cloned both git trees and installed them.
> 
> When I start STGT, I get the following errors:
> 
> [root at sage usr]# ./tgtd
> [iSER]:iscsi_iser_init() Entry.
> librdmacm: couldn't read ABI version.
> librdmacm: assuming: 4
> libibverbs: Fatal: couldn't read uverbs ABI version.
> CMA: unable to open /dev/infiniband/rdma_cm
> librdmacm: couldn't read ABI version.
> librdmacm: assuming: 4
> libibverbs: Fatal: couldn't read uverbs ABI version.
> Segmentation fault
> 
> I saw that the following sysfs files don't exist (that's why librdmacm
> says "couldn't read ABI version"):
> 
> /sys/class/misc/rdma_cm/abi_version
> /sys/class/infiniband_ucma/abi_version
> 
> Did I forget to load anything? What is the problem?

That seems to be what happens if you don't load the IB driver
modules.  We use a startup script that does the moral equivalent
of:

    modprobe ib_mthca
    modprobe rdma_ucm

If you're using RHEL5, a good approach is just to install the
openib, libmthca, libibverbs{,-devel}, librdmacm{,-devel} packages
directly.  Not all linux distributions have all these packages
though.

		-- Pete



More information about the general mailing list