Questions tagged [kernel-module]
134 questions
55
votes
5 answers
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?
JohnnyFromBF
- 5,068
43
votes
3 answers
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:~$ sudo systemctl status systemd-modules-load
●…
Hubro
- 6,016
31
votes
6 answers
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=19)
lsmod | grep tun
Returns nothing:
If I…
rabipelais
- 421
18
votes
5 answers
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?
Gris
- 183
14
votes
3 answers
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 error message :-
At main.c:158:
- SSL…
13
votes
3 answers
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 I got list of all modules using modprobe -n -v…
Majzlik
- 131
9
votes
2 answers
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?
719016
- 4,683
9
votes
1 answer
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 option when the author of this article…
7
votes
4 answers
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…
user1330734
- 249
5
votes
1 answer
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…
Alex
- 245
5
votes
2 answers
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 "modules" file in /etc directory. (i am using…
thehilmisu
- 173
- 1
- 7
5
votes
3 answers
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 malicious modules.
user61954
- 859
5
votes
0 answers
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 Debian 11 stable, kernel release…
mdx
- 161
5
votes
2 answers
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 automatically load it with systemd.…
rcorre
- 276
- 2
- 6
- 14
4
votes
1 answer
Backing Up Kernel Modules from a GNU/Linux installation
How can I create a backup of all the driver modules (especially those that are not part of the original kernel yet) from an installation of GNU/Linux OS?
The original source of the proprietary drivers has gone offline and I need to do a clean…
rinfinity
- 325