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] CDROM on PV domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] CDROM on PV domU
From: Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Apr 2010 18:43:45 +0200
Delivery-date: Wed, 28 Apr 2010 09:45:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BD85EFB.5020102@xxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BD85EFB.5020102@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100413 Shredder/3.0.4
Hi,

you made a small error in your disk configuration:

disk = [ 'phy:/dev/scd0,hdc:cdrom,w' ]

You have to specify hdc (or anything similar) to set the position of the cdrom drive (in this case: secondary IDE, master).
It is also possible to specify e.g. sda:cdrom, which will attach the device to the first SCSI port (but you can't boot from SCSI devices).

In addition, I think it was rather /dev/scd0 instead of /dev/sd0.

I hope this helps you.

Felix

Am 28.04.2010 18:14, schrieb Wolf Grossi:
Hi,

how do I attach a cdrom to a pv guest?
Xen-server is openSuSE-11.2 and domU is opensuse-11.2.

According to the xen-manual I tried
disk = [ 'phy:/dev/sd0,cdrom,w' ]
in the vm configuration.
When creating the vm however it crashes w/o a message in /var/log/qemu-dm-opensuse11.log

I've also tried to attach with
xm block-attach opensuse11 phy:/dev/sr0 /dev/cdrom r
same problem as obove.


Any hints?
Wolf

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>