From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 31 01:14:04 2012 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE109FC0; Wed, 31 Oct 2012 01:14:04 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id BE6338FC0A; Wed, 31 Oct 2012 01:14:04 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q9V1E4qL051269; Tue, 30 Oct 2012 18:14:04 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <50907B5C.1000203@rawbw.com> Date: Tue, 30 Oct 2012 18:14:04 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121023 Thunderbird/16.0.1 MIME-Version: 1.0 To: Warren Block Subject: Re: VirtualBox: why there is no Passthrough checkbox on Storage screen? References: <508E56D2.7010106@rawbw.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 01:14:05 -0000 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: 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