Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [dkms]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Install TP-Link Archer T2U V3 driver in Linux without Internet

I'm using an Archer T2U v3 on my Ubuntu 14.04 and 16.04 system and on a Linux Mint system based on these Ubuntu versions. It works flawlessly with the driver directly provided by TP-Link from their ...
A. Bhowmick's user avatar
0 votes
1 answer
116 views

How to defer kernel updates until the corresponding "linux-headers" package is available?

I'm using Debian 12 Bookworm, and currently, when I run uname -a, it shows: Linux pctxd 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux The package linux-image-6....
gh57.at's user avatar
  • 13
-1 votes
1 answer
126 views

"Error! Installation aborted" - dkms problem when installing or upgrading

When I tried to install something from GitHub or even update and upgrade the system, the error message shown below is displayed. This is on the Kali distribution. The problem is related to the Realtek ...
SuperMassive's user avatar
0 votes
2 answers
82 views

Why is apt-mark hold not stopping dkms from running on Debian?

My apt install id3v2 fails due to dkms: running auto installation service for kernel 6.1.0-18-amd64. with dpkg: error processing package linux-headers-amd64 (--configure): dependency problems - ...
OrigamiEye's user avatar
4 votes
4 answers
5k views

Unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ when building kernel module

I have very little experience with kernel module development. Despite this I have been tasked with maintaining an old driver for a Sensoray 626 DAQ card. I am using a very simple dkms setup to build ...
Adam Sperry's user avatar
0 votes
0 answers
20 views

Using dkms's PATCH_MATCH to patch module code for kernels newer than 5.15

DMKS has the option to patch module code for kernels matching a particular regex. The manpage isn't very clear but digging around a bit confirms that the general syntax is: PATCH[0]="patch-foo....
RJVB's user avatar
  • 254
3 votes
1 answer
7k views

Insmod causes key rejected by service

I am running AlmaLinux 9 (RedHat 9 clone) and have compiled a new kernel module. I am running in a VM with UEFI and secure boot enabled. When I insert the module I get the following error: insmod: ...
TSG's user avatar
  • 1,738
0 votes
1 answer
1k views

DKMS Modules Installation Error - Pop!_OS 22.04 LTS

I am getting the following error everytime I do $sudo apt upgrade The following packages have been kept back: libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libgoa-backend-1.0-1 ...
ROHIT PATNAIK's user avatar
0 votes
0 answers
611 views

Debian Stable , just updated, Nvidia drivers didn't get built/brought to current kernel via dkms. How to build/activate after update?

Debian Stable , just updated, Nvidia drivers didn't get built/brought to current kernel via dkms. How to build/activate after update? I have a Debian 11 stable install, (Secure Boot is enabled) that ...
Zapon's user avatar
  • 1
0 votes
0 answers
353 views

TP-Link Archer T2U - AC600 network adapter driver installation on Fedora 27

