[Bug 1886911] [NEW] Bionic rev 7906 fails to build against v5.4 kernels, error: linux/pci-aspm.h: No such file or directory

Launchpad Bug Tracker 1886911 at bugs.launchpad.net
Thu Jul 23 06:14:17 UTC 2020


You have been subscribed to a public bug by Anthony Wong (anthonywong):

[SRU Justification]

[Impact]
Systems with backport-iwlwifi-dkms installed (probably via modaliases match) may fails dkms trigger when installing kernel packages due to the lack of support to v5.4 kernel or newer.

[Fix]
Commits 7c0210bec6c0 ("backport: add pci-aspm.h to backport pci.h") and commit dcb781ec6656 ("iwlwifi: pcie: remove pci-aspm.h include") from https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git

[Test Case]
Install v5.4 kernel header packages and backport-iwlwifi-dkms in Bionic. DKMS should be built (but not installed to /lib/modules) successfully with no error.

Tested agaist following kernels:
* 4.15.0-109-generic
* 4.15.0-1091-oem
* 4.18.0-25-generic
* 5.0.0-1063-oem-osp1
* 5.0.0-53-generic
* 5.3.0-62-generic
* 5.4.0-40-generic

[Regression Potential]
Low. We've previously added OBSOLETE_BY=5.0.0 to dkms config in bug 1859389, but that won't stop it from compiling against new kernels, but only skips built modules installation. So this doesn't affect any existing system but to fix build error only.

========== Original Bug Description ==========

With v5.4 kernel backported into Bionic, now backport-iwlwifi-dkms may
need corresponding updates to be able to build against v5.4 kernel.

** Affects: hwe-next
     Importance: Undecided
         Status: New

** Affects: backport-iwlwifi-dkms (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: backport-iwlwifi-dkms (Ubuntu Bionic)
     Importance: Undecided
     Assignee: You-Sheng Yang (vicamo)
         Status: In Progress

** Affects: backport-iwlwifi-dkms (Ubuntu Eoan)
     Importance: Undecided
         Status: Won't Fix


** Tags: oem-priority originate-from-1886158 timbuktu
-- 
Bionic rev 7906 fails to build against v5.4 kernels, error: linux/pci-aspm.h: No such file or directory
https://bugs.launchpad.net/bugs/1886911
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list