67
votes
Accepted
How do I figure out why systemctl service "systemd-modules-load" fails?
I too had this issue. I was able to solve it by following the instructions on the Arch Linux systemd wiki page. Here is a summary of what I did :
Lets find the systemd services which fail to start
...
13
votes
Skip kernel module at boot
Disabling specific modules is possible from boot loader, but looks like distro-dependent indeed.
On one hand, Linux Kernel Parameters documentations states, as of August 2016:
module_blacklist= [...
11
votes
Accepted
No OpenSSL sign-file signing_key.pem leads to error while loading kernel modules
In your linux kernel root folder that you're compiling go to the certs folder and run:
openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config x509.genkey -outform DER -out signing_key....
10
votes
What is "modloop" option in Alpine?
The modloop= option specifies a SquashFS filesystem that gets mounted to /.modloop by the init file /etc/init.d/modloop and symlinked from /lib/modules (or possibly union-mounted with the overlay - ...
7
votes
How to get a list of active drivers that are statically built into the linux kernel?
The sysfs module area /sys/module is a view into all the modules visible to the running kernel. Each module directory has a set of sysfs interface files to view and manage the module via userspace. ...
6
votes
VMWare Workstation vmmon broken on Ubuntu 18.04
I found a solution and create a script file based on mkucebek's github sources.
You must create a file with this content and run it each time it's needed :
#!/bin/bash
VMWARE_VERSION=workstation-12.5....
4
votes
Accepted
Iptables kernel module in stock Arch
You are running on kernel 4.16.12, but you have updated kernel to 4.17.2. After each kernel upgrade you need to restart your machine.
iptable fails, because it tries to load module iptable_filter, ...
4
votes
No OpenSSL sign-file signing_key.pem leads to error while loading kernel modules
Based on cryptoboy's answer:
Create x509.genkey file
echo -e "[ req ] \n\
default_bits = 4096 \n\
distinguished_name = req_distinguished_name \n\
prompt = no \n\
x509_extensions = myexts \n\
[ ...
4
votes
How to load tun module in linux?
In Arch linux installing the networkmanager-vpnc or NetworkManager-vpnc package will solve the problem
4
votes
How to get a list of active drivers that are statically built into the linux kernel?
ls /sys/module
seems to contain all built-in and external modules.
But it also appears to contain some entries which are not actually modules: https://unix.stackexchange.com/questions/225706/are-...
3
votes
What is the difference between "make modules" and "make modules_install"
prior to 2.6, you need make modules, while after 2.6, make will also do make modules
3
votes
How to load tun module in linux?
Make sure you do a kernelcheck before running modprobe. See note here
An easy way is to compare the output of
uname -r
and
pacman -Q linux
If they're different, reboot. That should fix the modprobe ...
3
votes
Accepted
nouveau: Where are module parameters stored?
Since nouveau is starting from initramfs.
In order to change the load options for this kind of modules one need to run
sudo update-initramfs -u
to get the setting applied.
2
votes
Automatically load kernel module at boot. (Angstrom)
The init system has to insmod them.
At least for Buildroot / BusyBox, there seems to be not pre-automated way, so you should just add your own /etc/init.d/S99Modules file containing commands of type:
...
2
votes
Accepted
Will my kernel module be reloaded after system reboot?
No, kernel modules are autoloaded only as an answer to events or requests. Just don't link your module on (common) hardware.
For testing modules, you don't need to install the module ("install" as to ...
2
votes
Delete kernel module completely
It depends on your distro/system.
Linux loadable modules are ko files located in /lib/modules/$(uname -r)/, sorted into sub-folders. A few files in this folder helps handling them all, especially ...
2
votes
Accepted
How to view options tkernel module was loaded with?
Use /sys/module/<name>/parameters:
$ tree /sys/module/*/parameters
/sys/module/8250/parameters
├── nr_uarts
├── probe_rsa
├── share_irqs
└── skip_txen_test
/sys/module/acpiphp/parameters
└── ...
2
votes
Accepted
why there are modules loaded not being used?
They are loaded because something used them at some time, possibly indirectly, for example during boot, but currently there are no applications using them.
It's safe to rmmod them (they'll just get ...
2
votes
Accepted
Where did snd-aloop go?
I just found out why after I already wrote the question. In hopes that it helps someone else:
While uname -a tells me the kernel I use is 4.18.3 - I actually upgraded to 4.18.5. I found that out by ...
2
votes
Accepted
How to load i2c-dev module on boot with systemd
Each configuration file is named in the style of /etc/modules-load.d/<program>.conf.
The .conf suffix is required for modules-load.d – other files are ignored. (This is how the program ...
1
vote
Accepted
How to use hwsim, "Module mac80211_hwsim not found in directory" error
Seems like the kernel you are running isn't compliled with mac80211_hwsim.
You need to install another one, compile it with it, and install it.
If you have ubuntu you can use that guide:
https://...
1
vote
Accepted
Is there a risk that new kernel driver ee1004 could lock up spd eeprom?
I suspect that what you're referring to is not a particular issue with RAM, SPD, or "new EEPROMs", but rather with the two-wire bus that is used for communication with these EEPROMs.
I²C and SMBus ...
1
vote
Accepted
Missing TUN/TAP driver on embedded Linux
More research led me to what seems to be the answer to my question.
I know for sure that some drivers are present on the device I'm having problems with, but I couldn't find them physically on the ...
1
vote
Accepted
i2cdetect -l don't return anything
First step is to modprobe i2c-dev, do cat /sys/bus/i2c/devices/i2c-*/name, and edit your question with the output, so we at least what bus master hardware is currently already recognized. It's ...
1
vote
VMWare Workstation vmmon broken on Ubuntu 18.04
Using Charly's suggested script, I was able to build the needed modules for kernel 4.15.0-29-generic on 16.04 LTS. There is a typo at the end of the script, there should not be a line return between ...
1
vote
How to have access control for all users, including root, for R/W regular files, in Linux kernels newer than 2.6.35?
CentOS is shipped with SELinux and default policy. Depending on your requirements you can configure existing policies or write additional policies.
RHEL provides some documentation on SELinux ...
1
vote
Accepted
Why are some udev workers timing out?
While I don't have a full explanation, disabling TIMER_STATS in the kernel config (that's Kernel hacking ➔ Collect kernel timers statistics if you use the menuconfig) seems to have fixed this.
I'd ...
1
vote
Delete kernel module completely
If a kernel module is not loaded, it's the same as if it doesn't exist, unless it was built into the kernel (I'll explain that below), the only exception is you typically can later reload it with an ...
1
vote
Delete kernel module completely
Modules are loaded into RAM (and linked to the running kernel) at runtime when required somehow. Until that happens, they (only) use disk space (or it's equivalent).
You can save a bit of disk space ...
1
vote
How do I figure out why systemctl service "systemd-modules-load" fails?
In my case a simple
sudo update-initramfs -u
resolved the problem.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
kernel-module × 133linux × 80
linux-kernel × 28
kernel × 26
debian × 14
ubuntu × 13
drivers × 12
compile × 9
boot × 8
arch-linux × 8
embedded-linux × 8
virtualbox × 6
fedora × 5
vmware-workstation × 5
audio × 4
iptables × 4
linux-device-driver × 4
networking × 3
usb × 3
ethernet × 3
systemd × 3
udev × 3
secure-boot × 3
modprobe × 3
windows × 2