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

DKMS building the lustre client modules with Mellanox OFED is broken on Debian/Ubuntu

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • None
    • Ubuntu with Mellanox OFED 4.4
    • 3
    • 9223372036854775807

    Description

      Commit baf83c76f11a28a105e92e59b178a7ca2fb66156 has broken dkms builds with Mellanox OFED based builds on Debian/Ubuntu.

       

      config/lustre-build-linux.m4 need to retain the LB_USES_DPKG block so that uses_dpkg remains defined since it is being used in lnet/autoconf/lustre-lnet.m4 to detect how to handle the ofed_info output. And config/lustre-build.m4 should then also be reverted regarding the above commit.

       

      There is also another problem when using Mellanox OFED 4.4 DKMS built kernel modules.

      /usr/src/ofa_kernel/default doesn't exist in the mlnx-ofed-kernel-dkms package, it is only created (as a link) during package installation. Therefore the

      O2IBPATHS=$(eval $OFED_INFO | egrep -w 'mlnx-ofed-kernel-dkms|mlnx-ofa_kernel-devel|compat-rdma-devel|kernel-ib-devel|ofa_kernel-devel' | xargs $LSPKG | grep '(/openib|/ofa_kernel/default)$' | head -n1)

      in lnet/autoconf/lustre-lnet.m4 fails.

       

      The attached patch fixes the problem (assuming the LB_USES_DPKG block has been put back)

      Attachments

        Issue Links

          Activity

            [LU-11541] DKMS building the lustre client modules with Mellanox OFED is broken on Debian/Ubuntu
            pjones Peter Jones made changes -
            Labels Original: LTS
            mdiep Minh Diep made changes -
            Labels New: LTS
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            simmonsja James A Simmons made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.12.0 [ 13495 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Åke Sandgren [ ake_s ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-10997 [ LU-10997 ]
            ake_s Åke Sandgren created issue -

            People

              ake_s Åke Sandgren
              ake_s Åke Sandgren
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: