Questions tagged [modprobe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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 ...
0
votes
1answer
481 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 ...
0
votes
0answers
10 views

Unable to use amdgpu in the presence of i915

I use AMD Radeon R5 M230 and I see that both amdgpu and intel's i915 drivers are present in the output of lsmod,but I'm unable to use the AMD GPU as the command radeontop(and also /sys/kernel/debug/...
0
votes
0answers
19 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
52 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 /...
0
votes
0answers
117 views

Load hid_magicmouse to use Magic Mouse on Fedora 32

Having used Linux only on servers for the last two decades, my knowledge isn't up-to-date anymore. I want to use my Magic Mouse (1st gen.) on a brand-new Fedora 32 setup. Pairing with "Settings > ...
0
votes
1answer
227 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 ...
0
votes
1answer
320 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? ...
0
votes
1answer
21 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*...
0
votes
0answers
209 views

Creating virtual mtd device with nandsim

I would like to emulate a NAND Flash that I have with nandsim. The NAND Fash that I want to emulate is a GD5F1GQ4UCYIG from GigaDevice. Datasheet can be found here. The problem is that the NAND Flash ...
1
vote
0answers
247 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-...
0
votes
0answers
88 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 ...
2
votes
1answer
679 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-...
4
votes
3answers
11k 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 ...
0
votes
1answer
153 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 ...
0
votes
0answers
2k 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 "...
0
votes
1answer
77 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 ...
1
vote
1answer
789 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 ...
1
vote
1answer
723 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 ...
3
votes
1answer
882 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 ...
1
vote
1answer
436 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 ...
1
vote
0answers
2k 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=...
0
votes
0answers
3k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
187 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 ...
2
votes
3answers
1k 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 ...
0
votes
1answer
558 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 ...
4
votes
2answers
2k 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. ...
4
votes
1answer
1k 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 ...
0
votes
1answer
501 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 ...
1
vote
1answer
4k views

How to increase nvme_core.io_timeout on my c5 EC2 instacnce

We have mesos cluster where we're running centos7 c5 instances on aws. The kernel version is the latest 4.16.1-1. In c5 instance type the volumes uses nvme drivers. The nvme volumes seems to have a ...
3
votes
0answers
10k views

How to switch drivers from radeon to amdgpu?

The issue: switching over from Radeon kernel driver (radeon.ko) over to Amdgpu (amdgpu.ko). I was able to get up to the point where it seems to load the amdgpu as seen in the boot screen, but it it ...
3
votes
0answers
1k views

Failure removing module, still in use/not found

I'm trying to remove a module I have created, but it doesn't work for me. Assuming my module name is xyz : When I try to run rmmod xyz I get the following error: rmmod: ERROR: Module xyz is in use ...
5
votes
2answers
8k views

Debian + USB3 HDD + UAS: I/O errors

I'm running rsync to backup a remote machine to a USB hard drive on an ARM SBC and sometimes rsync just stops with "read error from input device (I/O error)". I believe the issue is related to UAS + ...
0
votes
2answers
1k views

script to load/unload psmouse module by user (no root)

I want to write a shell script that can be executed by a user w/o root permissions that will simply execute modprobe -r psmouse or modprobe psmouse. Is this even possible? I've got this module: $ ls -...
0
votes
1answer
108 views

Debian - Switch back to the integrated wifi

I use Debian 8 and tonight I tried to switch between the integrated wifi and an wifi usb key using online tutorial. It worked. I did this just to see if wireless connection was better, but it isn't. ...
5
votes
1answer
972 views

Difference between modprobe and sysctl -w in terms of setting system parameters?

We know that sysctl command can change kernel parameters with : # sysctl -w kernel.domainname="example.com" or by directly editing the file in /proc/sys directory. And for persistent changes, the ...
2
votes
0answers
909 views

Is it possible to blacklist a built-in kernel module? [duplicate]

I'm asking this in relation to another question that was posted: Select which driver binds to a device I posted an answer suggesting that built-in device drivers can't be blacklisted, as they are ...
2
votes
0answers
99 views

modprobe in setuid contextmodprobe in setuid context

In CVE-2017-0358, author notes that The issue is that /sbin/modprobe is not designed to run in a setuid context. As the manpage of modprobe explicitly points out The MODPROBE_OPTIONS environment ...
5
votes
2answers
11k views

ubuntu17.10 modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.10.0-35-generic

sudo modprobe vboxdrv modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.10.0-35-generic Reinstalled dkms but I still get Kernel driver not installed (rc=-1908) The VirtualBox ...
2
votes
1answer
2k views

Bringing Can interface up - Operation not supported

I am trying to use a Can module but I get an error message with the following commands: $ sudo modprobe can $ sudo ip link add dev can0 type can RTNETLINK answers: Operation not supported I have ...
3
votes
1answer
2k views

modprobe on Centos 7.3 returns multiple and/or strange results

Can someone please tell me why the following command modprobe -n -v dccp_ipv4 returns two results ? install /bin/true install /bin/true And why does modprobe -n -v dccp_ipv6 returns three ? ...
4
votes
1answer
12k views

How do I disable a kernel module persistently?

So I had this problem with my new Lenovo ThinkPad 13 where it did not resume from suspension and hibernation. After 2 days of troubleshooting I found out that apparently a module called intel_lpss_pci ...
0
votes
1answer
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-...
2
votes
1answer
4k views

Kernel module for net.bridge.bridge-nf-call-iptables

This is on the Linux OS. I see that on some machines the net.bridge.bridge-nf-call-iptables variable doesn't exist until I modprobe the br_netfilter filter. I also see that there are some machines ...
12
votes
2answers
44k views

How can we create multiple dummy interfaces on Linux?

To Create a Fake Ethernet dummy Interface On Linux we First initialize the dummy interface driver using the below command: /sbin/modprobe dummy. Then we Assign Ethernet Interface alias To Dummy Driver ...
7
votes
1answer
5k views

Where does modprobe load a driver that udev requests?

Let's take a scenario where a Linux system has booted and is running correctly. A user comes along and hotplugs a USB memory device. The sequence of events that happen are illustrated on the diagram ...
0
votes
1answer
848 views

How to find a proprietary nvidia driver and a nvidia-modprobe with the same version?

In order to enable the CUDA functionality of a GTX 1060 in Blender, I have to get 3 things in advance: NVIDIA driver CUDA toolkit nvidia-modprobe The NVIDIA driver and nvidia-modprobe need to have ...
0
votes
2answers
523 views

rmmod buggy network driver

I suspect I have a buggy network driver for an Atheros ath9k device as I will eventually get SW IOMMU errors. Sometimes when this happens, I can simply rmmod and modprobe it back and it will start ...