I have this network usb adapter. I cloned repo and installed it with make&make install from [https://github.com/nlkguy/archer-t2u-plus-linux][1] But It does not detected. Kernel version is 4.14. ...
feinaps's user avatar
  • 21
1 vote
0 answers
605 views

NVIDIA Driver 515.76 installation failed on Debian with kernel 6.0.0-rc7-amd64

My NVIDIA 515.76 driver installation failed, because dkms fails to build the modules. I post here the part of the nvidia-make.log and nvidia-installer log where it describes the errors for further ...
sevrin's user avatar
  • 11
2 votes
0 answers
736 views

Can no longer connect to Wi-fi after update on EndeavourOS

Recently I've been using EndeavourOS with these wifi drivers, due to mine (Realtek 8723du) not being officially supported. They work fine until recent kernel update 5.19.11-arch1-1 broke them. I tried ...
maxintosh's user avatar
0 votes
1 answer
952 views

dkms build error when tried to install Wi-Fi drivers

So I am trying to install Wi-Fi drivers as part of my Wi-Fi not working issue. I am following this answer: Installing Wi-Fi driver for Realtek Semiconductor RTL8723DE Device [10ec:d723] for the ...
Vinay Chimmili's user avatar
2 votes
1 answer
2k views

Installing Nvidia drivers on rhel 8.6 with dkms but getting asm/kmap_types.h and drm/drmP.h errors in build

I'm trying to install the nvidia drivers for my T1000 Quadro on my Rhel 8.6 Lenovo p15. However I'm running into errors when trying to build and install the driver. System info? root:Downloads# ...
neogeek23's user avatar
  • 131
0 votes
1 answer
159 views

Patch 2nd Linux kernel: "module is in use"

how to patch kernel with a DKMS module if the module is 'in use'? The Kernel which should be used to get patched is not the one which is actual running on this machine. (uname -r) It is about hpsa ...
bime3's user avatar
  • 1
0 votes
0 answers
206 views

Having trouble installing TP-Link AC1300 in Redhat 7.9

I am having trouble installing the driver for TP-Link AC1300 dongle in Red Hat. I followed this procedure for Ubuntu and it ultimately worked. Have been trying to follow the same steps in Red Hat, to ...
Veverke's user avatar
  • 368
-1 votes
1 answer
321 views

nvida drivers disapeared during night (poweroff/poweron) DKMS cannot be rebuild

my setup inxi -SMG System: Host: zaphod Kernel: 5.14.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Debian GNU/Linux bookworm/sid Machine: Type: Laptop System: ASUSTeK product: G750JX ...
francois P's user avatar
  • 1,229
0 votes
1 answer
3k views

Your kernel headers for kernel 3.10.0-1062.el7.x86_64 cannot be found

I am tring to install nvidia driver by the following command. sudo ./NVIDIA-Linux-x86_64-418.43.run --dkms -s Here I got an error as follows. ERROR: Failed to run `/sbin/dkms build -m nvidia -v 418....
jasonshu's user avatar
  • 103
0 votes
0 answers
451 views

Virtualbox installation error in kali linux

sudo apt install virtualbox Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: dctrl-tools dkms ...
Amaan Shaikh's user avatar
2 votes
1 answer
2k views

How to set up r8168-kms?

My OS: uname -a Linux debian 5.10.0-0.bpo.5-amd64 #1 SMP Debian 5.10.24-1~bpo10+1 (2021-03-29) x86_64 GNU/Linux Something is wrong with my r8168-dkms; every time I install some other package, this ...
showkey's user avatar
  • 353
0 votes
1 answer
918 views

Why debian installs linux headers in two different places?

Debian have two packages for headers one architecture dependent and another is not. They install headers in /usr/src/$LINUX/common and /usr/src/$LINUX/$ARCH and consequently two directories: build and ...
ynidpl's user avatar
  • 21
0 votes
1 answer
1k views

Centos 7 A start job is running rough DKMS

When booting on my Linux Centos 7, it stays stuck on the message A start job is running for Builds a... rough DKMS Do you have any idea how to solve it? systemd-analyze blame gives me the following ...
Rico's user avatar
  • 1
0 votes
1 answer
3k views

Installing rtl88x2bu driver with dkms fails

I've downloaded the driver from official website, however I'm having trouble making it work with dkms. I cd into driver's directory, then: sudo dkms add . Which adds it correctly. However, when I try ...
adder's user avatar
  • 131
1 vote
1 answer
2k views

If I try to install any of 5.8.* new kernels, an error shows up: "ERROR (dkms apport): kernel package linux-headers-5.8.*-generic is not supported"

I'm in PopOS. If I try to install any of 5.8.* new kernels, an error shows up: "ERROR (dkms apport): kernel package linux-headers-5.8.-generic is not supported". I have this problem with ALL ...
Mnkisd's user avatar
  • 191
3 votes
0 answers
2k views

fixing DKMS, missing modules

running RHEL 7.8 with DKMS 2.8.3-2 installed, along with nvidia driver. I have this dkms status nvidia, 440.82, 3.10.0-1062.9.1.el7.x86_64, x86_64: installed (WARNING! Missing some built modules!) (...
ron's user avatar
  • 6,797
4 votes
1 answer
4k views

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-...
martin's user avatar
  • 203
4 votes
1 answer
14k views

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:...
Bearclaw's user avatar
2 votes
0 answers
691 views

dkms module vboxhost-6.0.12_OSE not compiling on kernel 5.3

I compiled the new kernel today and when reinstalling my DKMS modules vboxhost-6.0.12_OSE failed with this error. DKMS make.log for vboxhost-6.0.12_OSE for kernel 5.3.0gee (x86_64) Mon 16 Sep 2019 01:...
H Graham's user avatar
3 votes
2 answers
583 views

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 ...
Alex's user avatar
  • 2,596
2 votes
1 answer
423 views

How can I deploy dkms Debian modules built during a build process?

I'm debating if I should put dkms on production machines along with all the build tools it requires. Seems like there might be security issues, or at the least added bloat when provisioning a new ...
lucidquiet's user avatar
  • 2,889
0 votes
1 answer
292 views

DKMS module uninstallable/ghost

I install wifi dkms module, remove the package, then install it back again since I can't modprobe -r it, and after reinstalling it, I still can't, all the while wifi works. To be clear, I've ...
janat08's user avatar
  • 113
3 votes
1 answer
6k views

Realtek RTL8821 Ethernet card not detected by Kali Linux

When installing Kali Linux, an error message appears during the "Detect network hardware" step. The message says: "No Ethernet card was detected. if you know the name of the driver needed by your ...
user11252116's user avatar
1 vote
0 answers
743 views

Fail to initialize plugin stackleak_plugin.so

I'm on Fedora 28, Kernel 4.20.14-100.fc28.x86_64 and trying to get a working dual-screen on a D6000 Dell docking Station. For now I have the following error while trying to restart the displaylink ...
Kantium's user avatar
  • 263
3 votes
1 answer
32k views

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 ...
deef0000dragon1's user avatar
2 votes
1 answer
236 views

Re-add ncpfs module to linux kernel 4.18, with Debian

I'm using Debian "testing". At my work we have a Novell network and we are "forced" to use ncpfs. With kernel 4.18 this module/driver was removed from kernel. Can someone explain how to re-add this ...
Johannes C. Schulz's user avatar
1 vote
1 answer
5k views

Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch

I am using Debian testing and I followed this instructions how to install docker on Debian. However, I got an error during the installation: $ sudo apt-get install docker-ce Reading package lists... ...
user3523406's user avatar
2 votes
0 answers
429 views

Installing external wireless card on Ubuntu 16.04

I am trying to use my TP-Link AC1300 external wireless usb with my ubuntu 16.04 distro (on Acer E15 laptop). I'm running into major difficulties as it does not detect my usb stick. yannik@yannik-...
Kashif's user avatar
  • 265
9 votes
2 answers
28k views

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 ...
Kashif's user avatar
  • 265
3 votes
1 answer
3k views

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 ...
kidmose's user avatar
  • 185
1 vote
2 answers
2k views

Have to run insmod for rtl8812au after each boot

I use the rtl8812au driver for my wifi adapter. I have dkms setup so that after each kernel upgrade, it gets compiled. Here are the commands I ran to set that up: DRV_NAME=rtl8812AU DRV_VERSION=4.3....
xendi's user avatar
  • 613
-1 votes
2 answers
607 views

How to install virtualbox on Antergos

I'm trying to run Virutalbox on Antergos but I'm getting this following error Kernel driver not install Error shell I installed VirtualBox via the Archlinux Package Manager
Papouche Guinslyzinho's user avatar
1 vote
0 answers
570 views

Can't install zfsutils-linux on newest Raspbian (July 2017)

Yesterday I installed the newest Raspbian on my SD card. Today I wanted to install all the packages needed for ZFSonLinux. First I installed spl-dkms, zfs-dkms, etc. Everything went fine. Then I ...
Akito's user avatar
  • 558
0 votes
1 answer
3k views

dpkg-reconfigure virtualbox-dkms failure

After updating linux Mint kernel to 4.10.0-14-generic virtualbox is not working anymore. I tried to run "mobprobe vboxdrv" modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.10.0-...
Mabri's user avatar
  • 111
2 votes
2 answers
9k views

Raspbian/Debian - Install .deb offline

I need to install a .deb package on a raspberryPi that doesn't have connectivity. When I try to install such package using: sudo dpkg -i <name>.deb I get the error: dpkg: dependency problems ...
Deimantux's user avatar
-2 votes
1 answer
2k views

Trouble installing WiFi Driver in Kali Linux 2.0 rolling [closed]

I am facing issues installing the driver from https://github.com/pvaret/rtl8192cu-fixes for tp-link wn823n 300Mpbs wireless adapter (this adapter supports only upto kernel version 2.10 while I have ...
Abdul's user avatar
  • 13
2 votes
3 answers
17k views

DKMS stuck while installing new kernel, what shall I do?

I am on Linux Mint 18.1 Cinnamon 64-bit. DKMS seems to be stuck while installing new kernel for 30 minutes now, what shall I do? Kill the DKMS process? And then run dpkg --configure -a? Here is the ...
Vlastimil Burián's user avatar
3 votes
1 answer
2k views

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 ...
Łukasz Zaroda's user avatar
2 votes
2 answers
2k views

Your kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found

I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it. I've clicked Device -> Insert Guest ...
Omnipresent's user avatar
5 votes
4 answers
6k views

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 ...
Asaf Magen's user avatar
7 votes
1 answer
11k views

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 ...
Naftuli Kay's user avatar
  • 39.9k