Questions tagged [kernel-module]
120 questions
43
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,658
- 18
- 53
- 72
35
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,247
- 14
- 57
- 84
29
votes
5 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
- 401
- 1
- 4
- 7
14
votes
4 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
- 143
- 1
- 1
- 4
11
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
- 111
- 1
- 5
10
votes
2 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
- 201
- 1
- 2
- 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
- 10
7
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
- 171
- 1
- 6
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
- 3
- 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
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
- 3,659
- 13
- 56
- 88
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
- 799
- 3
- 9
- 19
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
- 195
- 2
- 12
4
votes
1 answer
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 change using kernel boot parameters?
countingtoten
- 43
- 1
- 3
3
votes
0 answers
3g modem is not recognized as an ethernet device without rebooting
I have two CentOS5 servers with kernel versions 3.4.52 and Huawei e353 usb 3g modem. When I plug the modem to my server usb_modeswitch runs and I can see the modem as an ethernet device with ifconfig -a command on the properly working server. But…
nyzsirt
- 31
- 3