PDA

View Full Version : VirtualBox fails with VirtualBox modules are not loaded



parkhensley
16th November 2017, 11:01 PM
Trying to get VirtualBox to run. After downloading and installing from virtualbox.org/wiki/linux_downloads and selecting the download for Fedora 26 i386 (VirtualBox-5.2.0_118431_fedora26-1), I run it and select an Ubuntu VM. When I try to start it in the graphic window, I get the error: RTR3InitEx failed with rc=-1912 (rc=-1912). The VirtualBox kernel modules do not match this version of VirtualBox. Any suggestion?

antikythera
17th November 2017, 12:13 AM
make sure you are using the right architecture of Virtualbox. if your fedora OS is 64-bit you need the AMD64 version, not i386 which will not work properly with 64-bit kernels. also, assuming you did that, please restart the pc before trying to use Virtualbox so that the kernel modules required are loaded. also, were they any error messages displayed during installation?

marko
17th November 2017, 03:08 AM
The vboxdrv module version should match the version of the VirtualBox you installed as shown by rpm -q , for example on my laptop:

rpm -q VirtualBox-5.2

VirtualBox-5.2-5.2.0_118431_fedora26-1.x86_64

modinfo vboxdrv (this shows the version info embedded in the module)

filename: /lib/modules/4.13.12-300.fc27.x86_64/misc/vboxdrv.ko
version: 5.2.0 r118431 (0x00290000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: B99777BAB610F0EF1849BED
depends:
name: vboxdrv
vermagic: 4.13.12-300.fc27.x86_64 SMP mod_unload
parm: force_async_tsc:force the asynchronous TSC mode (int)

There are really four modules but just picking one will be a reasonable test.

I suspect somehow you installed a newer VirtualBox and the scripts didn't work correctly so the old
one(s) is/are still loaded.

solo2101
17th November 2017, 03:33 AM
This guide has helped me everytime.
https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/

parkhensley
17th November 2017, 06:02 PM
make sure you are using the right architecture of Virtualbox. if your fedora OS is 64-bit you need the AMD64 version, not i386 which will not work properly with 64-bit kernels. also, assuming you did that, please restart the pc before trying to use Virtualbox so that the kernel modules required are loaded. also, were they any error messages displayed during installation? You are right. I just could not get beyond the fact that my cpu is an Intel and not an AMD. It works with the correct download. How do I mark this as solved?