You are not logged in.

#1 2015-09-30 06:13:14

rulet
Member
Registered: 2010-11-23
Posts: 18

Failed to Load Kernel Modules on startup

Hello. I have this kind of error:

r@prime:~$ 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 Чтв 2015-08-20 08:07:38 EEST; 13min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 150 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 150 (code=exited, status=1/FAILURE)
r@prime:~$ ls -al /etc/modules-load.d/
итого 20
drwxr-xr-x   2 root root  4096 Июл 10 00:21 .
drwxr-xr-x 148 root root 12288 Авг 20 08:07 ..
-rw-r--r--   1 root root   119 Мар 11 15:43 cups-filters.conf
lrwxrwxrwx   1 root root    10 Май 26 09:07 modules.conf -> ../modules
r@prime:~$ cat /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
r@prime:~$ cat /etc/modules-load.d/modules.conf
# /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.


# Generated by sensors-detect on Sun Aug 16 11:11:40 2015
# Chip drivers
coretemp
w83627ehf
r@prime:~$

Any ideas?

Offline

#2 2015-09-30 06:17:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to Load Kernel Modules on startup

Use the PID to find out why it failed.

Not a Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-09-30 06:25:37

rulet
Member
Registered: 2010-11-23
Posts: 18

Re: Failed to Load Kernel Modules on startup

jasonwryan wrote:

Use the PID to find out why it failed.

Can you say more specific?

Offline

#4 2015-09-30 06:31:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to Load Kernel Modules on startup


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-09-30 06:52:40

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Failed to Load Kernel Modules on startup

Looking through 'dmesg' might also help.


1000

Offline

#6 2015-09-30 14:20:02

niceman
Member
Registered: 2015-08-31
Posts: 55

Re: Failed to Load Kernel Modules on startup

rulet wrote:
jasonwryan wrote:

Use the PID to find out why it failed.

Can you say more specific?

type "ps -A" and look for a process with PID equal to 150, that process will be the problem, after you find it launch it from terminal and see what errors you get.

Last edited by niceman (2015-09-30 14:20:23)

Offline

#7 2015-09-30 17:57:11

rulet
Member
Registered: 2010-11-23
Posts: 18

Re: Failed to Load Kernel Modules on startup

r@prime:~$ sudo journalctl _PID=150
[sudo] password for r: 
-- Logs begin at Срд 2015-09-30 20:47:54 EEST, end at Срд 2015-09-30 20:55:26 EE
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'lp'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'ppdev'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'parport_pc'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'fuse'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'coretemp'
Сен 30 20:47:54 prime systemd-modules-load[150]: Failed to insert 'w83627ehf': D
...skipping...
-- Logs begin at Срд 2015-09-30 20:47:54 EEST, end at Срд 2015-09-30 20:55:26 EE
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'lp'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'ppdev'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'parport_pc'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'fuse'
Сен 30 20:47:54 prime systemd-modules-load[150]: Inserted module 'coretemp'
Сен 30 20:47:54 prime systemd-modules-load[150]: Failed to insert 'w83627ehf': D
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
r@prime:~$

Offline

#8 2015-09-30 18:02:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to Load Kernel Modules on startup

rulet wrote:
Сен 30 20:47:54 prime systemd-modules-load[150]: Failed to insert 'w83627ehf': D

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2015-09-30 18:06:53

rulet
Member
Registered: 2010-11-23
Posts: 18

Re: Failed to Load Kernel Modules on startup

Yes, thanks, now I have to find out how to fix it.

Offline

#10 2015-09-30 19:37:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to Load Kernel Modules on startup


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2015-09-30 20:54:35

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Failed to Load Kernel Modules on startup

Adding 'acpi_enforce_resources=lax' to the kernel command line usually fixes this without negative effects, at least for me.


1000

Offline

#12 2015-10-01 05:37:04

rulet
Member
Registered: 2010-11-23
Posts: 18

Re: Failed to Load Kernel Modules on startup

byte wrote:

Adding 'acpi_enforce_resources=lax' to the kernel command line usually fixes this without negative effects, at least for me.

So will it be correct to write in /etc/default/grub?:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"

... when I did it, it starts to say "Resources not safely usable due to acpi_enforce_resources kernel parameter" during boot.
...so I reverted back grub config as was before.
...I fixed the problem by editing file /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.


# Generated by sensors-detect on Sun Aug 16 11:11:40 2015
# Chip drivers
coretemp
w83627ehf

I deleted coretemp and w83627ehf modules, as lm_sensors package offered it by mistake(I use Asus motherboard), so after editing the file:

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


# Generated by sensors-detect on Sun Aug 16 11:11:40 2015
# Chip drivers

Last edited by rulet (2015-10-04 19:42:00)

Offline

Board footer

Powered by FluxBB