[ewg] Qlogic IB sources

Ralph Campbell ralph.campbell at qlogic.com
Thu Jul 8 17:44:09 PDT 2010


download
http://www.openfabrics.org/downloads/OFED/ofed-1.5.2/OFED-1.5.2-rc2.tgz

tar zxf OFED-1.5.2-rc2.tgz
cd OFED-1.5.2-rc2/SRPMS
rpm -ivh ofa_kernel-1.5.2-OFED.1.5.2.rc2.src.rpm
cd ~/rpmbuild/SPECS
rpmbuild -bp ofa_kernel.spec
cd ../BUILD/ofa_kernel-1.5.2
ofed_scripts/ofed_patch.sh --with-backport=2.6.18-EL5.3

Change "2.6.18-EL5.3" to match the kernel you want to
install on.

You should see the qib source in:

drivers/infiniband/hw/qib/


The alternative is to:

git clone git://git.openfabrics.org/ofed_1_5/linux-2.6.git
cd linux-2.6
ofed_scripts/ofed_makedist.sh

The above will construct tar files for all the backported
kernel sources.

On Thu, 2010-07-08 at 17:31 -0700, Rajouri Jammu wrote:
> I was hoping to see the actual source tree in
>  drivers/infiniband/hw/qib instead of a set of patches.
> Is there a way to generate a clean source tree?
> 
> Here are the configure options from /etc/inifiniband/info
> 
> 
> echo "Configure options: --with-core-mod --with-user_mad-mod
> --with-user_access-mod --with-addr_trans-mod --with-mthca-mod
> --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod --with-nes-mod
> --with-ipoib-mod --with-sdp-mod --with-srp-mod --with-srp-target-mod
> --with-rds-mod --with-qib-mod --with-nfsrdma-mod"
> 
> 
> 
> 
> On Thu, Jul 8, 2010 at 11:53 AM, Vladimir Sokolovsky
> <vlad at dev.mellanox.co.il> wrote:
>         
>         Rajouri Jammu wrote:
>                 I'm looking for the sources for the QIB driver.
>                 When I installed the
>                  ofa_kernel-1.5.2-OFED.1.5.2.rc2.src.rpm I could not
>                 find the qib source.
>                 Is there a separate RPM?
>                 
>                 
>                 
>         
>         
>         QIB driver is a part of ofa_kernel source RPM. It can be found
>         as a set of patches under kernel_patches/fixes/qib_*.
>         To get the sources you should run configure script with
>         corresponding parameters. See /etc/infiniband/info (after OFED
>         installation).
>         
>         Regards,
>         Vladimir
> 
> 





More information about the ewg mailing list