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  ]

posted on 2013-09-25 16:50  wangbokun  阅读(1385)  评论(0编辑  收藏  举报

导航