Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [modprobe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
41 views

Is it possible to set up a new device with an existing driver on linux when the modalias doesn't match?

I have a USB device that I am using with Ubuntu 20.04.3. The manufacturer provided a library and a driver. I can install the driver and get the device to work, but every time the kernel updates I must ...
user avatar
0 votes
1 answer
36 views

Out-of-tree kernel module won't load

I'm trying to get an out-of-tree kernel module working. The module is the usbtm module from Epson for their TM-70/TM-70II slip printers and the TM-S1000 cheque reader. (The code is GPL licensed, so if ...
user avatar
0 votes
1 answer
40 views

Mismatching kernel versions during installation inside chroot

I'm trying to install Artix on a QEMU virtual machine through an automated script i've wrote, in one of the latest installation steps, where i setup Rootless Docker, it's required to enable the ...
user avatar
1 vote
1 answer
75 views

update initramfs every time rpm is installed or updated

i am working on rpm which contains kernel modules to be installed in to /lib/modules/<uname -r>/updates folder. Since the module is part of initramfs. when ever i install rpm i have to manually ...
user avatar
0 votes
0 answers
23 views

dummy_hcd loopback webcam. Impossible?

I've been trying to create a loopback USB Webcam device with the help of dummy_hcd kernel module. Steps I've taken: I load libcomposite via modprobe libcomposite. Then I load dummy_hcd via modprobe ...
user avatar
  • 111
0 votes
0 answers
171 views

ASmedia SATA controller PCIe card not working on ubuntu

I am having the same issue as this question: ASMedia SATA controller 106x not working under ubuntu However, the answer there did not work for me. I have an ASMedia PCIe SATA card installed, and it ...
user avatar
  • 1
1 vote
1 answer
60 views

modprobe.d wrong driver on reboot, don't want to blacklist generic driver [Ubuntu 18.04, Aquantia/Marvell 5G USB Dongle]

modprobe.d not using the designated driver after reboot. Aquantia/Marvell/Sabrent 5G USB Ethernet USB dongle (NT-SS5G). Ubuntu Server 18.04.6 LTS (4.15.0-166-generic) Driver aqc111 installed. /etc/...
user avatar
2 votes
1 answer
293 views

CentOS 7: after reboot, zfs module won't load, no /dev/zfs

After 959 days a reboot was needed on the CentOS 7 system which has used ZFS flawlessly for the past years. I have run yum update once a month during that time. The rebootet system is apparently ...
user avatar
  • 1,670
2 votes
1 answer
499 views

Load Kernel module at boot time with options

I have a device that uses Qualcomm Atheros drivers that I have reinstalled. In order to use the device properly, I need to load the modules with options: sudo modprobe -r ath10k_pci # remove ...
user avatar
  • 23
1 vote
0 answers
67 views

Cannot connect my phone: `mtpfs` command and `modprobe fuse` command fail

I am trying to connect my phone in Gentoo. I have mtpfs installed and FUSE enabled in my kernel, user_allow_other set in /etc/fuse.conf. I ran modprobe fuse with and without -fv flags and it produces ...
user avatar
0 votes
1 answer
433 views

modprobe blacklist not working Debian 11

I dont like the intel mei kernel modules so I made a file in /etc/modprobe.d/blacklist.conf that has the following contents: blacklist mei blacklist mei_mei blacklist mei_hdcp blacklist mei_wdt It ...
user avatar
0 votes
1 answer
199 views

driver install: module: x86/modules: Skipping invalid relocation target

My situation: I have a prebuilt kernel running fedora already installed and running. Now, I want to install the mcp251x and mcp25xfd driver modules, which depends on the can-dev driver module, so I ...
user avatar
3 votes
0 answers
507 views

xhci restart needed

I have a laptop with usb 3.0 ports, ryzen processor, linux 5.14.3 kernel, and an external keyboard and mouse connected via a usb hub. Occassionally, the usb devices stop functioning, both keyboard and ...
user avatar
0 votes
1 answer
313 views

v4l2loopback installation. Not working on 5.14 kernel

Running the 5.14.1 kernel. Tried using this repo to install v4l2loopback by compiling and installing(make; make install). It reported success. As per this recommendation, installed the 5.14.1 headers ...
user avatar
0 votes
1 answer
148 views

Are DRM/TTM Linux kernel module needed for a virtual machine with no graphical interface?

In a VMware virtual machine, I have a Debian 11 with no graphical interface (but with an SSH server). I try to blacklist some unneeded kernel modules, like everything related to Bluetooth, HDMI, ...
user avatar
  • 11
1 vote
1 answer
111 views

How can I determine what configuration is required to make a Rodecaster Pro work? Could be some ALSA resampling issue

I want to use a Rodecaster Pro mixer to run my audio. It runs fine on my laptop, but not on my desktop (both running Ubuntu 20.04 with kernel 5.8.18). On my desktop, the input from microphones are ...
user avatar
0 votes
1 answer
36 views

RAMDisk disappears after random read tests

I have created 60GB RAMDisk using the command modprobe brd rd_size=62914560. It creates 16 RAMDisks and I use /dev/ram1. The linux is CentOS 7.5 with kernel version 3.10. I don't make any filesystems ...
user avatar
0 votes
1 answer
3k views

Debian: ZFS installation error: Module zfs not found in directory /lib/modules/4.19.0-14-amd64

I installed ZFS on Debian, but can not get it working. I try to install zfs this way: I added this to /etc/apt/sources.list : deb http://deb.debian.org/debian/ buster main contrib non-free deb http:...
user avatar
0 votes
0 answers
2k views

modprobe fails with “Operation not permitted”, but secure boot cannot be disabled

My situation is similar to this post, however, none of the given solutions work for me. I am also trying to load the wireguard module by modprobe wireguard but I get the error modprobe: ERROR: could ...
user avatar
2 votes
1 answer
1k views

Fedora Realtek USB WiFi Driver Installation

So I have a realtek usb wifi adapter, and it uses the driver: rtl8822bu The GitHub site has the driver. So I git clone https://github.com/ulli-kroll/rtl8822bu.git Then cd rtl8822bu sudo make sudo ...
user avatar
  • 135
0 votes
1 answer
98 views

Common Features among Multiple RAMDisks Created Using modprobe brd

I wanted to create a 60GB RAMDisk to check the read and write performance of it. Using the command modprobe brd rd_size=62914560, 16x 60GB RAMDisks have been created: /dev/ram0, /dev/ram1, ..., /dev/...
user avatar
0 votes
1 answer
518 views

modprobe cannot load ifb devices

I've this script which checks for a veth-pair and setup an ifb device on it, but everytime it says cannot find free ifb device for that particular veth pair. What could be the problem? Even I tried ...
user avatar
  • 137
0 votes
0 answers
154 views

kernel compilation: how to exclude module

I used to compile patched kernel for my Arch Linux machine. Up until now, I compiled my kernel with ALL modules, or better, I have not customized it. The reason why is due to my inexperience of this ...
user avatar
  • 2,488
2 votes
1 answer
5k views

v4l2loopback modprobe: module not found

I'm trying to use my DSLR as a webcam, I'm on an Arch linux system and therefor I have have installed v4l-utils and v4l2loopback-dkms. But when i try to probe the v4l2loopback module, with the ...
user avatar
  • 151
0 votes
0 answers
26 views

load a previously removed module

trying to install nvidia drivers and typed by chance: modprobe -r nouveau. Is there a easy way to load again the module nouveau? both modprobe nouveau and modprobe -a nouveau do not work. I'm on ...
user avatar
0 votes
0 answers
140 views

Cannot remove `xt_recent` module

Even after removing iptable rules that reference Recent module, I cannot remove the kernel module xt_recent and get the error that it is still in use. user@host:~$ sudo iptables -S -P INPUT DROP -P ...
user avatar
  • 121
0 votes
1 answer
293 views

How to get a larger format then 640x426 using modprobe and gphoto2

I am using the following command to use my Nikon as a webcam: sudo modprobe v4l2loopback && gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /...
user avatar
0 votes
1 answer
982 views

Wireguard: Operation not permiited?

I installed wireguard but I am not able to load the module with modprobe. When I run the command I get the following error: modprobe wireguard modprobe: ERROR: could not insert 'wireguard': Operation ...
user avatar
2 votes
1 answer
2k views

modprobe nbd not releasing connection in Debian 10.2

qemu-nbd - QEMU Disk Network Block Device Server failing with Debian 10.2 Works perfect with Debian 9.12. Does not work any longer with Debian 10.2. Any suggestion of what I might be doing wrong? ...
user avatar
  • 411
0 votes
1 answer
89 views

How to know for which alias name, the module is loaded, when there are multiple aliases?

When I run the command: cat /lib/modules/4.15.0-20-generic/modules.alias | grep 'ath9k_htc' I get the following list: alias usb:v0CF3p20FFd*dc*dsc*dp*ic*isc*ip*in* ath9k_htc alias usb:v0930p0A08d*...
user avatar
1 vote
0 answers
524 views

Modprobe stalling in Kali Linux during installation of 88XXau wifi driver

I am trying to install a wifi driver for the TP-Link Archer T9UH v1 in Kali Linux. The following causes modprobe to stall: root@CODE-K:~# modprobe 88XXau --verbose insmod /lib/modules/5.3.0-kali3-...
user avatar
  • 111
0 votes
1 answer
399 views

Unable to disable kernel module

I'm trying to disable kernel module for my motherboard's bluetooth chip: btintel. I've added a blacklist entry to /etc/modprobe.d/blacklist-btintel.conf (I also tried blacklist.conf, this didn't make ...
user avatar
3 votes
1 answer
3k views

dummy interface on linux

I need to create a second separate virtual interface on Linux. I choose dummy. And do these steps: $ cat /etc/modules-load.d/dummy.conf # Load dummy.ko at boot dummy $ cat /etc/sysconfig/network-...
user avatar
  • 31
15 votes
3 answers
43k views

modprobe fails with "Operation not permitted"

I am trying to modprobe wireguard as root, and it fails with: modprobe: ERROR: could not insert 'wireguard': Operation not permitted Adding verbose I get one more line: [root@localhost ben]# insmod ...
user avatar
  • 3,544
0 votes
1 answer
322 views

T440S Touchpad disabled at each reboot. I found that manually reloading the synaptics driver fixes it. How do I make the change permanent in Kubuntu?

After every reboot, I need to run sudo rmmod psmouse and sudo modprobe -v psmouse to re-enable the touchpad. Otherwise, double finger scrolling doesn't work and only a few areas of the pad work, much ...
user avatar
0 votes
0 answers
4k views

"Required key not available" error when trying to load signed module

I made a module and compiled it with make modules_install. I ran these commands following this gist: openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -subj "...
user avatar
0 votes
1 answer
206 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 ...
user avatar
  • 113
1 vote
1 answer
1k views

Blacklisted Broadcom drivers are still loaded

I have certain Broadcom drivers clearly blacklisted in 50-broadcom-wl-blacklist.conf file in /etc/modprobe.d/: # modules blacklisted for broadcom-wl blacklist bcm43xx blacklist ssb blacklist b43 ...
user avatar
  • 395
1 vote
1 answer
2k views

Power off video card until reboot from command line?

I have "headless" machine with video card, I use very rarely, only if I want physical access to it. The cooler of this video card became old and started to produce bad noise. Can I disable this video ...
user avatar
  • 2,515
5 votes
1 answer
3k views

Blacklisting modules in modprobe.d and kernel params is not working

Ok, I have read and followed the instructions on the following posts, however, my kernel modules are still being loaded... Kernel module blacklist not working How do I disable a kernel module ...
user avatar
1 vote
1 answer
729 views

Have to rmmod and modprobe every time I start up

I have got a raspberry pi and I've installed it correctly the 8821cu module for my Wi-Fi Dongle and it works ok. But every time I reboot the pi I have to sudo rmmod 8821cu && modprobe 8821cu ...
user avatar
1 vote
0 answers
3k views

modprobe gives: “FATAL: <module> not found in directory” error [duplicate]

I am running standard raspbian on Raspberry Pi-3. pi@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=...
user avatar
  • 166
0 votes
0 answers
5k views

How to avoid modprobe error could not insert floppy with dracut-pre-udev?

I do have machines or VMs that do not have a floppy drive and I want to avoid getting the below error message while loading the the anaconda kickstart installer on CentOS/Fedora. Currently the first ...
user avatar
  • 1,099
1 vote
1 answer
2k views

Force loading kernel module at startup

Some of my hardware needs the module cx23885. For some reason modprode cx23885 doesn't work, instead only modprobe cx23885 --force-modversion works. This hardware is currently somewhat buggy and ...
user avatar
1 vote
1 answer
285 views

How is modprobe run before mounting root? (no initrd)

I am booting linux mint(version 4.14.13+) without using initrd/initramfs, and I see that /sbin/modprobe is run before mounting the root file system. I was wondering how that is possible. I ...
user avatar
2 votes
3 answers
2k views

HDMI not showing in xrandr after nvidia modeset=1

I'm running Ubuntu 18.04 on an MSI GE63 Stealth 8RE, with an NVIDIA GTX 1060. There's a good amount of screen tearing when watching videos, and I found several sources online telling me that creating ...
user avatar
  • 517
0 votes
1 answer
1k views

What kernel modules are necessary for using a standard USB 2.0 flashdrive

I am using buildroot to generate an Image to run linux on an Arm A53. I want to be able to shut off and turn on the ability to see a USB flashdrive on command. I went into the settings of buildroot ...
user avatar
  • 1
4 votes
2 answers
3k views

Override modprobe.d blacklist

I am using Ubuntu 18.04. I'm trying to make a module load at boot; the module in question is iTCO_wdt. There are many questions about blacklisting a kernel module, but I am trying to whitelist one. ...
user avatar
  • 303
4 votes
2 answers
3k views

How keyboard's drivers work on linux

I recently bought a new keyboard, it was cheap and of an unknown brand but i wasn't particularly worried. I found out that on linux pressing shift, super, left-ctrl or left-alt with this keyboard made ...
user avatar
  • 49
0 votes
1 answer
829 views

How to use ubifs image with modprobe? To extract ubifs image

I try to do something like this - link. All examples in the web are not working at all. modprobe ubi mtd=0 modprobe: module ubi not found in modules.dep modprobe ubi modprobe: module ubi not found ...
user avatar
  • 101