Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [modprobe]

The tag has no usage guidance.

0
votes
0answers
15 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
17 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
39 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 ...
0
votes
1answer
39 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 ...
0
votes
0answers
37 views

Device Major number changed in /proc/devices after restart

I installed my device driver using mknod and operating system assigned a major number for it. (Saw 236 in /proc/devices) But when i restart the machine and check the /proc/devices again i saw that ...
2
votes
0answers
163 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
120 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
368 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
959 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
672 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
117 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
2answers
456 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
246 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 ...
3
votes
2answers
522 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. ...
2
votes
1answer
349 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
219 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
2k 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 ...
2
votes
0answers
5k 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 ...
2
votes
0answers
376 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 ...
4
votes
2answers
3k 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
367 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
64 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. ...
4
votes
1answer
549 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
619 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
72 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 ...
4
votes
2answers
8k 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 ...
1
vote
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
828 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 ? ...
3
votes
2answers
7k 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-...
1
vote
1answer
3k 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 ...
11
votes
2answers
27k 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 ...
6
votes
1answer
4k 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
653 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
366 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 ...
1
vote
0answers
389 views

empty modules.dep for new kernel compilation

i've got empty modules.dep file after compiling new kernel from source after kernel compile, and then kernel module compile and then make modules_install to modules directory, i checked modules.dep ...
1
vote
1answer
2k views

How to disable a device (hardware) from using hid-multitouch driver?

I have a Kortek touch screen that is exposed to the system, as shown in /proc/bus/input/devices, via two drivers : hid-generic and hid-multitouch I do not want hid-multitouch driver to expose Kortek ...
0
votes
2answers
894 views

How do you modprobe a program?

I've been trying to get this program to work on my Raspberry Pi for the past two days and I've gotten to step 6 which says, "At this point, you should be able to modprobe v4l2loopback". When I ran ...
1
vote
0answers
643 views

Unable to upgrade a kernel module using modprobe: after reboot dmesg indicates the old version (but modinfo shows the new one)

I cannot upgrade e1000e driver in Ubuntu 16.04. At least not according to the output of dmesg after reboot. After downloading the latest version 3.3.4 and running make install in the src/ directory, ...
2
votes
3answers
2k views

How do I force rx_bytes and tx_bytes to reset?

I'm keeping track of data transfers on my network interfaces but want them to be reset to 0 on the 1st of each month. When I try echo 0 to the rx_bytes or tx_bytes files I get this: bash: /sys/class/...
1
vote
1answer
6k views

How to load custom Linux kernel module that is not Linux kernel version dependant using RPM

I have a 3rd party library which provides a kernel module (module.ko) and is required to be loaded automatically on bootup. However, module.ko is not tied to a specific version of the Linux kernel and ...
1
vote
1answer
707 views

FTDI Driver for Custom PID and VID

I have changed VID and PID of my ftdi board to 0001 and 0002. Now the com is not showing and the device is showing in unknown device. How can make a customize driver for it to get com port.
3
votes
1answer
1k views

How to prevent a kernel module from opening a specific device?

I am using two devices, one of which requires usbserial for proper operation (a GPS, using gpsd; this guide specifies that usbserial is required), and one of which requires usbserial to be unloaded (...
6
votes
2answers
2k views

How to block drivers built-into Kernel, i.e. drivers who are not a module

I configured and compiled Linux kernel with nouveau driver built-into kernel, i.e. with <*> as opposed to <M> when doing make menuconfig inside Linux kernel source directory. Now, I ...
1
vote
1answer
1k views

Temporarily enabling a blacklisted kernel module from the cli

I have disabled a kernel module on my system >> uname -a Linux zyx 4.3.0-1-amd64 #1 SMP Debian 4.3.5-1 (2016-02-06) x86_64 GNU/Linux >> cat /etc/modprobe.d/blacklist.conf # Disable ...
1
vote
1answer
1k views

How do I connect a USB mass storage device that has a custom pid and vid?

I have a device, custom mp3 player, that the pid and vid show up as a011:a011. dmesg usb 1-1.1: new high-speed USB device number 4 using ehci-pci usb 1-1.1: New USB device found, idVendor=a011, ...
2
votes
2answers
7k views

What is the proper way to start a driver on boot?

I have succeded (full story here) on installing some ethernet card that, according to the docs, must be manually started: # modprobe e1000bp I would like this driver startup to be performed on boot ...
1
vote
1answer
10k views

Error inserting module: Device or resource busy

When running modprobe to insert a module into kerner I get the following: # modprobe 8192cu FATAL: Error inserting 8192cu (/lib/modules/3.8.13-118.2.1.el6uek.x86_64/kernel/drivers/net/wireless/8192....
1
vote
1answer
39 views

Where to put modules for different configurations of same kernel version?

To what I see the modules for different kernel versions are stored below /lib/modules, i.e as /lib/modules/{version}/...../...ko Now, while this makes it evident where to store the modules for each ...
2
votes
1answer
967 views

How to swap out the driver of a network device on a running Debian Linux box?

I've got an embedded/headless Debian Linux box which boots from a read-only filesystem image. The configuration is set up so that I can (seemingly) write to the filesystem, but any changes to the ...