码迷,mamicode.com
首页 > 其他好文 > 详细

修复:"Failed to start Load Kernel Modules"

时间:2014-05-01 03:38:30      阅读:589      评论:0      收藏:0      [点我收藏+]

标签:des   com   http   style   code   c   log   t   tar   sp   art   

使用非默认内核而出现的错误。

[zsj@arch ~]$ systemctl --state=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. Pass --all to see loaded but inactive units, too.
To show all installed unit files use ‘systemctl list-unit-files‘.
[zsj@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)
Active: failed (Result: exit-code) since Wed 2014-04-30 21:01:58 UTC; 3min 23s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 117 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 117 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[zsj@arch ~]$ sudo journalctl -b _PID=117
-- Logs begin at Sat 2014-04-26 00:27:27 UTC, end at Wed 2014-04-30 21:05:42 UTC. --
Apr 30 21:01:58 arch systemd-modules-load[117]: Failed to find module ‘vboxdrv‘
[zsj@arch musics]$ sudo pacman -S virtualbox-host-dkms
==> To build and install your modules run: dkms install vboxhost/4.3.10
==> To do this automatically at startup run: systemctl enable dkms.service
Optional dependencies for virtualbox-host-dkms
linux-headers
linux-lts-headers
[zsj@arch musics]$ sudo dkms install vboxhost/4.3.10
[zsj@arch musics]$ sudo systemctl enable dkms.service
[zsj@arch musics]$ sudo vim /etc/modules-load.d/virtualbox.conf
写入:vboxdrv
参考:
https:://wiki.archlinux.org/index.php/Systemd

修复:"Failed to start Load Kernel Modules",布布扣,bubuko.com

修复:"Failed to start Load Kernel Modules"

标签:des   com   http   style   code   c   log   t   tar   sp   art   

原文地址:http://www.cnblogs.com/zhangshaojian/p/3702247.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!