[Pkg-ofed-devel] ofed + ubuntu

Guy Coates gmpc at sanger.ac.uk
Mon Aug 3 16:12:18 UTC 2009

Mark J. Pearrow wrote:
> Hi all,
> I've installed the OFED packages from 
> http://pkg-ofed.alioth.debian.org/apt/ofed on an Ubuntu 9.04 system. All
> of the packages install fine (aptitude install ofed) and utilities like
> ibstat, ibping and so forth work fine. However, trying to use
> ib_write_bw gives an error like this:
> mlx4: There is a mismatch between the kernel and the userspace
> libraries: Kernel does not support XRC. Exiting.
Hi Mark,

Thanks for the installation report.

XRC support is currently not in the mainline kernel infiniband modules.

You have two options:

1) Not worry about it. The only package that actually uses XRC are the
benchmarking programs in the perftest package.

2) Build a set of OFED kernel modules.

On debian you can use module-assistant to build the OFED kernel for you.


In theory, this should also work on ubuntu too. However, the ofa-kernel package
only contains patches for kernels <= 2.6.26, so I suspect that it will not build
correctly against the ubuntu 2.6.28. (I don't have an ubuntu system to test).

If you want to try anyhow, you will need to dig into the ofa-kernel package and
hack the ofed_scripts/ofed_patch.sh, which is responsible for guessing the
kernel version and building the appropriate modules.



Dr. Guy Coates,  Informatics System Group
The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK
Tel: +44 (0)1223 834244 x 6925
Fax: +44 (0)1223 496802

 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

More information about the Pkg-ofed-devel mailing list