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

DKMS: Cannot detect the o2iblnd module correctly on ubuntu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Lustre 2.18.0
    • None
    • None
    • 3
    • 9223372036854775807

      I installed external mlnx-ofed on my ubuntu but DKMS tried to build in-kernel o2iblnd. 

      # dpkg -i debs/lustre-client-modules-dkms_2.17.50-64-g7e9546b-dirty-1_amd64.deb debs/lustre-client-utils_2.17.50-64-g7e9546b-dirty-1_amd64.deb 
      dpkg: error: cannot access archive 'debs/lustre-client-modules-dkms_2.17.50-64-g7e9546b-dirty-1_amd64.deb': No such file or directory
      root@ubuntu2404:/home/xyang/fs-lustre-release# dpkg -i debs/lustre-client-modules-dkms_2.17.50-64-g7e9546b-1_amd64.deb debs/lustre-client-utils_2.17.50-64-g7e9546b-1_amd64.deb 
      Selecting previously unselected package lustre-client-modules-dkms.
      (Reading database ... 117716 files and directories currently installed.)
      Preparing to unpack .../lustre-client-modules-dkms_2.17.50-64-g7e9546b-1_amd64.deb ...
      Unpacking lustre-client-modules-dkms (2.17.50-64-g7e9546b-1) ...
      Selecting previously unselected package lustre-client-utils.
      Preparing to unpack .../lustre-client-utils_2.17.50-64-g7e9546b-1_amd64.deb ...
      Unpacking lustre-client-utils (2.17.50-64-g7e9546b-1) ...
      Setting up lustre-client-modules-dkms (2.17.50-64-g7e9546b-1) ...
      Deprecated feature: CLEAN (/usr/src/lustre-client-modules-2.17.50-64-g7e9546b/dkms.conf)
      Creating symlink /var/lib/dkms/lustre-client-modules/2.17.50-64-g7e9546b/source -> /usr/src/lustre-client-modules-2.17.50-64-g7e9546b
      Deprecated feature: CLEAN (/var/lib/dkms/lustre-client-modules/2.17.50-64-g7e9546b/source/dkms.conf)
      Sign command: /usr/bin/kmodsign
      Signing key: /var/lib/shim-signed/mok/MOK.priv
      Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
      Building module(s)................................................. done.
      Error! Build of lnet/klnds/in-kernel-o2iblnd/ko2iblnd.ko failed for: 6.8.0-90-generic (x86_64)
      Make sure the name and location of the generated module are correct,
      or consult /var/lib/dkms/lustre-client-modules/2.17.50-64-g7e9546b/build/make.log for more information.
      Setting up lustre-client-utils (2.17.50-64-g7e9546b-1) ...
      Processing triggers for libc-bin (2.39-0ubuntu8.6) ...
      Processing triggers for man-db (2.12.0-4build2) ...
      
      # dpkg -S /usr/src/ofa_kernel
      mlnx-ofed-kernel-dkms: /usr/src/ofa_kernel
      # dpkg -l | grep mlnx
      ii  mlnx-ofed-kernel-dkms                 25.10.OFED.25.10.1.2.2.1-1        all          DKMS support for mlnx-ofed kernel modules
      ii  mlnx-ofed-kernel-utils                25.10.OFED.25.10.1.2.2.1-1        amd64        Userspace tools to restart and tune mlnx-ofed kernel modules
      ii  mlnx-tools                            2510.0.14-1                       amd64        Userspace tools to restart and tune MLNX_OFED kernel modules

            xyang Xiao Yang
            xyang Xiao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: