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

Pachless client support for RHEL6's 2.6.32 kernel

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 1.8.6
    • Lustre 1.8.6
    • None
    • 3
    • 6109

    Description

      We have an customer who wants to run an big server (Intel x86_64, but 2TB memory). Actually, RHEL5 doesn't support 2TB memory system, but RHEL6 can. So, we now need pathless clients for RHEL6's 2.6.32 kernel. We have been using SLES11SP1's 2.6.32 kernel at Titech, so I wondered if we could also build patchless clients for RHEL6, but the build failed below. I know there are many work for RHEL6 support for the lustre server, but I hope patches only for clients are not many. This seems under discussion on bug 22375, so could someone advise me which patch needs for RHEL6's clients?

      CC [M] /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.o
      In file included from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/linux/lvfs.h:49,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/lvfs.h:48,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/obd_support.h:41,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/lustre_cfg.h:211,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/lustre_lib.h:47,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c:110:
      /usr/src/lustre-1.8.4.ddn2.1/lustre/include/linux/lustre_compat25.h:455:1: error: "synchronize_rcu" redefined
      In file included from /usr/src/kernels/2.6.32-71.14.1.el6.x86_64/include/linux/tracepoint.h:18,
      from /usr/src/kernels/2.6.32-71.14.1.el6.x86_64/include/linux/module.h:18,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c:85:
      /usr/src/kernels/2.6.32-71.14.1.el6.x86_64/include/linux/rcupdate.h:58:1: error: this is the location of the previous definition
      cc1: warnings being treated as errors
      In file included from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/linux/lvfs.h:49,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/lvfs.h:48,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/obd_support.h:41,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/lustre_cfg.h:211,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/include/lustre_lib.h:47,
      from /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c:110:
      /usr/src/lustre-1.8.4.ddn2.1/lustre/include/linux/lustre_compat25.h: In function 'set_shrinker':
      /usr/src/lustre-1.8.4.ddn2.1/lustre/include/linux/lustre_compat25.h:503: error: assignment from incompatible pointer type
      /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c: In function 'loop_set_fd':
      /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c:508: error: implicit declaration of function 'blk_queue_max_sectors'
      /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c:510: error: implicit declaration of function 'blk_queue_max_phys_segments'
      /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.c:511: error: implicit declaration of function 'blk_queue_max_hw_segments'
      make[6]: *** [/usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.o] Error 1
      make[5]: *** [/usr/src/lustre-1.8.4.ddn2.1/lustre/llite] Error 2
      make[4]: *** [/usr/src/lustre-1.8.4.ddn2.1/lustre] Error 2
      make[3]: *** [_module_/usr/src/lustre-1.8.4.ddn2.1] Error 2
      make[3]: Leaving directory `/usr/src/kernels/2.6.32-71.14.1.el6.x86_64'
      make[2]: *** [modules] Error 2
      make[2]: Leaving directory `/usr/src/lustre-1.8.4.ddn2.1'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/usr/src/lustre-1.8.4.ddn2.1'
      make: *** [all] Error 2

      Attachments

        Activity

          People

            laisiyao Lai Siyao
            ihara Shuichi Ihara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: