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 15:31:50 +0100
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 15 Feb 2008 06:32:27 -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=2kS5yTDHijGGr4MPcpwQxCAGFc89hVU19Ch9dO4bFzI=; b=d/XfkcD7HLZ7NTQnubEt3g1Ru1ZBCWaLwdJOj5Xjb/Fz6XUf7hm85UvbBZ+k+s5TC8I9izn9Ms/gr0JKYoMxwFIWczitU95D3+4+q2k7AL3qdhO8b4x1AgOpplqf9+Bfm7OoVDeoQnP8BP9kRMER5y5ku+wWbV4G0TYc5xG3Ah8=
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=r14s/N+dLzKPNehMinnXwmiadRqi7Z4wL+RHaRoboWKKfSgPHe9P9aYLzPq0LQLmxieWXz7M5ofQtScNa6SW4RZyDHMKxOWXrWAZsSOsGqrEpovKWeScDVa6cnPcAegc5H+yWG+NNAVMW7dcFbxUDvu59G7lx1waXdKK2tFEapk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200802150729.31513.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> <fe9771a80802141714p237bf284l9344f143917bed27@xxxxxxxxxxxxxx> <200802150729.31513.paul@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Paul, theoretically, having a USB port in DomU shall do the job. Let us know if you're successful in that! :)

Emre

On Fri, Feb 15, 2008 at 1:29 PM, Paul Waldo <paul@xxxxxxxxxxxxx> wrote:
Hi Emre.  Yes, you are correct that this is a PV guest.  OK, so I can't get
there from here...  Should a USB DVD writer work if I can get the USB ports
pushed into the DomU?  Thanks!

Paul

On Thursday 14 February 2008 8:14:22 pm Emre ERENOGLU wrote:
> 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