VirtualBox in a Solaris 11.1 zone

Discussions related to using VirtualBox on Solaris hosts.

VirtualBox in a Solaris 11.1 zone

Postby awatkins1966 » 12. Aug 2013, 15:01

Just wonder if anyone has tried install VirtualBox in a Solaris 11.1 zone recently, since I am not having any luck.
I have followed http://learnings-on-solaris.blogspot.co ... -zone.html.

As as soon as I start a virtualbox guest-client I get the following error:

Failed to open a session for the virtual machine w.

The virtual machine 'w' has terminated unexpectedly during startup with exit code 0.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {22781af3-1c96-4126-9edf-67a020e0e858}



Any pointers?

Andrew
awatkins1966
 
Posts: 22
Joined: 6. Mar 2008, 18:34

Re: VirtualBox in a Solaris 11.1 zone

Postby Brutalizer » 3. Sep 2013, 21:36

No, I dont think Virtualbox can be installed into a zone. It must run in the global zone.
Brutalizer
 
Posts: 62
Joined: 7. Oct 2012, 18:24

Re: VirtualBox in a Solaris 11.1 zone

Postby Ramshankar » 3. Sep 2013, 23:22

Brutalizer wrote:No, I dont think Virtualbox can be installed into a zone. It must run in the global zone.

The installation is done from the global zone because we need to install drivers but it should (or at least used to) be possible to configure local zones and run VMs from it. Maybe it's broken now, but I cannot say what's going on without more information.

We'd need at least VBox.log and from the global zone, output of svcs -a | grep zoneaccess output as well. I'll probably also require the zonecfg output for the local zone.
Oracle Corp.
Ramshankar
Oracle Corporation
 
Posts: 778
Joined: 7. Jan 2008, 16:17

Re: VirtualBox in a Solaris 11.1 zone

Postby awatkins1966 » 4. Sep 2013, 13:03

I think it was user error in the end.
I did get it working and as you say you have to install in global zone and then you install in the zone.

I had to add some other packages to get VirtualBox GUI to work.

Thanks,

Andrew
awatkins1966
 
Posts: 22
Joined: 6. Mar 2008, 18:34

Re: VirtualBox in a Solaris 11.1 zone

Postby Carlos Azevedo » 28. Nov 2013, 15:28

VirtualBox 4.2.18 does work on NGZs with no GUI installed.
But VirtualBox 4.3.2 doesn't and I still don't know why!
And I have noticed that the /dev/vboxdrv has gone!

Now I'm getting the following error messages:

VBoxHeadless --startvm w2k3-1 &
...
VBoxHeadless: Error -1908 in suplibOsInit!
VBoxHeadless: Kernel driver not installed
VBoxHeadless: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox.
...

Of course I have already tried to clean up everything and reinstall, but that's not working either.
I also have noticed that after the installation on the GZ, when repeating the steps in the NGZ, the installation is "too fast" like really not loading or updating what's required.

By the way, it still runs in the GZ.

I still don't know about the zoneaccess SMF service but it may be time to start looking at it.
But the more easily accessible documentation is out-of-date!

Regards.
Carlos Azevedo
 
Posts: 14
Joined: 3. Jul 2012, 19:02

Re: VirtualBox in a Solaris 11.1 zone

Postby Ramshankar » 28. Nov 2013, 21:30

It's a regression in 4.3.2. See https://www.virtualbox.org/ticket/12271
Oracle Corp.
Ramshankar
Oracle Corporation
 
Posts: 778
Joined: 7. Jan 2008, 16:17

Re: VirtualBox in a Solaris 11.1 zone

Postby Carlos Azevedo » 6. Dec 2013, 18:26

OK, but that's rather disappointing.

Thank you.
Carlos Azevedo
 
Posts: 14
Joined: 3. Jul 2012, 19:02


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 2 guests