From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 12 14:53:13 2014 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A721406 for ; Fri, 12 Sep 2014 14:53:13 +0000 (UTC) Received: from astart2.astart.com (108-248-95-193.lightspeed.sndgca.sbcglobal.net [108.248.95.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 309E6B1A for ; Fri, 12 Sep 2014 14:53:11 +0000 (UTC) Received: from laptop_93.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.4/8.14.4) with ESMTP id s8CEr3eJ063421 for ; Fri, 12 Sep 2014 07:53:03 -0700 (PDT) (envelope-from papowell@astart.com) Message-ID: <541308CF.6040304@astart.com> Date: Fri, 12 Sep 2014 07:53:03 -0700 From: Patrick Powell Reply-To: papowell@astart.com Organization: Astart Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: VirtualBox - PIIX3 cannot attach drive to the Secondary Master Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 12 Sep 2014 14:53:13 -0000 Error Message from VirtualBox: Failed to open a session for the virtual machine win7. PIIX3 cannot attach drive to the Secondary Master (VERR_INVALID_FUNCTION). Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6} Question: Is this a bug or am I doing something wrong? Details: FreeBSD laptop_93.private 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10 23:44:39 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Installed from package using pkg: virtualbox-ose-4.3.12_1 General-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-4.3.12 VirtualBox kernel module for FreeBSD Went through the instruction on the FreeBSD Handbook, Emulators, Virtualbox and set up all of the various entries. Running Hald, etc. Rebooted. Ran VirtualBox. After some issues, looked up error message and there were suggestions to recompile virtualbox-ose-kmod from source, which I did and installed it. This got rid of a bunch of 'bogus' error messages. Installed: virtualbox-ose-kmod-4.3.12 VirtualBox kernel module for FreeBSD Rebooted. Ran VirtualBox - no bogus error messages, etc. now. As a user, run VirtualBox. Set up a VM for Win7, put a CD in the CD Reader. The CD showed up on the devices pane (see screenshot). Clicked Run, I hear the CD starting up, going click click, and then it dies with the following message: Error Message: Failed to open a session for the virtual machine win7. PIIX3 cannot attach drive to the Secondary Master (VERR_INVALID_FUNCTION). Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6} I also logged in as Root, and did the same procedure, with the same result. Question: Is this a bug or am I doing something wrong?