[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] WinXP CD-ROM problems


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Just Anidiot" <jistanidiot@xxxxxxxxx>
  • Date: Wed, 23 Apr 2008 11:35:21 -0400
  • Delivery-date: Wed, 23 Apr 2008 08:35:56 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.