Failed to start Load Kernel Modules
-
- Posts: 2
- Joined: 2019/07/02 15:53:15
Failed to start Load Kernel Modules
In CentOS 8-Stream, ever since kernel-4.18.0-348.7.1.el8_5.x86_64 I see 3 failure messages recorded in boot.log:
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
The details (most recent, with kernel-4.18.8-358.el8.x86_64) are:
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-01-20 21:08:29 CST; 2min 22s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 832 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 832 (code=exited, status=1/FAILURE)
Jan 20 21:08:29 cent8-vm.local systemd[1]: Starting Load Kernel Modules...
Jan 20 21:08:29 cent8-vm.local systemd-modules-load[832]: Module 'msr' is builtin
Jan 20 21:08:29 cent8-vm.local systemd-modules-load[832]: Failed to insert 'ipmi_si': No such device
Jan 20 21:08:29 cent8-vm.local systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jan 20 21:08:29 cent8-vm.local systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jan 20 21:08:29 cent8-vm.local systemd[1]: Failed to start Load Kernel Modules.
I can find multiple references to similar messages for several distributions on the web, all with suggestions about "something left over after an update." However, I also see these messages by downloading the "latest-dvd1.iso" and simply booting it to start a new VM install (QEMU/KVM).
What is going on here?
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
The details (most recent, with kernel-4.18.8-358.el8.x86_64) are:
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-01-20 21:08:29 CST; 2min 22s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 832 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 832 (code=exited, status=1/FAILURE)
Jan 20 21:08:29 cent8-vm.local systemd[1]: Starting Load Kernel Modules...
Jan 20 21:08:29 cent8-vm.local systemd-modules-load[832]: Module 'msr' is builtin
Jan 20 21:08:29 cent8-vm.local systemd-modules-load[832]: Failed to insert 'ipmi_si': No such device
Jan 20 21:08:29 cent8-vm.local systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jan 20 21:08:29 cent8-vm.local systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jan 20 21:08:29 cent8-vm.local systemd[1]: Failed to start Load Kernel Modules.
I can find multiple references to similar messages for several distributions on the web, all with suggestions about "something left over after an update." However, I also see these messages by downloading the "latest-dvd1.iso" and simply booting it to start a new VM install (QEMU/KVM).
What is going on here?
Re: Failed to start Load Kernel Modules
What's in /etc/modules-load.d
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 2
- Joined: 2019/07/02 15:53:15
Re: Failed to start Load Kernel Modules
/etc/modules-load.d is an empty directory.
-
- Posts: 3
- Joined: 2022/01/25 04:03:36
Re: Failed to start Load Kernel Modules
Seeing this as well. Trying a manual start in cockpit shows the following:
Code: Select all
Condition ConditionDirectoryNotEmpty=/etc/modules-load.d was not met
Condition ConditionDirectoryNotEmpty=/run/modules-load.d was not met
Condition ConditionDirectoryNotEmpty=/usr/local/lib/modules-load.d was not met
Condition ConditionKernelCommandLine=modules-load was not met
Condition ConditionKernelCommandLine=rd.modules-load was not met
Re: Failed to start Load Kernel Modules
I have the same problem - systemd-modules-load.service failed to start.
Re: Failed to start Load Kernel Modules
It would appear that it's not starting because all of the directories that would contain the necessary files that would tell it what to do are all empty.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Failed to start Load Kernel Modules
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2022-02-06 11:52:19 CST; 5min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 6188 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 6188 (code=exited, status=1/FAILURE)
Feb 06 11:52:19 localhost.localdomain systemd[1]: Starting Load Kernel Modules...
Feb 06 11:52:19 localhost.localdomain systemd-modules-load[6188]: Module 'msr' is builtin
Feb 06 11:52:19 localhost.localdomain systemd-modules-load[6188]: Failed to insert 'ipmi_si': No such device
Feb 06 11:52:19 localhost.localdomain systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 11:52:19 localhost.localdomain systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Feb 06 11:52:19 localhost.localdomain systemd[1]: Failed to start Load Kernel Modules.
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2022-02-06 11:52:19 CST; 5min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 6188 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 6188 (code=exited, status=1/FAILURE)
Feb 06 11:52:19 localhost.localdomain systemd[1]: Starting Load Kernel Modules...
Feb 06 11:52:19 localhost.localdomain systemd-modules-load[6188]: Module 'msr' is builtin
Feb 06 11:52:19 localhost.localdomain systemd-modules-load[6188]: Failed to insert 'ipmi_si': No such device
Feb 06 11:52:19 localhost.localdomain systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 11:52:19 localhost.localdomain systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Feb 06 11:52:19 localhost.localdomain systemd[1]: Failed to start Load Kernel Modules.
Re: Failed to start Load Kernel Modules
/etc/modules-load.d directory is empty as well. I have no idea why it would be empty or what to do to fix it.
Load Kernel Modules
Status
StaticRequired by
sysinit.target
Failed to start
Path
/usr/lib/systemd/system/systemd-modules-load.service
Condition failed
Condition ConditionDirectoryNotEmpty=/run/modules-load.d was not met
Condition ConditionDirectoryNotEmpty=/usr/local/lib/modules-load.d was not met
Condition ConditionKernelCommandLine=modules-load was not met
Condition ConditionKernelCommandLine=rd.modules-load was not met
Service logs
February 6, 2022
1:21 PM
Failed to start Load Kernel Modules.
systemd
1:21 PM
systemd-modules-load.service: Failed with result 'exit-code'.
systemd
1:21 PM
systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
systemd
1:21 PM
Failed to insert 'ipmi_si': No such device
systemd-modules-load
1:21 PM
Module 'msr' is builtin
Re: Failed to start Load Kernel Modules
Any suggestion on how to fix "load kernel modules" problem?
I understand key directories are empty, but why and what do I place in there so the process works again.
My two servers seem to work just fine however. (both have the exact same problem since moving from Centos 8 to Centos stream)
I understand key directories are empty, but why and what do I place in there so the process works again.
My two servers seem to work just fine however. (both have the exact same problem since moving from Centos 8 to Centos stream)
Re: Failed to start Load Kernel Modules
If you think it happens as a result of Stream then raise a bug.
For information on filing bugs against CentOS Linux or CentOS Stream please see https://wiki.centos.org/ReportBugs
For information on filing bugs against CentOS Linux or CentOS Stream please see https://wiki.centos.org/ReportBugs
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke