Details

    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • Lustre 2.6.0
    • None
    • 3
    • 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

      Attachments

        Issue Links

          Activity

            [LU-6327] Lustre-2.6.0 + Intel OFED + RHEL6.5

            I open LU-6912 for this.

            dmiter Dmitry Eremin (Inactive) added a comment - I open LU-6912 for this.

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

            simmonsja James A Simmons added a comment - Now we need a ticket for RHEL6.6 and RHEL7 support

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

            dmiter Dmitry Eremin (Inactive) added a comment - Is this issue still actual? It should be fixed in all branches but only for RHEL 6. [45] .

            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/.*= *//')
            
            dmiter Dmitry Eremin (Inactive) added a comment - 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/.*= * //' )

            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

            ramesh.kumar Ramesh (Inactive) added a comment - 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

            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.

            dmiter Dmitry Eremin (Inactive) added a comment - 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.

            Sorry,

            git checkout 2.6.0

            trying with git checkout 2.6.0 instead of 2.5.0

            ramesh.kumar Ramesh (Inactive) added a comment - Sorry, git checkout 2.6.0 trying with git checkout 2.6.0 instead of 2.5.0

            People

              dmiter Dmitry Eremin (Inactive)
              ramesh.kumar Ramesh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: