Questions tagged [dkms]
Dynamic Kernel Module Support (DKMS)
41
questions
102
votes
5
answers
267k
views
Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade?
This issue happens only on UEFI systems with enabled Secure Boot.
When I try to install DKMS modules like VirtualBox, Nvidia, or Broadcom drivers, they do not install and I get Required key not ...
163
votes
9
answers
256k
views
Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)
I upgrade from Ubuntu 15.10 to 16.04 and since then VirtualBox 5.0.18 isn't starting my VMs anymore. It complains that 'vboxdrv' isn't loaded. So I try to load it and get the following error:
$ sudo ...
55
votes
8
answers
150k
views
Command to rebuild all DKMS modules for all installed kernels?
Occasionally, my system gets into a state where some kernels are missing a module or two, because DKMS somehow forgot to compile those modules for that kernel. Rather than spend time diagnosing the ...
45
votes
1
answer
90k
views
What does DKMS do? How do I use it?
I've seen a few mentions about DKMS recently but it's not clear what it's actually doing on my system.
What does DKMS actually do and how do I use it?
7
votes
3
answers
13k
views
VirtualBox 4.3 on Ubuntu 13.10 unable to run VM
Like Ubuntu 13.10 VirtualBox Error Kernel driver not installed (rc=-1908)
I am also having a problem I keep getting the following error :
Trying to register the VirtualBox kernel modules using ...
55
votes
5
answers
70k
views
`Error! Could not locate dkms.conf file`
During a recent apt-get dist-upgrade of 12.10 I received the following error:
Setting up linux-headers-3.5.0-19-generic (3.5.0-19.30) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing ...
6
votes
5
answers
2k
views
reconfiguration issues with dpkg
I ran into some problems installing a package with apt. The terminal hung up during an install and I saw no other choice but to close the terminal. The problem, however, is that I can't seem to solve ...
8
votes
1
answer
17k
views
No hope for AX211 wifi working on ubuntu 20.04?
I fresh installed ubuntu 20.04 on my laptop and apt update & upgraded to the latest.
$ uname -r
5.13.0-39-generic
So far BT is working fine but only wifi isn't working now.
I checked as below
$ ...
28
votes
4
answers
133k
views
How do I fix a vboxdrv setup failure in VirtualBox?
So, I tried creating an OS with VirtualBox, and I got this error:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission ...
3
votes
2
answers
27k
views
Can't install rtl8192eu-linux-driver on UBUNTU 18.10
I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)
The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/...
10
votes
1
answer
12k
views
VBox on 14.04, Kernel driver not installed (rc=-1908)
On Installing Virtual box on Ubuntu 14.04, I got following message:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a >...
3
votes
1
answer
10k
views
dkms: rebuild kernel module for manually installed upstrem kernel
I installed an "upstream kernel" (downloaded deb and installed with dpkg) because of an issue I have with the default kernel (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/956918)
Now the ...
2
votes
1
answer
3k
views
Failed to build EVDI installing DisplayLink driver
I have a serious issue when installing a DispalyLink driver, specifically a Dell DA100 Adapter, on my Dell XPS 13 9360. I downloaded and unpacked the Displaylink driver from the official website.
Then ...
1
vote
1
answer
3k
views
depmod: FATAL: could not load /boot/System.map-4.10.0-19-generic
I have upgraded my Ubuntu 17.04 to Ubuntu 17.10 and since I have done it, I cannot install any program anymore.
If I try to install sth, I have the following error.
~$ sudo apt-get install ...
...
19
votes
7
answers
11k
views
Virtualbox broken after a dist-upgrade -- cannot install virtuabox-dkms nor run modprobe vboxdrv
I am running Ubuntu 20.04 and recently did a dist-upgrade.
uname -r: 5.8.0-34-generic
I purged Virtualbox and associate files by:
sudo apt-get purge "^virtualbox-.*"
After trying to ...
15
votes
6
answers
129k
views
VirtualBox "Kernel driver not installed" error despite running /sbin/vboxconfig
When starting a VirtualBox VM, I get:
Running sudo /sbin/vboxconfig does not fix the problem.
How to fix that?
VirtualBox 5.0.10 r104061
11
votes
1
answer
47k
views
WARNING: amdgpu dkms failed for running kernel (on both 16.04 & 18.04)
Since last 4 days, I am trying to install amdgpu pro drivers on my ubuntu system and I am getting error.
I have downloaded drivers from here for Rx580.
I am following installation instructions from ...
10
votes
2
answers
2k
views
Has 3.19.0-65 introduced new Secure Boot requirements to 14.04 LTS?
My laptop came with 14.04 (Trusty Tahr) LTS. Since then, I have made no significant changes, and I have been applying updates whenever I was notified of them.
On 2016-07-15, I was applying updates ...
7
votes
1
answer
9k
views
Nvidia drivers don't work with mainline kernel
I want to try some of the new features in the btrfs filesystem, and to do that I need to use a newer kernel than is included in Ubuntu 12.04. To do that, I have installed linux-headers-3.4.0-030400_3....
5
votes
1
answer
8k
views
How to properly remove kernel modules for RTL88x2BU in Ubuntu MATE 19.04
I have installed Realtek RTL88x2BU drivers from Cilynx's GitHub repo using DKMS installation in Ubuntu MATE 19.04 with kernel 5.3.4 (and later 5.3.7)
Drivers worked fine for a week, then suddenly ...
1
vote
1
answer
678
views
When trying to fix a USB wifi adapter, I accidently killed the built in wifi adapter too. How can I fix this?
After a recent update my USB wifi adapter quit working.The built-in adapter worked, but it is not compatible with 5ghz. Somehow in my attempt to fix the USB wifi, I killed the internal one too. I am ...
21
votes
4
answers
32k
views
Do I "need" DKMS?
My Ubuntu based distro came with some VirtualBox stuff preinstalled, so I uninstalled it and it autoremoved DKMS package.
From what I saw, it looks like useful package, but do I need it? Stuff like ...
10
votes
3
answers
21k
views
dkms failure because gcc version is newer than that used to compile kernel
I have a kernel module that was registered with dkms. When a recent upgrade bumped my kernel to 4.15.0-50 I started getting the below error from dkms. Apparently kernel 4.15.0-50 was compiled with ...
9
votes
6
answers
59k
views
Ubuntu 16.04: VirtualBox Error: Kernel driver not installed (rc=-1908)
My VirtualBox gave me the following error upon starting a virtual machine:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or
there ...
9
votes
1
answer
14k
views
Why does dkms status "WARNING! Diff between built and installed module" happen?
generic@motorbrot:~$ sudo dkms status
zfs, 0.8.4, 5.3.0-51-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! ...
7
votes
3
answers
44k
views
Kernel configuration is invalid error while trying to install paragon ufsd professional drivers for HFS+
short question:
While running the install.sh Skript for Paragon UFSD drivers I get the Error message:
ERROR: Kernel configuration is invalid.";
\include/generated/autoconf.h or include/config/auto....
6
votes
1
answer
13k
views
dkms does not automatically rebuild after kernel upgrade
as mentioned in the title all DKMS modules installed on my system won't be automatically rebuilt after a kernel upgrade.
# ls -la /var/lib/dkms/
total 32K
drwxr-xr-x 7 root root 4.0K May 26 11:55 .
...
6
votes
1
answer
13k
views
AMD GPU-dkms not building in kernel 5.8/5.8-xanmod
I recently bought the ASUS TUF Gaming FA506IH with Ryzen 5 4600H and dedicated NVIDIA gtx 1650Ti. I am not much of a gamer so I installed Ubuntu 20.04 and thought of not using Nvidia drivers (because ...
5
votes
2
answers
3k
views
Virtualbox 6.0.4 or 5.138 not working with Kernel 4.4.0-143-generic Xubuntu 16.04
Well, it's very annoying, I have looking every where for a solution to get Virtualbox Windows 7 VM working on Xubuntu Kernel 4.4.0-143-generic , BUT NOWAY
it not works !!! My solution was change the ...
5
votes
1
answer
13k
views
How to remove added (not installed) dkms
For some reason I installed a driver long time ago and it is no longer in use, and in root permission I checked the dkms status it shows this:
I tried to removed it by using the following commands (...
4
votes
1
answer
9k
views
How to fix "apt-get upgrade" errors?
I get these errors when I try to upgrade the packages installed on my Ubuntu system:
m@m-desktop ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state ...
4
votes
2
answers
11k
views
Wireguard fails to build module even tho kernel headers are installed?
Installed wireguard in Xubuntu (Ubuntu 18.04.4 LTS) via PPA. The kernel module failed.
# modprobe wireguard
modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.3.0-51-generic
I'...
3
votes
3
answers
12k
views
Cannot load vboxdrv module in 12.04 and 3.2.0-23-realtime
I'm trying to start virtualbox without success, please give some advice on how to fix it:
The GUI opens up successfully and I can add existing images but when I try to start a virtual machine, I get ...
3
votes
1
answer
2k
views
2 DKMS drivers won't build correctly when installing new kernel after software update
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 ...
2
votes
0
answers
392
views
dpkg install of dkms module doesn't fail even though make does
I have a dkms module packaged as a .deb, via dkms mkdeb foo-mod-dkms/<ver> --source-only. This is being installed on the target system, as part of a build.
Looking at dpkg.log, it shows that ...
2
votes
2
answers
3k
views
Ubuntu 20.04 Nvidia graphics unusable
I have a problem with the nvidia driver. Did a apt update and the machine powered off in the night. After power on I get the blinking cursor. Even did a complete reinstall on a spare disk (with update ...
2
votes
1
answer
4k
views
How To Consolidate Multiple MOK Keys Or Delete Unnecessary Ones?
AFAIK I've only had one MOK.priv file since I started using secureboot on Bionic.
A kernel update last week (as usual) asked me to create a MOK password and to re-enter this password in the MOK ...
2
votes
0
answers
1k
views
USB keyboard does not work after each time kernel gets updated
I've had an old issue with my USB connected keyboard specially after kernel updates. The problem in the first place is the Ctrl, Windows/Super and Alt buttons are all mapped to Shift button that was ...
1
vote
0
answers
842
views
How to though DKMS install new version of ZFS modules to specified already installed kernel?
I know that DKMS provides support for installing supplementary versions of kernel modules. But how I can automatically install newer version of ZFS modules to installed kernels?
I've already have zfs-...
1
vote
1
answer
1k
views
Netgear AC600 (aka A6100) wifi dongle, dkms managed, fails in 4.4.0-47 kernel
I have successfully used a Netgear AC600 (aka A6100) wifi dongle for some time now in my 16.04 system and have also successfully had it managed by dkms, so that it was automatically rebuilt on kernel ...
0
votes
0
answers
3k
views
Enrolling MOK certificate with dkms and virtualbox-dkms (Virtualbox with secure boot enabled)
As many others, I need to run a Windows instance from Virtualbox, don't want to disable Secure Boot, and therefore have problems in making Virtualbox work after kernel updates.
I have already run ...