Kernel 4.17, systemd-modules-load.service is failed to start

when I installed kernel 4.17 on my manjaro (Im using deepin manjaro), everytime on bootup it shows me this error

here is the output of journalctl -xe

Jul 10 15:07:39 seyed-pc systemd[1]: Starting Load Kernel Modules...
-- Subject: Unit systemd-modules-load.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has begun starting up.
Jul 10 15:07:39 seyed-pc systemd-modules-load[4096]: Failed to find module 'vfs_monitor'
Jul 10 15:07:39 seyed-pc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 10 15:07:39 seyed-pc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jul 10 15:07:39 seyed-pc systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-modules-load.service has failed.

I have no error if I use kernel 4.16

how should I fix it?

1 Like

You need to make sure you have the appropriate headers package for Kernel 4.17 installed ( linux417-headers ). If not already installed, install deepin-anything and dkms .

You can also check with

modinfo vfs_monitor

if everything is correctly installed.

1 Like

a little bit difficult without info

systemctl status systemd-modules-load.service
● 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 Tue 2018-07-10 15:07:39 +0430; 48min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 4096 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 4096 (code=exited, status=1/FAILURE)

Jul 10 15:07:39 seyed-pc systemd[1]: Starting Load Kernel Modules...
Jul 10 15:07:39 seyed-pc systemd-modules-load[4096]: Failed to find module 'vfs_monitor'
Jul 10 15:07:39 seyed-pc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 10 15:07:39 seyed-pc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jul 10 15:07:39 seyed-pc systemd[1]: Failed to start Load Kernel Modules.

yes I installed headers and dkms and other things for linux 417 like virtual box and nvidia and bbswitch for kernel 4.17

seyed-pc# modinfo vfs_monitor
modinfo: ERROR: Module vfs_monitor not found.

what is this vfs_monitor?

how can I install it?

You use Deepin as your desktop? Yes see the answer from

sorry but iam not following
can u say it more clear?

The Deepin Anything file search tool uses this special Kernel Module. It is part of this package.

If you want to use it you need to make sure it is build for every Kernel. Since it is not available, it was not build.

You can manually try to rebuild all DKMS modules with

sudo dkms autoinstall
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by