Skip to main content

Questions tagged [modprobe]

modprobe is a Linux program and used to add a loadable kernel module (LKM) to the Linux kernel or to remove an LKM from the kernel.

Filter by
Sorted by
Tagged with
47 votes
6 answers
77k views

What's the difference between insmod and modprobe?

Are there any differences between insmod and modprobe?
NES's user avatar
  • 33.3k
36 votes
1 answer
83k views

How to install 3rd party module so that it is loaded on boot?

I have a third party module to go with a frame grabber. I've downloaded the kernel source, followed the vendor's instructions to compile it, and have the resulting module, arvdrv.ko, sitting in a ...
Nate Lockwood's user avatar
34 votes
8 answers
102k views

"Could not open moddep file '/lib/modules/3.XX-generic/modules.dep.bin'" when mounting using a loop

Running 14.04 in virtualbox 4.3.8 Unable to detect the guest additions.iso when i selected the guest additions.iso in the IDE Secondary Master. No problem, so I used wget and downloaded the iso into ...
Kim Stacks's user avatar
  • 1,076
32 votes
5 answers
65k views

Sound only works from left speaker?

After installing Ubuntu 13.04 x64, I realised that my sound wasn't working (only headphone showed up in settings). Following this guide, I manually added my Dell Studio 1740 audio hardware to: ...
A T's user avatar
  • 2,518
21 votes
1 answer
46k views

How do I make modprobe permanent?

For my wireless adapter (inside my computer) to enable it, I run modprobe b43 and that turns it on. But, when I reboot it goes back to no device. So, how do I make this totally permanent?
Cory's user avatar
  • 211
19 votes
7 answers
11k views

Virtualbox broken after a dist-upgrade -- cannot install virtuabox-dkms nor run modprobe vboxdrv

I am running Ubuntu 20.04 and recently did a dist-upgrade. uname -r: 5.8.0-34-generic I purged Virtualbox and associate files by: sudo apt-get purge "^virtualbox-.*" After trying to ...
jRo's user avatar
  • 301
14 votes
2 answers
35k views

How to load a module in initrd?

I want to explicitly load a module (say, netconsole) during the initrd stage, similarly to /etc/modules in the main system startup procedure. First, I checked that the initrd in my system already ...
imz -- Ivan Zakharyaschev's user avatar
11 votes
2 answers
9k views

Why do I need to re-load kernel modules for virtualbox after a kernel update?

After the last kernel upgrade in Ubuntu 12.10 I had to manually re-load two kernel modules for Virtualbox. modprobe vboxdrv and modprobe vboxnetflt I don't know enough about the system to say if ...
Ammon's user avatar
  • 113
10 votes
1 answer
5k views

What is the difference between modprobe and dkms?

Noob question here.... I read about modprobe and dkms and it seems to me they do the same thing, so what is the difference?
Omar Hossam Ahmed's user avatar
10 votes
7 answers
58k views

VirtualBox Installation gives message "modprobe vboxdrv" failed

VirtualBox Installation gives message sudo modprobe vboxdrv modprobe: FATAL: Module vboxdrv not found. I have updated system with sudo apt-get update followed with reboot Ubuntu version: 14....
Kapil's user avatar
  • 509
10 votes
3 answers
19k views

How can I ensure the `snd-hda-intel` module is loaded on startup?

I need to type sudo modprobe snd-hda-intel in order to get my sound card to work. What config file do I need to edit and what edit should I be looking to make so I can get the sound driver loading ...
Matthew Brown aka Lord Matt's user avatar
10 votes
1 answer
30k views

Can't load wireguard module

I have a VPS server running Ubuntu 18.04 LTS where I wanted to install a WireGuard VPN service. I have started with adding the repository and then installing the module which is running fine and ...
Ananaskirsche's user avatar
10 votes
2 answers
10k views

Nouveau blacklisted but loaded

Hi I am trying to use Ubuntu-Prime for ubuntu 18 on an asus laptop with 2 GPU (intel & nvidia). I found the power consumption of the computer to be way too high when I reboot with only the intel ...
Antonin's user avatar
  • 281
