Questions tagged [dkms]

Dynamic Kernel Module Support (DKMS)

is a framework used to generate Linux kernel modules whose sources do not generally reside in the Linux kernel source tree. DKMS enables kernel device drivers to be automatically rebuilt when a new kernel is installed.

An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade.

Another benefit of DKMS is that it allows one to install a new driver on an existing system, running an arbitrary kernel version, without any need for manual compilation or precompiled packages provided by the vendor.

230 questions
55
votes
5 answers

`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 /etc/kernel/header_postinst.d/dkms…
45
votes
1 answer

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?
user238204
  • 451
  • 1
  • 4
  • 3
3
votes
1 answer

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 Ubuntu software update. As such, these two drivers…
heynnema
  • 70,711
3
votes
0 answers

How to make dkms drivers build with kernels from kernel-ppa/mainline?

I need to use 5.4+ kernels because all official 5.3 kernels crash my system every day since the first 5.3 was released (almost a year ago). But with these kernels running, the DKMS compiling of the Virtualbox drivers does not work. How can I make…
JPT
  • 369
1
vote
0 answers

Errors were encountered while processing: hspa-modem-dkms

I get this error whenever I try installing something Errors were encountered while processing: hspa-modem-dkms E: Sub-process /usr/bin/dpkg returned an error code (1) And the installation stops abnormally. Please someone help me . How to fix…
1
vote
0 answers

WARNING! Diff between built and installed module!

Why and how to correct dkms status output wireguard, 1.0.20200413, 5.4.0-25-generic, x86_64: installed wireguard, 1.0.20200413, 5.4.0-26-generic, x86_64: installed (WARNING! Diff between built and installed module!) Ubuntu 20.04 LTS
0
votes
0 answers

Getting error when installing DIGImend from dkms

I recently tried to Install DIGImend following this video in order to use keys of huion h950p. But When I tried sudo make dkms_install It gives me this error: dkms add . Creating symlink /var/lib/dkms/digimend/10/source -> …
falamiw
  • 101