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

Configure errors with OFED 3.18-1, ZFS, and EL6.7 kernel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.8.0
    • Lustre 2.7.63_g2d11035, Scientific Linux 6.7 (kernel-2.6.32-573.8.1.el6.x86_64), OFED 3.18-1 (using qib drivers), ZFS 0.6.5.3 (using dkms packages from zfsonlinux.org repo).
    • 3
    • 9223372036854775807

    Description

      During configure, these zfs tests all fail:
      checking if zfs defines dsl_pool_config_enter/exit
      checking if zfs defines dsl_sync_task_do_nowait
      checking if zfs defines sa_spill_alloc
      checking if zfs defines spa_maxblocksize
      due to conflicting definitions in "/usr/src/compat-rdma/include/linux/kthread.h" and "include/linux/kthread.h".

      These config test errors lead to compilation failures when making osd-zfs.

      My configure command:
      ./configure --disable-ldiskfs --disable-gss --with-o2ib=/usr/src/compat-rdma --with-zfs=/usr/src/zfs-0.6.5.3 --with-zfs-obj=/var/lib/dkms/zfs/0.6.5.3/2.6.32-573.8.1.el6.x86_64/x86_64 --with-spl=/usr/src/spl-0.6.5.3 --with-spl-obj=/var/lib/dkms/spl/0.6.5.3/2.6.32-573.8.1.el6.x86_64/x86_64 --with-linux=/usr/src/kernels/2.6.32-573.8.1.el6.x86_64

      Attempted workaround: add this to test programs in config/lustre-build-zfs.m4:
      #ifdef HAVE_COMPAT_RDMA
      #undef PACKAGE_NAME
      #undef PACKAGE_TARNAME
      #undef PACKAGE_VERSION
      #undef PACKAGE_STRING
      #undef PACKAGE_BUGREPORT
      #undef PACKAGE_URL
      #include <linux/compat-2.6.h>
      #endif

      Result: Compiles and installs, works with tcp(eth0) and tcp(ib0), but o2ib fails. This probably just superficially hid the kthread.h conflict.

      Successful workaround: uninstall OFED and use in-kernel IB drivers. Everything compiles and runs well. I have no idea if performance is affected.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              nathan.crawford@uci.edu Nathan Crawford
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: