LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1551|回复: 13

VirtualBox报错Unknown error initializing kernel driver

[复制链接]
发表于 2007-3-26 16:44:48 | 显示全部楼层 |阅读模式
Unknown error initializing kernel driver (VERR_INVALID_FUNCTION).
VBox status code: -36 (VERR_INVALID_FUNCTION).


Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
 楼主| 发表于 2007-3-26 16:49:07 | 显示全部楼层
刚刚从官方网站上面下载的rpm.run文件,安装很顺利,不过在创建xp的虚拟机然后在按开始的时候报:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
我从/etc/init.d/复制了vboxdrv到/dev里面。不过还是报错。错误就是一楼的内容。

谁知道如何解决马?谢谢!
回复 支持 反对

使用道具 举报

发表于 2007-3-27 02:37:24 | 显示全部楼层
Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-27 09:29:40 | 显示全部楼层

普通用户su然后运行/etc/init.d/vboxdrv setup没有什么反应,后来用root登录后运行后得到是:
waynesuse:~ # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                                    done
Recompiling VirtualBox kernel module                                 failed
(Look at /var/log/vbox-install.log to find out what went wrong)
waynesuse:~ #

查看了下/var/log/vbox-install.log内容如下:
Makefile:88: *** Error: unable to find the include directory for your current Linux kernel. Specify ERN_INCL=<directory> and run Make again..  Stop.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-27 09:31:19 | 显示全部楼层
顺便咨询下,一般用户运行su输入root密码后再安装软件和root登录安装或者运行软件的效果是否一样?
谢谢!
回复 支持 反对

使用道具 举报

发表于 2007-3-27 09:34:00 | 显示全部楼层
Post by tideice
顺便咨询下,一般用户运行su输入root密码后再安装软件和root登录安装或者运行软件的效果是否一样?
谢谢!
一样的效果.virtualbox在root下运行会使在非root用户产生权限问题。所以一般情况不要用root运行程序
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-27 11:19:40 | 显示全部楼层
谢谢楼上的。

waynesuse:~ # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
waynesuse:~ #

查看了下/var/log/vbox-install.log内容如下:
Makefile:88: *** Error: unable to find the include directory for your current Linux kernel. Specify ERN_INCL=<directory> and run Make again.. Stop.

这个问题不知道怎么解决呢?有人遇到过吗?
谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-27 11:21:28 | 显示全部楼层
哪位仁兄能够帮忙解决的话我发两个万网cn的优惠券哦! 提交cn域名的时候可以免费哦。。。
回复 支持 反对

使用道具 举报

发表于 2007-3-27 11:25:59 | 显示全部楼层
kernel-source、kernel-syms
回复 支持 反对

使用道具 举报

发表于 2007-3-27 12:06:50 | 显示全部楼层
就是kernel-source或者kernel-header之类的包没有装
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表