DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
bruehlicke
Posts: 27
Joined: 30. Oct 2008, 17:57

DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by bruehlicke »

VB version 3.2.10 r66523
Host: Solaris 10 on Intel

Trying just to install a client system from a CD and cannot get it to work. It wont see the CD. The CD is inserted and happily mounted in the Solaris OS.

df gives:
/cdrom/rhel-5i386disc1(/vol/dev/dsk/c0t0d0/rhel-5i386disc1): 0 blocks 0 files

Storage settings have selected the Host CD.

When starting the Vm I get:

Failed to open a session for the virtual machine RH5.
PIIX3 cannot attach drive to the Secondary Master (VERR_RESOURCE_BUSY).
Unknown error creating VM (VERR_RESOURCE_BUSY).

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {6375231a-c17c-464b-92cb-ae9e128d71c3}


Any idea ?!?!? I simply do not get what the problem might be ....
ppromsiri
Posts: 2
Joined: 8. Nov 2010, 04:19
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Sol 10

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by ppromsiri »

Hi bruehlicke

I got same error like U. I looking for answer.
If U know How to please reply me. :lol:

ppromsiri
jimklimov
Posts: 83
Joined: 7. Jul 2009, 08:28
Primary OS: OpenSolaris other
VBox Version: PUEL
Guest OSses: Linux, OSOL, Windows

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by jimklimov »

I've not hit the problem like you describe - but I very rarely work with physical CDs or DVDs.
As a workaround, did you try making an ISO image file and using that for the VM install?

I believe the problem is that you may be providing the VM a mountpoint for the CD, which is essentially a filesystem tree. And for booting it also needs the boot block, etc. which are outside the FS tree. An unmounted ISO image should have that info.

There's also a chance that your auto-mounter service is "holding" access to the device, hence the DEVICE_BUSY error. Try to (temporarily) disable the automounter service and unmount the /cdrom/* tree and see if that helps.

Possibly you might provide the raw device name for your CD/DVD-ROM as well, i.e.:

[root@sparc8 /]# df -k /cdrom/lwp_25_beta
Filesystem kbytes used avail capacity Mounted on
/vol/dev/dsk/c1t6d0/lwp_25_beta
3718144 3718144 0 100% /cdrom/lwp_25_beta

In this example, the automounter creates a virtual volume named "/vol/dev/dsk/c1t6d0/lwp_25_beta" which yields the physical device name "/dev/dsk/c1t6d0", HSFS (ISO9660) data is usually available as slice-6 or slice-0, or slice-2 which usually addresses the whole device. Then the physical device name for the slice with HSFS would be "/dev/dsk/c1t6d0s2" or alike.

HTH,
//Jim
ppromsiri
Posts: 2
Joined: 8. Nov 2010, 04:19
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Sol 10

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by ppromsiri »

Hi bruehlicke and jimklimov

I tried to down version from 3.2.10 to 3.2.8 its work. !!

So I can mount cd/dvd from host sol 10 to guest sol 10 and install sol 10 completed.

Lets try.
ppromsiri
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by Ramshankar »

My quick guess is Solaris 10's "vold" being the "culprit" in hogging the DVD resource. Try stopping the vold service via SMF (svcadm disable vold) and trying.
Oracle Corp.
mahmoud
Posts: 1
Joined: 13. Sep 2011, 03:06
Primary OS: OpenSolaris 10
VBox Version: OSE other
Guest OSses: windows XP

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by mahmoud »

Hi,
Hope that you still here, that you can help me out. I have the same problem as you and i am using VirtuaBox 4.1.2 on solaris 10. I am tryin to install Windows XP on a VM. I got this error message.

Echec de l'ouverture de session pour la machine virtuelle Ncomputing.

PIIX3 cannot attach drive to the Primary Master (VERR_RESOURCE_BUSY).

Code d'erreur : NS_ERROR_FAILURE (0x80004005)
Composant : Console
Interface : IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}


Somebody can help me on this??
MarcusS
Posts: 1
Joined: 17. Sep 2011, 20:57
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: XP, Haiku

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by MarcusS »

I am having the same problem. It doesn't matter what guest I am trying to install. If volume management is working, it will mount the DVD regardless, you can't prevent it. If the DVD is mounted, you get the error message about "VERR_RESOURCE_BUSY". If you disable volume management, VB can't see the DVD at all. Simply: mounted DVD generates the error, unmounted DVD is invisible.
I will try the ISO trick later, probably.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: DVD/CD is not attaching "VERR_RESOURCE_BUSY"

Post by Ramshankar »

A good description. I'll take a look at this tomorrow, perhaps the hald method of getting to the devices works while the failback mechanism (which is S10 only) is failing. Thanks for the report.
Oracle Corp.
Post Reply