Ticket #4329 (closed defect: fixed)
VirtualBox 3.0.0 fails to start any vm on snv_117
|Reported by:||jmcp||Owned by:|
Just installed VirtualBox 3.0.0 on my workstation (u40m2) which is running Solaris Express snv_117.
I pkgrm'd 2.2.4 before pkgadding 3.0.0. I did noticed at the time that the postinstall script failed to complete successfully, but thought this was just an artefact of being unable to unload the old modules.
Following a reboot, I again removed the packages, and added them, however the SUNWvbox postinstall script still failed to complete, which in turn is due to the vboxdrv.sh script failing at this line:
/opt/VirtualBox/vboxdrv.sh stopall silentunload checkarch
ifconfig: unplumb: SIOCGLIFFLAGS: vboxnet0: no such interface can't unload the module: Invalid argument ## Failed to unload VirtualBox NetAdapter kernel module. Old one still active!!
So the postinstall script "partially fail"s, and fails to install the drivers required - so no entry in /etc/name_to_major, no entry in /etc/devlink.tab.... and therefore the modules fail to load.
I also noticed, on the reboot, that there was an /etc/hostname.vboxnet0 file which contained an arbitrary /24 IP address - this is entirely unwanted.
The modules fail to load properly:
# modinfo |grep vb 296 fffffffff8aaf000 20060 - 1 vboxdrv (VirtualBox HostDrv 3.0.0r49315) 297 fffffffff87c7000 3368 - 1 vbi (VirtualBox Interfaces V5) 298 fffffffff8394000 10b88 - 1 vboxnet (VirtualBox NetAdp 3.0.0r49315) 300 fffffffff83a3000 5f80 - 1 vboxflt (VirtualBox NetDrv 3.0.0r49315) 300 fffffffff83a3000 5f80 - 1 vboxflt (VirtualBox NetMod 3.0.0r49315)
but in /var/adm/messages:
Jul 1 12:14:53 blinder vboxdrv: [ID 256364 kern.notice] vboxdrv:mod_install failed! rc=6
And there is code in http://www.virtualbox.org/browser/trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c which actively prevents their unloading.
Net result - VirtualBox 3.0.0 fails to work at all, with any guest.