Questions tagged [modprobe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
105 views

modprobe: ERROR: could not insert 'efivarfs': No such device

when I run efibootmgr command: efibootmgr --create --disk /dev/sdb --part 1 --loader /EFI/syslinux/syslinux.efi --label "Syslinux" --unicode I get this error: EFI variables are not ...
Martin Vegter's user avatar
0 votes
1 answer
58 views

ethercat install on ubuntu 23.04 RPi gives modprobe invalid argument error/empty MAC address?

Installing ethercat from https://gitlab.com/etherlab.org/ethercat.git to an RPi 3B v1.2 running Ubuntu Server 23.04 (32-bit). First time working with Ubuntu; more familiar with Raspbian. Spent a long ...
rbgorbet's user avatar
0 votes
1 answer
142 views

How to ensure the probing order of SPI bus?

I've an embedded linux system based on a iMX8 CPU. I'm upgrading the yocto-version and therefore the kernel version. I've two SPI devices on two SPI buses. The device on the second bus has a driver ...
xavor's user avatar
  • 49
0 votes
1 answer
138 views

Force USB 3.0 when connecting a device

I have a camera that I would like to be detected as a USB 3.0 device when connecting to the computer. Sometimes, if I don't insert the USB cable quickly enough, the camera gets registered as a USB 2 ...
dev123's user avatar
  • 3
1 vote
0 answers
26 views

Difference between modprobe and pci files to remove add devices

I am trying to see how these two set of commands differ if I just have one nvme device. Block device ls -l /sys/block/nvme0n1 lrwxrwxrwx 1 root root 0 Apr 28 11:59 /sys/block/nvme0n1 -> ../devices/...
pointnotfoe's user avatar
0 votes
0 answers
369 views

Change NVIDIA device files via modprobe.d: NVreg_DeviceFileGID not changed

I want to change NVIDIA device files. have # nvidia-smi -L GPU 0: Tesla V100-PCIE-32GB GPU 1: Tesla V100-PCIE-32GB # cat /proc/driver/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module ...
Nikolay Baranenko's user avatar
1 vote
0 answers
87 views

Does a kernel driver get loaded before device tree parsing

When a device tree is getting processed by the kernel on startup, does the kernel load its correct device driver there and then, or it must already be loaded? Let's take a special I2C device for ...
Engineer999's user avatar
  • 1,121
0 votes
0 answers
124 views

Delayed boot with fscryptctl and kernel file system encryption

I've enabled disk encryption using fscryptctl for part of my buildroot build which is run on an TI AM335x. Once fscryptctl has inserted the key into the file system, when the file system is ...
Alex's user avatar
  • 111
1 vote
1 answer
280 views

how to list the actual rules in effect for modprobe?

we have several places can put the rules for modprobe: /lib/modprobe.d/*.conf /etc/modprobe.d/*.conf /run/modprobe.d/*.conf boot parameters There can be multiple places configuring the same module. ...
Wang's user avatar
  • 1,214
1 vote
1 answer
537 views

The precedence of kernel module options: kernel boot parameters vs. modeprobe.d?

If I have nvidia-drm.modeset=1 in kernel parameter and options nvidia-drm modeset=0 in modeprobe.d. Then which value is in use? If I have multiple nvidia-drm.modeset in kernel parameter, then which ...
Wang's user avatar
  • 1,214
0 votes
0 answers
273 views

Getting "erase_size" related error when mounting a jffs2 rootfs into a block device

Trying to mount a jffs2 image into a virtual block device, following this guide The steps are as follows, summarized: sudo mknod /tmp/mtdblock0 b 31 0 sudo modprobe mtdblock sudo modprobe mtdram ...
DummyBeginner's user avatar
3 votes
1 answer
280 views

does modifying /etc/modprobe.d/blacklist.conf always require reboot?

I have the following two files /etc/modprobe.d/blacklist.conf contains blacklist usb-storage /etc/modprobe.d/usb-storage.conf contains install usb-storage /bin/true When in effect, I cannot ...
ron's user avatar
  • 5,836
0 votes
1 answer
746 views

Modprobe taking 100% CPU after kernel update

I'm running Fedora 36 workstation I did a dnf update and rebooted and now when I login modprobe takes 100% of my CPU, I couldn't investigate much further since my computer is thus unusable, opening a ...
A_helpless_student's user avatar
2 votes
1 answer
598 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 ...
user42630's user avatar
0 votes
1 answer
795 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 ...
Gary van der Merwe's user avatar
0 votes
1 answer
325 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 ...
henriquehbr's user avatar
1 vote
1 answer
374 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 ...
Muqthyar's user avatar
1 vote
0 answers
136 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 ...
winwin's user avatar
  • 141
0 votes
0 answers
2k 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 ...
Gene's user avatar
  • 1
1 vote
1 answer
315 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/...
David J.'s user avatar
2 votes
1 answer
2k 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 ...
Jens's user avatar
  • 1,738
2 votes
1 answer
4k 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 ...
Men0den's user avatar
  • 23
1 vote
0 answers
174 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 ...
Suzuna Minami's user avatar
1 vote
1 answer
2k 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 ...
linuxuser8's user avatar
1 vote
1 answer
1k 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 ...
Sittin Hawk's user avatar
3 votes
0 answers
1k 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 ...
possumkeys's user avatar
0 votes
1 answer
629 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 ...
possumkeys's user avatar
0 votes
1 answer
372 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, ...
Worst's user avatar
  • 41
1 vote
1 answer
253 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 ...
Oliver Tacke's user avatar
0 votes
1 answer
87 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 ...
Arghavan Mohammadhassani's user avatar
3 votes
2 answers
9k 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:...
Jan Černý's user avatar
  • 1,205
0 votes
0 answers
4k 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 ...
NoThanks93330's user avatar
2 votes
1 answer
3k 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
0 votes
1 answer
265 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/...
Arghavan Mohammadhassani's user avatar
0 votes
1 answer
1k 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 ...
y_159's user avatar
  • 137
0 votes
0 answers
331 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 ...
mattia.b89's user avatar
  • 3,143
3 votes
1 answer
7k 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 ...
Hogfeldt's user avatar
  • 196
0 votes
0 answers
51 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 ...
veltres's user avatar
0 votes
0 answers
260 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 ...
phoxd's user avatar
  • 121
0 votes
1 answer
465 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 /...
Jamie Hutber's user avatar
0 votes
1 answer
1k 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 ...
Amod Amatya's user avatar
2 votes
1 answer
4k 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? ...
LincolnP's user avatar
  • 506
0 votes
1 answer
325 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*...
Akshdeep Singh's user avatar
1 vote
0 answers
612 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-...
An0n1m1ty's user avatar
  • 111
0 votes
1 answer
1k 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 ...
Daniel Sloof's user avatar
3 votes
1 answer
4k 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-...
Edvinas's user avatar
  • 31
21 votes
4 answers
65k 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 ...
Freedom_Ben's user avatar
  • 4,354
0 votes
1 answer
474 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 ...
symbolads's user avatar
0 votes
0 answers
6k 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 "...
Jonathan Lam's user avatar
0 votes
1 answer
289 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