build backport-iwlwifi-dkms as linux-modules-iwlwifi-ABI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backport-iwlwifi-dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Incomplete
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
You-Sheng Yang | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang | ||
linux-meta (Ubuntu) |
Fix Released
|
High
|
You-Sheng Yang | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang | ||
linux-meta-hwe-5.15 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
You-Sheng Yang | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
You-Sheng Yang | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.17 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
You-Sheng Yang |
Bug Description
[SRU Justfication]
[Impact]
Intel AX211 iwlwifi -64 firmware may fail to init under reboot stress,
and -67 is immune. FW API -64 supported by oem-5.14, and -67 in v5.16.
Not reproducible on every platform with AX211 installed, and the chances
of such failures vary from one to another.
[Fix]
A few solutions were considered. The very first one is to ask Intel to
fix -64 firmware directly, and the answer is a solid no claimed -64 is
not the planned production version of AX211.
It's also possible to backport FW API from v5.16, but while iwlwifi FW
API is more or less a black box to us and the new FW APIs also depends
on updates on the wireless stack, this is going to be very risky and
actually we had regressions before after such backports.
The last viable solution is to run backport-
the effected platforms. This means oem-5.14 and its migration target,
hwe-5.15 will not be able to drive this piece of hw flawlessly without
backport-
However, while we need secureboot to be enabled on these platforms,
backport-
possible method to achieve this, too. One, to prebuild this dkms as zfs
and v4l2loopback does. However, while backport-
kernel modules with exactly the same name as the in-tree ones, when
prebuilt, they'll be available directly from the linux-modules package
and therefore overrides the in-tree ones always, turning the in-tree
driver completely useless and risk the stability of all other generic
installations.
The second one is to build backport-
drivers in the linux-restricte
affected platforms may install the corresponding packages when needed
without interfering others. However, l-r-m is for restricted modules
that needs special care of redistribution of its binaries, and
backport-
Here a similar but simpler process in the main kernel tree is
re-implemented. Two additional packages,
linux-modules-
linux-modules-
[Test Case]
Test builds:
./jammy/
./jammy/
./unstable/
./unstable/
./oem-5.
./oem-5.
./oem-5.
./oem-5.
[Where problems could occur]
The latest (9858-0ubuntu2) backport-
to build under this proposed process. Debdiff attached to the same
bug.
Different from nvidia packages built from l-r-m, the generated package
names do not carry an additional short version string, e.g. nvidia-410,
as there is no such necessity to build multiple versions of iwlwifi.
The modules are installed to /lib/modules/
iwlwifi-9858/.
========== linux-meta-hwe-5.15 SRU ==========
[Impact]
To bring standalone dkms module builds to hwe-5.15 as well.
[Fix]
Same fix that has been applied to
Unstable/
[Test Case]
This should generate meta packages:
* linux-modules-
* linux-modules-
* linux-modules-
* linux-modules-
[Where problems could occur]
This creates only the meta packages that are currently missing. No
function changes.
[Other Info]
While this has been ported to all other series in concern, only hwe-5.15
is nominated for fix here.
The patch titled "UBUNTU: [Packaging] skip standalone dkms modules for
virtual flavour" was not tagged with a BugLink line, but we'd need that
to skip generating linux-modules-foo meta packages for virtual flavour.
========== backport-
In order to be compiled with dkms-build in kernel source package, the kernel header dir will not be /lib/modules/
[backport-
Under some circumstances, dkms is invoked as: `/usr/sbin/dkms build --kernelsourcedir ...` and yet the dkms make command in this package has:
MAKE="'make' -j$(num_cpu_cores) KLIB=/lib/
Related branches
- Dimitri John Ledkov (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 25 lines (+7/-1)2 files modifieddebian/backport-iwlwifi-dkms.dkms.in (+1/-1)
debian/changelog (+6/-0)
CVE References
summary: |
- dkms.conf doesn't respect --kernelsourcedir passed to dkms build + build backport-iwlwifi-dkms as linux-modules-iwlwifi-ABI |
description: | updated |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux-oem-5.14 (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | Incomplete → In Progress |
description: | updated |
description: | updated |
Changed in backport-iwlwifi-dkms (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
assignee: | nobody → You-Sheng Yang (vicamo) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linux-oem-5.17 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Jammy): | |
assignee: | nobody → You-Sheng Yang (vicamo) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-needed-focal removed: verification-done-focal |
Changed in linux-meta (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.17 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
no longer affects: | linux-meta-oem (Ubuntu) |
no longer affects: | linux-meta-oem (Ubuntu Focal) |
no longer affects: | linux-meta-oem (Ubuntu Jammy) |
Turns out is is an issue originated from linux-backports: https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/backports/ backports. git/tree/ backport/ Makefile