rtl8812au ADT test failure with linux 5.0.0-1.2

Bug #1813068 reported by Seth Forshee on 2019-01-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rtl8812au (Ubuntu)
Marcelo Cerri

Bug Description


Currently the DKMS package fails to install on supported custom
kernels that are based on 5.0.

[Test Case]

Install the dahdi-dkms package with the 5.0 unstable kernel. The
package installation should proceed without any errors.

[Regression Potential]

Although new patches were added, the regression risk is very low since
the new changes are conditionally compiled based on the kernel

Besides that, the new package was tested with the following kernels in
an amd64 environment:

- linux-generic 5.0
- linux-generic 4.19

[Original Description]

Testing failed on:
    amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco-canonical-kernel-team-unstable/disco/amd64/r/rtl8812au/20190123_165705_6fe41@/log.gz
    i386: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco-canonical-kernel-team-unstable/disco/i386/r/rtl8812au/20190123_171130_6fe41@/log.gz

Seth Forshee (sforshee) on 2019-01-23
tags: added: kernel-adt-failure
Marcelo Cerri (mhcerri) on 2019-02-06
Changed in rtl8812au (Ubuntu):
assignee: nobody → Marcelo Cerri (mhcerri)
Marcelo Cerri (mhcerri) wrote :

Debdiff attached.

description: updated
tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rtl8812au -

rtl8812au ( disco; urgency=medium

  * Linux 4.20 and 5.0 compatibility (LP: #1813068)
    - debian/patches/4.20-kernel-compatibility.patch
    - debian/patches/5.0-kernel-compatibility.patch

 -- Marcelo Henrique Cerri <email address hidden> Wed, 06 Feb 2019 14:37:17 -0200

Changed in rtl8812au (Ubuntu):
status: New → Fix Released
Connor Kuehl (connork) wrote :

Experiencing this same issue on bionic/linux-hwe-edge:

  amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/r/rtl8812au/20190429_215013_0195c@/log.gz

  i386: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/i386/r/rtl8812au/20190429_215359_0195c@/log.gz

To fix this, I've backported patches from rtl8812au in disco to rtl8812au in bionic. No context changes were required.


- Create Bionic 18.04 VM
- Install bionic/linux-hwe-edge kernel headers, image, and modules packages from -proposed: https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+packages?field.name_filter=linux-hwe-edge&field.status_filter=published&field.series_filter=bionic
- Enable the -proposed repository in the VM
- "sudo apt update"
- Verify the version of rtl8812au-dkms is the one failing (found on this bug) "apt show rtl8812au-dkms"
- "sudo apt install rtl8812au-dkms", confirm it fails at installation step
- Uninstall "sudo apt remove rtl8812au-dkms"
- "pull-lp-sources rtl8812au bionic"
- Apply the debdiff, this will change a little depending on your cwd: "debdiff-apply < rtl8812au_4.3.8.12175.20140902+dfsg-0ubuntu8.1.debdiff"
- Build the package "debuild -us -uc"
- Install the .deb generated from the previous step
- Verify the package installs correctly "sudo dpkg --install rtl8812au-dkms_4.3.8.12175.20140902+dfsg-0ubuntu8.1_all.deb"

Connor Kuehl (connork) wrote :

Attaching revised .debdiff containing provenance for these changes.

Hello Seth, or anyone else affected,

Accepted rtl8812au into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/rtl8812au/ 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 and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. 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 rtl8812au (Ubuntu Disco):
status: New → Fix Released
Changed in rtl8812au (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers