Public bug reported:

By default, DKMS only builds modules for the currently booted kernel
version. This is because the autoinstall_all_kernels parameter is not
set in /etc/dkms/framework.conf.

This poses a problem in Ubuntu LTS, when HWE kernels are installed. For
example, if a HWE kernel is booted and a new Nvidia driver version is
installed, the Nvidia kernel module is built only for the HWE kernel but
not for the base LTS kernel. This means that the base kernel becomes
unusable for GUI sessions.

DKMS should be configured to build modules for all installed kernel
versions by default. That is, by default, autoinstall_all_kernels should
be set to "yes".

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: dkms 3.0.11-1ubuntu13
ProcVersionSignature: Ubuntu 6.14.0-27.27~24.04.1-generic 6.14.6
Uname: Linux 6.14.0-27-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Thu Aug 14 15:52:28 2025
InstallationDate: Installed on 2015-05-01 (3758 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
SourcePackage: dkms
UpgradeStatus: Upgraded to noble on 2024-09-05 (343 days ago)

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120641

Title:
  DKMS only builds modules for the currently booted kernel version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2120641/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to