Comment 4 for bug 2026347

Revision history for this message
Roxana Nicolescu (roxanan) wrote :

Mantic, lunar and jammy fixes are attached.
Tested locally on kvm instances when possible (for jammy and lunar only) because kvm does not have these config options enabled.

Results:
1. lunar:linux-kvm-6.2.0-1029

$ dpkg -i oss4-dkms_4.2-build2020-1ubuntu2_amd64.deb
(Reading database ... 133994 files and directories currently installed.)
Preparing to unpack oss4-dkms_4.2-build2020-1ubuntu2_amd64.deb ...
Deleting module oss4-4.2-build2020 completely from the DKMS tree.
Unpacking oss4-dkms (4.2-build2020-1ubuntu2) over (4.2-build2020-1ubuntu2) ...
Setting up oss4-dkms (4.2-build2020-1ubuntu2) ...
Loading new oss4-4.2-build2020 DKMS files...
Building for 6.2.0-1009-kvm
Building initial module for 6.2.0-1009-kvm
Error! The /var/lib/dkms/oss4/4.2-build2020/6.2.0-1009-kvm/x86_64/dkms.conf for module oss4 includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
Skipped.

2. jammy:linux-kvm-5.15.0-1038
$ dpkg -i oss4-dkms_4.2-build2010-5ubuntu9.3_amd64.deb
...
make -j1 KERNELRELEASE=5.15.0-1038-kvm -C /lib/modules/5.15.0-1038-kvm/build M=/var/lib/dkms/oss4/4.2-build2010/build/core modules && make -C /var/lib/dkms/oss4/4.2-build2010/build/drivers osscore_symbols.inc && make -C /lib/modules/5.15.0-1038-kvm/build M=/var/lib/dkms/oss4/4.2-build2010/build/drivers modules..............(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.0-1038-kvm (x86_64)
Consult /var/lib/dkms/oss4/4.2-build2010/build/make.log for more information.
Error! The /var/lib/dkms/rtl8821ce/5.5.2.1/5.15.0-1038-kvm/x86_64/dkms.conf for module rtl8821ce includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch.
This indicates that it should not be built.

3. mantic:linux latest 6.4 kernel
Kvm is no longer a derivative for mantic, but tested this patch on the main linux to make sure it does not have a negative impact
dkms autoinstall on 6.4.0-1-generic/x86_64 succeeded for oss4
   ...done.