VBoxDD VERR_FILE_NOT_FOUND with VirtualBox 1.6

Discussions related to using VirtualBox on Solaris hosts.
gorman
Posts: 5
Joined: 9. May 2008, 17:27

Post by gorman »

Hi,

Uninstalling is pretty easy:

# pkgrm SUNWvbox

Could you post the entire
# ldd /opt/VirtualBox/VBoxDD.so
and
# ldd /opt/VirtualBox/VirtualBox
so I can compare them to mine.
syxys
Posts: 6
Joined: 13. May 2008, 22:25

Post by syxys »

Hi,

Here it is (cut and paste, no editing):

Solaris# ldd /opt/VirtualBox/VBoxDD.so
VBoxVMM.so => /opt/VirtualBox/VBoxVMM.so
VBoxRT.so => /opt/VirtualBox/VBoxRT.so
VBoxDDU.so => /opt/VirtualBox/VBoxDDU.so
VBoxDD2.so => /opt/VirtualBox/VBoxDD2.so
libadm.so.1 => /lib/libadm.so.1
libdlpi.so.1 => /lib/libdlpi.so.1
libdlpi.so.1 (SUNW_1.1) => (version not found)
librt.so.1 => /lib/librt.so.1
libsocket.so.1 => /lib/libsocket.so.1
libstdc++.so.6 => /usr/sfw/lib/libstdc++.so.6
libm.so.2 => /lib/libm.so.2
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
VBoxREM.so => /opt/VirtualBox/VBoxREM.so
libc.so.1 => /lib/libc.so.1
libaio.so.1 => /lib/libaio.so.1
libmd.so.1 => /lib/libmd.so.1
libnsl.so.1 => /lib/libnsl.so.1
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1

Solaris# ldd /opt/VirtualBox/VirtualBox
VBoxKeyboard.so => /opt/VirtualBox/VBoxKeyboard.so
libqt-mt.so.3 => /opt/VirtualBox/qtgcc/lib/libqt-mt.so.3
VBoxRT.so => /opt/VirtualBox/VBoxRT.so
VBoxREM.so => /opt/VirtualBox/VBoxREM.so
VBoxVMM.so => /opt/VirtualBox/VBoxVMM.so
libX11.so.4 => /usr/lib/libX11.so.4
libXrender.so.1 => /usr/sfw/lib/libXrender.so.1
libXfixes.so.1 => /usr/sfw/lib/libXfixes.so.1
libXext.so.0 => /usr/lib/libXext.so.0
libpthread.so.1 => /lib/libpthread.so.1
librt.so.1 => /lib/librt.so.1
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
VBoxXPCOM.so => /opt/VirtualBox/VBoxXPCOM.so
libstdc++.so.6 => /usr/sfw/lib/libstdc++.so.6
libm.so.2 => /lib/libm.so.2
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libc.so.1 => /lib/libc.so.1
libGL.so => /usr/lib/libGL.so
libXmu.so.4 => /usr/lib/libXmu.so.4
libXi.so.5 => /usr/lib/libXi.so.5
libXinerama.so.1 => /usr/lib/libXinerama.so.1
libresolv.so.2 => /lib/libresolv.so.2
libSM.so.6 => /usr/lib/libSM.so.6
libICE.so.6 => /usr/lib/libICE.so.6
libdl.so.1 => /lib/libdl.so.1
libaio.so.1 => /lib/libaio.so.1
libmd.so.1 => /lib/libmd.so.1
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libsendfile.so.1 => /lib/libsendfile.so.1
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1


I hope you can point me to a solution.

Thanks again

Sylvain
gorman
Posts: 5
Joined: 9. May 2008, 17:27

Post by gorman »

Hi,

It looks like you are running 32 bits version of Virtualbox.
Run a "# isainfo -b" and see what it says.

I that says "64" you are running in 64 bits mode and need to install the VirtualBox-1.6.0-SunOS_amd64.tar.gz package.
syxys
Posts: 6
Joined: 13. May 2008, 22:25

Post by syxys »

Hi,

No luck!! :cry:

It say that I am running a 32 bits version.

The package I installed is :

VirtualBox-1.6.0-SunOS-x86-r30421.pkg

It is the package that is given to download when you choose either Solaris 10 OS, x86 or OpenSolaris x86.

I guess I will have to wait until they update their package. I hope it will be sooner rather than later...

All clue still welcome!

Thanks again

Sylvain
gorman
Posts: 5
Joined: 9. May 2008, 17:27

Post by gorman »

