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] WinXP CD-ROM problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] WinXP CD-ROM problems
From: "Just Anidiot" <jistanidiot@xxxxxxxxx>
Date: Wed, 23 Apr 2008 11:35:21 -0400
Delivery-date: Wed, 23 Apr 2008 08:35:56 -0700
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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Mc8O1qipBcyaqxpyVTgiPhF7Uoad41YQGDTZaKnH+ho=; b=SWbvJ+K9o7EpypvQ5GhzyQIxWJV18AUQOFQqRABRnNo/Xfe+Sf3Nqs5mnvtmrH8sLteT3ujAZMqUuEgChCQ3zUqTrs2enR8xt53lnLqibeyYn9FhYqQHUSgneybw1BNzLMIDL/cg5pJCUC2v/pZ76YUcECAZtQ6GPxzzSxbtD/U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IoC6JPtP8+ZYh33G2knvFyduPTDfmMcGRoqa/WtEws3W5RkwC4QBIrfNs4cjx0V4HKkoCksI22WsyZmeLeK1G8rArSRmUySGJj3AOVePRhRVAes04Vo7nIARIy2iVUwEIPVNu+7A7z3n7q945tSqOljJZHbvmcV3Q/1WAKvH2a4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <EBEEB3C8FBD6B0448AEDF986B303BEB60BD54D1E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <9ba2cb970804230726y741b56b9o475aefa4495061a0@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60BD54CFD@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <9ba2cb970804230806v49f148by747c64b2fcdfb403@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60BD54D1E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge
<Tait.Clarridge@xxxxxxxxxxxx> wrote:
> If the phy:\ is removed it won't see it. That is a given, I haven't had
>  much luck with hooking xen to a physical cdrom device.
>

This use to work about 3-5 months ago.  I haven't needed it recently
until today.

>  How did you copy the WinXP install disk? What messages are you getting,
>  is it from the Xen BIOS or something else...
>

Just with dd if=/dev/cdrom of=image.iso  Its been about a year since I
did it and that's how I installed Windows.  Of course today also WinXP
thinks it needs the disk for something stupid.

>  I have had no issues installing Windows XP in Xen before... do you mind
>  posting your entire .hvm file and maybe the specs of your rig?
>

Here's my hvm file  (with the old disk line)
-------------------------------
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"

builder='hvm'

memory=512

shadow_memory = 8

name = "WinXP-001"

vif = [ 'type=ioemu, bridge=xenbr0' ]

disk = [ 'phy:/dev/VG_Guests/WinXP-001,ioemu:hda,w',
'file:/opt/xen_stuff/winxp.iso,hdc:cdrom,w',
'phy:/dev/scd0,hdd:cdrom,r' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

boot="cd"

sdl=0

vnc=1

vnclisten="127.0.0.1"

vncdisplay=21

vncpasswd=''

stdvga=0

serial='pty'

usb=1
usbdevice='tablet'
-------------------------

Thanks for trying to help me.


>  Thanks,
>  Tait
>
>
>  -----Original Message-----
>  From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>  [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Just Anidiot
>  Sent: Wednesday, April 23, 2008 11:07 AM
>  To: xen-users@xxxxxxxxxxxxxxxxxxx
>
>
> Subject: Re: [Xen-users] WinXP CD-ROM problems
>
>  On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge
>  <Tait.Clarridge@xxxxxxxxxxxx> wrote:
>  > Hi Just,
>  >
>  >  You need to change the CDROM part of the disk = to look like
>  >
>  >  'file:/opt/xen_stuff/winxp.iso,ioemu:hdc:cdrom,r'
>  >
>  >  That should solve your problem, but make sure you remove the
>  >  'phy:/dev.....' line as well as it will conflict.
>  >
>
>  This didn't solve the problem with WinXP thinking the disk is corrupted.
>
>  Also I want WinXP to be able to access both the iso and the real
>  physical CDROM on the box.  If I take out the 2nd CDROM (the one with
>  phy:/dev...) WinXP doesn't seem to know anything about the physical
>  one.
>
>  What can I do?
>
>  Thanks.
>
>
>  >
>  >
>  >  -----Original Message-----
>  >  From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>  >  [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Just
>  Anidiot
>  >  Sent: Wednesday, April 23, 2008 10:26 AM
>  >  To: xen-users@xxxxxxxxxxxxxxxxxxx
>  >  Subject: [Xen-users] WinXP CD-ROM problems
>  >
>  >  I'm running Xen on RHEL5.
>  >
>  >  I've got two problems with CD-ROMs.
>  >
>  >  In my .hvm file, I've got the following line:
>  >
>  >  disk = [ 'phy:/dev/VG_Guests/WinXP-001,ioemu:hda,w',
>  >  'file:/opt/xen_stuff/winxp.iso,hdc:cdrom,w',
>  >  'phy:/dev/scd0,hdd:cdrom,r' ]
>  >
>  >  The first CD-ROM,  (the one linking to the file winxp.iso), appears
>  to
>  >  WinXP to be corrupted.  I'm able to mount that iso in the main OS so
>  >  I'm thinking this is just some weird Xen/WinXP problem.  I'm not sure
>  >  when this started as it is the WinXP Install disk and I don't
>  normally
>  >  need it.  It worked originally when I set this up.
>  >
>  >  The next and more pressing problem is that when I pop a CD into the
>  >  CD-ROM drive, WinXP 99 times out of 100 doesn't realize a new disk
>  has
>  >  been inserted and doesn't update the listing.  This has made
>  >  installing new software impossible.
>  >
>  >  Can someone please help?
>  >
>  >  Thanks in advance.
>  >
>  >  -J
>  >
>  >  _______________________________________________
>  >  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
>
>
>

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