Package doesn't rebuild kernel module with new kernel install

Bug #1743849 reported by EricDP
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
rtl8812au (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The last several kernel updates, after reboot my rtl8812au device was offline. AFter I did a manual re-install (apt install --reinstall rtl8812au) it came back to life. As this is a dkms package, shouldn't it auto-build on a new kernel?

Package is: rtl8812au-dkms/artful,artful,now 4.3.8.12175.20140902+dfsg-0ubuntu7 all [installed]
  dkms source for the r8812au network driver

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 17 10:04:57 2018
InstallationDate: Installed on 2017-11-23 (55 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
PackageArchitecture: all
SourcePackage: rtl8812au
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
EricDP (eric-arcticbears) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in rtl8812au (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeremy (wa113y3s) wrote :

The fix is to change the MAKE line in dkms.conf, as it works correctly when it is

MAKE[0]="'make' all KVER=${kernelver}"

When it uses MAKE="'make' all" it compiles against the old kernel and you see things like

modinfo 8812au | egrep 'file|ver'
filename: /lib/modules/4.4.0-112-generic/updates/dkms/8812au.ko
version: v4.3.8_12175.20140902
description: Realtek Wireless Lan Driver
srcversion: 5E9D12706FAF7E2BB4F284E
vermagic: 4.4.0-109-generic SMP mod_unload modversions

The vermagic kernel version doesn't match the kernel in the file name

Revision history for this message
Reinhard Koehn (rekoehn) wrote :

This seems to be a duplicate of bug 1705820 and bug 1804832

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

Other bug subscribers

Remote bug watches

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