You are not logged in.

#1 2018-06-18 20:14:32

dantopa
Member
Registered: 2017-02-06
Posts: 10

[SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Hi, after latest upgrade, I'm getting "Failed to start Load Kernel Modules." on boot screen. If I put systemctl status systemd-modules-load.service I'm getting:

[pde@arch ~]$ sudo 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 Mon 2018-06-18 17:04:49 -03; 1min 47s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 422 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 422 (code=exited, status=1/FAILURE)

jun 18 17:04:48 arch systemd[1]: Starting Load Kernel Modules...
jun 18 17:04:49 arch systemd-modules-load[422]: Failed to insert 'vfs_monitor': Invalid argument
jun 18 17:04:49 arch systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
jun 18 17:04:49 arch systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
jun 18 17:04:49 arch systemd[1]: Failed to start Load Kernel Modules.

I don't know why is this happening..

Last edited by dantopa (2018-06-20 16:21:30)

Offline

#2 2018-06-18 22:08:54

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Is there more output in the journal for systemd-modules-load.service.  Please use code tags not quote tags for commands and their output.
Also see the man page mentioned in the systemctl output which contains the locations the config files will be read from and see which of them references vfs_monitor.

Offline

#3 2018-06-19 04:03:19

dantopa
Member
Registered: 2017-02-06
Posts: 10

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Hi, I'm sorry, I've read the man docs but I couldn't found anything related to vfs_monitor. Also how can I see the journal you're talking about? Thanks.

Offline

#4 2018-06-19 04:25:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

What is vfs_monitor? I don't find the module in the repos; it most likely needs rebuilt for whatever kernel you're running.

Offline

#5 2018-06-19 09:59:41

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Systemd#Journal

man 5 modules.load.d wrote:

SYNOPSIS
       /etc/modules-load.d/*.conf

       /run/modules-load.d/*.conf

       /usr/lib/modules-load.d/*.conf

DESCRIPTION
       systemd-modules-load.service(8) reads files from the above directories which contain kernel modules to load during boot in a static list.

Offline

#6 2018-06-19 14:33:23

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

i have the same problem and can`t find any info about "vfs_monitor"

Offline

#7 2018-06-19 14:49:39

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@kefirle what about the requested output from the journal and did you look though /etc/modules-load.d/*.conf ,  /run/modules-load.d/*.conf and  /usr/lib/modules-load.d/*.conf for any reference to vfs_monitor?

Offline

#8 2018-06-19 14:51:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Can't find any info? Google has plenty.

Offline

#9 2018-06-19 15:12:09

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

sorry guys, i`m newbie in arch-things
Bug Wrangler, i could not find any references to "vfs_monitor" except this topic
loqs,

/etc/modules-load.d/ is empty

/run/modules-load.d/ doesn`t exist

/usr/lib/modules-load.d/ contains anything.conf and bluez.conf.     
anything.conf content - vfs_monitor

Offline

#10 2018-06-19 15:14:46

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

found the same problem. i use deepin desktop environment too
https://github.com/linuxdeepin/develope … issues/544

Offline

#11 2018-06-19 15:24:17

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

i was trying to reinstall deepin-anything and linux-headers but it didn`t help me
https://forum.antergos.com/topic/9982/f … monitor/17

Offline

#12 2018-06-19 15:26:23

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@kefirle and you get the same output from  `systemctl status systemd-modules-load.service` as dantopa?  Are you using arch or antergos?

Offline

#13 2018-06-19 15:32:30

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@Iogs
1) sudo 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-06-19 18:21:39 EEST; 7min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 214 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 214 (code=exited, status=1/FAILURE)

Jun 19 18:21:39 traveler systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jun 19 18:21:39 traveler systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jun 19 18:21:39 traveler systemd[1]: Failed to start Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

so i suppose the problem is to start Load Kernel Modules

2) i`m using ArchLinux

Offline

#14 2018-06-19 15:37:00

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@kefirle how is the error on your system related to vfs_monitor?  Have you any output from your system containing vfs_monitor?

Offline

#15 2018-06-19 15:41:50

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@Ioqs
journalctl -p 3 -xb

-- Logs begin at Mon 2018-06-18 23:48:17 EEST, end at Tue 2018-06-19 18:37:36 EEST. --
Jun 19 18:21:39 traveler kernel: register_kretprobes failed, returned -22
Jun 19 18:21:39 traveler systemd-modules-load[214]: Failed to insert 'vfs_monitor': Invalid argument
Jun 19 18:21:39 traveler 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/l … temd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is RESULT.
Jun 19 18:21:52 traveler com.deepin.daemon.Miracast[630]: miracast.go:147: Failed to get wifi objects: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.mir>
                                                            ->  init.go:63
                                                            ->  asm_amd64.s:2361
Jun 19 18:21:52 traveler com.deepin.daemon.Miracast[630]: miracast.go:157: Failed to get wfd objects: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.mira>
                                                            ->  init.go:63
                                                            ->  asm_amd64.s:2361

Offline

#16 2018-06-19 15:43:43

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

i`m not sure but i think there are exist some relationships between "vfs_monitor" and systemd-modules-load.service

Offline

#17 2018-06-19 15:50:25

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

What is the output of the following

modinfo vfs_monitor
dkms status

Offline

#18 2018-06-19 15:51:47

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

it is part from  journalctl -xe output
-- /etc/systemd/journald.conf. See journald.conf(5) for details.
Jun 19 18:21:39 traveler kernel: usb 1-11: new high-speed USB device number 4 using xhci_hcd
Jun 19 18:21:39 traveler kernel: register_kretprobes failed, returned -22
Jun 19 18:21:39 traveler systemd[1]: Started udev Coldplug all Devices.
-- Subject: Unit systemd-udev-trigger.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit systemd-udev-trigger.service has finished starting up.
--
-- The start-up result is RESULT.
Jun 19 18:21:39 traveler systemd[1]: Started Create Static Device Nodes in /dev.
-- Subject: Unit systemd-tmpfiles-setup-dev.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit systemd-tmpfiles-setup-dev.service has finished starting up.
--
-- The start-up result is RESULT.
Jun 19 18:21:39 traveler systemd[1]: Starting udev Kernel Device Manager...
-- Subject: Unit systemd-udevd.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit systemd-udevd.service has begun starting up.
Jun 19 18:21:39 traveler systemd-modules-load[214]: Failed to insert 'vfs_monitor': Invalid argument
Jun 19 18:21:39 traveler systemd[1]: Started udev Kernel Device Manager.
-- Subject: Unit systemd-udevd.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l … temd-devel
--
-- Unit systemd-udevd.service has finished starting up.
--
-- The start-up result is RESULT.
Jun 19 18:21:39 traveler systemd-modules-load[214]: Inserted module 'crypto_user'
Jun 19 18:21:39 traveler systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jun 19 18:21:39 traveler systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jun 19 18:21:39 traveler 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/l … temd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is RESULT.

maybe these errors are independent.
I don`t have enough experience with archlinux, so sorry for my stupid questions.

i will look at those error more precisely later. thank you for your support smile

Offline

#19 2018-06-19 15:53:03

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Please use code tags post the output of the commands requested in post #17 and see also https://github.com/linuxdeepin/deepin-anything/issues/2

Offline

#20 2018-06-19 15:53:36

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@Ioqs,


1)modinfo vfs_monitor
filename:       /lib/modules/4.17.2-1-ARCH/updates/vfs_monitor.ko
description:    VFS change monitor
author:         Raphael
license:        GPL
srcversion:     91303418208F5C2DBFAA13B
depends:       
retpoline:      Y
name:           vfs_monitor
vermagic:       4.17.2-1-ARCH SMP preempt mod_unload modversions
parm:           hour_shift:hour shift for displaying /proc/vfs_changes line item time (int)
parm:           merge_actions:merge actions to minimize data transfer and fs tree change (int)


2)dkms status
deepin-anything, 0.0.1, 4.17.2-1-ARCH, x86_64: installed

Offline

#21 2018-06-19 15:58:09

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Code tags please and the output of these three in order yes one is a duplicate.

lsmod | grep vfs_monitor
sudo modprobe vfs_monitor
lsmod | grep vfs_monitor

Offline

#22 2018-06-19 16:03:04

kefirle
Member
Registered: 2018-06-19
Posts: 13

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@Ioqs
#21

lsmod | grep vfs_monitor - empty


sudo modprobe vfs_monitor
[sudo] password for kefirle:
modprobe: ERROR: could not insert 'vfs_monitor': Invalid argument



lsmod | grep vfs_monitor - empty

Offline

#23 2018-06-19 17:07:36

dantopa
Member
Registered: 2017-02-06
Posts: 10

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

Hi kefirle, I see you are also using the latest version of Linux kernel and deepin desktop, me too. So the problem must be related to that

Last edited by dantopa (2018-06-19 17:07:59)

Offline

#24 2018-06-19 17:10:25

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

@scimmia does 3a18ef5c1b3935cb05888fc37964321f7bd6231d seem the likely cause to you?
Edit:
replacing all references to sys_umount with ksys_umount and the module builds / loads.

Last edited by loqs (2018-06-19 17:18:26)

Offline

#25 2018-06-19 17:16:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: [SOLVED] Failed to insert 'vfs_monitor': Invalid argument

loqs, 3a18ef5c1b3935cb05888fc37964321f7bd6231d in deepin? Arch? Kernel?

Offline

Board footer

Powered by FluxBB