I'm running 16.04. I have 6 DKMS drivers installed and running fine.
However, two communications device drivers (rtl88212au and rtl8814au) build incorrectly when the kernel gets updated during a Ubuntu software update. As such, these two drivers won't load. If I do a modinfo on either of these drivers after a Ubuntu software update, the vermagic value shows that it's for the previous version of the kernel, when it should show the current/new version of the kernel.
I do have secure boot disabled, and my other 4 DKMS drivers work fine. Just these two don't build correctly.
I have to do a
dkms remove, and then these same drivers
dkms build and
dkms install just fine when done manually.
Here are the two dkms.conf files:
PACKAGE_NAME="rtl8812au" PACKAGE_VERSION="18.104.22.16875.20140902+dfsg" BUILT_MODULE_NAME="8812au" MAKE="'make' all" DEST_MODULE_LOCATION="/updates/dkms" AUTOINSTALL="YES" PACKAGE_NAME="rtl8814au" PACKAGE_VERSION="22.214.171.12420.20150622_beta_led" MAKE="'make' all" BUILT_MODULE_NAME="8814au" DEST_MODULE_LOCATION="/updates/dkms" AUTOINSTALL="YES" REMAKE_INITRD="YES"
Any ideas on where to start looking for trouble?