Manjaro-Deepin 启动报错:
Failed to start Load Kernel Modules.
通过 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; v>
Active: failed (Result: exit-code) since Fri 2019-07-19 22:48:40 CST; 5min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 691 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, statu>
Main PID: 691 (code=exited, status=1/FAILURE)
7月 19 22:48:40 ryan-pc systemd[1]: Starting Load Kernel Modules...
7月 19 22:48:40 ryan-pc systemd-modules-load[691]: Failed to find module 'vfs_moni>
7月 19 22:48:40 ryan-pc systemd[1]: systemd-modules-load.service: Main process exi>
7月 19 22:48:40 ryan-pc systemd[1]: systemd-modules-load.service: Failed with resu>
7月 19 22:48:40 ryan-pc systemd[1]: Failed to start Load Kernel Modules.
lines 1-13/13 (END)...skipping...
● 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 Fri 2019-07-19 22:48:40 CST; 5min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 691 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 691 (code=exited, status=1/FAILURE)
7月 19 22:48:40 ryan-pc systemd[1]: Starting Load Kernel Modules...
7月 19 22:48:40 ryan-pc systemd-modules-load[691]: Failed to find module 'vfs_monitor'
7月 19 22:48:40 ryan-pc systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
7月 19 22:48:40 ryan-pc systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
7月 19 22:48:40 ryan-pc systemd[1]: Failed to start Load Kernel Modules.
使用 modinfo vfs_monitor
提示找不到该模块:
[ryan@ryan-pc ~]$ modinfo vfs_monitor
modinfo: ERROR: Module vfs_monitor not found.
根据搜索到的说法,运行:
yay deepin-anything
然后安装两个 community
中的包(20190719,当前版本是 0.1.0),安装过程中先卸载重装原有的 deepin-anything。
重装后再使用 modinfo vfs_monitor
,就能正常打印出模块信息了:
[ryan@ryan-pc ~]$ modinfo vfs_monitor
filename: /lib/modules/5.1.16-1-MANJARO/updates/vfs_monitor.ko.xz
description: VFS change monitor
author: Raphael
license: GPL
srcversion: 58F4E529BBD74FF411266B5
depends:
retpoline: Y
name: vfs_monitor
vermagic: 5.1.16-1-MANJARO 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)
重启电脑,错误消失。