package backport-iwlwifi-dkms 8324-0ubuntu1 failed to install/upgrade: installed backport-iwlwifi-dkms package post-installation script subprocess returned error exit status 10

Bug #1863583 reported by aouadi
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
backport-iwlwifi-dkms (Ubuntu)
Fix Released
Undecided
You-Sheng Yang
Focal
Fix Released
Undecided
You-Sheng Yang
Groovy
Fix Released
Undecided
You-Sheng Yang

Bug Description

[SRU Justification]

[Impact]

backport-iwlwifi-dkms of latest upstream revision 8324 has no updates for a few months and is becoming a problem when installed against recent kernels >= v5.4. It's reported to have poor network throughput for 7000/8000/9000 series cards.

[Fix]

On Bionic and Eoan, we've skipped module install against kernel >= v5.0 because we have backported drivers for new device models as much as we can. On Focal and on, the in-tree kernel iwlwifi driver is currently much more up to date in comparison to backport-iwlwifi-dkms, so there should be no more reason to install it automatically via modaliases.

So two actions to be taken here:
* to remove modaliases for the dkms package, so that it won't be installed automatically via "3rd party drivers".
* to mark OBSOLETED_BY kernel 5.4.0 and up

[Test Case]

* For new installations, this means backport-iwlwifi-dkms shouldn't be installed automatically even with a PCI id match.
* For existing installations, dkms modules will still be built, but the module installation will be skipped, leaving messages like:

  $ dkms status
  backport-iwlwifi, 8324, 5.4.0-33-generic, x86_64: installed
  (WARNING! Diff between built and installed module!) (WARNING!
  Diff between built and installed module!) (WARNING! Diff
  between built and installed module!) (WARNING! Diff between
  built and installed module!) (WARNING! Diff between built and
  installed module!) (WARNING! Diff between built and installed
  module!)

This can also be tested locally with follow command against packages prebuilt in https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1863583:

  sudo env AUTOPKGTEST_ARTIFACTS=/tmp debian/tests/dkms-autopkgtest

[Regression Potential]
Low. Moving to in-tree drivers instead.

[Other Info]
Focal SRU package for landing in https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1863583 .

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

no wifi detected
and when upgrade it's aborted and return error code
system used ubuntu 20.04
kernel 5.4
laptop dell xps 15 7590

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: backport-iwlwifi-dkms 8324-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Mon Feb 17 10:22:57 2020
ErrorMessage: installed backport-iwlwifi-dkms package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2020-02-05 (12 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
Python3Details: /usr/bin/python3.7, Python 3.7.6, python3-minimal, 3.7.5-1ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.9
SourcePackage: backport-iwlwifi-dkms
Title: package backport-iwlwifi-dkms 8324-0ubuntu1 failed to install/upgrade: installed backport-iwlwifi-dkms package post-installation script subprocess returned error exit status 10
UpgradeStatus: Upgraded to focal on 2020-02-07 (9 days ago)

Related branches

Revision history for this message
aouadi (khaledaouadi) wrote :
tags: removed: need-duplicate-check
You-Sheng Yang (vicamo)
tags: added: hwe-networking-wifi
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in backport-iwlwifi-dkms (Ubuntu):
status: New → Confirmed
You-Sheng Yang (vicamo)
Changed in backport-iwlwifi-dkms (Ubuntu Groovy):
status: Confirmed → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

8324-0ubuntu2 is now in groovy with modaliases removed, so it won't be pulled automatically from additional drivers from now on.

Changed in backport-iwlwifi-dkms (Ubuntu Groovy):
status: In Progress → Fix Committed
You-Sheng Yang (vicamo)
Changed in backport-iwlwifi-dkms (Ubuntu Focal):
status: New → In Progress
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in backport-iwlwifi-dkms (Ubuntu Groovy):
status: Fix Committed → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Uploaded version 8324-0ubuntu3 to https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1863583 to fix autopkgtest failures on groovy:amd64, groovy:arm64, groovy:ppc64el.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package backport-iwlwifi-dkms - 8324-0ubuntu3

---------------
backport-iwlwifi-dkms (8324-0ubuntu3) groovy; urgency=medium

  * autopkgtest: fix autopkgtest runs on after OBSOLETE_BY=5.4.0.

 -- You-Sheng Yang <email address hidden> Mon, 01 Jun 2020 16:58:28 +0800

Changed in backport-iwlwifi-dkms (Ubuntu Groovy):
status: In Progress → Fix Released
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello aouadi, or anyone else affected,

Accepted backport-iwlwifi-dkms into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/8324-0ubuntu3~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in backport-iwlwifi-dkms (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified focal-proposed version 8324-0ubuntu3~20.04.1.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package backport-iwlwifi-dkms - 8324-0ubuntu3~20.04.1

---------------
backport-iwlwifi-dkms (8324-0ubuntu3~20.04.1) focal; urgency=medium

  * dkms: stop installing kernel on 5.4 or newer (LP: #1863583)
    - add OBSOLETE_BY=5.4.0
    - fix autopkgtest runs
  * debian: drop modaliases support (LP: #1869587)

 -- You-Sheng Yang <email address hidden> Wed, 03 Jun 2020 11:20:56 +0800

Changed in backport-iwlwifi-dkms (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for backport-iwlwifi-dkms has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.