VBox broken after update [Solved]

Discussion for all VM - Installing, Software, Problems

Moderator: Moderators

VBox broken after update [Solved]

Postby weirdtalk » Wed May 26, 2010 4:13

VirtualBox updated to 3.2 and now I get this error:
Code: Select all
RTR3Init 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 that you do not mix the OSE version and the PUEL version of VirtualBox.


I have tried:
equo install virtualbox-bin virtualbox-modules && reboot

and

equo remove virtualbox-bin virtualbox-modules && reboot
equo install virtualbox-bin virtualbox-modules

but no effect. I have the modules loaded:
Code: Select all
$ cat /etc/conf.d/modules
# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="ieee1394 ohci1394"
#module_ieee1394_args_2_6_23="tun ieee1394"
#module_ieee1394_args_2_6="tun"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="vboxdrv vboxnetflt vboxnetadp"

$lsmod | grep vbox
vboxnetadp              5608  0
vboxnetflt             11048  0
vboxdrv               122800  2 vboxnetadp,vboxnetflt


I don't get it. How do I fix?
Last edited by weirdtalk on Sat May 29, 2010 9:53, edited 1 time in total.
weirdtalk
Baby Hen
 
Posts: 19
Joined: Mon Apr 05, 2010 23:19

Re: VBox broken after update.

Postby DagonSphere » Wed May 26, 2010 13:11

Did you try, as root or sudo, to execute /etc/init.d/vboxdrv setup? That's command the first screen you posted indicated to try.

I haven't don't this on Sabayon. It works on other distros (Suse, and Mint) What this does is recompile the kernel drivers for VirtualBox, and must be done after updating the kernel.

If you already tried that, then I'm not sure where to go from there.

HTH
DagonSphere
Baby Hen
 
Posts: 3
Joined: Wed May 26, 2010 12:39
Location: Chicago, IL

Re: VBox broken after update.

Postby weirdtalk » Wed May 26, 2010 13:51

Ya I tried that, but sabayon doesn't have that file. At the moment I'm stuck using qemu do my vm's and I can't seem to get kqemu to work so it's really slow.
weirdtalk
Baby Hen
 
Posts: 19
Joined: Mon Apr 05, 2010 23:19

Re: VBox broken after update.

Postby DagonSphere » Wed May 26, 2010 14:10

Perhaps it's located elsewhere. It should be there somewhere. That error message is output by VirtualBox, and is not customized based on the distro.

Try searching, as root/sudo

find / -iname 'vboxdrv' and execute it with the setup switch.
DagonSphere
Baby Hen
 
Posts: 3
Joined: Wed May 26, 2010 12:39
Location: Chicago, IL

Re: VBox broken after update.

Postby batvink » Wed May 26, 2010 21:53

did you modprobe vboxdrv ? (as root)
enter as root in a terminal: modprobe vboxdrv
than try to run virtualbox
Latest (important) news about sabayon?
Watch Rigo's notice board, or surf to:
https://wiki.sabayon.org/index.php?title=Wiki_News
User avatar
batvink
Technological Hen
 
Posts: 405
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: VBox broken after update.

Postby weirdtalk » Wed May 26, 2010 22:41

I did modprobe and even did a lsmod to verify that it is running, but same results.
weirdtalk
Baby Hen
 
Posts: 19
Joined: Mon Apr 05, 2010 23:19

Re: VBox broken after update.

Postby lxnay » Thu May 27, 2010 6:20

here it's all good with 2.6.33. What kernel are you using?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3440
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: VBox broken after update.

Postby DagonSphere » Thu May 27, 2010 14:32

OK, my bad. vboxdrv is no where to be found because Sabayon provides precompiled kernel modules. (That's what I get for trying to answer a question before installing Sabayon :oops: )

I would make sure that the kernel module package version number matches both the version of VirtualBox you have installed, and matches the running kernel. If you haven't rebooted since installing the new kernel, you'll have to reboot to activate it, before proceeding.

Check the running kernel

Code: Select all
# uname -r
2.6.33-sabayon


My kernel is 2.6.33

Check the version of VirtualBox that is installed

Code: Select all
# equo match --installed virtualbox-bin
..
@@ Package: app-emulation/virtualbox-bin-3.2.0 branch: 5, [__system__]
..


My VirtualBox version is 3.2.0

Check the version of VirtualBox kernel drivers that are installed

Code: Select all
# equo match --installed virtualbox-modules
..
@@ Package: app-emulation/virtualbox-modules-3.2.0#2.6.33-sabayon branch: 5, [__system__]
..


The version number in my modules package matches both the kernel version and vbox version. If you have additional vbox kernel module packages installed, it would be wise to remove them to avoid any conflicts.

Let me know what you find.
DagonSphere
Baby Hen
 
Posts: 3
Joined: Wed May 26, 2010 12:39
Location: Chicago, IL

Re: VBox broken after update.

Postby weirdtalk » Sat May 29, 2010 9:52

Did an update again, and along with it came kernel 2.6.34 and matching vboxdrv. So it is working again.
weirdtalk
Baby Hen
 
Posts: 19
Joined: Mon Apr 05, 2010 23:19

Re: VBox broken after update [Solved]

Postby gewehr » Wed Jun 02, 2010 15:10

Hi, the same problem here.
Kernel is 2.6.34. Drivers are for this kernel. Virtualbox is not working... Message is :


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.



Please help. :(
gewehr
Baby Hen
 
Posts: 11
Joined: Thu Dec 24, 2009 15:41

Next

Return to Virtual Managers

Who is online

Users browsing this forum: No registered users and 0 guests