Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 17:58:48 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Mark Felder <feld@FreeBSD.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Problems with CD access on Virtualbox
Message-ID:  <alpine.BSF.2.00.1309101742430.4721@wonkity.com>
In-Reply-To: <1378841578.12571.20341845.26279920@webmail.messagingengine.com>
References:  <CAKJAkztnG=QiHbrQcZ7RWypHgkNgDv9_4XmTwyeWg%2BTf149Z%2Bw@mail.gmail.com> <1378841578.12571.20341845.26279920@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Sep 2013, Mark Felder wrote:

>
>
> On Tue, Sep 10, 2013, at 14:26, Juris Kaminskis wrote:
>>
>> ls -l /dev/cd0 gives following:
>>
>> crw-rw---- 1 root operator 0,   85 Sep 10 18:46  /dev/cd0
>>
>
> Only root and operator have access to that device. Put your user in the
> operator group. You will have to logout/login again. In your
> shell/terminal, use the "groups" command to confirm you're really in the
> operator group. Then start up your virtualbox and it should have access.

I was fighting with that last night, and just now figured it out.  The 
user should be a member of the operator group, but also must have rw 
permissions on /dev/cd0, /dev/xpt0, and /dev/pass0... and here's the 
trick: there can be more than one /dev/pass device.  As soon as I added 
pass1 and pass2 to /etc/devfs.conf, it worked:

perm    cd0     0660
perm    pass0   0660
perm    pass1   0660
perm    pass2   0660
perm    xpt0    0660

HAL is not needed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1309101742430.4721>