CD/DVD burning from the guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mndo
Posts: 8
Joined: 27. Jun 2008, 19:20
Contact:

CD/DVD burning from the guest

Post by mndo »

Hi!

I've been using VBox 1.6.2 on a Ubuntu 8.04 host and I am not able to burn from inside the guest (yes, passthrough is enabled)
From the logs:

Code: Select all

VBox.log:592:00:00:18.761 PIIX3 ATA: LUN#2: CD-ROM passthrough command (0x5a) error 0 VERR_DEV_IO_ERROR
On #vbox, klaus-vb told me that this a problem from the host. I asked if there was any report of burning working on a linux host and he told that some time ago it worked in a gentoo machine with a kernel 2.6.14-16 (i don't remember which one right now :( ) so I went i tried with Ubuntu 6.01.2 (2.6.15). This time the error is something like:

Code: Select all

00:05:45.231 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0xa0 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:05:45.234 PIIX3 ATA: Ctl#1: finished processing RESET
00:05:45.234 PIIX3 ATA: LUN#2: performing device RESET
Any ideas?
Has anyone cd/dvd burning on a linux host?

Thanks! Cumps..
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Why not burning on Linux Host direct? What are you burning that needs a windows emulation?

=> k3b, nero, k9copy, ...

If you really need it: Try to run VBOX as root, if that works, it must be a problem with access rights.
mndo
Posts: 8
Joined: 27. Jun 2008, 19:20
Contact:

Post by mndo »

stefan.becker wrote:Why not burning on Linux Host direct? What are you burning that needs a windows emulation?

=> k3b, nero, k9copy, ...

If you really need it: Try to run VBOX as root, if that works, it must be a problem with access rights.
The permissions of the device:

Code: Select all

brw-rw----+ 1 root cdrom 11, 0 2008-06-30 00:06 /dev/scd0
My user is on the cdrom group.
And i did try running as root, but doesn't work either, same error on logs.

About burning from the guest: the docs says I can so I should be able to, but also there are some situations where it's usefull, for example if i use itunes to buy some music and i want to burn it to a cd i shouldn't need to dual boot just to burn..

EDITING:
ok, bad example, cd audio burning was never supported, but you get my point. If you've been working on a applicattion that only the guest supports doesn't make sense put your work on a shared folder *, pause the guest, burn a cd, return to guest.

* if that is even possible, for example, i've never found the k3b's interface very good to create a dvd video (or a video cd), so i'd have to use the software i had always use to create an iso them put it in a shared folder and them use k3b to burn the iso..
Last edited by mndo on 14. Nov 2008, 20:01, edited 4 times in total.
mndo
Posts: 8
Joined: 27. Jun 2008, 19:20
Contact:

Answering my own question..

Post by mndo »

After some trial and error i found the solution to this problem.
Besides enabling passthrough as stated on the manual we must disabled hal polling on the optical drive..

On the command line:

Code: Select all

sudo hal-disable-polling --device /dev/scd0 'hal'
Cumps
fork
Posts: 1
Joined: 1. Oct 2008, 16:52

Thanks for solution to Burning issue under Virtualbox 2.0.2

Post by fork »

Hey Cumps,

thanks for this advice. This hal thing solved the issue also in version 2.0.2

Regards,
Tobias
Post Reply