2023-07-21 12:37:27 |
Juerg Haefliger |
bug |
|
|
added bug |
2023-07-21 12:37:40 |
Juerg Haefliger |
summary |
kernel header installation fails for incompatible DKMS modules |
Kernel header installation fails for incompatible DKMS modules |
|
2023-07-21 14:23:17 |
Juerg Haefliger |
attachment added |
|
dkms_3.0.11-1ubuntu9.debdiff https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2028366/+attachment/5687814/+files/dkms_3.0.11-1ubuntu9.debdiff |
|
2023-07-21 14:26:44 |
Juerg Haefliger |
description |
If a new kernel is installed, all installed DKMS modules are built for that new kernel. There might be incompatible modules that won't compile for the new kernel which results in a kernel header package installation failure. That's bad and not really correct, the incompatible DKMS module is the problem and not the new kernel.
In this case, DKMS module build failures should be ignored so that so that the kernel installation completes. |
If a new kernel is installed, all installed DKMS modules are built for that new kernel. There might be incompatible modules that won't compile for the new kernel which results in a kernel header package installation failure. That's bad and not really correct, the incompatible DKMS module is the problem and not the new kernel.
In this case, DKMS module build failures should be ignored so that the kernel installation completes. |
|
2023-07-21 16:14:18 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2023-07-23 17:15:38 |
zak_neutron |
bug |
|
|
added subscriber zak_neutron |
2023-07-25 15:49:59 |
Juerg Haefliger |
attachment added |
|
dkms_3.0.11-1ubuntu9.debdiff https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2028366/+attachment/5688346/+files/dkms_3.0.11-1ubuntu9.debdiff |
|
2023-07-26 10:11:13 |
Dimitri John Ledkov |
dkms (Ubuntu): status |
New |
Triaged |
|
2023-07-31 08:42:58 |
Juerg Haefliger |
nominated for series |
|
Ubuntu Mantic |
|
2023-07-31 08:42:58 |
Juerg Haefliger |
bug task added |
|
dkms (Ubuntu Mantic) |
|
2023-07-31 08:42:58 |
Juerg Haefliger |
nominated for series |
|
Ubuntu Lunar |
|
2023-07-31 08:42:58 |
Juerg Haefliger |
bug task added |
|
dkms (Ubuntu Lunar) |
|
2023-07-31 08:43:40 |
Juerg Haefliger |
attachment added |
|
dkms_3.0.10-7ubuntu3.debdiff https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2028366/+attachment/5689535/+files/dkms_3.0.10-7ubuntu3.debdiff |
|
2023-08-01 10:40:29 |
Dimitri John Ledkov |
dkms (Ubuntu Lunar): status |
New |
In Progress |
|
2023-08-01 10:40:33 |
Dimitri John Ledkov |
dkms (Ubuntu Mantic): status |
Triaged |
Fix Committed |
|
2023-08-01 10:45:46 |
Dimitri John Ledkov |
description |
If a new kernel is installed, all installed DKMS modules are built for that new kernel. There might be incompatible modules that won't compile for the new kernel which results in a kernel header package installation failure. That's bad and not really correct, the incompatible DKMS module is the problem and not the new kernel.
In this case, DKMS module build failures should be ignored so that the kernel installation completes. |
[ Impact ]
If a new kernel is installed, all installed DKMS modules are built for that new kernel. There might be incompatible modules that won't compile for the new kernel which results in a kernel header package installation failure. That's bad and not really correct, the incompatible DKMS module is the problem and not the new kernel.
In this case, DKMS module build failures should be ignored so that the kernel installation completes.
This is especially acute during release-upgrades, as dkms modules are upgraded out of order, and major kernel version are upgraded out of order. Majority of the time there is a new dkms available, which should attempt build & load.
However, many modules are often remain broken, no longer needed, or need user to fetch updated versions themselves.
[ Test Plan ]
* Install jammy
* Add module that support v5.15 kernel, but fails to compile with any newer kernels (one can find examples of such dkms modules in the archive, or out of the archive)
* Perform release upgrade with patched dkms pre-installed
* Release upgrade should succeed, despite unable to compile all dkms modules
[ Where problems could occur ]
* This is an improvement to the current situation of aborting release upgrade half way through. It doesn't quite resolve the UX to notify the user which dkms modules did not manage to compile, or to ask user to uninstall or to update them. Further UX / hooks might be needed in the release upgrade to complete the story of asking the user what they want to do with regressed dkms modules.
[ Other Info ]
* See lots and lots of upgrade bugs, failing on dkms module installation |
|
2023-08-01 10:45:52 |
Dimitri John Ledkov |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-08-01 15:47:52 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Dimitri John Ledkov |
2023-08-01 18:44:10 |
Launchpad Janitor |
dkms (Ubuntu Mantic): status |
Fix Committed |
Fix Released |
|
2023-08-08 05:45:30 |
Juerg Haefliger |
nominated for series |
|
Ubuntu Jammy |
|
2023-08-08 05:45:30 |
Juerg Haefliger |
bug task added |
|
dkms (Ubuntu Jammy) |
|
2023-08-08 05:45:36 |
Juerg Haefliger |
dkms (Ubuntu Jammy): status |
New |
Confirmed |
|
2023-08-14 07:44:39 |
Timo Aaltonen |
dkms (Ubuntu Lunar): status |
In Progress |
Fix Committed |
|
2023-08-14 07:44:40 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2023-08-14 07:44:42 |
Timo Aaltonen |
tags |
patch |
patch verification-needed verification-needed-lunar |
|
2023-08-28 09:34:14 |
Juerg Haefliger |
tags |
patch verification-needed verification-needed-lunar |
patch verification-done-lunar verification-needed |
|
2023-08-31 13:16:28 |
Launchpad Janitor |
dkms (Ubuntu Lunar): status |
Fix Committed |
Fix Released |
|
2023-08-31 13:16:33 |
Andreas Hasenack |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-08-31 13:17:59 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |
2023-08-31 17:00:26 |
Nicolas L'huillier |
attachment added |
|
=?Windows-1252?Q?Capture_d=92=E9cran_du_2023-08-31_18-56-37.png?= https://bugs.launchpad.net/bugs/2028366/+attachment/5696856/+files/%3D%3FWindows-1252%3FQ%3FCapture_d%3D92%3DE9cran_du_2023-08-31_18-56-37.png%3F%3D |
|