VirtualBox v3.2.8 running on OpenIndiana b147

Discussions related to using VirtualBox on Solaris hosts.

VirtualBox v3.2.8 running on OpenIndiana b147

Postby half12 » 25. Sep 2010, 21:35

Hi,

I tried to install VirtualBox v3.1.8 under OpenIndiana but cause my computer to lock up and it also failed to reboot successfully.
I have now installed VirtualBox v3.2.8 but with errors (see below)

[ verifying class <manifest> ]
## Executing postinstall script.
Checking for older bits...
Installing new ones...
Loading VirtualBox kernel modules...
- Loaded: Host module
- Loaded: NetAdapter module
- Loaded: NetFilter module
* Warning!! Failed to determine Solaris 5.11 snv version. Skipped installing USB support.
Configuring services...
- Loaded: Zone access service
Installing Python bindings...
- Installed: Bindings for Python 2.4
- Installed: Bindings for Python 2.6
Updating the boot archive...

Installation of <SUNWvbox> was successful.
#

I have successfully run my Windows XP VBox, more testing is required.

Given the discussion of the OpenSolaris Forums http://opensolaris.org/jive/thread.jspa ... 5&tstart=0 ,
reporting that the OpenSolaris brand is being retired http://www.cmswire.com/cms/information- ... 008649.php

Given that OpenIndiana.org developers aims to be binary and package compatible with Solaris 11 and Solaris 11 Express http://wiki.openindiana.org/oi/Frequent ... +Questions
can
1) OpenIndiana be used for testing


Update...

I am getting around 50fps when running Stellarium 0.10.4 under Windows XP


Update...

VirtualBox v3.2.10 installs and runs okay, I used the uname script method to temporarily replace /sbin/uname before adding the package and then removing it after the installation has completed.
Last edited by half12 on 20. Oct 2010, 20:46, edited 1 time in total.
half12
 
Posts: 110
Joined: 26. May 2008, 19:46
Primary OS: OpenSolaris other
VBox Version: PUEL
Guest OSses: RH 4 & 5, CentOS 4, Ubuntu 9.10, MSDOS, Win 95, 98se, 2K, XP, OpenSolaris, Solaris

Re: VirtualBox v3.2.8 running on OpenIndiana b147

Postby budy » 26. Sep 2010, 12:21

Confirmed - I also installed VBox 3.2.8 on my oi147 and it also failed to wrap it's head around the changed/missing snv prefix.
Hopefully, there will be a fix for that in the future.

Cheers,
budy
budy
 
Posts: 31
Joined: 1. Jul 2010, 17:51
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: MacOS, Linux

Re: VirtualBox v3.2.8 running on OpenIndiana b147

Postby gstrasser » 28. Sep 2010, 09:02

For the time being replace /sbin/uname with a script to fake the output of uname -r and uname -v
This is what I use:

CMD=$1
case $CMD in
'-r' )
echo "5.11"
;;
'-v' )
echo "snv_134"
;;
'help' | * )
echo "help"
;;
esac

exit 0



cu
gstrasser
 
Posts: 5
Joined: 28. Sep 2010, 08:56
Primary OS: OpenSolaris 11
VBox Version: PUEL
Guest OSses: W2K8

Re: VirtualBox v3.2.8 running on OpenIndiana b147

Postby budy » 29. Sep 2010, 19:21

Well, that doesn't seem to do the trick:


* Warning!! Failed to determine Solaris 5.11 snv version. Skipped installing USB support.
Configuring services...
- Loaded: Zone access service
Installing Python bindings...
- Installed: Bindings for Python 2.4
- Installed: Bindings for Python 2.6
Updating the boot archive...

Installation of <SUNWvbox> was successful.
root@opensolaris-filer:~/VirtualBox# cat /usr/bin/uname
Code: Select all   Expand viewCollapse view
CMD=$1
case $CMD in
'-r' )
echo "5.11"
;;
'-a')
echo "SunOS opensolaris 5.11 snv_134 i86pc i386 i86pc"
;;
'-v' )
echo "snv_134"
;;
'help' | * )
echo "help"
;;
esac

exit 0


Cheers,
budy
budy
 
Posts: 31
Joined: 1. Jul 2010, 17:51
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: MacOS, Linux

Re: VirtualBox v3.2.8 running on OpenIndiana b147

Postby gstrasser » 30. Sep 2010, 15:07

You nee to replace /sbin/uname instead!
/usr/bin/uname is just a link to /sbin/uname

cu
gstrasser
 
Posts: 5
Joined: 28. Sep 2010, 08:56
Primary OS: OpenSolaris 11
VBox Version: PUEL
Guest OSses: W2K8

Re: VirtualBox v3.2.8 running on OpenIndiana b147

Postby oscardelrio » 6. Oct 2010, 23:21

I had the same error "Failed to determine Solaris 5.11 snv version. Skipped installing USB support".
The workaround is to unpack the .pkg file, edit the installation script and reinstall.
VirtualBox USB support seems to work fine after that.

Details, as I posted on the openindiana-discuss mailing list:

Unpack the package:

# pkgtrans VirtualBox-3.2.8-SunOS-r64453.pkg .

(note the "." at the end of the command). This extracts the package into a directory called SUNWvbox.

Edit SUNWvbox/reloc/opt/VirtualBox/vboxconfig.sh and replace all references to "snv" with "oi".
Reinstall virtualbox, from the modified directory (not from the pkg file)

# pkgrm SUNWvbox
# pkgadd -d . SUNWvbox

now there should be an error about vboxconfig.sh not matching size and checksum.
Edit SUNWvbox/pkgmap and fix the size and checksum of vboxconfig.sh
(the installer tells you the new values)

reinstall again

# pkgrm SUNWvbox
# pkgadd -d . SUNWvbox

No errors now.

HTH
oscardelrio
 
Posts: 1
Joined: 6. Oct 2010, 23:11
Primary OS: OpenSolaris other
VBox Version: PUEL
Guest OSses: Windows, RHEL, Solaris


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 3 guests