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  ]
  • 相关阅读:
    c++ 文本处理
    c++ 汇编代码看内存分配
    c++ Message与Folder 拷贝 析构(没有动态空间的类)
    c++ StrVec等效vector(string)的类
    c++ istream_iterator ostream_iterator
    c++ 子类与父类之间的类型转换
    android中的空格表示
    ViewPager实现每隔两秒自动切换图片
    有关Android ListView根据项数的大小自动改变高度问题
    Android strings.xml中空格符的标识方法附xml特殊字符表示法
  • 原文地址:https://www.cnblogs.com/bokun-wang/p/3339082.html
Copyright © 2011-2022 走看看