2022-10-04 12:24:13 |
Dimitri John Ledkov |
bug |
|
|
added bug |
2022-10-04 12:24:18 |
Dimitri John Ledkov |
nominated for series |
|
Ubuntu Jammy |
|
2022-10-04 12:24:18 |
Dimitri John Ledkov |
bug task added |
|
dkms (Ubuntu Jammy) |
|
2022-10-04 12:24:23 |
Dimitri John Ledkov |
dkms (Ubuntu): status |
New |
Fix Released |
|
2022-10-04 12:24:25 |
Dimitri John Ledkov |
dkms (Ubuntu Jammy): status |
New |
Triaged |
|
2022-10-04 12:24:27 |
Dimitri John Ledkov |
dkms (Ubuntu Jammy): assignee |
|
Dimitri John Ledkov (xnox) |
|
2022-10-04 12:24:32 |
Dimitri John Ledkov |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-10-04 14:11:52 |
Dimitri John Ledkov |
bug task added |
|
linux (Ubuntu) |
|
2022-10-04 14:11:57 |
Dimitri John Ledkov |
dkms (Ubuntu): status |
Fix Released |
Triaged |
|
2022-10-04 14:12:06 |
Dimitri John Ledkov |
bug task added |
|
zfs-linux (Ubuntu) |
|
2022-10-04 14:30:06 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2022-10-04 14:30:08 |
Ubuntu Kernel Bot |
linux (Ubuntu Jammy): status |
New |
Incomplete |
|
2022-10-06 11:53:11 |
Dimitri John Ledkov |
description |
[ Impact ]
* hwe-5.19 kernel has to be compiled with gcc-12+ for the new security kernel config options that have been enabled in that kernel (init zero structs).
* dkms needs to be patched to attempt to use the same compiler as was used to build the kernel, specifically use gcc for v5.15 but gcc-12 for v5.19+ in jammy
* dkms autopkgtests also need to be improved to ensure there are no false negatives when kernel has module under test already built-in at the same version.
* because linux-headers packages in Ubuntu do not depend on a toolchain, and it is very hard to correctly depend on a native or cross-toolchain, add gcc-12 dependency in the dkms package.
[ Test Plan ]
* Retrigger dkms module test for a built-in package of the same version as already built into the kernel, for example zfs-linux dkms. It should pass.
* Attempt to build dkms modules against v5.15 kernel and v5.19 kernel from proposed. dkms module should be built with gcc and gcc-12 respectively.
[ Where problems could occur ]
* New gcc-12 dependency on the dkms package may result in two compilers being installed in the Ubuntu Desktop Live image
* New gcc-12 dependency may prevent automatic upgrade/installation of the dkms package update via unattended upgrades.
[ Other Info ]
* It is questionable for dkms to depend on any c-compiler, given that a module for a given kernel can really be built with the same toolchain and the same compiler features.
* In debian, linux kernel packages ship and extra configuration file in the kernel headers, dkms uses said configuration file to use a matching compiler, and linux-headers packages depend on the toolchain used to build a given kernel. Maybe in the future Ubuntu could consider using the same packaging. |
[ Impact ]
* hwe-5.19 kernel has to be compiled with gcc-12+ for the new security kernel config options that have been enabled in that kernel (init zero structs).
* dkms needs to be patched to attempt to use the same compiler as was used to build the kernel, specifically use gcc for v5.15 but gcc-12 for v5.19+ in jammy
* dkms autopkgtests also need to be improved to ensure there are no false negatives when kernel has module under test already built-in at the same version.
* because linux-headers packages in Ubuntu do not depend on a toolchain, and it is very hard to correctly depend on a native or cross-toolchain, add gcc-12 dependency in the dkms package.
[ Test Plan ]
* Retrigger dkms module test for a built-in package of the same version as already built into the kernel, for example zfs-linux dkms. It should pass.
* Attempt to build dkms modules against v5.15 kernel and v5.19 kernel from proposed. dkms module should be built with gcc and gcc-12 respectively.
[ Where problems could occur ]
* New gcc-12 dependency on the dkms package may result in two compilers being installed in the Ubuntu Desktop Live image
* New gcc-12 dependency may prevent automatic upgrade/installation of the dkms package update via unattended upgrades.
[ Other Info ]
* It is questionable for dkms to depend on any c-compiler, given that a module for a given kernel can really be built with the same toolchain and the same compiler features.
* In debian, linux kernel packages ship and extra configuration file in the kernel headers, dkms uses said configuration file to use a matching compiler, and linux-headers packages depend on the toolchain used to build a given kernel. Maybe in the future Ubuntu could consider using the same packaging.
* Some DKMS modules need further fixes to preserve and not loose the compiler setting |
|
2022-10-06 11:53:19 |
Dimitri John Ledkov |
bug task added |
|
backport-iwlwifi-dkms (Ubuntu) |
|
2022-10-06 13:34:04 |
Dimitri John Ledkov |
summary |
backport dkms fixes to build modules correctly for hwe-5.19+ kernels |
backport dkms fixes to build modules correctly for hwe-5.19+ kernels with custom compiler |
|
2022-10-06 14:17:00 |
Dimitri John Ledkov |
bug task added |
|
v4l2loopback (Ubuntu) |
|
2022-10-06 14:40:45 |
Dimitri John Ledkov |
v4l2loopback (Ubuntu): status |
New |
In Progress |
|
2022-10-06 14:41:11 |
Dimitri John Ledkov |
backport-iwlwifi-dkms (Ubuntu): status |
New |
In Progress |
|
2022-10-06 14:41:23 |
Dimitri John Ledkov |
zfs-linux (Ubuntu): status |
New |
In Progress |
|
2022-10-06 14:41:36 |
Dimitri John Ledkov |
dkms (Ubuntu): status |
Triaged |
In Progress |
|
2022-10-06 14:41:40 |
Jose Ogando Justo |
bug |
|
|
added subscriber Jose Ogando Justo |
2022-10-07 09:18:30 |
Timo Aaltonen |
dkms (Ubuntu Jammy): status |
Triaged |
Fix Committed |
|
2022-10-07 09:18:35 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2022-10-07 09:18:38 |
Timo Aaltonen |
tags |
|
verification-needed verification-needed-jammy |
|
2022-10-08 08:21:26 |
Launchpad Janitor |
backport-iwlwifi-dkms (Ubuntu): status |
In Progress |
Fix Released |
|
2022-10-08 09:39:24 |
Launchpad Janitor |
zfs-linux (Ubuntu): status |
In Progress |
Fix Released |
|
2022-10-08 09:39:28 |
Launchpad Janitor |
v4l2loopback (Ubuntu): status |
In Progress |
Fix Released |
|
2022-10-14 14:40:43 |
Launchpad Janitor |
dkms (Ubuntu): status |
In Progress |
Fix Released |
|
2022-10-14 16:12:39 |
Launchpad Janitor |
linux (Ubuntu): status |
Incomplete |
Fix Released |
|
2022-11-18 12:22:44 |
Dimitri John Ledkov |
tags |
verification-needed verification-needed-jammy |
verification-done verification-done-jammy |
|
2022-11-21 09:27:32 |
Launchpad Janitor |
dkms (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-11-21 09:27:35 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-12-06 17:26:41 |
You-Sheng Yang |
bug task added |
|
ipu6-drivers (Ubuntu) |
|
2022-12-06 17:27:10 |
You-Sheng Yang |
bug task added |
|
ivsc-driver (Ubuntu) |
|
2022-12-07 15:37:16 |
Ubuntu Kernel Bot |
tags |
verification-done verification-done-jammy |
kernel-spammed-jammy-linux-hwe-5.19 verification-needed-jammy |
|
2022-12-15 17:48:08 |
You-Sheng Yang |
attachment added |
|
ivsc-driver_0~git202212050241.dfa1b1fa-0ubuntu0.23.04.1.debdiff https://bugs.launchpad.net/bugs/1991664/+attachment/5635756/+files/ivsc-driver_0~git202212050241.dfa1b1fa-0ubuntu0.23.04.1.debdiff |
|
2022-12-15 17:48:08 |
You-Sheng Yang |
attachment added |
|
ipu6-drivers_0~git202211220708.278b7e3d-0ubuntu0.23.04.2.debdiff https://bugs.launchpad.net/bugs/1991664/+attachment/5635757/+files/ipu6-drivers_0~git202211220708.278b7e3d-0ubuntu0.23.04.2.debdiff |
|
2023-01-19 18:50:12 |
Łukasz Zemczak |
v4l2loopback (Ubuntu Jammy): status |
New |
Fix Committed |
|
2023-01-19 18:50:15 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-01-19 18:50:19 |
Łukasz Zemczak |
tags |
kernel-spammed-jammy-linux-hwe-5.19 verification-needed-jammy |
kernel-spammed-jammy-linux-hwe-5.19 verification-needed verification-needed-jammy |
|
2023-02-14 12:13:53 |
Dimitri John Ledkov |
tags |
kernel-spammed-jammy-linux-hwe-5.19 verification-needed verification-needed-jammy |
kernel-spammed-jammy-linux-hwe-5.19 verification-done verification-done-jammy |
|
2023-02-14 12:14:54 |
Dimitri John Ledkov |
description |
[ Impact ]
* hwe-5.19 kernel has to be compiled with gcc-12+ for the new security kernel config options that have been enabled in that kernel (init zero structs).
* dkms needs to be patched to attempt to use the same compiler as was used to build the kernel, specifically use gcc for v5.15 but gcc-12 for v5.19+ in jammy
* dkms autopkgtests also need to be improved to ensure there are no false negatives when kernel has module under test already built-in at the same version.
* because linux-headers packages in Ubuntu do not depend on a toolchain, and it is very hard to correctly depend on a native or cross-toolchain, add gcc-12 dependency in the dkms package.
[ Test Plan ]
* Retrigger dkms module test for a built-in package of the same version as already built into the kernel, for example zfs-linux dkms. It should pass.
* Attempt to build dkms modules against v5.15 kernel and v5.19 kernel from proposed. dkms module should be built with gcc and gcc-12 respectively.
[ Where problems could occur ]
* New gcc-12 dependency on the dkms package may result in two compilers being installed in the Ubuntu Desktop Live image
* New gcc-12 dependency may prevent automatic upgrade/installation of the dkms package update via unattended upgrades.
[ Other Info ]
* It is questionable for dkms to depend on any c-compiler, given that a module for a given kernel can really be built with the same toolchain and the same compiler features.
* In debian, linux kernel packages ship and extra configuration file in the kernel headers, dkms uses said configuration file to use a matching compiler, and linux-headers packages depend on the toolchain used to build a given kernel. Maybe in the future Ubuntu could consider using the same packaging.
* Some DKMS modules need further fixes to preserve and not loose the compiler setting |
tl; dr
this has proven to be a bit futile, and instead we went ahead with changing the default kernel makefiles to default to the correct toolchain and we have reverted hwe-5.19 kernel to use stock gcc on jammy for now.
So the things described here are not strictly even needed in jammy for now.
[ Impact ]
* hwe-5.19 kernel has to be compiled with gcc-12+ for the new security kernel config options that have been enabled in that kernel (init zero structs).
* dkms needs to be patched to attempt to use the same compiler as was used to build the kernel, specifically use gcc for v5.15 but gcc-12 for v5.19+ in jammy
* dkms autopkgtests also need to be improved to ensure there are no false negatives when kernel has module under test already built-in at the same version.
* because linux-headers packages in Ubuntu do not depend on a toolchain, and it is very hard to correctly depend on a native or cross-toolchain, add gcc-12 dependency in the dkms package.
[ Test Plan ]
* Retrigger dkms module test for a built-in package of the same version as already built into the kernel, for example zfs-linux dkms. It should pass.
* Attempt to build dkms modules against v5.15 kernel and v5.19 kernel from proposed. dkms module should be built with gcc and gcc-12 respectively.
[ Where problems could occur ]
* New gcc-12 dependency on the dkms package may result in two compilers being installed in the Ubuntu Desktop Live image
* New gcc-12 dependency may prevent automatic upgrade/installation of the dkms package update via unattended upgrades.
[ Other Info ]
* It is questionable for dkms to depend on any c-compiler, given that a module for a given kernel can really be built with the same toolchain and the same compiler features.
* In debian, linux kernel packages ship and extra configuration file in the kernel headers, dkms uses said configuration file to use a matching compiler, and linux-headers packages depend on the toolchain used to build a given kernel. Maybe in the future Ubuntu could consider using the same packaging.
* Some DKMS modules need further fixes to preserve and not loose the compiler setting |
|
2023-02-15 08:27:36 |
Launchpad Janitor |
zfs-linux (Ubuntu Jammy): status |
New |
Fix Released |
|
2023-02-15 08:28:38 |
Launchpad Janitor |
v4l2loopback (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-02-15 09:14:40 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu Jammy) |
|
|
2023-02-15 09:20:41 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu) |
|
|
2023-02-15 09:20:49 |
You-Sheng Yang |
bug task deleted |
ipu6-drivers (Ubuntu Jammy) |
|
|
2023-02-15 09:20:58 |
You-Sheng Yang |
bug task deleted |
ipu6-drivers (Ubuntu) |
|
|