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

lustre in staging interferes with 2.12.2 on Ubuntu 18.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.4
    • Lustre 2.12.2
    • None
    • Ubuntu 18.04
    • 3
    • 9223372036854775807

    Description

      We have a number of old compute systems which have raid controllers, We are migrating these from a mix of redhat 7.6 and ubuntu 12.04 to ubuntu 18.04. The raid controllers on these systems require kernel modules from the distribution kernel-modules-extra package to function (e.g. to be able to drive the root filesystem device /dev/sda ). 
       
      We use dkms packages to install lustre modules

      There is a version of lustre in the staging area of the -extra modules package in Ubuntu 18.04. This lustre system has a version of libcfs.ko version 0.7.0 while the libcfs.ko generated from a lustre 2.12.2 source tree has a libcfs.ko version 0.5.0 I have edited the source to bump the version of libcfs.ko to 0.8.0 and that results in a module that works on an 18.04 system with the modules-extra package installed.
       
      We need a the source tree to support lustre while the staging modules are available.

      For example, inspecting the Ubuntu 18.04 module

      root@bc-25-1-02:~# modinfo /lib/modules/4.15.0-64-generic/kernel/drivers/staging/lustre/lnet/libcfs/libcfs.ko
      filename:       /lib/modules/4.15.0-64-generic/kernel/drivers/staging/lustre/lnet/libcfs/libcfs.ko
      license:        GPL
      version:        0.7.0
      description:    Lustre helper library
      author:         OpenSFS, Inc. <http://www.lustre.org/>
      srcversion:     3EAA7DAA70F86FD8F262DC1
      depends:
      staging:        Y
      retpoline:      Y
      intree:         Y
      name:           libcfs
      vermagic:       4.15.0-64-generic SMP mod_unload

      Cf the upstream dkms:

      root@farm5-head1:~# modinfo /lib/modules/4.15.0-64-generic/updates/dkms/libcfs.ko
      filename:       /lib/modules/4.15.0-64-generic/updates/dkms/libcfs.ko
      license:        GPL
      version:        0.5.0
      description:    Lustre helper library
      author:         OpenSFS, Inc. <http://www.lustre.org/>
      srcversion:     01F59272261BC3745941E9A
      depends:
      retpoline:      Y
      name:           libcfs
      vermagic:       4.15.0-64-generic SMP mod_unload

      Attachments

        Activity

          People

            simmonsja James A Simmons
            james beal James Beal
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: