app-emulation/virtualbox-ose-3.1.0 fails to start virtual machines: 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. ------------------------------------------- Failed to open a session for the virtual machine Debian. Virtual machine 'Debian' has terminated unexpectedly during startup. Result Code: NS_ERROR_FAILURE (0x80004005) Component: Machine Interface: IMachine {99404f50-dd10-40d3-889b-dd2f79f1e95e} Reproducible: Always
Check that app-emulation/virtualbox-modules is installed with version -3.1.0 Then try to unload all three modules and then load them: # for module in vboxnetadp vboxnetflt vboxdrv; do modprobe -rv $module; done # for module in vboxnetadp vboxnetflt vboxdrv; do modprobe -v $module; done (And for completeness, check your /etc/conf.d/modules file, as you were asked by emerge at the end of app-emulation/virtualbox-modules emerge).
(In reply to comment #1) > Check that app-emulation/virtualbox-modules is installed with version -3.1.0 > Yes they are. > Then try to unload all three modules and then load them: > # for module in vboxnetadp vboxnetflt vboxdrv; do modprobe -rv $module; done > # for module in vboxnetadp vboxnetflt vboxdrv; do modprobe -v $module; done > Doesn't help. Also I restarted my system before trying VritualBox so new modules where loaded. > (And for completeness, check your /etc/conf.d/modules file, as you were asked > by emerge at the end of app-emulation/virtualbox-modules emerge). > Everything ok there, older VirtualBox I had used to work (3.0.8) I think.
Ok. Is the /usr/src/linux symlink consistent with your running kernel ?
Yes, 2.6.30-gentoo-r5
Please post the ouput of: # modinfo vboxdrv vboxnetadp vboxnetflt
Ok, I'm sorry - just spotted in modinfo that it uses modules for r1 kernel, not r5. I'm not sure why I have r1 kernel in use and sources for r5 but it explains the errors. I haven't spotted the difference before. Sorry again, it was my mistake.
You're welcome!