[lustre-discuss] dkms process on oracle linux

Khoi Mai khoi.mai2008 at gmail.com
Mon Mar 18 12:16:57 PDT 2024


Hi

I'm having a difficult time understanding how to build a dkms package and
have it rebuild/load the lustre kernel module when a new OS kernel is
detected.  I'm using oracle linux

4.18.0-477.21.1.el8_8.x86_64 #1 SMP Wed Aug 9 09:40:37 PDT 2023 x86_64
x86_64 x86_64 GNU/Linux

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8
Red Hat Enterprise Linux release 8.8 (Ootpa)
Oracle Linux Server release 8.8

I have followed
https://wiki.lustre.org/Compiling_Lustre#Lustre_Server_(DKMS_Packages_only
and my path to manage lustre is with the "patchless kernel" method.

My error when I have try to have the rpm installed on a newer
kernel-4.18.0-513.18.1.el8_9.x86_64 building lustre source version 2.15.3


dkms install lustre-ldiskfs/2.15.3

#failed trying to build below.  It appears its trying to apply patches
but its not finding the right version.#


Type 'make' to build Lustre.Building module:
Cleaning build area...
make -j2 KERNELRELEASE=4.18.0-513.18.1.el8_9.x86_64...(bad exit status: 2)
Error! Bad return status for module build on kernel:
4.18.0-513.18.1.el8_9.x86_64 (x86_64)
Consult /var/lib/dkms/lustre-ldiskfs/2.15.3/build/make.log for more information.
[root at oss-test-instance-dkms lustre-server-dkms]# cat
/var/lib/dkms/lustre-ldiskfs/2.15.3/build/make.log
DKMS make.log for lustre-ldiskfs-2.15.3 for kernel
4.18.0-513.18.1.el8_9.x86_64 (x86_64)
Fri Mar 15 06:13:36 GMT 2024
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/lustre-ldiskfs/2.15.3/build'
Making all in ldiskfs
make[2]: Entering directory '/var/lib/dkms/lustre-ldiskfs/2.15.3/build/ldiskfs'
make[2]: *** No rule to make target
'../ldiskfs/kernel_patches/series/ldiskfs-', needed by 'sources'.
Stop.
make[2]: Leaving directory '/var/lib/dkms/lustre-ldiskfs/2.15.3/build/ldiskfs'
make[1]: *** [autoMakefile:649: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/lustre-ldiskfs/2.15.3/build'
make: *** [autoMakefile:521: all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20240318/3142c52a/attachment.htm>


More information about the lustre-discuss mailing list