As of May 31, 2023, we have updated our Code of Conduct.

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
92 views

Error when building kernel module using dkms

I have a notebook running Kubuntu 22.04.2 LTS with a rtl8852be network card. I installed the source of the driver in /usr/src/rtl8852be-5.15 and added the following dkms.conf file to the directory: ...
FrankZ's user avatar
  • 141
0 votes
1 answer
369 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
128 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
153 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
0 votes
0 answers
478 views

Kernel error while doing sudo apt upgrade

How to solve the following persistent error: sudo apt upgrade Setting up intel-i915-dkms (0.6379.0.28.221103.25.5.17.0.1020+i46-1) ... Removing old intel-i915-dkms-0.6379.0.28.221103.25.5.17.0.1020 ...
Porcupine's user avatar
  • 1,580
1 vote
0 answers
492 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
1 vote
0 answers
388 views

Can no longer connect to Wi-fi after update on EndeavourOS (Arch-based)

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
0 answers
265 views

How to disalbe or remove specified dkms module in specified kernel on running apt-get script?

I have both 5.11.0-40-generic, 5.13.0-44-generic kernel on Ubuntu. I switch into 5.11.0-40-generic and install amdgpu driver in this kernel version. Install amdgpu driver via amdgpu-install command. ...
laudai's user avatar
  • 35
0 votes
1 answer
652 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
0 votes
1 answer
1k 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
  • 111
0 votes
1 answer
119 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
139 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
  • 328
-1 votes
1 answer
288 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,209
0 votes
1 answer
2k 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
368 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
953 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
  • 345
0 votes
1 answer
582 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
749 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
2 votes
0 answers
1k 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
  • 5,405
3 votes
1 answer
3k 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
  • 193
4 votes
1 answer
12k 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
627 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
2 votes
1 answer
434 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,526
2 votes
1 answer
270 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,759
0 votes
1 answer
280 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
2 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
711 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
  • 253
3 votes
1 answer
30k 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
216 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
0 answers
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
417 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
25k 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
1 vote
2 answers
14k views

boot hangs at “Started Update UTMP about System Runlevel Changes.”

i've just upgraded my debian system from debian stretch to debian sid which not stable version so after i finished upgrading and try to reboot my system hangs at "Started Update UTMP about System ...
mohammed's user avatar
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 user@IES.AUC.DK'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
  • 603
-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
555 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
  • 548
0 votes
1 answer
2k 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
  • 101
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
15k 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 changed

I have a scenario where I need to recompile my display drivers after kernel updates. I'm trying to shome how automate it with bash scripts during boot time. so I need some sort of a way to know that ...
Asaf Magen's user avatar
7 votes
1 answer
9k 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
  • 38.2k
0 votes
2 answers
2k views

Debian 8 VirtualBox / DKMS install problem

I'm trying to install virtual box using the method on wiki.debian.org and I'm encountering problems. When I execute # apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox I ...
Oil Drum Alley's user avatar
2 votes
1 answer
10k views

systemctl: Failed to execute operation: No such file or directory

I am trying to install wireless drivers on my Dell Studio 1555 (as per these instructions). In order to install the drivers the guide asks me to install dkms, which I did by running sudo apt-get ...
quant's user avatar
  • 4,031
1 vote
1 answer
1k views

Install DKMS on self-made Linux system

I am trying to install DKMS on a Linux system that I made from the Linux from Scratch and Beyond Linux from Scratch books. I've found the package source from here but absolutely no info as to how to ...
Munir's user avatar
  • 3,182