Questions tagged [dkms]

Dynamic Kernel Module Support (DKMS) is a framework to generate Linux kernel modules

DKMS is a framework to generate modules that generally do not reside on Linux main source tree. It is a tool that helps Linux vendors to provide drivers, and turn modules building into an automatic task.

This project was started by Dell to help the company to distribute fixes and modules updates to the Linux distributions that are on the support matrix, and it was adopted on many distributions. However, dkms is also used to facilitate the build and installation of binary-only Linux modules like graphic cards drivers, or other kernel pieces that are out-of-the-tree due to licence issues.

External References:

65 questions
11
votes
1 answer

How do I compile DKMS module for multiple kernel image versions in Debian?

I have versions 3.16 and 4.0 of linux-image package installed. During login I can select which kernel I want to boot in the "advanced options" menu item. However, when I install a DKMS module it is compiled only for the newer version: Setting up…
user116402
9
votes
2 answers

why can I not remove this dkms module?

I'm trying to remove this dkms module but am running into trouble. I run sudo dkms uninstall rtl8812au/4.3.14 and I get Error! The module/version combo: rtl8812au-4.3.14 is not located in the DKMS tree. However, when I run dkms status, I…
Kashif
  • 265
  • 1
  • 2
  • 9
8
votes
2 answers

cannot reconfigure virtualbox-dkms

I have installed vitualbox on Debian Jessie according to instructions on debian wiki. By running: apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox During installation some errors were reported. Now I want to re-configure…
Mahdi
  • 271
  • 1
  • 3
  • 9
8
votes
1 answer

dkms versus module-assistant

module-assistant has been the de-facto method of compiling and building binary Debian packages containing kernel modules for a while now. More recently a comparable utility has appeared - dkms. If anyone has experience using both, please do a…
Faheem Mitha
  • 34,649
  • 32
  • 119
  • 183
7
votes
1 answer

DKMS modules never installed properly on kernel upgrade

I have multiple DKMS modules installed on my system, some of them mine, and some of them belonging to pretty major maintained packages such as Oracle's VirtualBox 5. What I've found is that on every kernel upgrade, all DKMS modules get broken and…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
5
votes
4 answers

How do I know if the kernel is changed?

I have a scenario where I need to recompile my display drivers after kernel updates. I'm trying to automate it with Bash scripts during boot time. So I need a way to know that my kernel changed, and reinstall my drivers for the new running kernel. I…
Asaf Magen
  • 487
  • 1
  • 9
  • 21
4
votes
1 answer

CUDA 10 and dkms on RHEL8

I want to install CUDA according to the info on NVIDIA CUDA toolkit site wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-rhel8-10-2-local-10.2.89-440.33.01-1.0-1.x86_64.rpm sudo rpm -i…
martin
  • 203
  • 3
  • 7
4
votes
1 answer

Log file says 'make oldconfig && make prepare' on kernel src to fix - where do I run this?

I've been trying for about a week now to install the Nvidia 304.137 driver for Linux Mint 19, as I'm using an old tower that is utilizing a GeForce 6150SE nForce 430 graphics chip. Here's where I'm at: I tried installing the graphics driver using…
Bearclaw
  • 41
  • 1
  • 1
  • 3
4
votes
1 answer

Using dkms to patch kernel

I need to apply a kernel patch(https://lkml.org/lkml/2015/3/31/929) to get my touch-pad working properly. I am thinking that I should be using dkms, to do this. Most of the stuff I am reading is about getting dkms to create modules. Can it also be…
ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102
4
votes
2 answers

Building kernel module using dkms, missing headers

I would appreciate, if anybody can help me. 1) I am trying to build kernel module for Ubuntu sever using dkms. Detailed manual is here. 2) When It is building module using this syntax: sudo dkms build -m ixgbevf -v 2.15.3 it says, that some kernel…
antonbormotov
  • 171
  • 1
  • 8
3
votes
2 answers

debian: add custom patch to dkms module

I have a kernel driver that fails to compile, I have a patch to fix it but every time I run dkms build ... the driver sources (in /usr/src) are restored, is there a way to add a custom patch to a dkms driver?
Alex
  • 2,546
  • 3
  • 20
  • 30
3
votes
1 answer

How to fix "amdgpu dkms failed for running kernel" when installing amd gpu drivers?

I am attempting to install the AMD gpu drivers for an RX 480 in Ubuntu 18.4.2. Whenever I run amdgpu-install or amdgpu-pro-install I get amdgpu dkms failed for running kernel. Link to make.log I should note that I do have NVIDIA drivers installed…
deef0000dragon1
  • 196
  • 1
  • 2
  • 6
3
votes
1 answer

OpenAFS suddenly fails: a pioctl failed while obtaining tokens

My afs client stopped working. I'm not sure why - maybe I ran apt-get ? Anyways: user@box ~ $ kinit [email protected]'s Password: user@box ~ $ aklog aklog: a pioctl failed while obtaining tokens for cell ies.auc.dk Checking status of…
kidmose
  • 185
  • 1
  • 8
3
votes
1 answer

Arch Linux: Why people do not do "make install" in PKGBUILD?

I'm analyzing different PKGBUILDs to learn creating packages for Arch. I saw in a lot of them, that they do make on sources, and then manually copy files in the different places with the install command, instead of running make install. Is there a…
Łukasz Zaroda
  • 6,083
  • 4
  • 17
  • 24
3
votes
1 answer

How to install AMD Catalyst 15.7 (fglrx 15.20.1046) on Debian 8 (Jessie)?

A while ago I downloaded Debian 8 and I tried to install Catalyst 15.7, but when restarting the computer, I get a black screen on my laptop. I read that Catalyst has some compatibility issues with GNOME. If any of you know how to fix this error,…
R4v3nPr0
  • 189
  • 2
  • 4
  • 11
1
2 3 4 5