Virtual box unable to start vm's [SOLVED]

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Virtual box unable to start vm's [SOLVED]

Postby xboxboy » Jun 1st, '17, 14:13

I've run virtualbox on this host previously, I'm sure.

Done a clean mga5.1 install. Installed virtualbox, created a vm, then went to start the install, and it get hit with

Code: Select all
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

'/sbin/vboxconfig'

may correct this. Make sure that 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 checked all my update media were set right, and updated. No change. Left for a few days, no change. I've even reinstalled, but no change.

Strange one, not sure if I'm doing something wrong, or I've hit a bug.
Last edited by xboxboy on Jun 7th, '17, 14:50, edited 1 time in total.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby jkerr82508 » Jun 1st, '17, 17:55

Which virtualbox packages do you have installed?

I am using the desktop kernel and have only:
Code: Select all
$ rpm -qa | grep virtualbox
virtualbox-5.1.22-1.mga5
virtualbox-kernel-4.4.68-desktop-1.mga5-5.1.22-3.mga5
virtualbox-doc-5.1.22-1.mga5
virtualbox-kernel-desktop-latest-5.1.22-3.mga5

You should not have any vbox* packages installed - those are for Mageia guest systems.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 3rd, '17, 13:25

Hey Jim

Code: Select all
rpm -qa | grep virtualbox
virtualbox-doc-5.1.22-1.mga5
virtualbox-kernel-3.19.8-desktop-3.mga5-5.0.2-2.mga5
virtualbox-kernel-desktop-latest-5.1.22-3.mga5
virtualbox-kernel-4.4.65-desktop-1.mga5-5.1.22-2.mga5
virtualbox-5.1.22-1.mga5
virtualbox-kernel-4.4.68-desktop-1.mga5-5.1.22-3.mga5


I tried
Code: Select all
rpm -qa | grep vbox


and nothing was returned.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby doktor5000 » Jun 3rd, '17, 23:14

And you're running what kernel currently?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 4th, '17, 02:27

Thanks Dok

Code: Select all
uname -a
Linux localhost 4.4.68-desktop-1.mga5 #1 SMP Sun May 14 17:56:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


Well, that's interesting. I would have thought I should be using
Code: Select all
virtualbox-kernel-4.4.68-desktop-1.mga5


Thoughts?
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby doktor5000 » Jun 4th, '17, 12:21

Well, that's what you have installed, right?

I can only suggest to remove the virtualbox-kernel* packages and instead use dkms-virtualbox, that's what I've been using and never got such a mismatch.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Virtual box unable to start vm's

Postby jkerr82508 » Jun 4th, '17, 13:29

virtualbox-kernel is not a kernel but a kernel module.

The only other possibility I can think of is that if you previously installed a version of virtualbox from their web site, there may be remnants remaining.

Code: Select all
dkms status -m virtualbox
executed as root, may possibly give a clue.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 4th, '17, 14:08

I uninstalled virtualbox, and all the virtualbox-kernel stuff.

I then reinstalled virtualbox, and hey I could install from a mageia 5.1 iso.

So you'd think it's fixed?

Well, no. I updated the vm during the install, and now the vm will only boot on it's original kernel. If using the updated vm kernels the only clue is it complains of failing to start wait for plymouth boot screen to quit.

This is bizarre...
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 4th, '17, 14:09

Jim, no, this was a fresh mga5.1 install, with virtual box from the repos.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 4th, '17, 14:53

Reinstalled the guest VM, but it will only boot with kernel 4.4.30-desktop-2 regardless of how I update it (ie. during or after install).

I tried booting the others with 'quiet and splash' removed from the kernel line, but no luck.

This is the first time I've ever struck a kernel issue like this. Do I try to debug, or wait for next kernel update to see if it sorts it out?

I've set it to boot off the kernel that works, so the vm is at least usable.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby doktor5000 » Jun 4th, '17, 23:00

You're now talking about an issue within the VM, right? That is usually caused by the vbox additions, or more precisely the graphics part.
If you select a different graphics driver like vesa via drakx11 in failsafe mode it should boot right?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 5th, '17, 00:37

Thanks for you help guys. Up until this point I've had no VB issues, so not sure what I've done different.

Doktor, correct, it is the VM install acting up now. I did have a play with XFdrake but no success. I will have another go, see if I can get past this.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 5th, '17, 15:16

Doktor

I tried both xorg:vesa and vendor:vesa, but it still fails to boot.
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby doktor5000 » Jun 6th, '17, 00:13

It fails to boot or it fails to start the X server? You should be able to switch to a tty and check via journalctl -ab and the content of /var/log/Xorg.0.log
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 6th, '17, 00:46

Sorry, yes, it fails to start x server. I can switch to tty, so I'll check that out late.

Thanks Dok
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 6th, '17, 15:38

Apologies, I'm not sure best way to get a copy and paste off a vm with no gui :(

Ok, not 100% sure what to look for here, but in the /var/log/Xorg.0.log towards the end it says screen 0 deleted because no matching config section, unload module vesa, devices detected, but none matching those in config file, no screens found.

So I'm thinking I need to change the display/monitor type?
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41

Re: Virtual box unable to start vm's

Postby doktor5000 » Jun 7th, '17, 00:17

xboxboy wrote:Apologies, I'm not sure best way to get a copy and paste off a vm with no gui :(

Do a local portforwarding for the VM for port 22 and then connect via ssh to the VM?


xboxboy wrote:no screens found.

So I'm thinking I need to change the display/monitor type?


No, it's usually about the display driver. Do you have an /etc/X11/xorg.conf ? Remove it if you do. Also try reselecting the virtualbox driver via drakx11.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Virtual box unable to start vm's

Postby xboxboy » Jun 7th, '17, 14:50

Thanks Doktor.

I made the mistake of deleting xorg.conf, then running drakx11, but that kept failing to start the x-server (the test in drakx11 also always failed).

So out of frustration, I deleted, xorg.conf and rebooted... and up X-server came... Reset the boot to always use latest kernel, all fixed!

Thank you! This is to be my cauldron VM
xboxboy
 
Posts: 401
Joined: Jun 2nd, '13, 06:41


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron