Open Fabrics Enterprise Distribution (OFED)
- Tips for Working with OFED 1.5
+ Tips for Working with OFED 1.5.1
- December 2009
+ March 2010
===============================================================================
Table of Contents
1. OFED Utilities
2. Debug HOWTOs
3. Pinning (Locking) User Memory Pages
-4. External Module Compilation Over OFED-1.5
+4. External Module Compilation Over OFED-1.5.1
5. Adding/Deleting a patch to OFED package
6. Adding vendor specific actions to the installation of OFED
7. How to compile OFED sources manually
-------------------------------------------
The text file BUILD_ID provides data on all OFED components (whether installed
or not). This file is a part of the ofed-docs RPM and installed under
-/usr/share/doc/ofed-docs-1.5 on RedHat, and under
-/usr/share/doc/packages/ofed-docs-1.5 on SuSE.
+/usr/share/doc/ofed-docs-1.5.1 on RedHat, and under
+/usr/share/doc/packages/ofed-docs-1.5.1 on SuSE.
The same information can be obtained by executing the 'ofed_info' command. For
example:
===============================================================================
-4. External Module Compilation Over OFED-1.5
+4. External Module Compilation Over OFED-1.5.1
===============================================================================
To build kernel modules depending on OFED's modules, take the Modules.symvers
--type|-t <kernel|backport <kernel tag>|addons <kernel tag>>
Examples:
-ofed_patch.sh --add --ofed /tmp/OFED-1.5/ --patch /tmp/cma_fix.patch --type kernel
+ofed_patch.sh --add --ofed /tmp/OFED-1.5.1/ --patch /tmp/cma_fix.patch --type kernel
-ofed_patch.sh --remove --ofed /tmp/OFED-1.5/ --patch cma_fix.patch --type kernel
+ofed_patch.sh --remove --ofed /tmp/OFED-1.5.1/ --patch cma_fix.patch --type kernel
===============================================================================
6. Adding vendor specific actions to the installation of OFED
7.1 Compiling the kernel modules
--------------------------------
-1. tar xzf OFED-1.5.tgz
-2. rpm -ihv OFED-1.5/SRPMS/ofa_kernel-1.5-ofed1.5.src.rpm
+1. tar xzf OFED-1.5.1.tgz
+2. rpm -ihv OFED-1.5.1/SRPMS/ofa_kernel-1.5.1-ofed1.5.1.src.rpm
3. cd /usr/src/redhat/SOURCES
-4. tar xzvf ofa_kernel-1.5.tgz
-5. cd ofa_kernel-1.5
+4. tar xzvf ofa_kernel-1.5.1.tgz
+5. cd ofa_kernel-1.5.1
6. configure:
run ./configure --help for a list of options.
basic invocation is:
7.2 Compiling the user space libraries
--------------------------------------
-To install user space library from the source RPM provided by OFED-1.5 manually,
+To install user space library from the source RPM provided by OFED-1.5.1 manually,
do the following:
Example for libibverbs:
-1. tar xzf OFED-1.5.tgz
+1. tar xzf OFED-1.5.1.tgz
2. rpm -ihv SRPMS/libibverbs-1.1.2-1.ofed1.5.src.rpm
3. cd /usr/src/redhat/SOURCES (for RedHat)
or
Prerequisites
-------------
-0. Supported distributions: RHEL 5.2/5.3/5.4, SLES 10 sp2, SLES 11
+0. Supported distributions: RHEL 5.2/5.3/5.4, SLES 10 sp2/sp3, SLES 11
NOTES: On distribution default kernels you can run scst_vdisk blockio mode
to have good performance. You can also run scst_disk ie. scsi pass-thru
2. Download/install OFED-1.5.1 package - SRP target is part of OFED package
NOTES: if your system already have OFED stack installed, you need to remove
- all the previous built RPMs and reinstall
+ the previous built of kernel-ib RPMs and reinstall
$ cd ~/OFED-1.5.1
- $ rm RPMS/*
+ $ rm RPMS/*/*/kernel-ib*
$ ./install.pl -c ofed.conf
+ Make sure that srpt=y in the ofed.conf
+
2a. download OFED packages from this URL
http://www.openfabrics.org/downloads/OFED/OFED-1.5.1/