User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

SOLVED-Raspbian Jessie: failed to start Load Kernel Modules?

Sat Apr 09, 2016 4:17 pm

Keep getting this "Unit systemd-modules-load.service entered failed state."

I want to troubleshoot, and resolve this (my goal is to remove the fail message at boot).



Any ideas? Thanks. I though it might have been I2C (which is disabled in raspi-config), but now, i just dunno.


Here is the boot scroll message:

Image

Failed] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
6.080707] systemd[1]: failed to start Load Kernel Modules.
6.097303] systemd[1]: Unit systemd-modules-load.service entered failed state.




systemctl status systemd-modules-load.service

Code: Select all

pi@raspberrypi:~ $ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Sat 2016-04-09 12:01:28 EDT; 13min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 85 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 85 (code=exited, status=1/FAILURE)
Last edited by Rive on Sun Apr 10, 2016 4:43 pm, edited 1 time in total.
DNPNWO

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Raspbian Jessie: failed to start Load Kernel Modules?

Sun Apr 10, 2016 1:31 pm

Have you changed something in /etc/modules-load.d/*.conf? because it looks like you may have introduced a syntax error or are trying to load a non-existent module.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Raspbian Jessie: failed to start Load Kernel Modules?

Sun Apr 10, 2016 1:43 pm

systemctl status systemd-modules-load.service
Try

Code: Select all

sudo systemctl status systemd-modules-load.service
You should get some more info (last messages logged)

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Raspbian Jessie: failed to start Load Kernel Modules?

Sun Apr 10, 2016 4:02 pm

DougieLawson wrote:Have you changed something in /etc/modules-load.d/*.conf? because it looks like you may have introduced a syntax error or are trying to load a non-existent module.

Code: Select all

sudo nano /etc/modules-load.d/*.conf
/etc/modules-load.d/cups-filters.conf

Code: Select all

# Parallel printer driver modules loading for cups
# LOAD_LP_MODULE was 'yes' in /etc/default/cups
lp
ppdev
parport_pc
/etc/modules-load.d/modules.conf

Code: Select all

# /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.

i2c-dev
DirkS wrote: Try

Code: Select all

sudo systemctl status systemd-modules-load.service
You should get some more info (last messages logged)

Code: Select all

pi@raspberrypi:~ $ sudo systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Sat 2016-04-09 23:31:27 EDT; 12h ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 86 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 86 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Last edited by Rive on Sun Apr 10, 2016 4:47 pm, edited 1 time in total.
DNPNWO

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Raspbian Jessie: failed to start Load Kernel Modules?

Sun Apr 10, 2016 4:39 pm

Thanks. Resolved.

Looks like it was caused by cups/hplip/hp-setup:

Code: Select all

sudo apt-get install hplip
sudo hp-setup -i
In any event, through trial and error, I stopped the boot fail error by commenting all out like so:

Code: Select all

sudo nano /etc/modules-load.d/*.conf
/etc/modules-load.d/cups-filters.conf

Code: Select all

# Parallel printer driver modules loading for cups
# LOAD_LP_MODULE was 'yes' in /etc/default/cups
#lp
#ppdev
#parport_pc
I have a wireless network HP printer, I am going to test to make sure it still works, If so, I will mark this thread as [Solved].
DNPNWO

michigeo
Posts: 9
Joined: Sat Oct 15, 2016 11:32 am

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Tue Oct 18, 2016 9:30 pm

I have the same problem with cups, it causes the kernel to fail. I also have a CANON network printer that with cups does not print! My question is how you solved the problem, i did not understand.

thanks in advance

DNPNWO
Posts: 126
Joined: Fri Jul 08, 2016 1:51 am

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Tue Oct 18, 2016 9:51 pm

michigeo wrote:I have the same problem with cups, it causes the kernel to fail. I also have a CANON network printer that with cups does not print! My question is how you solved the problem, i did not understand.

thanks in advance
He went into:
sudo nano /etc/modules-load.d/*.conf

and commented out (#) all the following lines like so:

/etc/modules-load.d/cups-filters.conf

# Parallel printer driver modules loading for cups
# LOAD_LP_MODULE was 'yes' in /etc/default/cups
#lp
#ppdev
#parport_pc

adsbn
Posts: 4
Joined: Thu Apr 28, 2016 1:41 pm
Location: Rebrișoara, Bistrița-Năsăud, 427240, România
Contact: ICQ Website Yahoo Messenger AOL Facebook Google+ Skype Twitter YouTube

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Wed Oct 26, 2016 9:34 am

ImageIs possible to resolve this?
http://i.imgur.com/zPkGphO

apbonn
Posts: 2
Joined: Mon Feb 15, 2016 2:15 pm

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Thu May 18, 2017 3:16 pm

i ve got the same problem, but inside of /etc/modules-load.d/cups-filters.conf is nothing i could comment out?
How to solve this now?

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Fri May 19, 2017 4:11 pm

apbonn wrote:i ve got the same problem, but inside of /etc/modules-load.d/cups-filters.conf is nothing i could comment out?
How to solve this now?
Just remove that file.

Then reboot and see what journalctl -xe tells you.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mrpraline
Posts: 1
Joined: Sun May 21, 2017 10:13 am

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Sun May 21, 2017 10:52 am

This problem is caused by the cups-filters package. This will install /etc/modules-load.d/cups-filters.conf if it doesn't find a /etc/default/cups file that tells it not to install.
To fix this behavior:
Remove the /etc/modules-load.d/cups-filters.conf file and check that kernel modules now load without errors:

Code: Select all

sudo rm /etc/modules-load.d/cups-filters.conf
sudo systemctl restart systemd-modules-load.service
To make sure the file will not be recreated on the future updates, create a file /etc/default/cups with the following content:

Code: Select all

sudo nano /etc/default/cups

Code: Select all

# do not load parallel port modules
LOAD_LP_MODULES="no"
You may optionally test your work by reinstalling cups-filters and checking that /etc/modules-load.d/cups-filters.conf doesn't exist after te reinstall.

Code: Select all

sudo apt-get install --reinstall cups-filters

PeterJamesRye
Posts: 1
Joined: Sat Jan 27, 2018 8:10 am

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modules?

Sat Jan 27, 2018 8:14 am

A little down the track, but I had the same issue with a Respberry Pi, Model B, installing lubuntu 16.04. Could not get to any user interface, but I pulled out the SD card, edited the CUPS conf file (commenting out everything) on another Linux computer, and the next boot went perfectly OK.

ajayhakkumar
Posts: 2
Joined: Wed Aug 17, 2016 8:50 am

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modules?

Thu Feb 15, 2018 8:30 am

Raspbian Jessie: failed to start Load Kernel Modules

Nothing works keyboard, mouse or any external devices connected to open kernel

patricktokeeffe
Posts: 4
Joined: Thu Apr 13, 2017 9:51 pm

Re: SOLVED-Raspbian Jessie: failed to start Load Kernel Modu

Wed Nov 07, 2018 12:20 am

mrpraline wrote:
Sun May 21, 2017 10:52 am

Code: Select all

# do not load parallel port modules
LOAD_LP_MODULES="no"
Hi, This thread comes up high in search rankings so I just wanted to correct a minor error. There should not be quotemarks around the arguments.. do this instead:

Code: Select all

# /etc/default/cups
# do not load parallel port modules
LOAD_LP_MODULES=no
Thanks!

Return to “Troubleshooting”