红联Linux门户
Linux帮助

求救!无法使用Oracle VM VirtualBox!

发布时间:2011-04-23 11:45:22来源:红联作者:biergaizi
安装了Oracle VM VirtualBox,结果一运行就报错:

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.

于是yum install dkms。然后root运行/etc/init.d/vboxdrv setup,报错:

Stopping VirtualBox kernel modules [确定]
Uninstalling old VirtualBox DKMS kernel modules [确定]
Trying to register the VirtualBox kernel modules using DKMS[确定]
Starting VirtualBox kernel modules [失败]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)

运行dmesg,部分信息:

[ 25.686259] NET: Registered protocol family 10
[ 25.686576] lo: Disabled Privacy Extensions
[ 25.696949] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 28.331691] RPC: Registered udp transport module.
[ 28.331695] RPC: Registered tcp transport module.
[ 28.331698] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 28.349666] SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
[ 31.701674] vboxdrv: Found 1 processor cores.
[ 31.728675] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[ 31.728680] vboxdrv: Successfully loaded version 4.0.6 (interface 0x00180000).
[ 35.088201] agpgart-nvidia 0000:00:00.0: AGP 2.0 bridge
[ 35.088217] agpgart-nvidia 0000:00:00.0: putting AGP V2 device into 4x mode
[ 35.088269] nvidia 0000:01:00.0: putting AGP V2 device into 4x mode
[ 38.386022] eth0: no IPv6 routers present
[ 104.815311] fuse init (API version 7.14)
[ 104.860855] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 104.869425] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[ 121.101470] SELinux: initialized (dev sr1, type iso9660), uses genfs_contexts
[ 230.940439] vmap allocation for size 225280 failed: use vmalloc= to increase size.
[ 478.575843] vmap allocation for size 225280 failed: use vmalloc= to increase size.
[ 958.332204] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
[ 1403.507216] vmap allocation for size 225280 failed: use vmalloc= to increase size.



这个问题怎么解决啊,都说Linux的虚拟化性能一流,可在我这里都是浮云了!
文章评论

共有 5 条评论

  1. biergaizi 于 2011-04-29 17:25:15发表:

    3# alick
    通通都安装了。

    5# pallana

    我去试试,不过我没有收到SElinux故障排除工具的提示

  2. pallana 于 2011-04-25 07:51:17发表:

    是否跟selinux有关,可以尝试关闭selinux

  3. 老呆宅在家 于 2011-04-23 23:44:29发表:

    太复杂,学习一下。

  4. alick 于 2011-04-23 23:11:51发表:

    安装这个PAE内核对应的 kernel-devel ,kernel-header 之类的包了吗?

  5. biergaizi 于 2011-04-23 11:48:41发表:

    系统信息:

    Linux localhost.localdomain 2.6.35.12-88.fc14.i686.PAE #1 SMP Thu Mar 31 21:54:35 UTC 2011 i686 i686 i386 GNU/Linux