Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5334

Lustre-2.5.2 build fail with intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0, Lustre 2.5.3
    • None
    • None
    • 2
    • 3
    • 14886

    Description

      HI Team,

      We are using centos 6.5 + intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64

      but we are unable to load the lustre module.
      Details :--
      2.6.32-431.17.1.el6.x86_64
      lustre-client-2.6.50-2.6.32_431.17.1.el6.x86_64_gdbe7a32.x86_64.rpm
      lustre-client-mic-2.6.50-2.6.38.8+mpss3.2.3_gdbe7a32.x86_64.rpm
      intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64

      Error
      [root@phi2 lustre-release]# modprobe lustre
      WARNING: Error inserting fld (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/fld.ko): Input/output error
      WARNING: Error inserting lmv (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/lmv.ko): Input/output error
      WARNING: Error inserting fid (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/fid.ko): Input/output error
      WARNING: Error inserting mdc (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/mdc.ko): Input/output error
      WARNING: Error inserting lov (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/lov.ko): Input/output error
      FATAL: Error inserting lustre (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/lustre.ko): Input/output error

      Attachments

        1. config.log
          69 kB
        2. 1.patch
          0.6 kB

        Issue Links

          Activity

            [LU-5334] Lustre-2.5.2 build fail with intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64

            Patch landed to master.

            dmiter Dmitry Eremin (Inactive) added a comment - Patch landed to master.
            atulyadavtech Atul Yadav added a comment -

            Dear Team,

            Thanks for your valuable support, now lustre is building without any error.

            Thank YOu
            Atul Yadav

            atulyadavtech Atul Yadav added a comment - Dear Team, Thanks for your valuable support, now lustre is building without any error. Thank YOu Atul Yadav

            I attached 1.patch to this ticket.

            # Store 1.patch in /tmp directory
            git clone git://git.whamcloud.com/fs/lustre-release.git
            cd lustre-release
            git checkout 2.5.2
            git apply /tmp/1.patch
            sh autogen.sh
            ./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma
            make rpms
            
            dmiter Dmitry Eremin (Inactive) added a comment - I attached 1.patch to this ticket. # Store 1.patch in /tmp directory git clone git://git.whamcloud.com/fs/lustre-release.git cd lustre-release git checkout 2.5.2 git apply /tmp/1.patch sh autogen.sh ./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma make rpms
            atulyadavtech Atul Yadav added a comment -

            Dear Sir,,

            Any Update on this problem.....

            Thank You
            Atul Yadav

            atulyadavtech Atul Yadav added a comment - Dear Sir,, Any Update on this problem..... Thank You Atul Yadav
            atulyadavtech Atul Yadav added a comment -

            Dear Team,

            Sorry to say, the commands of patching is not working.
            Need your help with proper commands

            ##############################
            git clone git://git.whamcloud.com/fs/lustre-release.git
            [root@localhost lustre-release]# git checkout 2.5.2
            Note: checking out '2.5.2'.

            You are in 'detached HEAD' state. You can look around, make experimental
            changes and commit them, and you can discard any commits you make in this
            state without impacting any branches by performing another checkout.

            If you want to create a new branch to retain commits you create, you may
            do so (now or later) by using -b with the checkout command again. Example:

            git checkout -b new_branch_name

            HEAD is now at 2bad101... New tag 2.5.2-RC2

                    1. Applying Patch######
                      cp /root/lustre-lnet_new-0b2a295ecdfc7e23022a64bd2868dd181a640c57.m4 /opt/lustre-release/lnet/autoconf/lustre-lnet.m4
                      cp: overwrite `/opt/lustre-release/lnet/autoconf/lustre-lnet.m4'? y
                                        1. Running Autogen###############
                                          [root@mic2 lustre--1]# sh ./autogen.sh
                                          Checking for a complete tree...
                                          Running aclocal I /opt/lustre1/config -I /opt/lustre1/libcfs/autoconf -I /opt/lustre1/lnet/autoconf -I /opt/lustre1/lustre/autoconf -I /opt/lustre-1/snmp/autoconf
                                          Running autoheader
                                          Running automake -a -cconfigure.ac:12: installing `config/config.guess'
                                          configure.ac:12: installing `config/config.sub'
                                          configure.ac:14: installing `config/install-sh'
                                          configure.ac:14: installing `config/missing'
                                          libcfs/libcfs/autoMakefile.am: installing `config/depcomp'

            Running autoconfconfigure:8522: error: possibly undefined macro: AC_DEFINE
            If this token and others are legitimate, please use m4_pattern_allow.
            See the Autoconf documentation.
            configure:8651: error: possibly undefined macro: AC_MSG_WARN
            configure:8825: error: possibly undefined macro: AC_MSG_ERROR
            bootstrap failure: command exited with code 1
            Aborting
            [root@mic2 lustre--1]#
            ########################################################

            Auto gen command is giving error.

            Thank You
            Atul Yadav

            atulyadavtech Atul Yadav added a comment - Dear Team, Sorry to say, the commands of patching is not working. Need your help with proper commands ############################## git clone git://git.whamcloud.com/fs/lustre-release.git [root@localhost lustre-release] # git checkout 2.5.2 Note: checking out '2.5.2'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 2bad101... New tag 2.5.2-RC2 Applying Patch###### cp /root/lustre-lnet_new-0b2a295ecdfc7e23022a64bd2868dd181a640c57.m4 /opt/lustre-release/lnet/autoconf/lustre-lnet.m4 cp: overwrite `/opt/lustre-release/lnet/autoconf/lustre-lnet.m4'? y Running Autogen############### [root@mic2 lustre--1] # sh ./autogen.sh Checking for a complete tree... Running aclocal I /opt/lustre 1/config -I /opt/lustre 1/libcfs/autoconf -I /opt/lustre 1/lnet/autoconf -I /opt/lustre 1/lustre/autoconf -I /opt/lustre -1/snmp/autoconf Running autoheader Running automake -a -cconfigure.ac:12: installing `config/config.guess' configure.ac:12: installing `config/config.sub' configure.ac:14: installing `config/install-sh' configure.ac:14: installing `config/missing' libcfs/libcfs/autoMakefile.am: installing `config/depcomp' Running autoconfconfigure:8522: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:8651: error: possibly undefined macro: AC_MSG_WARN configure:8825: error: possibly undefined macro: AC_MSG_ERROR bootstrap failure: command exited with code 1 Aborting [root@mic2 lustre--1] # ######################################################## Auto gen command is giving error. Thank You Atul Yadav
            atulyadavtech Atul Yadav added a comment -

            Dear Sir,

            Now patch is working ,,,

            After building and testing the lustre we will update you... soon....

            Thank You
            Atul Yadav

            atulyadavtech Atul Yadav added a comment - Dear Sir, Now patch is working ,,, After building and testing the lustre we will update you... soon.... Thank You Atul Yadav
            atulyadavtech Atul Yadav added a comment -

            Dear Sir,

            Can you please provide the steps for patching also, because i am not able to patch the file..

            Thank YOu

            atulyadavtech Atul Yadav added a comment - Dear Sir, Can you please provide the steps for patching also, because i am not able to patch the file.. Thank YOu

            Ops... Sorry, there is no autogen.sh file in packages. You need an original sources. You can get them from public git repository.

            git clone git://git.whamcloud.com/fs/lustre-release.git
            git checkout 2.5.2
            
            dmiter Dmitry Eremin (Inactive) added a comment - Ops... Sorry, there is no autogen.sh file in packages. You need an original sources. You can get them from public git repository. git clone git://git.whamcloud.com/fs/lustre-release.git git checkout 2.5.2
            atulyadavtech Atul Yadav added a comment -

            Dear Sir,

            Can you please share the download link for lustre-2.5.2 source.
            Because in my directory auto gen file is not present.

            Thank You
            Atul Yadav

            atulyadavtech Atul Yadav added a comment - Dear Sir, Can you please share the download link for lustre-2.5.2 source. Because in my directory auto gen file is not present. Thank You Atul Yadav

            Thanks for attachment. From the log file I see that the patch is absent in this run. Probably you forgot to do the following command:

            $ sh ./autogen.sh
            

            This command generate new version of ./configure with patch. Or probably you patch wrong version of sources.

            Please try again the following sequence:

            # apply the patch to sources in current directory and then do:
            $ sh ./autogen.sh
            $ ./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma
            
            dmiter Dmitry Eremin (Inactive) added a comment - Thanks for attachment. From the log file I see that the patch is absent in this run. Probably you forgot to do the following command: $ sh ./autogen.sh This command generate new version of ./configure with patch. Or probably you patch wrong version of sources. Please try again the following sequence: # apply the patch to sources in current directory and then do : $ sh ./autogen.sh $ ./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma

            People

              dmiter Dmitry Eremin (Inactive)
              atulyadavtech Atul Yadav
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: