WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Can't use DVD Writer in DomU

To: "Paul Waldo" <paul@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Can't use DVD Writer in DomU
From: "Emre ERENOGLU" <erenoglu@xxxxxxxxx>
Date: Fri, 15 Feb 2008 02:14:22 +0100
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 14 Feb 2008 17:15:03 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=oNiLbr6i3odJKVqFlFEtuBBeQK7XQjsMRB42RR7yCkI=; b=IkxSgfX5VGAL8qPXdXHm7O0tvRNPrI+j/qxeqXGHCOZYyX5/oF34dWwz6vpYLgQyqkDzzpkC1hhtYiPUij2zQTEaYBQe4Bt3ACde42fUabLjaO6M6uD4i4JGshX2cZF7/bkWGuQNwuQ2RTgdQQQsYlXM+S8Zstr7HWhDG1L2IEE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LrQmvZd/VYCxp6CWpUBChx0paQI6q8J7qXN+pMsp0JjPrN9cxvHvCAUVgf81moffAL9a4Zu0AjBtlrx4NtjfMB2U9y/yyfiWIJJSL20p26LDtu1qGMVfdhUIhPO7TAGwlYgbTr4TPLZaeorYgCouJQhuygvN/FX0K9MCBilHFRA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200802141648.15568.paul@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200802141648.15568.paul@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Paul,

Maybe I'm wrong, but from the config file you wrote, I assume that you're using a PV guest. As far as I remember, you can not assign a "Device" as a CDROM or CDRW in a PV DomU. although you can assign a mounted cd drive as a "block disk drive".  This will mean that you can never use a CD/DVD writer in a PV domU.

In a HVM DomU, you can show a CDROM with your syntax in config file hdc:cdrom, but I've never seen anywhere that a "writer" device is emulated. Always read-only cd/dvd rom drive.

What you can do is to possibly use iSCSI and/or Ata over Ethernet to try to push your cd writer to a virtual domain. I've never tested it nor I now if is't technically possible.

I would kindly ask other users to comment and correct me if there's anything wrong.

Regards,

Emre

On Thu, Feb 14, 2008 at 10:48 PM, Paul Waldo <paul@xxxxxxxxxxxxx> wrote:
Hi all,

I'm trying to use an IDE DVD Writer in my domU.  Here is the disk line from my
config file:

disk        =
[ 'phy:hydra/perseus-disk,xvda1,w', 'phy:hydra/perseus-swap,xvda2,w', 'phy:/dev/dvd1,hdc:cdrom,w' ]

I think it is connected, because I get this:
# xm block-list perseus -l
[...]
(5632
   ((backend-id 0)
       (virtual-device 5632)
       (device-type cdrom)
       (state 6)
       (backend /local/domain/0/backend/vbd/12/5632)
       (ring-ref 10)
       (event-channel 8)
       (protocol x86_64-abi)
   )
)

There seems to be no device for the writer, though:
root@perseus:~# ls -l /dev/xvd* /dev/hd*
ls: /dev/hd*: No such file or directory
brw-rw---- 1 root disk 202, 1 Feb 14 16:36 /dev/xvda1
brw-rw---- 1 root disk 202, 2 Feb 14 16:36 /dev/xvda2


I'm running Xen 3.1.0 on a Kubuntu Gutsy Dom0 (AMD64).

Thanks in advance for any tips!

Paul

PS
In my searching for a solution to this, I found some folks saying that I need
to have media in the writer when booting the domU.  Please say it isn't
so!!!! (I did try it, but still no luck)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
Emre Erenoglu
erenoglu@xxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users