📖 ~1 min read
Table of contents
Symptom & Impact
After reboot, hardware features or virtualization drivers stop working because kernel modules did not rebuild.
Environment & Reproduction
Seen on Ubuntu 16.04 with third-party drivers (for example VirtualBox/NVIDIA) after unattended kernel upgrades.
Root Cause Analysis
DKMS cannot compile modules against the new kernel due to missing headers, compiler mismatch, or module source incompatibility.
Quick Triage
Check dkms status and inspect /var/lib/dkms/*/build/make.log. Compare running kernel with uname -r and installed headers list.
Step-by-Step Diagnosis
Validate linux-headers-$(uname -r) and build-essential packages, then inspect compiler versions and module source patches needed for xenial kernels.

Solution – Primary Fix
Install matching linux headers and required toolchain, then rebuild with sudo dkms autoinstall or specific dkms build/install commands.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Boot previous known-good kernel from GRUB, pin kernel updates temporarily, or switch to in-tree kernel modules where possible.
Verification & Acceptance Criteria
dkms status reports installed for active kernel, module loads via modprobe, and dependent functionality is restored.
Rollback Plan
Reboot into prior kernel, remove newly installed incompatible module package versions, and restore pinned kernel policy.
Prevention & Hardening
Gate kernel rollouts with DKMS build tests, keep module sources updated, and monitor failed dkms jobs in patch automation.
Related Errors & Cross-Refs
Often paired with initramfs warnings and postinst script failures during apt upgrade.
Related tutorial: View the step-by-step tutorial for Ubuntu 16.04 LTS.
View all Ubuntu 16.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
dkms(8), Ubuntu kernel package docs, and vendor module compatibility matrices for xenial kernels.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.