[ SRU Justification ] To correctly build on stonking and resolute with kernel version major than 7.0.12, we need to fix an issue introduced by upstream by removing a MACRO in kernel.
[ Current Test Plan ] Tested on resolute 7.0.0-22-generic and 7.0.0-28-generic (using kernel 7.0.12) Tested on stonking 7.0.0-14-generic Both distro correctly build the dkms and the modified DKMS can be loaded. [ Possible regression ] The fix is limited to removing a non existing feature, the only possible regression comes from the fact that some user-space programs may rely on the output of the printk to do some operations and those script might fail from now on. Patches will be appended to next messages. ====================================================================================================== The patch successfully builds in kernel 7.0.0-22 and 7.0.0-28 ================================ RESOLUTE Building initial module doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1 for 7.0.0-22-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Running the pre_build script.................. done. Building module(s)....................... done. Building initial module doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1 for 7.0.0-28-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Running the pre_build script.................... done. Building module(s)....................... done. ===================================================================== ====================== STONKING Building initial module doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1 for 7.0.0-14-generic Sign command: /usr/bin/kmodsign Certificate or key are missing, generating them using update-secureboot-policy... Secure Boot not enabled on this system. Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Running the pre_build script..................... done. Building module(s)........................... done. ======================================================================= ======================AUTOPKGTEST==================================== I: Testing if doca-ofed-26.01-dkms modules are correctly installed. doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1, 7.0.0-22-generic, x86_64: installed (Original modules exist) doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1/7.0.0-22-generic/x86_64/log/make.log doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1/7.0.0-3-generic/x86_64/log/make.log I: Summary: I: PASS doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1 7.0.0-3-generic I: PASS doca-ofed-26.01-dkms/26.01.1.0.0.0.609.1 7.0.0-22-generic PID TTY STAT TIME COMMAND 72944 hvc1 S+ 0:00 sleep 3 autopkgtest [14:39:22]: test dkms-autopkgtest: -----------------------] autopkgtest [14:39:23]: test dkms-autopkgtest: - - - - - - - - - - results - - - - - - - - - - dkms-autopkgtest PASS (superficial) autopkgtest [14:39:24]: @@@@@@@@@@@@@@@@@@@@ summary dkms-autopkgtest PASS (superficial) qemu-system-x86_64: terminating on signal 15 from pid 1768698 (/usr/bin/python3) ===================================================================== -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2157782 Title: doca-ofed-26-01-dkms build failure for resolute 7.0.0-28 lmm To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/doca-ofed-26.01-dkms/+bug/2157782/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
