This article will focus on the operation and maintenance system in Archlinux introduced.
Kernel-Related
View the current kernel version
1 2 3
uname -r ------------------------------------------------------------------------ 4.19.67-1-lts
Replace the kernel version
The latest version of the kernel scroll too often, many of the new properties is not stable, and therefore will run on archlinux stable version of the kernel, namely lts kernel
Can be installed directly with pacman
Delete the old kernel
1 2 3
sudo rm -f /boot/vmlinuz-kernel_3.xxx sudo rm -f /boot/initrd.img-kernel_3.xxx sudo rm -rf /lib/modules/kernel_3.xxx
systemctl command
Check the operation of the service failure
Fail to find the service
1 2 3
systemctl --failed ------------------------------------------------------------------------ systemd-modules-load.service loaded failed failed Load Kernel Modules
Fail to see the reason
1 2 3 4 5 6 7 8 9
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: dis> Active: failed (Result: exit-code) since Fri 2019-08-23 12:16:54 CST; 6min ago Docs: man:systemd-mod 大专栏 Archlinux系统运维 ules-load.service(8) man:modules-load.d(5) Process: 190 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 190 (code=exited, status=1/FAILURE)
According to corresponding question Main PID View
1 2 3 4 5 6 7 8 9 10 11 12 13
journalctl _PID=190 ----------------------------------------------------------------------- -- Logs begin at Thu 2019-04-25 23:48:52 CST, end at Fri 2019-08-23 12:24:50 CST. -- 8月 23 12:16:54 husky systemd-modules-load[190]: Failed to find module 'vfs_monitor' 8月 23 12:16:54 husky systemd-modules-load[190]: Failed to find module 'vboxdrv' 8月 23 12:16:54 husky systemd-modules-load[190]: Failed to find module 'vboxpci' 8月 23 12:16:54 husky systemd-modules-load[190]: libkmod: kmod_config_parse: /etc/modprobe.d/iwlwif> 8月 23 12:16:54 husky systemd-modules-load[190]: libkmod: kmod_config_parse: /etc/modprobe.d/iwlwif> 8月 23 12:16:54 husky systemd-modules-load[190]: libkmod: kmod_config_parse: /etc/modprobe.d/iwlwif> 8月 23 12:16:54 husky systemd-modules-load[190]: libkmod: kmod_config_parse: /etc/modprobe.d/iwlwif> 8月 23 12:16:54 husky systemd-modules-load[190]: libkmod: kmod_config_parse: /etc/modprobe.d/iwlwif> 8月 23 12:16:54 husky systemd-modules-load[190]: Failed to find module 'vboxnetadp' 8月 23 12:16:54 husky systemd-modules-load[190]: Failed to find module 'vboxnetflt'
We have some module system not found, so the /etc/modules-load.d/
next to see the corresponding settings
1 2 3
-Al /etc/modules-load.d LS --------------------------------------- -------------------------------- total amount of 0
The results showed nothing, by modinfo
checking the corresponding module command, found not find the corresponding module
1 2 3
modinfo vfs_monitor ----------------------------------------------------------------------- modinfo: ERROR: Module vfs_monitor not found.