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

dkms-lustre does not install all modules on initial autoinstall

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.10.1, Lustre 2.11.0
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      When I run the following command to install DKMS built Lustre:

      # yum install kernel-devel-[0-9]*_lustre lustre lustre-dkms kmod-lustre-osd-ldiskfs zfs
      
      

      the result after the installation is that only the lustre.ko (built from dkms-lustre) module is in /lib/modules/3.10.0-514.21.1.el7_lustre.x86_64/extra/:

      # ls -l /lib/modules/3.10.0-514.21.1.el7_lustre.x86_64/extra/
      total 4836
      -rw-r--r-- 1 root root 1615824 Jul  7 14:01 lustre.ko
      drwxr-xr-x 3 root root      16 Jul  7 13:55 lustre-osd-ldiskfs
      -rw-r--r-- 1 root root  353632 Jul  7 13:55 splat.ko
      -rw-r--r-- 1 root root  170024 Jul  7 13:55 spl.ko
      -rw-r--r-- 1 root root   14016 Jul  7 13:57 zavl.ko
      -rw-r--r-- 1 root root   75848 Jul  7 13:57 zcommon.ko
      -rw-r--r-- 1 root root 2205152 Jul  7 13:57 zfs.ko
      -rw-r--r-- 1 root root  132488 Jul  7 13:57 znvpair.ko
      -rw-r--r-- 1 root root   34000 Jul  7 13:57 zpios.ko
      -rw-r--r-- 1 root root  330920 Jul  7 13:57 zunicode.ko
      
      

      Notice that all of the other supporting modules are missing.

      After the above, if I then remove the module with dkms uninstall -m lustre/2.10.0_RC1 -k 3.10.0-514.21.1.el7_lustre.x86_64 and then run /etc/kernel/postinst.d/dkms 3.10.0-514.21.1.el7_lustre.x86_64 to emulate what happens during the yum installation above, /lib/modules/3.10.0-514.21.1.el7_lustre.x86_64/extra/ contains all of the necessary Lustre modules.

      So there seems to be some subtle issue with the lustre-dkms RPM that only occurs during the initial installation.

      Attachments

        1. config.log
          726 kB
        2. make.log
          55 kB
        3. transcsript
          61 kB

        Activity

          People

            utopiabound Nathaniel Clark
            brian Brian Murrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: