Questions tagged [kernel-module]
The kernel-module tag has no usage guidance.
132
questions
52
votes
5
answers
70k
views
How to get a list of active drivers that are statically built into the linux kernel?
While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
42
votes
3
answers
91k
views
How do I figure out why systemctl service "systemd-modules-load" fails?
For some time I've seen some red text flashing by during boot. Today I decided to look into it. The systemctl service systemd-modules-load.service is failing with this text:
tomas@bonus-debian:~$ ...
31
votes
6
answers
151k
views
How to load tun module in linux?
I cannot manage to load the tun module in my ArchLinux box. I’m trying
to connect with OpenVPN, but the log says:
nm-openvpn[6662]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=...
17
votes
5
answers
28k
views
Skip kernel module at boot
There is a broken kernel module, due to which I can not even load the OS, so I can not delete or fix it. Is it possible to skip this module at boot, using the kernel's parameters or something?
13
votes
3
answers
25k
views
No OpenSSL sign-file signing_key.pem leads to error while loading kernel modules
I am having problems while loading/installing a kernel module. The kernel module builds successfully, but whenever I try to make module_install, the kernel seems to fail to load. It leaves the below ...
13
votes
3
answers
13k
views
Delete kernel module completely
I would like to ask you how can I delete some kernel module completely? I mean really delete, not unload or prevent to load. I tried to use rmmod, but it just unloaded module, same as modprobe -r. So ...
9
votes
1
answer
7k
views
What is "modloop" option in Alpine?
I'm trying to understand what is the difference of making Alpine installation medium as read-only type (LiveCD) and as a standard disk mode (where the OS state can be saved). I've seen the modloop ...
9
votes
2
answers
15k
views
Which process is using a Linux kernel module?
I am trying to run this command:
# rmmod nvidia
But I get:
ERROR: Module nvidia is in use
How can I know which process(es) is/are using the nvidia module?
7
votes
4
answers
20k
views
VMWare Workstation vmmon broken on Ubuntu 18.04
I upgraded to Ubuntu 18.04 and the vmmon.ko module for VMWare Workstation 12.5.9 now fails to build.
/usr/lib/vmware/modules/source/vmmon-only/linux/driver.c: In function ‘LinuxDriverInitTSCkHz’:
/...
5
votes
3
answers
6k
views
Do both lsmod and /proc/modules use the same mechanism to retrieve modules?
I can get a list of modules using either lsmod or cat /proc/modules. Do the two approaches use the same mechanism to retrieve the modules? I want to know this as we could use it to find some hidden ...
5
votes
2
answers
5k
views
Automatically load kernel module at boot. (Angstrom)
i know how to load your module automatically in ubuntu. you put your module in /etc/modules
But, i compile a kernel and filesystem for an embedded system which i am working on it. but there is no "...
5
votes
1
answer
3k
views
How Do I Manage Multiple Kernel Modules by the Same Name?
I have a situation where I have two modules both named cxgb3 and both in /lib/modules/. How do I inform the OS which one to prefer?
Consider this example:
$ find /lib/modules/ -name cxgb3.ko
/lib/...
5
votes
2
answers
13k
views
How to load i2c-dev module on boot with systemd
I'd like to control my monitor brightness with ddcutil, which requires the i2c-dev module to be loaded.
It is not loaded automatically, so I'm following the directions on ArchWiki to try to ...
5
votes
0
answers
3k
views
Kernel lockdown disallows loading of an self-compiled and self-signed in-tree kernel module
I'm having difficulties loading a kernel module that I myself compiled and signed for Secure Boot. The module in question is ec_sys, located within drivers/acpi directory of the kernel tree.
I'm using ...
4
votes
1
answer
5k
views
Can you pass options to a linux kernel module through the boot parameter?
I have an issue that is fixed by changing the lpfc driver to run using MSI interrupts. This is done by adding “options lpfc lpfc_use_msi=2” /etc/modprobe.conf.local file.
Is there a way to make this ...