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@lists.xensource.com http://lists.xensource.com/xen-users
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. Cheers, Tait -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot Sent: Wednesday, April 23, 2008 10:26 AM To: xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot > Sent: Wednesday, April 23, 2008 10:26 AM > To: xen-users@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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. How did you copy the WinXP install disk? What messages are you getting, is it from the Xen BIOS or something else... 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? Thanks, Tait -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot Sent: Wednesday, April 23, 2008 11:07 AM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] WinXP CD-ROM problems On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of JustAnidiot> Sent: Wednesday, April 23, 2008 10:26 AM > To: xen-users@lists.xensource.com > 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), appearsto> 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''tnormally> 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 diskhas> 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@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot > Sent: Wednesday, April 23, 2008 11:07 AM > To: xen-users@lists.xensource.com > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > Anidiot > > Sent: Wednesday, April 23, 2008 10:26 AM > > To: xen-users@lists.xensource.com > > 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, Have you tried shutting down the VM completely (not just a reboot) and bringing it back up again? Have you upgraded any part of your host recently? Or of your Xen installation? Best, Tait -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot Sent: Wednesday, April 23, 2008 11:35 AM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] WinXP CD-ROM problems On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> If the phy:\ is removed it won''t see it. That is a given, I haven''thad> 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 yougetting,> 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 youmind> 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@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of JustAnidiot> Sent: Wednesday, April 23, 2008 11:07 AM > To: xen-users@lists.xensource.com > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > <Tait.Clarridge@lavalife.com> 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 iscorrupted.> > 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > Anidiot > > Sent: Wednesday, April 23, 2008 10:26 AM > > To: xen-users@lists.xensource.com > > 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 OSso> > I''m thinking this is just some weird Xen/WinXP problem. I''m notsure> > 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 intothe> > 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Apr 23, 2008 at 11:37 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> Ok, Have you tried shutting down the VM completely (not just a reboot) > and bringing it back up again?Rebooting does cause WinXP to see the new disk in the drive. However that doesn''t really work since rebooting in the middle of the software install means I have to start over with disk 1.> Have you upgraded any part of your host recently? Or of your Xen > installation?Updates are done whenever RH makes them available. Currently installed packages are: xen-devel-3.0.3-41.el5 kernel-xen-2.6.18-53.1.14.el5 kernel-xen-devel-2.6.18-53.1.13.el5 xen-3.0.3-41.el5 kernel-xen-devel-2.6.18-53.1.14.el5 xen-libs-3.0.3-41.el5 kernel-xen-2.6.18-53.1.13.el5> > Best, > > Tait > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot > > > Sent: Wednesday, April 23, 2008 11:35 AM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] WinXP CD-ROM problems > > On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > Anidiot > > Sent: Wednesday, April 23, 2008 11:07 AM > > To: xen-users@lists.xensource.com > > > > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > > Anidiot > > > Sent: Wednesday, April 23, 2008 10:26 AM > > > To: xen-users@lists.xensource.com > > > 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@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In order to change cd-roms, you need to detach/re-attach the device for WinXP to re-read the drive. However I''ve noticed (at least in xen 3.1) that you have attach a "dummy" drive before re-attaching the real drive. Here''s what i use from dom0: /usr/sbin/xm block-configure <domU> file:/xen/foo.iso hdc:cdrom r /usr/sbin/xm block-configure <domU> phy:/dev/cdrom hdc:cdrom r where hdc:cdrom is the drive in the hvm config. On Wed, 2008-04-23 at 11:52 -0400, Just Anidiot wrote:> On Wed, Apr 23, 2008 at 11:37 AM, Tait Clarridge > <Tait.Clarridge@lavalife.com> wrote: > > Ok, Have you tried shutting down the VM completely (not just a reboot) > > and bringing it back up again? > > Rebooting does cause WinXP to see the new disk in the drive. However > that doesn''t really work since rebooting in the middle of the software > install means I have to start over with disk 1. > > > Have you upgraded any part of your host recently? Or of your Xen > > installation? > > Updates are done whenever RH makes them available. > > Currently installed packages are: > xen-devel-3.0.3-41.el5 > kernel-xen-2.6.18-53.1.14.el5 > kernel-xen-devel-2.6.18-53.1.13.el5 > xen-3.0.3-41.el5 > kernel-xen-devel-2.6.18-53.1.14.el5 > xen-libs-3.0.3-41.el5 > kernel-xen-2.6.18-53.1.13.el5 > > > > > > > Best, > > > > Tait > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot > > > > > > Sent: Wednesday, April 23, 2008 11:35 AM > > To: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge > > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > > Anidiot > > > Sent: Wednesday, April 23, 2008 11:07 AM > > > To: xen-users@lists.xensource.com > > > > > > > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > > > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > > > Anidiot > > > > Sent: Wednesday, April 23, 2008 10:26 AM > > > > To: xen-users@lists.xensource.com > > > > 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@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I will run some tests and see what I can come up with... Thanks, Tait -----Original Message----- From: Just Anidiot [mailto:jistanidiot@gmail.com] Sent: Wednesday, April 23, 2008 11:53 AM To: Tait Clarridge Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] WinXP CD-ROM problems On Wed, Apr 23, 2008 at 11:37 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> Ok, Have you tried shutting down the VM completely (not just a reboot) > and bringing it back up again?Rebooting does cause WinXP to see the new disk in the drive. However that doesn''t really work since rebooting in the middle of the software install means I have to start over with disk 1.> Have you upgraded any part of your host recently? Or of your Xen > installation?Updates are done whenever RH makes them available. Currently installed packages are: xen-devel-3.0.3-41.el5 kernel-xen-2.6.18-53.1.14.el5 kernel-xen-devel-2.6.18-53.1.13.el5 xen-3.0.3-41.el5 kernel-xen-devel-2.6.18-53.1.14.el5 xen-libs-3.0.3-41.el5 kernel-xen-2.6.18-53.1.13.el5> > Best, > > Tait > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of JustAnidiot> > > Sent: Wednesday, April 23, 2008 11:35 AM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] WinXP CD-ROM problems > > On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge > <Tait.Clarridge@lavalife.com> 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 sinceI> did it and that''s how I installed Windows. Of course today alsoWinXP> 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > Anidiot > > Sent: Wednesday, April 23, 2008 11:07 AM > > To: xen-users@lists.xensource.com > > > > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > > <Tait.Clarridge@lavalife.com> 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 onewith> > phy:/dev...) WinXP doesn''t seem to know anything about thephysical> > one. > > > > What can I do? > > > > Thanks. > > > > > > > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf OfJust> > Anidiot > > > Sent: Wednesday, April 23, 2008 10:26 AM > > > To: xen-users@lists.xensource.com > > > 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 mainOS> so > > > I''m thinking this is just some weird Xen/WinXP problem. I''mnot> 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 newdisk> > 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@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, To switch the cds mid install type the following in the command line: xm block-configure <domain> file:/path/to/2ndxpdisk.iso hdc:cdrom r That should switch it out for you. :) Tait -----Original Message----- From: Just Anidiot [mailto:jistanidiot@gmail.com] Sent: Wednesday, April 23, 2008 11:53 AM To: Tait Clarridge Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] WinXP CD-ROM problems On Wed, Apr 23, 2008 at 11:37 AM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> Ok, Have you tried shutting down the VM completely (not just a reboot) > and bringing it back up again?Rebooting does cause WinXP to see the new disk in the drive. However that doesn''t really work since rebooting in the middle of the software install means I have to start over with disk 1.> Have you upgraded any part of your host recently? Or of your Xen > installation?Updates are done whenever RH makes them available. Currently installed packages are: xen-devel-3.0.3-41.el5 kernel-xen-2.6.18-53.1.14.el5 kernel-xen-devel-2.6.18-53.1.13.el5 xen-3.0.3-41.el5 kernel-xen-devel-2.6.18-53.1.14.el5 xen-libs-3.0.3-41.el5 kernel-xen-2.6.18-53.1.13.el5> > Best, > > Tait > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of JustAnidiot> > > Sent: Wednesday, April 23, 2008 11:35 AM > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] WinXP CD-ROM problems > > On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge > <Tait.Clarridge@lavalife.com> 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 sinceI> did it and that''s how I installed Windows. Of course today alsoWinXP> 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > Anidiot > > Sent: Wednesday, April 23, 2008 11:07 AM > > To: xen-users@lists.xensource.com > > > > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > > <Tait.Clarridge@lavalife.com> 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 onewith> > phy:/dev...) WinXP doesn''t seem to know anything about thephysical> > one. > > > > What can I do? > > > > Thanks. > > > > > > > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf OfJust> > Anidiot > > > Sent: Wednesday, April 23, 2008 10:26 AM > > > To: xen-users@lists.xensource.com > > > 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 mainOS> so > > > I''m thinking this is just some weird Xen/WinXP problem. I''mnot> 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 newdisk> > 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@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The one for the physical drive seems to work. Now how can a make that command run automatically when I pop a CD into the drive? Thanks. On Wed, Apr 23, 2008 at 12:32 PM, Jason Solan <jsolan@jsolan.homelinux.com> wrote:> In order to change cd-roms, you need to detach/re-attach the device for > WinXP to re-read the drive. However I''ve noticed (at least in xen 3.1) > that you have attach a "dummy" drive before re-attaching the real drive. > > Here''s what i use from dom0: > /usr/sbin/xm block-configure <domU> file:/xen/foo.iso hdc:cdrom r > /usr/sbin/xm block-configure <domU> phy:/dev/cdrom hdc:cdrom r > > where hdc:cdrom is the drive in the hvm config. > > > > > On Wed, 2008-04-23 at 11:52 -0400, Just Anidiot wrote: > > On Wed, Apr 23, 2008 at 11:37 AM, Tait Clarridge > > <Tait.Clarridge@lavalife.com> wrote: > > > Ok, Have you tried shutting down the VM completely (not just a reboot) > > > and bringing it back up again? > > > > Rebooting does cause WinXP to see the new disk in the drive. However > > that doesn''t really work since rebooting in the middle of the software > > install means I have to start over with disk 1. > > > > > Have you upgraded any part of your host recently? Or of your Xen > > > installation? > > > > Updates are done whenever RH makes them available. > > > > Currently installed packages are: > > xen-devel-3.0.3-41.el5 > > kernel-xen-2.6.18-53.1.14.el5 > > kernel-xen-devel-2.6.18-53.1.13.el5 > > xen-3.0.3-41.el5 > > kernel-xen-devel-2.6.18-53.1.14.el5 > > xen-libs-3.0.3-41.el5 > > kernel-xen-2.6.18-53.1.13.el5 > > > > > > > > > > > > Best, > > > > > > Tait > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just Anidiot > > > > > > > > > Sent: Wednesday, April 23, 2008 11:35 AM > > > To: xen-users@lists.xensource.com > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > > > On Wed, Apr 23, 2008 at 11:23 AM, Tait Clarridge > > > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > > > Anidiot > > > > Sent: Wednesday, April 23, 2008 11:07 AM > > > > To: xen-users@lists.xensource.com > > > > > > > > > > > > Subject: Re: [Xen-users] WinXP CD-ROM problems > > > > > > > > On Wed, Apr 23, 2008 at 10:58 AM, Tait Clarridge > > > > <Tait.Clarridge@lavalife.com> 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@lists.xensource.com > > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Just > > > > Anidiot > > > > > Sent: Wednesday, April 23, 2008 10:26 AM > > > > > To: xen-users@lists.xensource.com > > > > > 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@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users