Any problem installing VBoxAddition into Opensolaris ?

Discussions about using Solaris guests in VirtualBox.
Post Reply
Toaster
Posts: 16
Joined: 6. Nov 2009, 15:10
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: OpenSolaris snv_127

Any problem installing VBoxAddition into Opensolaris ?

Post by Toaster »

Sorry for the double post (http://forums.virtualbox.org/viewtopic.php?f=8&t=24998) but i have to ask here too just in case am i not the only one...

I am running Mac OS, and Opensolaris (JeOS, without graphic) version svn_127. And i cannot install the VBoxAddition ? see my other post: http://forums.virtualbox.org/viewtopic.php?f=8&t=24998, it is ending with " *** Failed to configure client!! Couldn't find autostart directory."

Is there any solution to my problem ?

thanks and sorry again for the double post... wasn't sure where to post it.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Any problem installing VBoxAddition into Opensolaris ?

Post by Perryg »

The OSE version of VBox does not support USB.
Double posts are not allowed. Other post locked and redirected here.
Toaster
Posts: 16
Joined: 6. Nov 2009, 15:10
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: OpenSolaris snv_127

Re: Any problem installing VBoxAddition into Opensolaris ?

Post by Toaster »

Sorry but this isn't totally true.

I was able to install the exact same image of opensolaris on a Windows XP pro machine and the USB was working fine. I was able to use 3 USB key at the same time to make a raidz.
Toaster
Posts: 16
Joined: 6. Nov 2009, 15:10
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: OpenSolaris snv_127

Re: Any problem installing VBoxAddition into Opensolaris ?

Post by Toaster »

I was able to install the VBoxAddition without any more error, but i did some teak to make it work...

The original error was "Failed to configure client!! Couldn\'t find autostart directory.'", but i need more verbose output, i did my install using: pkgadd -v -d VirtualBoxAdditions.pkg and i saw:

Code: Select all

Configuring client...
+ vboxclient_src=/opt/VirtualBoxAdditions
+ vboxclient_dest=/usr/dt/config/Xsession.d
+ test -d /usr/dt/config/Xsession.d
+ test -d /usr/share/gnome/autostart
+ echo $'*** Failed to configure client!! Couldn\'t find autostart directory.'
*** Failed to configure client!! Couldn't find autostart directory.
Solution was:
mkdir -p /usr/dt/config/ && touch /usr/dt/config/Xsession.d;
mkdir -p /usr/share/gnome/autostart

Then, no more error, and a nice exit 0...

Code: Select all

Configuring client...
+ vboxclient_src=/opt/VirtualBoxAdditions
+ vboxclient_dest=/usr/dt/config/Xsession.d
+ test -d /usr/dt/config/Xsession.d
+ test -d /usr/share/gnome/autostart
+ vboxclient_dest=/usr/share/gnome/autostart
+ /usr/sbin/installf -c none SUNWvboxguest /usr/share/gnome/autostart/vboxclient.desktop f
+ cp /opt/VirtualBoxAdditions/vboxclient.desktop /usr/share/gnome/autostart/vboxclient.desktop
[...]
Configuring service...
+ /usr/sbin/svccfg import /var/svc/manifest/system/virtualbox/vboxservice.xml
+ /usr/sbin/svcadm enable svc:/system/virtualbox/vboxservice
+ /usr/sbin/devfsadm -i vboxguest
+ BOOTADMBIN=/sbin/bootadm
+ test -x /sbin/bootadm
+ test -h /dev/vboxguest
+ echo 'Updating boot archive...'
Updating boot archive...
+ /sbin/bootadm update-archive
+ 1> /dev/null
+ echo Done.
Done.
+ test 0 -eq 0
+ test ! -z /usr/X11/bin/Xorg
+ echo 'Please re-login to activate the X11 guest additions.'
Please re-login to activate the X11 guest additions.
+ echo 'If you have just un-installed the previous guest additions a REBOOT is required.'
If you have just un-installed the previous guest additions a REBOOT is required.
+ exit 0
Again, here some more info (i did a typo before about my pkginfo command)

Code: Select all

# pkginfo SUNWvboxguest
application SUNWvboxguest Sun VirtualBox Guest Additions

# modinfo |grep -i virt
 61 fffffffff7a86000   13d8  82   1  acpinex (ACPI virtual bus driver)
145 fffffffff7e3e000  15e70  83   1  vboxguest (VirtualBox GstDrv 3.0.12r54655)

# ls -al /dev/ |egrep -i "vbox|usb"
drwxr-xr-x   4 root root     4 Nov 23 21:25 usb
lrwxrwxrwx   1 root other   43 Nov 24 08:05 vboxguest -> ../devices/pci@0,0/pci80ee,cafe@4:vboxguest

# ls -al /dev/usb/
total 8
drwxr-xr-x   4 root root   4 Nov 23 21:25 .
drwxr-xr-x 246 root sys  246 Nov 25 13:25 ..
lrwxrwxrwx   1 root root  39 Nov 19 20:42 hub0 -> ../../devices/pci@0,0/pci106b,3f@6:hubd
lrwxrwxrwx   1 root root  41 Nov 23 21:25 hub1 -> ../../devices/pci@0,0/pci8086,265c@b:hubd
BUT... usb still not working...Maybe my problem is on the Mac OS host ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Any problem installing VBoxAddition into Opensolaris ?

Post by Perryg »

I don't think that you understand me. Read this. http://www.virtualbox.org/wiki/Editions
USB is not supported in the OSE version and as such is not included in the open source license.
While you may be able to work this out yourself it is not supported
Toaster
Posts: 16
Joined: 6. Nov 2009, 15:10
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: OpenSolaris snv_127

Re: Any problem installing VBoxAddition into Opensolaris ?

Post by Toaster »

Perryg wrote:I don't think that you understand me. Read this. http://www.virtualbox.org/wiki/Editions
USB is not supported in the OSE version and as such is not included in the open source license.
While you may be able to work this out yourself it is not supported
Perryg,

I think we misunderstand each other :)

I don't have the OSE of VB, i never said i did either. What i have is the OpenSolaris JeOS: http://wikis.sun.com/display/jeos.

I think i know what you mean, that USB isn't supported in the Free edition AND the OSE of VB...right? okay...well, i think there is a lot of people here using the Free and they make USB work fine, that why i asked my question here.
Post Reply