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.
150
questions
0
votes
0
answers
27
views
Why can't I set "modprobe vfio enable_unsafe_noiommu_mode=1"?
Running Ubuntu 22.04 with kernel 5.15.0-83 inside a QEMU VM:
guest$ sudo modprobe vfio enable_unsafe_noiommu_mode=1
guest$ cat /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
N
It's not ...
0
votes
0
answers
29
views
Suggested ways of identifying hardware on Ubuntu
I am getting asked a lot if a certain hardware is supported on Ubuntu (or Linux for that matter). Usually people tell me the brand and model of their alledgedly unsupported hardware, but of course not ...
0
votes
0
answers
88
views
Nvidia drivers problem (not booting, nvidia-smi not detecting etc.)
I am at my wits end with Nvidia drivers. I believe that I tried to set them up a long time ago, failed, and settled with open-source drivers. However, I still had to deal with screen tearing so after ...
0
votes
0
answers
84
views
Ubuntu 20.04 No Wifi adapter found and doesn't detect USB tether
I know there are similar questions. but their command output is different to mine and did not work for me. I have installed Ubuntu on my flash drive and i have used it for more than a year.
Cause of ...
0
votes
1
answer
1k
views
How do you add modules to be loaded in Ubuntu 22.04
I would like to add some modules to be be loaded in Ubuntu 22.04 (The same works in ubuntu 20.04)
root@localhost:~# echo nvme_rdma >> /etc/modules
-bash: /etc/modules: Read-only file system
Is ...
0
votes
0
answers
65
views
How to restore existing kernel header in grub
I was previously using Ubuntu 20.04 while booting using the kernel header 5.4.0-112 generic. Someone used my computer while I wasn't around, and now I don't see the option to boot using that kernel in ...
0
votes
0
answers
304
views
How to autostart sudo modprobe using a service for fixing intel wifi (ubuntu 22.04)
(ubuntu 22.04, fresh; wifi: Intel Corporation Wireless 8265 / 8275 ; HP elitebook 830 G5)
I followed already several howtos to create my script and service.
I need to run modprobe at start because of ...
0
votes
1
answer
1k
views
modprobe btusb error
I am using a Ubuntu desktop 20.04.4 LTS with linux kernel 5.15.0-41-generic. I bought UB500 from tp-link. After plugging it doesnt turn on-off.
I tried every steps exactly and following the answer ...
0
votes
1
answer
590
views
modprobe nouveau fails, as it tries to load 'off.'
When I try modprobe nouveau I am greeted with:
modprobe: ERROR: ../libkmod/libkmod-module.c:838 kmod_module_insert_module() could not find module by name='off'
modprobe: ERROR: could not insert 'off': ...
0
votes
0
answers
720
views
WIFI (driver) not working
I have installed Ubuntu alongside Windows. The Wifi Adapter, which works on Windows through automatic driver installation, is not working on it. Through help with a question here I installed the ...
1
vote
1
answer
3k
views
Irium webcam Initialization failed
Besides this other problem I had with irium webcam on linux, when we close irium webcam and try to open it again we get the message:
Running this command doesn't make the app work. The only way to ...
0
votes
0
answers
272
views
modprobe on my Ubuntu machine: invalid option -- 'l'
I was reading the modprobe manual:
https://linux.die.net/man/8/modprobe
So I tried the -l flag on a few different Ubuntu machines:
18.04, 20.04.3
After getting:
modprobe: invalid option -- 'l'
I ...
1
vote
1
answer
914
views
If I’ve already blacklisted nouveau, why is `options nouveau modeset=0` necessary?
All the instructions for disabling the Nouveau driver (for example, the official NVidia guide to using CUDA with their proprietary drivers) suggest that you create a modprobe.d file with the contents:
...
1
vote
1
answer
394
views
high cpu usage from systemd-udev, tracker and modprobe after 21.10 upgrade
I see high cpu usage after upgrading to 21.10
top indicates that tracker, systemd-udev and modprobe are running continuously
I also see mouse problems. I my mouse moves jerkily and I get spurious ...
0
votes
1
answer
539
views
How to disable the internal speaker through blacklist?
I'm running the microsoft-teams-for-linux app and works fine for chat. For VoIP the mic works fine.
Sound seems to be routed to the internal speaker rather than to the headset (I had the volume low ...
1
vote
0
answers
2k
views
Cannot modprobe wireguard on Ubuntu 20.04
Update: This seems to be a problem with my hoster (1blu). Loading the module works perfectly fine on my local computer and on my other server (a different hoster).
I cannot make wireguard work on my ...
0
votes
0
answers
117
views
Can't detect built-in camera after installation
I have an old laptop (>4 years)with the bare minimum to work with. I installed Lubuntu 16.04.3 LTS and so far so good, my only issue is that the built-in camera isn't being detected by any app. I'm ...
1
vote
0
answers
2k
views
"FATAL: Module 88x2bu not found in directory /lib/modules/5.8.0-45-generic" when I do "modprobe 88x2bu"
Helo i've been trying for many days,, but Im done I recognize I need a hand from the experts guys..
I purchased a cudy AC1300 wireless Dual Band USB adapter. and I found the right driver RTL8812BU due ...
1
vote
0
answers
316
views
Wifi does not work after suspend - ubuntu 20.10 - MT7630e
I'm using Ubuntu 20.10:
dsm@dsm ~> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy
dsm@dsm ~> uname -a
...
0
votes
0
answers
3k
views
modprobe: FATAL: Module not found
I'm struggling to permanently insmod custom PCIe device drivers
Module can be loaded manually with insmod ~\work\project\build\xdma.ko
But I didn't manage to add it permanently.
I copied xdma.ko ...
1
vote
1
answer
2k
views
dell-smm-hwmon freezes Alienware m15 r1
I have tried suggestions such as installing i8kutils and dell-bios-fan-control but it always freezes my laptop if I do
sudo modprobe dell-smm-hwmon force=1
And if I try to do it without force, it ...
2
votes
0
answers
951
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 ...
0
votes
0
answers
107
views
I accidentally deleted modprobe.d can Ubuntu won’t boot what can I do?
Nvidia driver blacklisted the open source version and I found the file. Instead of deleting that one file I accidentally deleted the entire modprobe.d folder. I rebooted and now Ubuntu 20.04 won’t ...
19
votes
7
answers
10k
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 ...
0
votes
1
answer
660
views
How to run throttle stop script at startup?
I have tried this (How do I write a script that runs on startup?) to automatically run a throttle stop script at startup. But I cannot make it work.
I've tried the methods (GUI app, cron job and /rc....
1
vote
0
answers
375
views
Libkmod error - Ubuntu 18.04 doesn't start
While starting the system I'm getting the following message:
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse:
/etc/modprobe.d/local.conf line 1: ignoring bad line starting with '...
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 ...
1
vote
0
answers
950
views
Delay when using modprobe v4l2loopback with ffmpeg
I will state, that for the first maybe 2/3 mins of having the camera started, it appears that the audio/video is in sync. Thats to say, there is no delay on the video. Then I hear a "click" ...
4
votes
2
answers
5k
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&...
5
votes
1
answer
6k
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 ...
0
votes
2
answers
606
views
Automated Driver Loading: Cron, Init, or Modprobe
Main Problem
I am attempting to automate the loading of drivers for my system. The drivers were built manually and must be loaded manually. Another caveat is that one of the system drivers must be ...
1
vote
0
answers
3k
views
modprobe: ERROR: could not insert 'vboxdrv': Operation not permitted
When I type sudo modprobe vboxdrv all it shows is:
modprobe: ERROR: could not insert 'vboxdrv': Operation not permitted
I cant find anything to fix this. This is in Ubuntu 20.04.
0
votes
0
answers
348
views
How to add modprobe command to GRUB_CMDLINE_LINUX_DEFAULT
Ubuntu 20.04
To make my WiFi happy I enter the following modprobe via the terminal;
modprobe -r brcmfmac
Then wait 5 seconds and modprobe brcmfmacCan I add this to a startup process so that I don't ...
7
votes
2
answers
19k
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 ...
3
votes
3
answers
13k
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 -...
0
votes
1
answer
572
views
Screen tearing reappeared after updating form 19.10 to 20.04 (GeForce GTX 1050 Ti Mobile)
I am using an MSI GL62M 7REX laptop which has a GeForce GTX 1050 Ti Mobile graphics card. When I was using Ubuntu 19.10, I was able to deal with screen tearing in the following way:
Similarly to this ...
1
vote
1
answer
513
views
Ubuntu server: Cannot setup dummy driver alsa (LXC container) // modprobe issue [duplicate]
I'm trying to setup alsa on my ubuntu server, but it seems that the drivers are not installed & I don't know how to solve this problem. I just wanna setup a dummy soundcard. But I really don't ...
2
votes
1
answer
532
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 ...
2
votes
0
answers
270
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 ...
3
votes
2
answers
3k
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
...
6
votes
1
answer
16k
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 ...
1
vote
0
answers
3k
views
unable to load the module for vfat support with modprobe
I'm doing a lab in this course and I'm asked to : "Load the module for vfat support; does it have any dependencies ?"
The answer for this lab is these commands :
modprobe vfat
modinfo vfat
lsmod ...
1
vote
1
answer
2k
views
Sign iwlwifi kernel module for SecureBoot
After a kernel update of Kubuntu 19.10 (i.e., via normal updates), wifi has stopped working, and the driver is not loaded anymore. I have tried to run sudo modprobe -v iwlwifi unsuccessfully with this ...
2
votes
0
answers
330
views
Stop modprobe spam
I setup GPU passthrough, it works, but ubuntu is spamming modprobe processes, it consumes lot of CPU, this is log from dmesg:
[22014.015852] PKCS#7 signature not signed with a trusted key
[22014....
10
votes
1
answer
26k
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 ...
2
votes
1
answer
4k
views
I still get "Dummy output" for audio after installing alsa-base and pulseaudio
I tried using my audio recently and I noticed that I couldn't any more, I've tried a few of the options I've seen but they do not seem to work:
Dummy Output in Audio; nothing is working (ALSA broken?)...
1
vote
0
answers
2k
views
Anbox-Modules-dkms Won't Install
I'm having trouble installing the modules sudo modprobe ashmem_linux and sudo modprobe binder_linux. Every time I try the code I get this message in my Terminal
modprobe: ERROR: could not insert '...
0
votes
1
answer
1k
views
Why is a device file not created?
Upon insertion of a mass USB storage device like an external hard drive or a flash drive, dmesg -w notes its insertion but no corresponding file such as /dev/sda or /dev/sdb is created.
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 ...
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/...