You are not logged in.

#1 2012-10-22 08:46:14

osager
Member
From: France
Registered: 2011-04-20
Posts: 22

Failed to load modules

Hi all:

What can i do to fix this problem ?

[root@Prairie modules-load.d]# systemctl status systemd-modules-load
systemd-modules-load.service - Load Kernel Modules
      Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
      Active: failed (Result: exit-code) since Mon, 22 Oct 2012 10:33:12 +0000; 6min ago
        Docs: man:systemd-modules-load.service(8)
              man:modules-load.d(5)
     Process: 115 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
      CGroup: name=systemd:/system/systemd-modules-load.service

Oct 22 10:33:12 Prairie systemd[1]: Failed to start Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Offline

#2 2012-10-22 08:56:01

pvibert
Member
Registered: 2011-07-18
Posts: 12

Re: Failed to load modules

Do all of the modules you have specified in /etc/modules-load.d/ load correctly if you try to load them manually?

Offline

#3 2012-10-22 09:02:06

osager
Member
From: France
Registered: 2011-04-20
Posts: 22

Re: Failed to load modules

Yes
I only have kvm.conf inside this folder
and it loads correctly

Offline

#4 2012-10-22 10:07:15

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Failed to load modules

Please use [ code ] tags when posting code. They're easier to read this way.

https://wiki.archlinux.org/index.php/Kernel_modules


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-10-22 10:15:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Failed to load modules

There's /usr/lib/modules-load.d as well. Running /lib/systemd/systemd-modules-load should reproduce the error. In any event, the journal should have logged something about this...

Find the pid of the process via 'systemctl status systemd-modules-load', and then lookup the log messages for that pid with 'journalctl _PID=$pid'

Related, I need to figure out why those journal messages aren't linked to the process/service info so that a simple _SYSTEMD_UNIT=systemd-modules-load.service filter would suffice...

edit: addendum to the above -- fixing this requires changes in the kernel. For now, we're SOL on getting properly tagged logging for short lived services since collection of fields like _SYSTEMD_UNIT, _EXE, or _COMM are collected asynchronously.

Last edited by falconindy (2012-10-22 13:46:39)

Offline

Board footer

Powered by FluxBB