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

xen-users

[Top] [All Lists]

Re: [Xen-users] CDROM on PV domU

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] CDROM on PV domU
From: Wolfgang Grossbauer <wg@xxxxxxxxxxxxxx>
Date: 2010年4月29日 13:24:23 +0200
Delivery-date: 2010年4月29日 04:25:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BD865C1.4030709@xxxxxxxxxxxxxxxxxx>
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>
Organization: MAGRO Software Engineering & Design
References: <4BD85EFB.5020102@xxxxxxx> <4BD865C1.4030709@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)
Felix Kuperjans wrote:
 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.
Thanks Felix, I proceeded as you suggested, however still the same problem.
vm config sections:
disk=[ 'file:/var/lib/xen/images/MAGRO1V/disk0,xvda,w'
 ,'phy:/dev/sr0,hdc:cdrom,r'
 ]
running 'xm create ...' I get
...
2.267952] kernel BUG at /usr/src/packages/BUILD/kernel-xen-2.6.31.5/linux-2.6.31/block/blk-core.c:2216!
[ 2.267952] invalid opcode: 0000 [#1] SMP
[ 2.267952] last sysfs file:
[ 2.267952] Modules linked in: xenblk(+) cdrom
...
etc.etc
Reading 'kernel BUG' lets my alarm bells ring - do I need an updated xen-kernel?
Wolf
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] migrating to xen (newbie question) , Miles Fidelman
Next by Date: Re: [Xen-users] CDROM on PV domU , Wolf Grossi
Previous by Thread: Re: [Xen-users] CDROM on PV domU , Felix Kuperjans
Next by Thread: Re: [Xen-users] CDROM on PV domU , Wolf Grossi
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /