Details

    • Bug
    • Resolution: Done
    • Minor
    • None
    • Lustre 2.5.3
    • None
    • SLES11 SP4
    • 3
    • 9223372036854775807

    Description

      I need help in compiling b2_5_fe client in SLES11 SP4.

      I already cherry-picked
      LU-6889 kernel: new kerrnel [SLES11 SP4 3.0.101-65]
      LU-7596 kernel: kernel update [SLES11 SP4 3.0.101-68]
      into my repo.

      The compilation failed on the changes of denture struct from sles11sp3
      to sles11sp4. Please help!

      ...
      + make -j 8 -s
      Making all in .
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/lmv/lmv_obd.c:54:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
      make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/lmv/lmv_obd.o] Error 1
      make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/lmv] Error 2
      make[8]: *** Waiting for unfinished jobs....
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/obd.h:45,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/fld/fld_request.c:55:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/obd.h:45,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/fid/fid_request.c:53:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
      make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fld/fld_request.o] Error 1
      make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fld] Error 2
      make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fid/fid_request.o] Error 1
      make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fid] Error 2
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lustre_cfg.h:227,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lustre_lib.h:53,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/lloop.c:108:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/lloop.c:110:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h: In function 'd_lustre_invalidate':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1630: error: 'struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1637: error: 'struct dentry' has no member named 'd_count'
      make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/lloop.o] Error 1
      make[9]: *** Waiting for unfinished jobs....
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:45:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:50:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h: In function 'd_lustre_invalidate':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1630: error: 'struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1637: error: 'struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_dcompare':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:118: error: 'const struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_ddelete':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:190: error: 'const struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_d_init':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:214: error: 'struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_revalidate_it':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:535: error: 'struct dentry' has no member named 'd_count'
      make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.o] Error 1
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
      from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dir.c:53:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
      In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dir.c:60:
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h: In function 'd_lustre_invalidate':
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1630: error: 'struct dentry' has no member named 'd_count'
      /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1637: error: 'struct dentry' has no member named 'd_count'
      make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dir.o] Error 1
      make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite] Error 2
      make[7]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre] Error 2
      make[7]: *** Waiting for unfinished jobs....
      make[6]: *** [_module_/usr/src/packages/BUILD/lustre-2.5.3] Error 2
      make[5]: *** [sub-make] Error 2
      make[4]: *** [all] Error 2
      make[3]: *** [modules] Error 2
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all] Error 2
      error: Bad exit status from /var/tmp/rpm-tmp.39308 (%build)

      Attachments

        Issue Links

          Activity

            [LU-7711] support SLES11 SP4 in b2_5_fe

            Thanks Jay.
            ~ jfc.

            jfc John Fuchs-Chesney (Inactive) added a comment - Thanks Jay. ~ jfc.

            Thank you, Bob. It worked great!

            You may close this ticket. Thanks for your help.

            jaylan Jay Lan (Inactive) added a comment - Thank you, Bob. It worked great! You may close this ticket. Thanks for your help.
            bogl Bob Glossman (Inactive) added a comment - - edited

            for a manual build of client only on sles11sp4 the only thing that's needed is a port of the LU-3974 fix http://review.whamcloud.com/7741 to b2_5_fe. changes from LU-6889 and LU-7596 are only needed if you want to use lbuild or if you need a server build.

            That master change will not cherry-pick to the branch, it needs a port.

            try http://review.whamcloud.com/18151

            bogl Bob Glossman (Inactive) added a comment - - edited for a manual build of client only on sles11sp4 the only thing that's needed is a port of the LU-3974 fix http://review.whamcloud.com/7741 to b2_5_fe. changes from LU-6889 and LU-7596 are only needed if you want to use lbuild or if you need a server build. That master change will not cherry-pick to the branch, it needs a port. try http://review.whamcloud.com/18151
            pjones Peter Jones added a comment -

            Bob

            Please can you let Jay know when you have worked out the defintiive list of changes required.

            Thanks

            Peter

            pjones Peter Jones added a comment - Bob Please can you let Jay know when you have worked out the defintiive list of changes required. Thanks Peter
            bogl Bob Glossman (Inactive) added a comment - - edited

            Jay,
            b2_5_fe was never enabled for building sles11sp4. It is missing autoconf fixes that exist on other branches. At the very least you need the fix from "LU-3974 client: use standard dentry locking function".
            It will almost certainly not cherry-pick cleanly onto b2_5_fe.

            There may be other needed mods missing too.

            bogl Bob Glossman (Inactive) added a comment - - edited Jay, b2_5_fe was never enabled for building sles11sp4. It is missing autoconf fixes that exist on other branches. At the very least you need the fix from " LU-3974 client: use standard dentry locking function". It will almost certainly not cherry-pick cleanly onto b2_5_fe. There may be other needed mods missing too.

            People

              bogl Bob Glossman (Inactive)
              jaylan Jay Lan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: