Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2010 20:49:51 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-emulation@freebsd.org
Subject:   Problem with VB 3.2.10
Message-ID:  <4CBB292F.3020105@yandex.ru>

next in thread | raw e-mail | index | archive | help
Hi there!

The problem is that i can't boot from cd within VB. It worked for me on 
past versions. I'm creating a new VM, select my dvd-ram as cd-source and 
getting this error when trying to start VM:

Cannot open host device '/dev/cd0' for readonly access. Check the 
permissions of that device (VERR_ACCESS_DENIED).

Unknown error creating VM (VERR_ACCESS_DENIED).

My environment is:

[mrk@smeshariki2 ~]> cat /boot/loader.conf
vboxdrv_load="YES"

[mrk@smeshariki2 ~]> cat /etc/rc.conf
vboxnet_enable="YES"

[mrk@smeshariki2 ~]> cat /etc/devfs.conf
perm	acd0	0666
perm	cd0	0666
perm	pass0	0666
perm    pass1   0666
perm	xpt0	0666

[mrk@smeshariki2 ~]> cat /etc/sysctl.conf
vfs.usermount=1

[mrk@smeshariki2 ~]> ls -la /dev | grep cd
crw-rw-rw-   1 root  operator    0,  86 17 окт 18:54 acd0
crw-r-----   1 root  operator    0,  89 17 окт 18:54 acd0t01
crw-rw-rw-   1 root  operator    0,  95 17 окт 18:54 cd0
[mrk@smeshariki2 ~]> ls -la /dev | grep xpt
crw-rw-rw-   1 root  operator    0,  87 17 окт 18:54 xpt0
[mrk@smeshariki2 ~]> ls -la /dev | grep pass
crw-rw-rw-   1 root  operator    0,  92 17 окт 18:54 pass0
crw-rw-rw-   1 root  operator    0,  93 17 окт 18:54 pass1

[mrk@smeshariki2 ~]> id
uid=1001(mrk) gid=1001(mrk) 
groups=1001(mrk),0(wheel),5(operator),920(vboxusers)

I've tried to remove ~/.VirtualBox, VB files/dirs in /tmp, i've also 
tried to run VirtualBox as root - all the same. I've also tried to check 
"Direct access" checkbox in VB cd settings, tried to change IDE 
controller onto ICH6 and PIIX3- all the same. But i'm able to access the 
disk, from what i tried to boot, within FreeBSD successfully.

I'm on recent 8-stable i386. I'm successfully write cd/dvd with k3b-kde4 
as usual user, as root too, so it seems that it's a some regression in VB.

Please help.

PS. Please keep me in cc: - i'm not on list.

-- 
Regards,
Ruslan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBB292F.3020105>