Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 07:53:03 -0700
From:      Patrick Powell <papowell@astart.com>
To:        freebsd-emulation@freebsd.org
Subject:   VirtualBox - PIIX3 cannot attach drive to the Secondary Master
Message-ID:  <541308CF.6040304@astart.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541308CF.6040304>