9 votes
2 answers
18k views

What is "options iwlwifi 11n_disable=1" in WiFi setting?

One of the common solutions for improving WiFi signal is to use this command options iwlwifi 11n_disable=1 in /etc/modprobe.d/iwlwifi.conf And the number can be 0, 1, 2, 8. I was unable to find ...
Googlebot's user avatar
  • 1,807
9 votes
4 answers
32k views

No sound in Ubuntu 18.04 HP notebook

Please note that I have tried all solutions in the below two links: "Dummy Output" sound in Ubuntu 14.04 No Sound card detected in Sound Settings, although sound works pulseaudio -k &&...
Kewal Shah's user avatar
  • 1,044
9 votes
0 answers
18k views

Failed to initialize NVML: Driver/library version mismatch [closed]

Can you please help me fix this error? mona@pascal:~$ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2015 NVIDIA Corporation Built on Tue_Aug_11_14:27:32_CDT_2015 Cuda compilation ...
Mona Jalal's user avatar
  • 4,605
8 votes
2 answers
22k views

How do I automatically run modprobe v4l2loopback on boot?

I'm using OBS Studio and would like to have a virtual video output saved permanently so that it can be run when the application is launched. This command creates the virtual output: sudo modprobe ...
Mark Lee's user avatar
  • 277
7 votes
1 answer
20k views

Ubuntu equivalent of mkinitcpio.conf

I have a sh script that should be executed during system boot, as I understand before graphic driver modules are loaded. Probably this is not relevant for the answer, but this script serves for PCI ...
Bruno Golosio's user avatar
6 votes
1 answer
8k views

modprobe nvidia throws error: could not insert 'off'

I am trying to configure bumblebee to switch my nvidia discrete card. As well bumblebee crashes when tries to modprobe nvidia. When i try to do it manually, i face the same error: $ modprobe nvidia ...
V. Dalechyn's user avatar
5 votes
1 answer
7k views

Module "ashmem" doesn't load with Secure Boot on (but "binder" does load with secure boot on)

Summary I'm running Ubuntu 20.04.1 with default kernel 5.4.0-42-generic (installed from Main) on a UEFI system. I want to load two kernel modules ("ashmem" and "binder") with ...
GizmoChicken's user avatar
5 votes
1 answer
14k views

How do I load the tp_smapi kernel module on a Lenovo Easypad?

I own a Lenovo EasyPad Z580 running Ubuntu and I'd like to manage more of the power management (battery). I found answers in this question about battery management on Lenovo systems: How can I limit ...
don.joey's user avatar
  • 28.8k
5 votes
3 answers
5k views

How do I fix the 1908 Virtualbox error?

I have the following error: Kernel driver not installed (rc=-1908) Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root. This forbids me to launch any virtual ...
Alex's user avatar
  • 51
5 votes
4 answers
24k views

Is is possible to modprobe a module from the boot loader?

I want to modprobe a module from the kernel command line (in my case yaboot, but you are probably more familiar with grub). This is for a workaround for the live CD. I've seen some old advice that ...
rsavage's user avatar
  • 76
5 votes
2 answers
43k views

Can't initialize iptables table `filter': Table does not exist (do you need to insmod?)

I'm trying to open up port 1900 for UDP in order for the Echo to be able to discover the HA Bridge using the following command but I get errors. What is the best solution to fix this? pi@raspberrypi:~...
Mona Jalal's user avatar
  • 4,605
5 votes
2 answers
15k views

USB to Serial adapter doesn't works

I have a USB to serial adapter. It works OK with my desktop computer, but no on my laptop. My desktop PC is a generic computer (Athlon 64 X2 6000+ on board MSI K9AGM, 6 USB 2.0 ports, no USB 3.0 ports)...
Eduar Arley Cardona's user avatar
5 votes
2 answers
3k views

open-vm-tools modprobe ERROR: could not insert 'vmgfx'

