Date: Thu, 5 Sep 2013 18:20:01 GMT From: Patrick Powell <papowell@astart.com> To: freebsd-doc@FreeBSD.org Subject: Re: docs/181845: Virtualbox Host Setup needs acd0 in /etc/devfs.conf, also enable atapicam Message-ID: <201309051820.r85IK1Q2042514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/181845; it has been noted by GNATS. From: Patrick Powell <papowell@astart.com> To: Adam Vande More <amvandemore@gmail.com> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/181845: Virtualbox Host Setup needs acd0 in /etc/devfs.conf, also enable atapicam Date: Thu, 05 Sep 2013 11:19:47 -0700 This is a multi-part message in MIME format. --------------070700030208080209090602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/05/13 10:55, Adam Vande More wrote: > On Thu, Sep 5, 2013 at 12:23 PM, Patrick Powell <papowell@astart.com > <mailto:papowell@astart.com>> 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 As I discovered, my DVD/CD was detected as acd0, even with ATAPICAM, much to my surprise. I left the other stuff in as I was not sure of the impact on other parts of the VirtualBox operation. I discovered that VirtualBox apparently looks for cd0, as when I did not have that device it did not display a selection for the host drive. On another note, a couple of other applications appear to insist on /dev/cdrom, so I have the line: link acd0 cdrom in my devfs.conf. --------------070700030208080209090602 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 09/05/13 10:55, Adam Vande More wrote:<br> </div> <blockquote cite="mid:CA+tpaK3o-kxmN7L38jB8QJA_+4GN2EzUoJrtepRypEmEwEPfdw@mail.gmail.com" type="cite"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote">On Thu, Sep 5, 2013 at 12:23 PM, Patrick Powell <span dir="ltr"><<a moz-do-not-send="true" href="mailto:papowell@astart.com" target="_blank">papowell@astart.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> >Number: 181845<br> >Category: docs<br> >Synopsis: Virtualbox Host Setup needs acd0 in /etc/devfs.conf, also enable atapicam<br> >Confidential: no<br> >Severity: non-critical<br> >Priority: low<br> >Responsible: freebsd-doc<br> >State: open<br> >Quarter:<br> >Keywords:<br> >Date-Required:<br> >Class: doc-bug<br> >Submitter-Id: current-users<br> >Arrival-Date: Thu Sep 05 17:30:00 UTC 2013<br> >Closed-Date:<br> >Last-Modified:<br> >Originator: Patrick Powell<br> >Release: 8.4<br> >Organization:<br> Astart Technologies<br> >Environment:<br> FreeBSD laptop_84.private 8.4-RELEASE FreeBSD 8.4-RELEASE #0 r251259: Sun Jun 2 21:26:57 UTC 2013 <a class="moz-txt-link-abbreviated" href="mailto:root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC">root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC</a> amd64<br> <br> >Description:<br> The Wiki:<br> <a moz-do-not-send="true" href="https://wiki.freebsd.org/VirtualBox" target="_blank">https://wiki.freebsd.org/VirtualBox</a><br> <br> And section 22.3.3 Virtualbox Host DVD/CD Access both indicate that /etc/devfs.conf needs:<br> <br> perm cd* 0600<br> perm xpt0 0660<br> perm pass* 0660<br> <br> However, if the CD/DVD on the host is detected as acd0 then you need:<br> <br> link acd0 cd0<br> perm acd* 0600<br> perm xpt0 0660<br> perm pass* 0660<br> <br> Also, as noted in another PR, you need to enable ATAPICAM. From the Wiki:<br> <br> Host DVD/CD access<br> <br> atapicam kernel module needs to be loaded via /boot/loader.conf:<br> <br> atapicam_load="YES<br> </blockquote> <div><br> </div> <div>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.<br> </div> </div> <br clear="all"> <br> -- <br> Adam Vande More </div> </div> </blockquote> As I discovered, my DVD/CD was detected as acd0, even with ATAPICAM, much to my surprise.<br> <br> I left the other stuff in as I was not sure of the impact on other parts of the VirtualBox operation.<br> I discovered that VirtualBox apparently looks for cd0, as when I did not have that device it did not<br> display a selection for the host drive.<br> <br> On another note, a couple of other applications appear to insist on /dev/cdrom, so I have the line:<br> link acd0 cdrom<br> in my devfs.conf.<br> </body> </html> --------------070700030208080209090602--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309051820.r85IK1Q2042514>