Failed to start Load Kernel Modules

Asked by Robert Smith

I have been receiving the error "Failed to start Load Kernel Modules" in Ubuntu 15.10 GNOME. This occurs after some reboots and after every logout. The following information might be useful:

➜ ~ sudo systemctl status systemd-modules-load -l
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since lun 2015-11-23 16:48:47 CST; 5h 50min left
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 530 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 530 (code=exited, status=1/FAILURE)

nov 23 16:48:47 laptop systemd[1]: Starting Load Kernel Modules...
nov 23 16:48:47 laptop systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
nov 23 16:48:47 laptop systemd[1]: Failed to start Load Kernel Modules.
nov 23 16:48:47 laptop systemd[1]: systemd-modules-load.service: Unit entered failed state.
nov 23 16:48:47 laptop systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

➜ ~ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

“synaptics_i2c”

➜ ~ cat /lib/systemd/system/systemd-modules-load.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.

[Unit]
Description=Load Kernel Modules
Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5)
DefaultDependencies=no
Conflicts=shutdown.target
Before=sysinit.target shutdown.target
ConditionCapability=CAP_SYS_MODULE
ConditionDirectoryNotEmpty=|/lib/modules-load.d
ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d
ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d
ConditionDirectoryNotEmpty=|/etc/modules-load.d
ConditionDirectoryNotEmpty=|/run/modules-load.d
ConditionKernelCommandLine=|modules-load
ConditionKernelCommandLine=|rd.modules-load

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/lib/systemd/systemd-modules-load
TimeoutSec=90s

Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Robert Smith (rsmith31415) said :
#2
Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Do you really have

“synaptics_i2c”

(with quote characters) inside /etc/modules ?

I suggest that you remove the quotes and try again.

Revision history for this message
Robert Smith (rsmith31415) said :
#4

Thank you.

Yes, the quotes were there. I removed them and now the error is fixed.

There is an additional message after logging out ("A start job is running for Wait for Plymouth Boot Screen to Quit (57s / no limit)") that doesn't finish but maybe that's an unrelated issue.

Can you help with this problem?

Provide an answer of your own, or ask Robert Smith for more information if necessary.

To post a message you must log in.