Well, that explains why adding the 64 bits libdlpi.so.1 from sunwcslr_5.11.82-1_solaris-i386.deb doesn't work. It doesn't even try to use it.

You could try to add the 32 bits library from the same package:

remove all the 64 bits versions of the library you have added to the system.
/usr/xpg4/bin/ar x sunwcslr_5.11.82-1_solaris-i386.deb
gunzip -c data.tar.gz |tar xvf - ./lib/libdlpi.so.1

and copy down the new library:

cp ./lib/libdlpi.so.1 /opt/VirtualBox/

export LD_LIBRARY_PATH so that you have /opt/VirtualBox first in the path.

I would not have replaced the original /lib/libdlpi.so.1 since this could affect other programs.
syxys
Posts: 6
Joined: 13. May 2008, 22:25

VBoxDD VERR_FILE_NOT_FOUND with VirtualBox 1.6 - Solved

Post by syxys »

Hi,

Well almost solved! I don't know why I did not understand before that the thread was talking about the 64 bits version...

Thanks a lot, it solved the problem with the VBoxDD. Now, I have this message:

PIIX3 cannot attach drive to the Secondary Master.

But I think it is related to the fact that I mount a CD drive in the virtual machine and it expect a CD disk in it. But I removed the disk cause I needed it to do some test on another machine.

I will try to put it back as soon as I can and I will keep you posted.

Thanks again for your help.

I really thought that I was a desperate cause... :)

Sylvain
syxys
Posts: 6
Joined: 13. May 2008, 22:25

VBoxDD VERR_FILE_NOT_FOUND with VirtualBox 1.6 - Solved

Post by syxys »

Hi,

Thanks a lot Gorman.

As I expected, everything went fine as soon as I inserted back the CD disk.

Thanks again for your patience.

An happy camper :D

Sylvain
tschoenemann
Posts: 14
Joined: 14. Apr 2008, 17:56

Re: wrong link

Post by tschoenemann »

gorman wrote:Hi,
The link above is wrong. You want the "sunwcslr" package , NOT the "sunwcsl" package
Sorry, silly mistake of me...
holden
Posts: 4
Joined: 24. May 2008, 23:21

Post by holden »

hi,

i have same problem with VBoxHeadless

Error: failed to start machine. Error message: Unable to load R3 module /opt/VirtualBox/VBoxDD.
VBox status code: -102 (VERR_FILE_NOT_FOUND)

this is in /var/adm/messages:
vboxdrv: [ID 147122 kern.notice] VBoxDrv: VBoxDrvSolarisOpen: Dev=0x0 pSession=ffffffff85f35010 pid=2285 r0proc=ffffffff939476f0 thread=ffffffff92375a20


i used 64 bit version of libdlpi.so.1 from nexenta package, i have it in LD_LIBRARY_PATH and ldd is OK

# ldd /opt/VirtualBox/VBoxDD.so
VBoxVMM.so => /opt/VirtualBox/VBoxVMM.so
VBoxRT.so => /opt/VirtualBox/VBoxRT.so
VBoxDDU.so => /opt/VirtualBox/VBoxDDU.so
VBoxDD2.so => /opt/VirtualBox/VBoxDD2.so
libadm.so.1 => /lib/64/libadm.so.1
libdlpi.so.1 => /usr/sfw/lib/amd64/libdlpi.so.1
librt.so.1 => /lib/64/librt.so.1
libsocket.so.1 => /lib/64/libsocket.so.1
libstdc++.so.6 => /usr/sfw/lib/amd64/libstdc++.so.6
libm.so.2 => /lib/64/libm.so.2
libgcc_s.so.1 => /usr/sfw/lib/amd64/libgcc_s.so.1
VBoxREM.so => /opt/VirtualBox/VBoxREM.so
libc.so.1 => /lib/64/libc.so.1
libinetutil.so.1 => /lib/64/libinetutil.so.1
libaio.so.1 => /lib/64/libaio.so.1
libmd.so.1 => /lib/64/libmd.so.1
libnsl.so.1 => /lib/64/libnsl.so.1
libmp.so.2 => /lib/64/libmp.so.2
libscf.so.1 => /lib/64/libscf.so.1
libdoor.so.1 => /lib/64/libdoor.so.1
libuutil.so.1 => /lib/64/libuutil.so.1
libgen.so.1 => /lib/64/libgen.so.1

I have 64 bit version of VirtualBox, 64 bit kernel and Solaris 10 update
# isainfo -b
64

BUT i'm getting the same error.


EDIT: nevermind, i get the new libnsl library and vbox runs like charm
Post Reply