After doing a dist-upgrade yesterday evening the open-vm-tools-desktop are no longer working correctly. Which means, I can't resize to fullscreen. Trying to do so ends in a black screen. Taking a look ...
LukeFilewalker's user avatar
4 votes
2 answers
6k views

ls -1 /dev/{ashmem,binder} yields anticipated result for /dev/ashmem, but an error for /dev/binder

Background In another post, I reported that: I'm running Ubuntu 20.04.1 with default kernel 5.4.0-42-generic (installed from Main) on a UEFI system. I want to load two kernel modules ("ashmem&...
GizmoChicken's user avatar
4 votes
1 answer
9k views

Modprobe.conf options not loaded on startup

Bit of a n00b still with Linux, but getting there... Anyway, I've put a new install of Ubuntu 11 on an old P4 PC of mine I was hoping to give away and I'm having a little trouble with the on-board ...
Chris Jamieson's user avatar
4 votes
1 answer
9k views

mounting iso file as loop device

I'm trying to shrink my raspberry pi images following this tutorial: https://softwarebakery.com/shrinking-images-on-linux root@host:~# modprobe loop # no errors returned root@host:~# lsmod | ...
Drew's user avatar
  • 226
4 votes
3 answers
5k views

Is there a ".d" directory to use to load modules at boot time, opposed to /etc/modules?

I am automating some configurations on my systems using Puppet (however, that is not really relevant here). For a group of machines I want to load a kernel module at boot time. The most elegant way ...
gertvdijk's user avatar
  • 68.4k
3 votes
2 answers
4k views

No wifi after kernel upgrade to 4.15 OR 4.16

I am on Ubuntu 16.04 and I have this network card: https://www.tp-link.com/uk/products/details/cat-11_Archer-T6E.html With kernel 4.14.x everything is working just fine. But when upgrading to 4.15.x ...
Simon Sondrup Kristensen's user avatar
3 votes
1 answer
8k views

Can't build Ubuntu Kernel: Why does "make mrproper" get rid of debian directory? How do I build a Ubuntu/Trusty kernel without debian/rules?

I've been trying to build a Ubuntu Kernel for the past several weeks. (Actually, I don't need the kernel, I just need snd-aloop.ko, which is missing from the Ubuntu 14 server distributions, it's in 12,...
Moishe Pipik's user avatar
3 votes
4 answers
17k views

SD card not working :[ 249.480884] mmc0: error -5 whilst initialising SD card

I have an issue with my recent Ubuntu. Actually I have all drivers (USB, WiFi, etc ) working fine however when I insert the SD I can't detect it. Also I find the following error kernel log: [ 242....
Mohamed BENNACEUR kartagien's user avatar
3 votes
2 answers
4k views

softdep for vfio-pci wont work

I'm trying to do passthrough so my devices are grabbed by vfio-pci before any other module. Here's my /etc/modprobe.d/01-vfio-pci.conf: softdep nouveau pre: vfio-pci softdep nvidiafb pre: vfio-pci ...
Guerlando OCs's user avatar
3 votes
3 answers
16k views

How to unload a kernel module which is in use and has a recursive module dependency?

I habe a driver for my ELM 327 an it uses the pl2303 module which depends on the usbserial and this again depends on the pl2303 module. What I tried: sudo modprobe -r usbserial pl2303 sudo modprobe -...
Noel Schenk's user avatar
3 votes
1 answer
3k views

Sometimes my wifi on my Thinkpad X201 stops working and I have to restart. Any workaround?

I heard that you can use modprobe somehow to reload the wifi driver. But I'm not sure what driver I'm using. How do I find this out and what's the command to reload the wifi driver into the kernel?
dan's user avatar
  • 3,083
3 votes
1 answer
1k views

Change from the minstrel algorithm

I would like to stop my network card from using the Minstrel algorithm because of a problem I am having. I have tried creating /etc/modprobe.d/80211.conf with the following in it: options mac80211 ...
Rich's user avatar
  • 753
