From owner-freebsd-doc@FreeBSD.ORG Thu Sep 5 18:00:01 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.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 ESMTP id B390756E for ; Thu, 5 Sep 2013 18:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A216C24C7 for ; Thu, 5 Sep 2013 18:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r85I015I037834 for ; Thu, 5 Sep 2013 18:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r85I01vA037833; Thu, 5 Sep 2013 18:00:01 GMT (envelope-from gnats) Date: Thu, 5 Sep 2013 18:00:01 GMT Message-Id: <201309051800.r85I01vA037833@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Adam Vande More Subject: Re: docs/181845: Virtualbox Host Setup needs acd0 in /etc/devfs.conf, also enable atapicam X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Adam Vande More List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 18:00:01 -0000 The following reply was made to PR docs/181845; it has been noted by GNATS. From: Adam Vande More To: Patrick Powell Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/181845: Virtualbox Host Setup needs acd0 in /etc/devfs.conf, also enable atapicam Date: Thu, 5 Sep 2013 12:55:38 -0500 --047d7bd751602a13e304e5a6a163 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Sep 5, 2013 at 12:23 PM, Patrick Powell wrote: > > >Number: 181845 > >Category: docs > >Synopsis: Virtualbox Host Setup needs acd0 in /etc/devfs.conf, also > enable atapicam > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-doc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: doc-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Sep 05 17:30:00 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Patrick Powell > >Release: 8.4 > >Organization: > Astart Technologies > >Environment: > FreeBSD laptop_84.private 8.4-RELEASE FreeBSD 8.4-RELEASE #0 r251259: Sun > Jun 2 21:26:57 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC > amd64 > > >Description: > The Wiki: > https://wiki.freebsd.org/VirtualBox > > And section 22.3.3 Virtualbox Host DVD/CD Access both indicate that > /etc/devfs.conf needs: > > perm cd* 0600 > perm xpt0 0660 > perm pass* 0660 > > However, if the CD/DVD on the host is detected as acd0 then you need: > > link acd0 cd0 > perm acd* 0600 > perm xpt0 0660 > perm pass* 0660 > > Also, as noted in another PR, you need to enable ATAPICAM. From the Wiki: > > Host DVD/CD access > > atapicam kernel module needs to be loaded via /boot/loader.conf: > > atapicam_load="YES > Are you sure this makes sense? Using atapicam makes /dev/cd0 available therefore the devfs.conf is good as is. The atapicam reference should be there though. -- Adam Vande More --047d7bd751602a13e304e5a6a163 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On T= hu, Sep 5, 2013 at 12:23 PM, Patrick Powell <papowell@astart.com&g= t; wrote:

>Number: =A0 =A0 =A0 =A0 181845
>Category: =A0 =A0 =A0 docs
>Synopsis: =A0 =A0 =A0 Virtualbox Host Setup needs acd0 in /etc/devfs.co= nf, also enable atapicam
>Confidential: =A0 no
>Severity: =A0 =A0 =A0 non-critical
>Priority: =A0 =A0 =A0 low
>Responsible: =A0 =A0freebsd-doc
>State: =A0 =A0 =A0 =A0 =A0open
>Quarter:
>Keywords:
>Date-Required:
>Class: =A0 =A0 =A0 =A0 =A0doc-bug
>Submitter-Id: =A0 current-users
>Arrival-Date: =A0 Thu Sep 05 17:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: =A0 =A0 Patrick Powell
>Release: =A0 =A0 =A0 =A08.4
>Organization:
Astart Technologies
>Environment:
FreeBSD laptop_84.private 8.4-RELEASE FreeBSD 8.4-RELEASE #0 r251259: Sun J= un =A02 21:26:57 UTC 2013 =A0 =A0 root@bake.isc.freebsd.org:/usr/obj/usr/sr= c/sys/GENERIC =A0amd64

>Description:
The Wiki:
https://w= iki.freebsd.org/VirtualBox

And section 22.3.3 Virtualbox Host DVD/CD Access both indicate that /etc/de= vfs.conf needs:

perm cd* 0600
perm xpt0 0660
perm pass* 0660

However, if the CD/DVD on the host is detected as acd0 then you need:

link acd0 =A0 =A0cd0
perm acd* 0600
perm xpt0 0660
perm pass* 0660

Also, as noted in another PR, =A0you need to enable ATAPICAM. =A0From the W= iki:

Host DVD/CD access

atapicam kernel module needs to be loaded via /boot/loader.conf:

atapicam_load=3D"YES

Are you sure = this makes sense?=A0 Using atapicam makes /dev/cd0 available therefore the = devfs.conf is good as is.=A0 The atapicam reference should be there though.=


--
Adam Vande More
--047d7bd751602a13e304e5a6a163--