几天前安装了虚拟机,我试图加载内核模块,但出现了错误,所以我强制加载模块
sudo modprobe --force vboxdrv
从那时起,每次我启动笔记本电脑时,它都会说
Failed to start Load Kernel Modules
在进行系统维护和检查错误时,使用
systemctl --failed
输出如下:
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
并输出:
journalctl -p 3 -xb
-- Logs begin at Thu 2019-07-11 14:02:07 EET, end at Sun 2019-09-08 13:03:06 EET. --
Sep 08 12:13:33 D-Link systemd-fstab-generator[276]: Failed to create unit file /run/systemd/generator/-.mount, as it already exists.>
Sep 08 12:13:33 D-Link systemd[270]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
Sep 08 12:13:36 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP >
Sep 08 12:13:36 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP >
Sep 08 12:13:36 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP >
Sep 08 12:13:36 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP >
Sep 08 12:13:34 D-Link systemd-modules-load[284]: Failed to insert module 'vboxdrv': Exec format error
Sep 08 12:13:34 D-Link systemd-modules-load[284]: Failed to insert module 'vboxpci': Exec format error
Sep 08 12:13:34 D-Link systemd-modules-load[284]: Failed to insert module 'vboxnetadp': Exec format error
Sep 08 12:13:34 D-Link systemd-modules-load[284]: Failed to insert module 'vboxnetflt': Exec format error
Sep 08 12:13:34 D-Link systemd[1]: Failed to start Load Kernel Modules.
-- Subject: A start job for unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit systemd-modules-load.service has finished with a failure.
--
-- The job identifier is 23 and the job result is failed.
Sep 08 12:13:40 D-Link systemd-modules-load[491]: Failed to insert module 'vboxdrv': Exec format error
Sep 08 12:13:40 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP >
Sep 08 12:13:40 D-Link systemd-modules-load[491]: Failed to insert module 'vboxpci': Exec format error
Sep 08 12:13:40 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP >
lines 1-23
Sep 08 12:13:40 D-Link systemd-modules-load[491]: Failed to insert module 'vboxnetflt': Exec format error
Sep 08 12:13:40 D-Link systemd[1]: Failed to start Load Kernel Modules.
-- Subject: A start job for unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit systemd-modules-load.service has finished with a failure.
--
-- The job identifier is 128 and the job result is failed.
Sep 08 12:13:40 D-Link kernel: vboxdrv: version magic '5.2.9-arch1-1-ARCH SMP preempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMPpreempt mod_unload ' should be '5.2.8-arch1-1-ARCH SMP preempt mod_unload
有人知道如何解决这个问题吗?