3 votes
2 answers
28k views

mount.cifs gives me "mount error: cifs filesystem not supported by the system"

i try to mount a OneDrive Folder to my Linuxserver. However, as i try mout.cifs with XXX beeing the correct values... root@XXX:~# mount.cifs //onedrive.live.com/about/en-us/signin/ /usr/plex/share -o ...
Smallmountains's user avatar
3 votes
1 answer
2k views

MinimalCD Network autoconfiguration fails

I'm attempting to get an Ubuntu MinimalCD Install working without much luck.. Working from the guide posted here I can get the CD to boot and I select the Command-Line Installer option. After ...
rlemon's user avatar
  • 1,861
2 votes
2 answers
7k views

How to prevent a module from being loaded

So I have to use a command every time I boot my laptop in order to my wireless to work. the command is: sudo modprobe -r acer-wmi I found that this is a common type of question but I didn't find a ...
Fernando Andrade's user avatar
2 votes
2 answers
23k views

How to make modprobe ip_conntrack_ftp persist a reboot

Sorry if this is a stupid question, but to get outbound active FTP connections through our firewall we need to run the following: sudo modprobe ip_conntrack_ftp I learned this trick from http://...
Luke Cousins's user avatar
2 votes
1 answer
613 views

How do I write a script that runs on startup?

Newbie here. I have a Dell Inspiron 3442 who suffers from the "CPU stuck at 800Mhz" problem. In Windows, I used to run ThrottleStop at every startup and disable BD PROCHOT... So I installed Ubuntu ...
Arthur Tabbal's user avatar
2 votes
3 answers
13k views

No ttyACM0 for Arduino Nano on Ubuntu. How can I attach it?

On my Firefly-RK3399 (arm arch) I have installed their official ubuntu image for the board. I also installed Arduino IDE and when I connect my Arduino UNO then all fine, I can flash it and I see in my ...
user3554669's user avatar
2 votes
2 answers
1k views

empty "lsmod | grep loop"

I am trying to mount an ISO image $ sudo mkdir /mnt/myiso $ sudo mount -o loop ubuntu-16.04-server-amd64.iso /mnt/uiso The error message says mount: /mnt/uiso: failed to setup loop device for /home/...
Sebastia.Net's user avatar
2 votes
1 answer
97 views

Internet connection does not start automatically

Few months ago I had a problem with my internet connection in my Ubuntu 14.04. Currently, the connection does not start until I execute this command: sudo modprobe r8169 How can I fix this so that ...
user1894963's user avatar
2 votes
1 answer
2k views

must sudo modprobe after reboot

My wierless card is up and working. After each reboot i need to sudo modprobe rt5592sta I have searched and it looks like sudo su echo ndiswrapper >> /etc/modules exit should work. I tried ...
Mike's user avatar
  • 33
2 votes
1 answer
8k views

working with modprobe for getting wifi driver working

After several months of research finally my wifi driver is being detected and working fine ;) That's good news with credits where i found solution is here Now, i still have one issue that every time ...
PC.'s user avatar
  • 123
2 votes
0 answers
1k views

Nvidia driver curiously only loads properly when booting in recovery mode (Not blacklisted, secure boot disabled)

I've been having serious trouble getting the Nvidia drivers working on my machine with Ubuntu 20.04 and 20.10. My graphics card is an RTX 2080 and my machine is an ASUS desktop. I've been getting the ...
user137769's user avatar
2 votes
0 answers
2k views

Load ashmem & kmodsign

I recently install Anbox on my Ubuntu 20.04. I found on the post Module "ashmem" doesn't load with Secure Boot on (but "binder" does load with secure boot on) that I need to ...
LucasPa's user avatar
  • 21
2 votes
0 answers
317 views

How do I debug errors with enabling the NFS kernel module?

I am running Ubuntu 18.04 LTS and wanted to use an NFS shared drive. On most of my servers it just simply worked with sudo modprobe nfs. But on this specific server, which was set up exactly the ...
PE_Christiaan's user avatar