Page 1 of 1

VirtualBox in a Solaris 11.1 zone

Posted: 12. Aug 2013, 15:01
by awatkins1966
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

Re: VirtualBox in a Solaris 11.1 zone

Posted: 3. Sep 2013, 21:36
by Brutalizer
No, I dont think Virtualbox can be installed into a zone. It must run in the global zone.

Re: VirtualBox in a Solaris 11.1 zone

Posted: 3. Sep 2013, 23:22
by Ramshankar
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.

Re: VirtualBox in a Solaris 11.1 zone

Posted: 4. Sep 2013, 13:03
by awatkins1966
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

Re: VirtualBox in a Solaris 11.1 zone

Posted: 28. Nov 2013, 15:28
by Carlos Azevedo
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.

Re: VirtualBox in a Solaris 11.1 zone

Posted: 28. Nov 2013, 21:30
by Ramshankar
It's a regression in 4.3.2. See https://www.virtualbox.org/ticket/12271

Re: VirtualBox in a Solaris 11.1 zone

Posted: 6. Dec 2013, 18:26
by Carlos Azevedo
OK, but that's rather disappointing.

Thank you.