You are not logged in.
I was reading this forum topic
Also the modules-load.d manpage and the Kernel module wiki page.
That page states:
Kernel modules can be explicitly listed in files under /etc/modules-load.d/ for systemd to load them during boot.
[...]
Configuration files simply contain a list of kernel modules names to load, separated by newlines.
How to pass module parameters at load time?
In /etc/modules-load.d/ config files it is not possible.
The correct way seems to be to specify the options in /etc/modprobe.d/ config files.
But the Using files in /etc/modprobe.d/ wiki section talks about "udev", not "systemd-modules-load.service", and the modules-load.d manpage also don't mention /etc/modprobe.d at all.
Last edited by hully (2024-06-12 05:13:24)
Offline
udev is a part of systemd, have you tried following the instructions, is it not working, or just a case of you want clarification on how it works?
Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma
Offline
It says in the Kernel module link that you posted what to do. See #4 Setting module options so you have different ways of loading modules.
Using files means you write a setting in modprobe.d and add modconf to your hooks or naming it in FILES in mkinitcpio.conf. What specifically are you trying to do?
Last edited by d_fajardo (2024-06-10 11:26:29)
Offline
modules-load.d and modprobe.d are completely different and unrelated things
For
How to pass module parameters at load time?
only modprobe.d is relevant.
modules-load.d is simply a way to explicitly load modules the system doesn't implicitly load to drive the hardware.
Online
udev is a part of systemd, have you tried following the instructions, is it not working, or just a case of you want clarification on how it works?
I want clarification on how it works.
Does modules-load.d read from modprobe.d also, even though modules-load.d's man page doesn't even mention modprobe.d?
Offline
modules-load.d will modprobe the listed modules and modprobe will read modprobe.d/*
Online
Neither, modules-load.d just enforces to load a module. When a module is being loaded, the directives in modprobe.d get triggered to enrich the loaded module by kernel parameters/options/aliases defined there.
FF5...
Last edited by V1del (2024-06-11 12:57:36)
Offline
modules-load.d will modprobe the listed modules and modprobe will read modprobe.d/*
ok thanks
Offline