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 ...
Rahul Khimasia's user avatar
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= [...
Anton Samsonov's user avatar
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....
Demon's user avatar
  • 226
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 - ...
Tripp Lilley's user avatar
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. ...
dturvene's user avatar
  • 171
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....
Charly's user avatar
  • 61
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, ...
KamilCuk's user avatar
  • 210
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\ [ ...
Trake Vital's user avatar
4 votes

How to load tun module in linux?

In Arch linux installing the networkmanager-vpnc or NetworkManager-vpnc package will solve the problem
MrRolling's user avatar
  • 149
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-...
Ciro Santilli OurBigBook.com's user avatar
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
Chen Li's user avatar
  • 133
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 ...
Sponge5's user avatar
  • 31
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.
malat's user avatar
  • 1,269
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: ...
Ciro Santilli OurBigBook.com's user avatar
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 ...
Giacomo Catenazzi's user avatar
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 ...
A. Loiseau's user avatar
  • 1,258
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 └── ...
u1686_grawity's user avatar
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 ...
dirkt's user avatar
  • 16.9k
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 ...
confetti's user avatar
  • 2,455
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 ...
u1686_grawity's user avatar
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://...
dani39's user avatar
  • 26
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 ...
Attie's user avatar
  • 20k
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 ...
KateOleneva's user avatar
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 ...
dirkt's user avatar
  • 16.9k
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 ...
NeoGeek's user avatar
  • 11
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 ...
sebasth's user avatar
  • 820
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 ...
Blacklight Shining's user avatar
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 ...
LawrenceC's user avatar
  • 74k
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 ...
vonbrand's user avatar
  • 2,459
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.
SergiyKolesnikov's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible