|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] Can't use DVD Writer in DomU
 
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 
 |   
 
 | 
    | 
  
  
    |   | 
    |