Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VirtualBox not running after system update. [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 205

PostPosted: Mon Dec 14, 2015 11:41 am    Post subject: VirtualBox not running after system update. [SOLVED] Reply with quote

I updated my system at the weekend, then this morning I tried to boot up VirtualBox, and I got the following error message:

Code:
VirtualBox - Error in supR3HardenedMainInitRuntime

RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox.
The installation of VirtualBox was apparently not successful. Executing

'/etc/init.d/vboxdrv setup'

may correct this. Make sure you do not mix the OSE version and the PUEL version of VirtualBox.

*************************************

where: supR3HardenedMainInitRuntime
what:  4
VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.


So, I tried to run "/etc/init.d/vboxdrv setup" No such file.

I ran my "load all virtualbox kernel drivers" script.

Code:
modprobe vboxdrv
modprobe vboxpci

modprobe vmmon
modprobe vmci
modprobe vmnet
modprobe vsock


Didn't help.

I tried rmmod-ing all those modules, then running the script again, still didn't help.

I tried removing and reinstalling VBox, same error.

I tried restarting the machine to completely purge all old versions of the modules. Still got the same error.

What's the next thing to try?


Last edited by Illiander on Tue Dec 15, 2015 8:18 am; edited 1 time in total
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1696

PostPosted: Mon Dec 14, 2015 1:50 pm    Post subject: Reply with quote

Check to make sure you are running the correct version of the kernel that it's compiled too (i.e. it needs to be recompiled every time to update the kernel).

What is the output of
Code:
 uname -a

and
Code:
ls -l /usr/src/linux


The version of both of them should match.
Back to top
View user's profile Send private message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 205

PostPosted: Mon Dec 14, 2015 5:56 pm    Post subject: Reply with quote

Yep, that was an issue. The update pulled in a new kernel version.

Unmerged the new one (I *don't* want to deal with a kernel update just now), and fixed the /usr/src/linux symlink.

Rmmod-ed the vbox modules, unmerged vbox, remerged vbox, and it still doesn't work.

I did notice something scroll by really fast while it was compiling about a hardened mode, with big warning labels surrounding it. Maybe there's a use flag to turn that off?
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 202
Location: Switzerland

PostPosted: Tue Dec 15, 2015 8:05 am    Post subject: Reply with quote

Illiander wrote:

Rmmod-ed the vbox modules, unmerged vbox, remerged vbox, and it still doesn't work.


If you say, you remerged virtualbox, did you also rebuild virtualbox-modules? These are the Kernel modules and maybe you remerged them with the update, so they are built against the newly installed kernel. Since you did not boot with the new kernel merged within the update, the initial error messages came from using the old kernel with the modules compiled for the new kernel from the update.
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 205

PostPosted: Tue Dec 15, 2015 8:17 am    Post subject: Reply with quote

And there we go. Didn't realise that virtualbox-modules existed seperately from virtuablbox, and missed it on the eix output.

Working :D

Thank you all :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum