Questions tagged [kernel-module]
128 questions
49
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
- 4,858
- 19
- 58
- 72
41
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
- 5,716
- 14
- 61
- 87
30
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
- 411
- 1
- 4
- 7
16
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
- 163
- 1
- 1
- 4
12
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…
Arnabjyoti Kalita
- 223
- 1
- 2
- 7
12
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
- 121
- 1
- 1
- 5
10
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,177
- 16
- 59
- 91
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…
Timur Fayzrakhmanov
- 191
- 1
- 6
7
votes
3 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
- 241
- 1
- 2
- 11
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
- 4
- 14
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
- 163
- 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
- 4
- 10
- 19
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
- 4
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
- 315
- 1
- 3
- 14
4
votes
1 answer
Does radeon.hw_i2c=1 has any thing to do with temperature readings?
I want to read the temperature out from an Advanced Micro Devices [AMD] nee ATI RS880 [Radeon HD 4290] card if possible. It is integrated on an ASUS M4A89GTDPRO/USB3 motherboard.
sensors-detect reports the following:
Do you want to probe the…
dash17291
- 972
- 2
- 14
- 27