VirtualBox: why there is no Passthrough checkbox on Storage screen?

Yuri yuri at rawbw.com
Wed Oct 31 01:14:05 UTC 2012


On 10/30/2012 17:26, Warren Block wrote:
> Try setting the VBOX_CDROM environment variable to the drive:
>
>   setenv VBOX_CDROM /dev/cd0
>
> or the sh(1) version:
>
>   VBOX_CDROM=/dev/cd0

My previous reply related to GUI bug.
Also when I try to start this VM with the passthrough DVD drive, vbox 
attempts to access it right away and fails with these log messages:
<...skipped...>
00:00:01.448 AIOMgr: Endpoint for file '/home/yuri/VirtualBox 
VMs/Windows Server 2012/Windows Server 2012.vdi' (flags 00000723) 
created successfully
00:00:01.450 AHCI: LUN#0: disk, PCHS=16383/16/63, total number of 
sectors 52428800
00:00:01.450 AHCI: LUN#0: using async I/O
00:00:01.450 Port1: no driver attached
00:00:01.450 AHCI ATA: LUN#0: disk, PCHS=16383/16/63, total number of 
sectors 52428800
00:00:01.450 AHCI ATA: LUN#1: no unit
00:00:01.450 AHCI ATA: Ctl: finished processing RESET
00:00:01.453 AHCI ATA: LUN#2: no unit
00:00:01.453 AHCI ATA: LUN#3: no unit
00:00:01.454 AHCI ATA: Ctl: finished processing RESET
00:00:01.456 AHCI ATA: Ctl: finished processing RESET
00:00:01.456 AHCI ATA: Ctl: finished processing RESET
00:00:01.576
00:00:01.576 !!Assertion Failed!!
00:00:01.576 Expression: <NULL>
00:00:01.576 Location  : 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.22/src/VBox/Devices/Storage/DrvHostBase.cpp(2134) 
int DRVHostBaseInitFinish(DRVHOSTBASE*)
00:00:01.576 Could not open host device /dev/cd0, rc=VERR_ACCESS_DENIED

This happens with or without the media, but with the media it takes 
longer because it attempts to read something from it.

Yuri



More information about the freebsd-emulation mailing list