[Pkg-ofed-devel] how to build MTHCA IB driver into 2.6.28 kernel
Guy Coates
gmpc at sanger.ac.uk
Mon Mar 1 14:47:59 UTC 2010
Toru Nishimura wrote:
>>> Q. How can I merge 1.4.2 kernel side IB codes into stock
>>> Linux kernel source tree? Just copy and replace kernel
>>> source subtree with the corresponding ofa-kernel-source,
>>> and them "make menuconfig && make"?
>>
>> Unfortunately the ofa-kernel build process is rather more complicated
>> than that. The source tree gets patched with a number of patches
>
> Ok, that's my understanding.
>
>> What version is your kernel based on?
>
> 2.6.28 fetched from DENX.de git repository.
>
>> OFED 1.4.2 supports up to kernel
>> 2.6.26; if you have a later kernel version, you will run into
>> difficulties.
>
> I had a hardship to run stock OFED-1.4 install.pl (awesome, frankly)
> against openSUSE11.1 2.6.26-2 kernel source set.
>> The stock linux kernel contains some, but not all, of the infiniband
>> modules present in OFED,
>
> I'm aware of it's a rather blunt way, though, I've running 2.6.28-denx
> kernel in "as is" base, and so far "seems working well for us"
> condition is met. I made mpi2test aginst several MPI packages
> and are collecting reasonable results.
If the only application you need is MPI, it sounds like that you can get
away without rebuilding the kernel modules.
>> so you may be able to get away with not having
>> to rebuild everything. However, you may find that you are missing some
>> feature and protocols available in OFED.
> BTW, did you fix the source tree in svn://svn.debian.org/pkg-ofed/ ?
Benoit did a load of commits over the weekend and I have just added some
fixes to the ofa-kernel source package.
All commits are archived here:
http://lists.alioth.debian.org/pipermail/pkg-ofed-commits/
Cheers,
Guy
--
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