红联Linux门户
Linux帮助

Ubuntu 14.04下安装VirtualBox4.3出现vboxdrv: Unknown symbol m

发布时间:2015-05-27 09:43:51来源:linux网站作者:sswanglei

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. Re-setup 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.


如果你的系统是Ubuntu的可以这样解决:
sudo aptitude update
sudo aptitude install dkms
sudo /etc/init.d/vboxdrv setup


但是执行最后一条命令时报错,通过dmesg查看,发现是vboxdrv: Unknown symbol mcount (err 0)

再搜索该错误发现是gcc版本不对。该问题产生原因是因为前面配置MTK开发环境时将gcc版本链接为4.4。将此处改为链接4.8. 重新执行上面第三条命令,问题解决。


ubuntu下找不到vboxdrv,提示/etc/init.d/vboxdrv setup的解决方:http://www.linuxdiyf.com/linux/11842.html

Fedora安装virtualbox /etc/init.d/vboxdrv setup内核错误:http://www.linuxdiyf.com/linux/8931.html

解决Fedora安装Virtualbox后无法运行:/etc/init.d/vboxdrv setup:http://www.linuxdiyf.com/linux/5385.html