[openib-general] svn 6829 version issue with rdma_ucm and userspace?

Ira Weiny weiny2 at llnl.gov
Tue May 9 15:59:46 PDT 2006


Sean,

Thanks that helped.  Changing the /sys/class/misc/rdma_cm/abi_version to
/sys/class/infiniband_ucma/abi_version in the user lib fixed the problem.

I wonder though if this is the correct solution?

Ira


On Tue, 09 May 2006 15:39:39 -0700
Sean Hefty <mshefty at ichips.intel.com> wrote:

> Ira Weiny wrote:
> > I have been struggling with getting svn6829 to work and this is one
> > of the latest issues.
> > 
> > # odev1 /root > simple_rdma -S
> > librdmacm: kernel ABI version 0 doesn't match library version 1.
> > Failed to create rdma_cm_id
> > 
> > This is a little rdma app I wrote which uses the rdma_cm userspace
> > lib.
> > 
> > The code was pulled from svn6829 (both kernel and user level).  I
> > had to make a couple of minor tweeks (beyond Woody's backport) to
> > get it to compile on our 2.6.9 based kernel but nothing which would
> > cause the above AFAICT.
> > 
> > Am I not supposed to use the kernel code in svn6829?
> 
> This looks like a backport issue.  The library may be trying to read
> the abi_version from the wrong location for the backport.
> 
> Normally, the abi_version file is found
> in /sys/class/misc/rdma_cm/abi_version. I believe that the backport
> patch moved this under something like /sys/class/infiniband, which
> would cause the library to need to updated to read from the new
> location.  Woody may have more information.
> 
> - Sean
> 



More information about the general mailing list