Thanks a lot for taking the time, Frank!
Ok then!
(1) My user should have read access to CDs (it's a reading device only) and
read/write access to the device file:
[EMAIL PROTECTED]:~$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 6 2007-01-22 07:27 /dev/cdrom -> cdrom0
[EMAIL PROTECTED]:~$ ls -l /dev/cdrom0
lrwxrwxrwx 1 root root 3 2007-01-22 07:27 /dev/cdrom0 -> hdc
$ ls -l /dev/hdc
rw-rw---- 1 root cdrom 22, 0 2007-01-22 07:27 /dev/hdc
$ ls -l /dev/dvd*
lrwxrwxrwx 1 root root 4 2007-01-22 07:27 /dev/dvd -> dvd0
lrwxrwxrwx 1 root root 3 2007-01-22 07:27 /dev/dvd0 -> hdc
$ groups
users video cdrom vboxusers
(2) The strace output contains no EPERM entries. Trying to run the SDL GUI I
get:
$ LD_LIBRARY_PATH=. strace -s 1024 -f -o LOG ./VBoxSDL -vm WinMCE
VirtualBox SDL GUI 1.3.3 built Jan 22 2007 07:56:28
Informational: VirtualBox object created (rc=00000000).
Error: failed to power up VM! No error text available (rc = 0x0 state = 1)
[EMAIL PROTECTED]:~/Apps/vbox/out/linux.x86/release/bin$ Informational:
VirtualBox
object deleted.
Searching for "access" gives me this:
$ grep -ri access LOG
18413 access("/etc/ld.so.preload", R_OK) = 0
18413 access("/home/alex/Apps/vbox/out/linux.x86/release/bin/.autoreg",
F_OK) = -1 ENOENT (No such file or directory)
18413 access("/home/alex/Apps/vbox/out/linux.x86/release/bin/plugins", F_OK)
= -1 ENOENT (No such file or directory)
18413 access("/home/alex/.Xauthority", R_OK) = 0
18413 access("/home/alex/.Xauthority", R_OK) = 0
18413 access("/home/alex/.Xauthority", R_OK) = 0
18413 access("/usr/X11R6/lib/X11/locale/iso8859-1/XLC_LOCALE", R_OK) = 0
18413 access("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", R_OK) = 0
18413 access("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", R_OK) = 0
18421 write(12, "00:00:03.315 ERROR [COM]: rc=0x80004005
IID={1dea5c4b-0753-4193-b909-22330f64ec45} component={Console} text={Failed
to start VM execution (VERR_ACCESS_DENIED)}\n", 160) = 160
18421 write(12, "00:00:03.340 ERROR [COM]: rc=0x80004005
IID={1dea5c4b-0753-4193-b909-22330f64ec45} component={Console} text={Failed
to start VM execution (VERR_ACCESS_DENIED)}\n", 160 <unfinished ...>
18421 write(12, "00:00:03.340 Power up failed (vrc=VERR_ACCESS_DENIED,
hrc=0x80004005)\n", 70 <unfinished ...>
18413 write(1, "Failed to start VM execution (VERR_ACCESS_DENIED)\n", 50) =
50
Well, the LOG file is pretty long, so I hesitate to post it inline. Not
sure, if it would help, but could I post it as an attachment? Is that
allowed for this group?
Thanks
Alex
Frank Mehnert wrote:
> On Monday 22 January 2007 22:32, Alex Baer wrote:
>> Ok, here are the results. After issuing
>>
>> LD_LIBRARY_PATH=. ./VBoxSVC&
>> LD_LIBRARY_PATH=. ./VirtualBox
>>
>> I have:
>>
>> # lsmod
>> Module Size Used by
>> vboxdrv 26756 1
>>
>> # cat /proc/misc
>> 62 vboxdrv
>
> Looks good.
>
>> So far it seems correct. I've checked the latest logfile again, however,
>> and found this:
>>
>> [/Devices/pcbios/0/Config/] (level 4)
>> 00:00:41.618 RamSize <integer> = 0x0000000010000000 (268435456)
>> 00:00:41.618 HardDiskDevice <string> = "piix3ide" (cch=9)
>> 00:00:41.618 FloppyDevice <string> = "i82078" (cch=7)
>> 00:00:41.618 BootDevice0 <string> = "FLOPPY" (cch=7)
>> 00:00:41.618 BootDevice1 <string> = "DVD" (cch=4)
>> 00:00:41.618 BootDevice2 <string> = "IDE" (cch=4)
>> 00:00:41.618 BootDevice3 <string> = "NONE" (cch=5)
>> 00:00:41.618 FadeIn <integer> = 0x0000000000000001 (1)
>> 00:00:41.618 FadeOut <integer> = 0x0000000000000001 (1)
>> 00:00:41.618 LogoTime <integer> = 0x0000000000000000 (0)
>> 00:00:41.618 LogoFile <string> = "" (cch=1)
>> 00:00:41.618 ShowBootMenu <integer> = 0x0000000000000002 (2)
>>
>> Here the BootDevice1 is "DVD", and while the device I want to install my
>> guest system from is actually a DVD-ROM drive, I mount the install CD
>> as /dev/cdrom (which is link to /dev/hdc, the actual device). Could this
>> have to do anything with the VERR_ACCESS_DENIED thing? And if so: How can
>> it be fixed?
>
> Hmm yes, it could be possible that the current user does not have
> access to /dev/cdrom. We are aware that some error report mechanisms
> still has to be improved. What does /bin/ls -l /dev/hdc say?
>
> One another thing you could try is to use VBoxSDL as GUI once you
> have set up your VM. Do
>
> LD_LIBRARY_PATH=. strace -s 1024 -f -o LOG ./VBoxSDL -vm <VM name>
>
> Then look at the output of strace. Probably you will find one or more
> line containing EPERM. You should see then which file/device could not
> be accessed.
>
>> One question here: Should the CD be mounted or not? Seems the device name
>> is preceded by an asterisk when a medium is mounted. But should an
>> installation CD mounted on the host before running the guest, or not?
>
> The CD should _not_ be mounted. VirtualBox uses the raw-mode.
>
> Kind regards,
>
> Frank
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users