zoukankan      html  css  js  c++  java
  • VirtualBox,Kernel driver not installed (rc=-1908)

    http://hi.baidu.com/spt_form/item/316d6207b47b8ee03499020a

    VirtualBox,Kernel driver not installed (rc=-1908)

    Fedora安装Virtualbox后无法运行,要求执行/etc/init.d/vboxdrv setup

    在Fedora下安装了Virtualbox,发现运行时出现以下问题:

    1
    2
    Kernel driver not installed (rc=-1908)
    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

    按它的提示,我给装了dkms:

    1
    yum install dkms

    然后还是不行,一样这样的提示。

    根据提示运行以root身份运行/etc/init.d/vboxdrv setup

    1
    sudo /etc/init.d/vboxdrv setup
    1
    2
    3
    4
    5
    6
    7
    Stopping VirtualBox kernel modules                         [  OK  ]
    Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
    Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.6.11-1.fc17.x86_64 (x86_64)
    Consult /var/lib/dkms/vboxhost/4.2.6/build/make.log for more information.        [FAILED]
    (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules                      [FAILED]
    (Look at /var/log/vbox-install.log to find out what went wrong)

    解决方法:

    1、可以先尝试:

    1
    2
    $su yum install -y kernel-headers kernel-devel dkms gcc
    $su yum -y update

    接着运行

    1
    sudo /etc/init.d/vboxdrv setu

    如果执行此操作,仍然出现上述错误。可以参考第二步执行

    2、先 安装 PAE 包, 

    1
    $ yum install kernel-PAE-devel

    完成后再执行 

    1
    $sudo /etc/init.d/vboxdrv setup

    ,则显示:

    1
    2
    3
    4
    Stopping VirtualBox kernel modules                         [  OK  ]
    Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
    Trying to register the VirtualBox kernel modules using DKMS[  OK  ]
    Starting VirtualBox kernel modules                         [  OK  ]
  • 相关阅读:
    struts2-dojo-plugin-2.3.1.2.jar!/struts-plugin.xml:29:119
    谈论高并发(十二)分析java.util.concurrent.atomic.AtomicStampedReference看看如何解决源代码CAS的ABA问题
    linux安装QQ
    Android:创建耐磨应用
    僵尸网络
    几个比较好的网站
    几点基于Web日志的Webshell检测思路
    Redis异常JedisConnectionException:Read timed out解决笔记
    ELk 几篇好的文章
    深入了解linux下的last命令及其数据源
  • 原文地址:https://www.cnblogs.com/bokun-wang/p/3339082.html
Copyright © 2011-2022 走看看