You are not logged in.
Hi,
So when the system is booting I get messages stating that loading kernel modules failed. I discovered that those messages are printed by failing systemd-modules-load.service.
In `journalctl -xe` output I found:
янв 24 13:32:22 homepc systemd[1]: Starting Load Kernel Modules...
░░ Subject: Начинается запуск юнита systemd-modules-load.service
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Начат процесс запуска юнита systemd-modules-load.service.
янв 24 13:32:22 homepc systemd-modules-load[219680]: Failed to look up module alias 'vfs_monitor': Function not implemented
янв 24 13:32:22 homepc systemd-modules-load[219680]: Failed to look up module alias 'i2c_dev': Function not implemented
янв 24 13:32:22 homepc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit systemd-modules-load.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
янв 24 13:32:22 homepc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit systemd-modules-load.service has entered the 'failed' state with result 'exit-code'.
янв 24 13:32:22 homepc systemd[1]: Failed to start Load Kernel Modules.
░░ Subject: Ошибка юнита systemd-modules-load.service
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Произошел сбой юнита systemd-modules-load.service.
░░
░░ Результат: failed.So I looked into vfs_monitor and i2c_dev modules:
# pacman -Qo /lib/modules/5.10.9-arch1-1/kernel/drivers/i2c/i2c-dev.ko.xz
/usr/lib/modules/5.10.9-arch1-1/kernel/drivers/i2c/i2c-dev.ko.xz принадлежит linux 5.10.9.arch1-1
# pacman -Qo /etc/modules-load.d/i2c_dev.conf
/etc/modules-load.d/i2c_dev.conf принадлежит deepin-daemon 5.11.0.49-1
# pacman -Qo /lib/modules/5.10.9-arch1-1/extramodules/vfs_monitor.ko.xz
/usr/lib/modules/5.10.9-arch1-1/extramodules/vfs_monitor.ko.xz принадлежит deepin-anything-arch 5.0.1-138Apparently i2c_dev belongs to the kernel, but has additional load config provided by Deepin. Vfs_monitor is a module that Deepin brings and is updated every time I update the kernel.
So, what is going on? Why do they fail? How do I fix this? Do I need those modules at all?
Last edited by constb (2021-01-27 14:39:46)
Offline
Offline
I'm afraid I don't understand what I should do based on this. The topic's description contains different error message. Nothing about 'function not implemented' that I'm getting here. Also my issue affects i2c_dev module as well.
Is there any solution other that deleting /usr/lib/modules-load.d/anything.conf or recompiling something I don't know what?
As I side note, I also noticed Deepin File Manager is crashing regularly. Since it depends on deepin-anything, I suppose missing or failing module might be the cause of this…
Offline
The error message appears when kernel and modules fall ot of syncwhat seems to happen more often w/ deepin.
However, on a closer look, deepin does not to be the culprit this time and it's more likely that you're not booting the installed kernel.
Compare
uname -a
pacman -Qs linuxOffline
The error message appears when kernel and modules fall ot of syncwhat seems to happen more often w/ deepin.
However, on a closer look, deepin does not to be the culprit this time and it's more likely that you're not booting the installed kernel.
Compareuname -a pacman -Qs linux
That's unlikely. I only have one (default) kernel in the system. Also every time linux package updates, I see that deepin-anything is updated at the same time. So somebody recompiles it to match the kernel. I think something must be wrong with it…
[root@homepc ~]# uname -a
Linux homepc 5.10.9-arch1-1 #1 SMP PREEMPT Tue, 19 Jan 2021 22:06:06 +0000 x86_64 GNU/Linux
[root@homepc ~]# pacman -Qs linux | less
...
local/linux 5.10.9.arch1-1
The Linux kernel and modules
...Offline
Can you "modprobe -v i2c-dev"?
Offline
Can you "modprobe -v i2c-dev"?
This provided no output. I also tried "modprobe -v vfs_monitor" – no output either.
Offline
That would suggest it succeeds - do the modules show up in "lsmod"?
Do you get the error on every boot?
Does "depmod -a" resolve it?
What if you change the underscore to a dash "-" in the config file?
Offline
That would suggest it succeeds - do the modules show up in "lsmod"?
Do you get the error on every boot?
Does "depmod -a" resolve it?
What if you change the underscore to a dash "-" in the config file?
so the error has disappeared after recent update to kernel 5.10.10. I'm gonna mark the thread as solved even though it's still unclear what was causing this.
they both appear in lsmod now:
[root@homepc ~]# lsmod | egrep '(vfs_monitor|i2c_dev)'
i2c_dev 24576 0
vfs_monitor 24576 0Offline