Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 18:14:04 -0700
From:      Yuri <yuri@rawbw.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        emulation@freebsd.org
Subject:   Re: VirtualBox: why there is no Passthrough checkbox on Storage screen?
Message-ID:  <50907B5C.1000203@rawbw.com>
In-Reply-To: <alpine.BSF.2.00.1210301823490.98120@wonkity.com>
References:  <508E56D2.7010106@rawbw.com> <CAE-m3X3pfQKXMKVmcvJ8yX86S2VC9fUJGSxtt2tzbuZeuf0GYA@mail.gmail.com> <alpine.BSF.2.00.1210301823490.98120@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50907B5C.1000203>