Details
-
Improvement
-
Resolution: Fixed
-
Blocker
-
None
-
5847
Description
dkms is a cross distro mechanism for the building and maintenance of out-of-tree kernel modules.
(http://linux.dell.com/dkms/) The attached patch adds dkms support to the debian/ubuntu packaging infrastructure.
The current debian/ubuntu kernel module package uses module-assistant, which produces a deb which is tied to a specific kernel version, requiring the user to manually rebuild packages when the kernel is changed.
The dkms package allows modules for multiple kernel versions to be packaged together into a single deb. Once installed, the package contains triggers so that when a new kernel is installed for which no pre-built lustre modules exists, dkms will automatically build and install them. This reduces maintenance overhead on client machines.
dkms also works on redhat and sles; it should be possible to fold dkms support into the rpm build process.
Attachments
Issue Links
- is duplicated by
-
LU-6393 dkms build of client modules requires zfs/spl libraries
-
- Resolved
-
- is related to
-
LU-5465 Enhancements to Lustre DKMS RPM
-
- Resolved
-
- is related to
-
LU-2391 warning messages for missing symbols when lustre-modules::osd_zfs.ko installed on a system without zfs-modules installed
-
- Resolved
-
We should be able to sort this out on our side. It would be best for everyone if we relied on the version of DKMS shipped by the distributions. We're sorting out a reasonable fix now, there's a proposed patch in https://github.com/zfsonlinux/zfs/pull/2776. You'll likely need to make a similar tweak for Lustre.