LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: kpjack

F10安装了最新版的virtualbox 2.1不能运行,请帮忙!(问题已解决)

[复制链接]
 楼主| 发表于 2009-1-1 21:27:31 | 显示全部楼层
Post by Prife;1932667
兄弟把 /var/log/vbox-install.log文件中的内容贴出来。
同时把 rpm -qa | grep "kernel"的信息也贴出来。。


一、/var/log/vbox-install.log文件内容:

Attempting to install using DKMS
  removing old DKMS module vboxdrv version  2.1.0

-------- Uninstall Beginning --------
Module:  vboxdrv
Version: 2.1.0
Kernel:  2.6.27.9-159.fc10.x86_64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules

vboxdrv.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.27.9-159.fc10.x86_64/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.0
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.1.0/source ->
                 /usr/src/vboxdrv-2.1.0

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27.9-159.fc10.x86_64 -C /lib/modules/2.6.27.9-159.fc10.x86_64/build M=/var/lib/dkms/vboxdrv/2.1.0/build..........

Running the post_build script:
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

vboxdrv.ko:
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.27.9-159.fc10.x86_64/extra/
Adding any weak-modules

depmod.....

DKMS: install Completed.
Attempting to install using DKMS
  removing old DKMS module vboxnetflt version  2.1.0

-------- Uninstall Beginning --------
Module:  vboxnetflt
Version: 2.1.0
Kernel:  2.6.27.9-159.fc10.x86_64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules

vboxnetflt.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.27.9-159.fc10.x86_64/
- Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/2.6.27.9-159.fc10.x86_64/kernel/misc/
depmod......

Removing original_module from DKMS tree for kernel 2.6.27.9-159.fc10.x86_64 (x86_64)

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.0
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxnetflt/2.1.0/source ->
                 /usr/src/vboxnetflt-2.1.0

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Running the pre_build script:

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27.9-159.fc10.x86_64 -C /lib/modules/2.6.27.9-159.fc10.x86_64/build M=/var/lib/dkms/vboxnetflt/2.1.0/build..........
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

vboxnetflt.ko:
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.27.9-159.fc10.x86_64/extra/
Adding any weak-modules

depmod......

DKMS: install Completed.

二、rpm -qa | grep "kernel"的信息

[root@localhost ]# rpm -qa | grep "kernel"
kernel-devel-2.6.27.9-159.fc10.x86_64
kerneloops-0.12-1.fc10.x86_64
kernel-firmware-2.6.27.9-159.fc10.noarch
kernel-2.6.27.5-117.fc10.x86_64
kernel-2.6.27.7-134.fc10.x86_64
kernel-headers-2.6.27.9-159.fc10.x86_64
kernel-2.6.27.9-159.fc10.x86_64
[root@localhost ]#
回复 支持 反对

使用道具 举报

发表于 2009-1-1 21:59:09 | 显示全部楼层
root能运行的话,应该是没有什么大问题,相关权限是否设置妥当了?
不知道现在还要不要设置vbox的用户组了,你可以看一下当前用户是否在该用户组里面。
另外建议参考下hades兄的方法,运行:sudo chmod 666 /dev/vboxdrv 之后看看普通用户是否能够正常运行了,如果可以接下来参考这里 http://gcell.yo2.cn/archives/591351 手动添加下设备权限应该可以了。
回复 支持 反对

使用道具 举报

发表于 2009-1-1 22:01:31 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-2 10:24:25 | 显示全部楼层
我的问题已经解决,请大家注意一点:要根据你的CPU是32还是64位的情况来下载,因为RPM分32位i386和AMD64两种,我的旧电脑是32位,所以下载i386的,如果你的CPU和我的新电脑一样是64位,就算你安装的是32位的Fedora 10 DVD,也要安装64位的virtualbox 2.1。
回复 支持 反对

使用道具 举报

发表于 2009-1-2 13:06:01 | 显示全部楼层
......
回复 支持 反对

使用道具 举报

发表于 2009-1-2 20:21:27 | 显示全部楼层
……
我很奇怪为什么root能运行?
回复 支持 反对

使用道具 举报

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

本版积分规则

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