[LU-6327] Lustre-2.6.0 + Intel OFED + RHEL6.5 Created: 04/Mar/15  Updated: 27/Jul/15  Resolved: 27/Jul/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Ramesh (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

RHEL-6.5, HP DL360 G8 server, Intel Infiniband card, OFED version - intelib-basic.rhel6-x86_64.7.3.1.0.12.tgz, OS kernel - 2.6.32-431.el6.x86_64, OFED download URL - https://downloadcenter.intel.com/download/24625/Intel-True-Scale-Fabric-Host-Channel-Adapter-Host-Drivers-Software-v7-3-1-0-12


Issue Links:
Related
is related to LU-5334 Lustre-2.5.2 build fail with intel-mi... Resolved
Severity: 3
Rank (Obsolete): 17713

 Description   

I am facing as issue while compiling Lustre-2.6.0 client packages.

I followed below mentioned steps to compile packages:

git clone git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
git checkout 2.6.0
sh autogen.sh
./configure --disable-server --with-o2ib=/usr/src/compat-rdma

I am getting below error:
checking whether to use any OFED backport headers... no
checking whether to enable OpenIB gen2 support... no
configure: error: can't compile with OpenIB gen2 headers under /usr/src/compat-rdma



 Comments   
Comment by Ramesh (Inactive) [ 04/Mar/15 ]

Sorry,

git checkout 2.6.0

trying with git checkout 2.6.0 instead of 2.5.0

Comment by Dmitry Eremin (Inactive) [ 04/Mar/15 ]

It was fixed in commit fa4a67d5b4871e20acd07076e7fa15613695cae5
Author: Dmitry Eremin <dmitry.eremin@intel.com>
Date: Tue Jul 15 16:21:23 2014 +0400

LU-5334 lnet: fix build with OFED-3.5-2-MIC-beta1

The stuff for RHEL6.4 should be guarded by CONFIG_COMPAT_RHEL_6_4
also in RHEL6.5. So, we need both COMPAT defines in RHEL6.5.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I3ce8ce50c7f823a867638f594c82d018d99c9e79
Reviewed-on: http://review.whamcloud.com/11104
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

The patch is available in 2.6.51.

Comment by Ramesh (Inactive) [ 05/Mar/15 ]

Hi Dmitry,

Thanks for providing your inputs.

could you please help on how to define COMPAT for RHEL6.5 and is there any patch we need to apply ?

Regards,
Ramesh

Comment by Dmitry Eremin (Inactive) [ 05/Mar/15 ]

The patch is very simple. You can apply it manually to your sources.

diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4
index 8d81e1c..32eae63 100644
--- a/lnet/autoconf/lustre-lnet.m4
+++ b/lnet/autoconf/lustre-lnet.m4
@@ -332,7 +332,7 @@
 					2.6.32-358*)
 						EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4" ;;
 					2.6.32-431*)
-						EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_5" ;;
+						EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4 -DCONFIG_COMPAT_RHEL_6_5" ;;
 				esac
 			elif test "x$SUSE_KERNEL" = xyes; then
 				SP=$(grep PATCHLEVEL /etc/SuSE-release | sed -e 's/.*= *//')
Comment by Dmitry Eremin (Inactive) [ 24/Jul/15 ]

Is this issue still actual? It should be fixed in all branches but only for RHEL 6.[45].

Comment by James A Simmons [ 27/Jul/15 ]

Now we need a ticket for RHEL6.6 and RHEL7 support

Comment by Dmitry Eremin (Inactive) [ 27/Jul/15 ]

I open LU-6912 for this.

Generated at Sat Feb 10 01:59:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.