From samfw at redhat.com Thu Mar 1 00:01:18 2007 From: samfw at redhat.com (Sam Folk-Williams) Date: Wed, 28 Feb 2007 19:01:18 -0500 Subject: [Fedora-xen] Live Virtual Machine Migration with XEN in Fedora Core 6 In-Reply-To: <1726.128.213.28.108.1172689100.squirrel@webmail.cs.rpi.edu> References: <1726.128.213.28.108.1172689100.squirrel@webmail.cs.rpi.edu> Message-ID: <20070301000118.GC5984@unplugged.rdu.redhat.com> On 02/28/07 13:58 -0500 taoj2 at cs.rpi.edu wrote: > Hi, > > I wanna do some experiments of Live VM Migration with XEN in Fedora Core > 6. Is there anybody know whether the XEN in Fedora Core support live > migration or not? Thanks. > Yes - see this doc for starters: https://virt.108.redhat.com/articles/2007/01/15/xen-live-migration.pdf Sam > Regards, > Angel > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Sam Folk-Williams, RHCE Red Hat Global Support Services Phone: 919/754-4558 GPG ID: 1B0D46BA From Mats.Petersson at amd.com Thu Mar 1 09:57:43 2007 From: Mats.Petersson at amd.com (Petersson, Mats) Date: Thu, 1 Mar 2007 10:57:43 +0100 Subject: [Fedora-xen] RE: [Xen-users] Win Xp 64 bit install In-Reply-To: <45E60633.40705@cpsc.ucalgary.ca> Message-ID: <907625E08839C4409CE5768403633E0B018E19F1@sefsexmb1.amd.com> > -----Original Message----- > From: xen-users-bounces at lists.xensource.com > [mailto:xen-users-bounces at lists.xensource.com] On Behalf Of > Abhishek Gaurav > Sent: 28 February 2007 22:46 > To: Xen-users at lists.xensource.com; fedora-xen at redhat.com > Subject: [Xen-users] Win Xp 64 bit install > > Hi, > I am trying to install windows xp 64 bit (trial version) using > virt-install on a fc6 system. The installation seems to stall > when the > message in the vnc console says "Setup is starting windows". > > The xm dmesg shows: > > (XEN) (GUEST: 13) Booting from CD-Rom... > (XEN) (GUEST: 13) unsupported PCI BIOS function 0x0E > (XEN) (GUEST: 13) int13_harddisk: function 15, unmapped > device for ELDL=81 > (XEN) (GUEST: 13) *** int 15h function AX=E980, BX=00F2 not > yet supported! > (XEN) (GUEST: 13) *** int 15h function AX=EC00, BX=0002 not > yet supported! > (XEN) Trying to set reserved bit in EFER: 4d01 What version of Xen is this? ("xm info" should give version number at least). Setting FFXSR (0x4000) is probably not "permitted", which also gives me the indication that this is a AMD platform. Although, I guess setting that bit shouldn't actually cause a problem as such. It's much more likely that the problem is that you're using pre-3.0.4 version of Xen. Try 3.0.4-1. > > The last message "Trying to set ... " actually comes up just > before it > stalls. > > What might be causing this ? > > I have also tried to install an older Win Xp home sp1, which actually > goes past the above messages (without "trying to set ...") > but ends up > in the famous black screen upon first reboot. Probably same problem as above, try later version of Xen. The error message about setting FFXSR isn't going to happen on a 32-bit Widnows, as the 32-bit version of Windows doesn't use FXSAVE/FXRESTORE in kernel mode anyways (unless the code specifically asks - but that's relatively rare, so the saving by doing the "fast" version is minimal). -- Mats > > It'll be great to know what might be causing the above problems. > > Thanks, > Abhishek. > > _______________________________________________ > Xen-users mailing list > Xen-users at lists.xensource.com > http://lists.xensource.com/xen-users > > > From skipper at zinix.nl Thu Mar 1 13:16:10 2007 From: skipper at zinix.nl (Henk Altena) Date: Thu, 01 Mar 2007 14:16:10 +0100 Subject: [Fedora-xen] xen in fc6 In-Reply-To: <45E599F8.1050904@shazamteam.net> References: <45E599F8.1050904@shazamteam.net> Message-ID: <45E6D21A.8050701@zinix.nl> Adrian Revill wrote: > Hi Henk, > For the NFS problem, have you tried testing the nfs mount by mounting > it back on Dom0 > When i first set mine up i logged in as root on Dom0, created a dir > called testmnt then mounted the nfs on it. > In your case #mount 192.168.0.1:/fc_5 testmnt > You should then see all of the install tree under testmnt Yes its there > > The other thing, is look in /var/log/messages on Dom0, you should see > the mount attempt from your DomU Yes authorized attempt to mount > > I also run with no firewall, is yours on? is it blocking the mounts? Firewall is off. So I experimented further. I made the mistake to assign to the new virtual machine the SAME ip address as the ip address of my Domain-0 ! After correcting this the installation was ok. Best regards, Henk From sreeniva at cse.psu.edu Fri Mar 2 04:52:59 2007 From: sreeniva at cse.psu.edu (Yogesh Raju Sreenivasan) Date: Thu, 1 Mar 2007 23:52:59 -0500 Subject: [Fedora-xen] Fedora 2.6.19 xen kernel Message-ID: <6B816C69-E390-4958-ADCB-2EDE1C44C4B6@cse.psu.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I am having some problem in compiling the "kernel-xen- devel-2.6.19-1.2288.fc5.x86_64" kernel for FC5. It would be helpful if someone could help me out or point me to an appropriate resource online. I was able to install the same kernel version using yum installer, but I need to enable certain options in the kernel. So, I tried downloading the "devel" rpm, but I am not able to compile the kernel. "No rule to make target `init/main.o', needed by `init/built-in.o'" It would be even better, if someone could help me with getting xen patch for the 2.6.19 venilla kernel. - - Yogesh -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFF562rtwxrN9RHNvQRArXRAJ4zgzSeb4nn3wW+rzHXZOplFY+YjQCfQF6L oen2HmDLemqJfObspYXG1WQ= =tf7b -----END PGP SIGNATURE----- From gtm.kramer at inter.nl.net Fri Mar 2 10:07:13 2007 From: gtm.kramer at inter.nl.net (Jurgen Kramer) Date: Fri, 02 Mar 2007 11:07:13 +0100 Subject: [Fedora-xen] Re: Xeon Core 5130 couldn't support full-virtualization? In-Reply-To: References: Message-ID: <1172830033.3875.2.camel@paragon.slim> Hi, On Fri, 2007-03-02 at 14:42 +0800, Zhen Zhou wrote: > Hi, lists, > Now I dive the sea of xen, I took a Dell 2950 Server, install FC 6 i386 on it, > I refer some documents about Xen: > http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6 > So i checked as following: > 1. check Intel VM for host CPU, it works, it showed me: > flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm > constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm I think VMX is what you are looking for here. > 2. check hvm-??, then I have no luck. even I enable virtualization in BIOS. > > so how could I enable fully-virtualizied in this server? or should I > install x86_64 for it? If you are running 32-bit you should use the PAE kernel to be able to use the VMX feature (AFAIK). > Because this server CPU is Intel Xeon Core 5130 serial. > > Thanks a lot, > > Zhou Zhen Cheers, Jurgen From acathrow at redhat.com Fri Mar 2 13:52:51 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Fri, 02 Mar 2007 08:52:51 -0500 Subject: [Fedora-xen] Re: Xeon Core 5130 couldn't support full-virtualization? In-Reply-To: <1172830033.3875.2.camel@paragon.slim> References: <1172830033.3875.2.camel@paragon.slim> Message-ID: <1172843571.4902.28.camel@aic-laptop-5.cathrow.org> On Fri, 2007-03-02 at 11:07 +0100, Jurgen Kramer wrote: > Hi, > > On Fri, 2007-03-02 at 14:42 +0800, Zhen Zhou wrote: > > Hi, lists, > > Now I dive the sea of xen, I took a Dell 2950 Server, install FC 6 i386 on it, > > I refer some documents about Xen: > > http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6 > > So i checked as following: > > 1. check Intel VM for host CPU, it works, it showed me: > > flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca > > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm > > constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm > > I think VMX is what you are looking for here. Yep - you have vmx in the flags section of /proc/cpuinfo so you've got the right cpu. Running xm dmesg | grep VMX should confirm that Xen has picked up the support from the hardware. (Note some platforms have a flag to disabled this in the bios). > > > 2. check hvm-??, then I have no luck. even I enable virtualization in BIOS. > > > > so how could I enable fully-virtualizied in this server? or should I > > install x86_64 for it? > > If you are running 32-bit you should use the PAE kernel to be able to > use the VMX feature (AFAIK). All the FC6 xen (and RHEL5) kernels are PAE enabled. You should be running the xen kernel. As for 64bit or 32bit that's a longer discussion. One factor in your decision is how much memory you have. x86_64 handles large memory installations. > > > Because this server CPU is Intel Xeon Core 5130 serial. > > > > Thanks a lot, > > > > Zhou Zhen > > Cheers, > Jurgen > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrian.revill at shazamteam.net Fri Mar 2 15:11:39 2007 From: adrian.revill at shazamteam.net (Adrian Revill) Date: Fri, 02 Mar 2007 15:11:39 +0000 Subject: [Fedora-xen] Improved iscsi device naming Message-ID: <45E83EAB.7020208@shazamteam.net> Hi i found this great little mod for the open-iscsi target, makes it so much easier to move DomUs between systems. http://groups.google.com/group/open-iscsi/browse_thread/thread/137f7829083bd03c/072a779a9cb6aaff From zhouzhenzj at gmail.com Fri Mar 2 06:42:08 2007 From: zhouzhenzj at gmail.com (Zhen Zhou) Date: Fri, 2 Mar 2007 14:42:08 +0800 Subject: [Fedora-xen] Xeon Core 5130 couldn't support full-virtualization? Message-ID: Hi, lists, Now I dive the sea of xen, I took a Dell 2950 Server, install FC 6 i386 on it, I refer some documents about Xen: http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6 So i checked as following: 1. check Intel VM for host CPU, it works, it showed me: flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm 2. check hvm-??, then I have no luck. even I enable virtualization in BIOS. so how could I enable fully-virtualizied in this server? or should I install x86_64 for it? Because this server CPU is Intel Xeon Core 5130 serial. Thanks a lot, Zhou Zhen From zhouzhenzj at gmail.com Sat Mar 3 15:47:59 2007 From: zhouzhenzj at gmail.com (Zhen Zhou) Date: Sat, 3 Mar 2007 23:47:59 +0800 Subject: [Fedora-xen] Xeon Core 5130 couldn't support full-virtualization? In-Reply-To: <1172865382.26502.267.camel@prophead.corp.publichost.com> References: <1172865382.26502.267.camel@prophead.corp.publichost.com> Message-ID: On 3/3/07, Rick Stevens wrote: > On Fri, 2007-03-02 at 14:42 +0800, Zhen Zhou wrote: > > Hi, lists, > > Now I dive the sea of xen, I took a Dell 2950 Server, install FC 6 i386 on it, > > I refer some documents about Xen: > > http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6 > > So i checked as following: > > 1. check Intel VM for host CPU, it works, it showed me: > > flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca > > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm > > constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm > ^^^ > The "vmx" flag is the Intel virtualization flag. Middle of the third > line above (I marked it). > > > 2. check hvm-??, then I have no luck. even I enable virtualization in BIOS. > > Again, the flag is "vmx" for Intel, "svm" for AMD. > > > so how could I enable fully-virtualizied in this server? or should I > > install x86_64 for it? > > Because this server CPU is Intel Xeon Core 5130 serial. > > You should have the fully virtualized ability since you have the vmx > flag. > But when I want to check hypervisor capability set in this server: # cat /sys/hypervisor/properties/capabilities : nothing to me, so should I discare it? or the server couldn't support full virtualization capaility, even CPU is right one, is it? Thanks a lot, Zhou Zhen > ---------------------------------------------------------------------- > - Rick Stevens, Principal Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Silence! Or I shall replace you with a very small shell script! - > - - The Wizard of OS - > ---------------------------------------------------------------------- > > From berrange at redhat.com Sat Mar 3 18:31:38 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Sat, 3 Mar 2007 18:31:38 +0000 Subject: [Fedora-xen] Re: [Xen-users] virt-install error on every restart In-Reply-To: <16314edc0703022123t5182ef5u6cf24a970d64da33@mail.gmail.com> References: <16314edc0703022123t5182ef5u6cf24a970d64da33@mail.gmail.com> Message-ID: <20070303183138.GA1895@redhat.com> On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote: > Hi all > > I have installed fedorra dcore 6 xen. > [root at localhost ~]# uname -a > Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19 > EDT 2006 i686 i686 i386 GNU/Linux > > [root at localhost ~]# rpm -qa|grep xen > kernel-xen-2.6.18-1.2798.fc6 > xen-3.0.3-0.1.rc3 > xen-libs-3.0.3-0.1.rc3 > > [root at localhost ~]# rpm -qa|grep libvirt > libvirt-0.1.7-2 > libvirt-python-0.1.7-2 > > > virt-install works the first time i boot...but on restart it gives the > following error: > > [root at localhost ~]# virt-install > Traceback (most recent call last): > File "/usr/sbin/virt-install", line 396, in ? > main() > File "/usr/sbin/virt-install", line 329, in main > guest = virtinst.ParaVirtGuest() > File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line > 37, in __init__ > XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI) > File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 174, in > __i nit__ > self.conn = libvirt.open(hypervisorURI) > File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open > if ret is None:raise libvirtError('virConnectOpen() failed') > libvirt.libvirtError: virConnectOpen() failed > > I removed xen and reinstalled it with yum. Again it works the first time but > gives error on restart. So is XenD actually still running ? That error message indicates libvirt was unable to connect to XenD. What does the following say service xend status Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From ashokthapliyal at gmail.com Sun Mar 4 04:30:15 2007 From: ashokthapliyal at gmail.com (Ashok Thapliyal) Date: Sat, 3 Mar 2007 23:30:15 -0500 Subject: [Fedora-xen] Ashok has Tagged you! :) Message-ID: <200703040430.l244UFtk024123@mx1.redhat.com> An HTML attachment was scrubbed... URL: From Axel.Thimm at ATrpms.net Sun Mar 4 09:22:42 2007 From: Axel.Thimm at ATrpms.net (Axel Thimm) Date: Sun, 4 Mar 2007 10:22:42 +0100 Subject: [Fedora-xen] Re: initscripts, xen and bonding In-Reply-To: <20060420121536.GJ4113@neu.nirvana> References: <20060224231311.GP21359@neu.nirvana> <20060420121536.GJ4113@neu.nirvana> Message-ID: <20070304092242.GA8294@neu.nirvana> On Thu, Apr 20, 2006 at 02:15:36PM +0200, Axel Thimm wrote: > Hi, > > I'm retrying to get bonding and xen working with FC5: > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189473 It's been almost a year and no response to the bugzilla. There was a related bug on RHEL5, which was supposedly fixed in beta2. The core issue is that renaming the bond device will lose its slaves and they require re-enslaving in the xen scripts otherwise your network stops working at all. Can anyone confirm that bonding/xen really works on RHEL5? If so, can we have the fix also for FC6? > The summary is that > > o xend at boot time does not attach anything to xenbr, the network is > other than the added broken xenbr unaltered. So at least booting > into kernel-xen0 doesn't hook you off the wire anymore (as it was > with FC5t3) > > o after calling xend restart the bridge is almost properly set up, > only the slaves of the bond interface get lost in the process > > Anyone know how to fix/workaround these issues? > > Thanks! -- Axel.Thimm at ATrpms.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jeevanullas at gmail.com Sun Mar 4 14:45:58 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Sun, 4 Mar 2007 20:15:58 +0530 Subject: [Fedora-xen] Error creating domain in RHEL5 dom0_min_mem Message-ID: <57127b5f0703040645s3f83dce5i6f8b6a083ab823f8@mail.gmail.com> Hello, I am trying to install RHEL5 beta2 as a virtual machine in RHEL5 beta2. But all the time I get this error: Starting install... libvir: Xen Daemon error : GET operation failed: No such domain rhel5b2-pv1 libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating domain: I need 262144 KiB, but dom0_min_mem is 262144 and shrinking to 262144 KiB would leave only 235124 KiB free.') Failed to create domain rhel5b2-pv1 Traceback (most recent call last): File "/usr/sbin/virt-install", line 406, in ? main() File "/usr/sbin/virt-install", line 370, in main dom = guest.start_install(conscb) File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 202, in start_install return XenGuest.XenGuest.start_install(self, consolecb) File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355, in start_install self.domain = self.conn.createLinux(cxml, 0) File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed') libvirt.libvirtError: virDomainCreateLinux() failed Note that I have tried both GUI and command line but all the time the same error. Here is my grub.conf file: title Red Hat Enterprise Linux Client (2.6.18-1.2747.el5xen) root (hd0,5) kernel /boot/xen.gz-2.6.18-1.2747.el5 dom0_mem=256M module /boot/vmlinuz-2.6.18-1.2747.el5xen ro root=LABEL=/ rhgb quiet module /boot/initrd-2.6.18-1.2747.el5xen.img Note that I have only 512 MB RAM available. Please help. Regards Deependra Shekhawat -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Sun Mar 4 15:22:23 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Sun, 04 Mar 2007 10:22:23 -0500 Subject: [Fedora-xen] Error creating domain in RHEL5 dom0_min_mem In-Reply-To: <57127b5f0703040645s3f83dce5i6f8b6a083ab823f8@mail.gmail.com> References: <57127b5f0703040645s3f83dce5i6f8b6a083ab823f8@mail.gmail.com> Message-ID: <1173021743.5011.33.camel@aic-laptop-5.cathrow.org> So your dom0 is set to keep 256M (262144) of memory. For a RHEL/FC6 guest 256MB is really the base for the install to run in anaconda - you'll get mixed results with less, although after install you can safely drop it down. Are you saying that you have 512MB total available or 512 free after dom0 takes it's share? It looks like you're asking for 262144 kb (256MB) of memory for your guest is that right ? What does xm list show for dom0's memory - have you tried running xm mem-set in dom0 to reduce it's memory? On Sun, 2007-03-04 at 20:15 +0530, Deependra Shekhawat wrote: > Hello, > I am trying to install RHEL5 beta2 as a virtual machine in RHEL5 > beta2. But all the time I get this error: > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain > rhel5b2-pv1 > libvir: Xen Daemon error : POST operation failed: (xend.err 'Error > creating domain: I need 262144 KiB, but dom0_min_mem is 262144 and > shrinking to 262144 KiB would leave only 235124 KiB free.') > Failed to create domain rhel5b2-pv1 > Traceback (most recent call last): > File "/usr/sbin/virt-install", line 406, in ? > main() > File "/usr/sbin/virt-install", line 370, in main > dom = guest.start_install(conscb) > File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", > line 202, in start_install > return XenGuest.XenGuest.start_install(self, consolecb) > File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line > 355, in start_install > self.domain = self.conn.createLinux(cxml, 0) > File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in > createLinux > if ret is None:raise libvirtError('virDomainCreateLinux() > failed') > libvirt.libvirtError: virDomainCreateLinux() failed > > Note that I have tried both GUI and command line but all the time the > same error. > Here is my grub.conf file: > title Red Hat Enterprise Linux Client (2.6.18-1.2747.el5xen ) > root (hd0,5) > kernel /boot/xen.gz-2.6.18-1.2747.el5 dom0_mem=256M > module /boot/vmlinuz-2.6.18-1.2747.el5xen ro root=LABEL=/ rhgb > quiet > module /boot/initrd-2.6.18-1.2747.el5xen.img > > Note that I have only 512 MB RAM available. > Please help. > > Regards > Deependra Shekhawat > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeevanullas at gmail.com Sun Mar 4 17:54:30 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Sun, 4 Mar 2007 23:24:30 +0530 Subject: [Fedora-xen] Error creating domain in RHEL5 dom0_min_mem In-Reply-To: <1173021743.5011.33.camel@aic-laptop-5.cathrow.org> References: <57127b5f0703040645s3f83dce5i6f8b6a083ab823f8@mail.gmail.com> <1173021743.5011.33.camel@aic-laptop-5.cathrow.org> Message-ID: <57127b5f0703040954n1bd163a3j33db2b9227b0d2@mail.gmail.com> Okay. I got rid of that error. I opened /etc/xen/xend-config.sxp and edited the dom0-min-men to 220. But now I have some new errors: Starting install... libvir: Xen Daemon error : GET operation failed: No such domain rhel5b2-pv1 libvir: Xen Daemon error : POST operation failed: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.') Failed to get devices for domain rhel5b2-pv1 Traceback (most recent call last): File "/usr/sbin/virt-install", line 406, in ? main() File "/usr/sbin/virt-install", line 370, in main dom = guest.start_install(conscb) File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 202, in start_install return XenGuest.XenGuest.start_install(self, consolecb) File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355, in start_install self.domain = self.conn.createLinux(cxml, 0) File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed') libvirt.libvirtError: virDomainCreateLinux() failed And I have total physical RAM of 512M of which I gave 256M to dom0 and rest of all I want to give to my dom1. Please help with the above error. I found that it has been under bugzilla at redhat. But maybe now there exists some solution to this. Regards On 3/4/07, Andrew Cathrow wrote: > > So your dom0 is set to keep 256M (262144) of memory. > For a RHEL/FC6 guest 256MB is really the base for the install to run in > anaconda - you'll get mixed results with less, although after install you > can safely drop it down. > Are you saying that you have 512MB total available or 512 free after dom0 > takes it's share? > It looks like you're asking for 262144 kb (256MB) of memory for your guest > is that right ? > > What does xm list show for dom0's memory - have you tried running xm > mem-set in dom0 to reduce it's memory? > > > > > On Sun, 2007-03-04 at 20:15 +0530, Deependra Shekhawat wrote: > > Hello, > I am trying to install RHEL5 beta2 as a virtual machine in RHEL5 beta2. > But all the time I get this error: > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain > rhel5b2-pv1 > libvir: Xen Daemon error : POST operation failed: (xend.err 'Error > creating domain: I need 262144 KiB, but dom0_min_mem is 262144 and shrinking > to 262144 KiB would leave only 235124 KiB free.') > Failed to create domain rhel5b2-pv1 > Traceback (most recent call last): > File "/usr/sbin/virt-install", line 406, in ? > main() > File "/usr/sbin/virt-install", line 370, in main > dom = guest.start_install(conscb) > File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line > 202, in start_install > return XenGuest.XenGuest.start_install(self, consolecb) > File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355, > in start_install > self.domain = self.conn.createLinux(cxml, 0) > File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in > createLinux > if ret is None:raise libvirtError('virDomainCreateLinux() failed') > libvirt.libvirtError: virDomainCreateLinux() failed > > Note that I have tried both GUI and command line but all the time the same > error. > Here is my grub.conf file: > title Red Hat Enterprise Linux Client (2.6.18-1.2747.el5xen ) > root (hd0,5) > kernel /boot/xen.gz-2.6.18-1.2747.el5 dom0_mem=256M > module /boot/vmlinuz-2.6.18-1.2747.el5xen ro root=LABEL=/ rhgb > quiet > module /boot/initrd-2.6.18-1.2747.el5xen.img > > Note that I have only 512 MB RAM available. > Please help. > > Regards > Deependra Shekhawat > > > --Fedora-xen mailing listFedora-xen at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen > > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > > acathrow at redhat.com > > -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwarsow at online.de Sun Mar 4 18:40:44 2007 From: rwarsow at online.de (Ronald Warsow) Date: Sun, 04 Mar 2007 19:40:44 +0100 Subject: [Fedora-xen] Error creating domain in RHEL5 dom0_min_mem Message-ID: <45EB12AC.4030708@online.de> hallo i have had that problem also. my system is equipped with only 512 MB RAM, but i got it fixed: under /etc/xen look in the file *xen-config.sxp* at line 124 you see (domain-min-mem 256) i adjusted it to 128 and booted *without* the bootparameter dom0_mem=... my script, to save some keying: #!/bin/bash virt-install -n xen1 -r 256 --vcpus=1 -f ./xen.img -s 3.5 --nographics -p -d -l "http://sunsite.mff.cuni.cz/pub/fedora/test/6.91/Prime/i386/os/" adjust it to your needs: see virt-install --help as far i can remember: this script will ask for the mirror anyway. 'don't know why. minor problem ! -- ronald From markmc at redhat.com Mon Mar 5 07:43:34 2007 From: markmc at redhat.com (Mark McLoughlin) Date: Mon, 05 Mar 2007 07:43:34 +0000 Subject: [Fedora-xen] Re: [Xen-users] virt-install error on every restart In-Reply-To: <20070303183138.GA1895@redhat.com> References: <16314edc0703022123t5182ef5u6cf24a970d64da33@mail.gmail.com> <20070303183138.GA1895@redhat.com> Message-ID: <1173080614.4672.42.camel@blaa> On Sat, 2007-03-03 at 18:31 +0000, Daniel P. Berrange wrote: > On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote: > > libvirt.libvirtError: virConnectOpen() failed > > > > I removed xen and reinstalled it with yum. Again it works the first time but > > gives error on restart. > > So is XenD actually still running ? That error message indicates libvirt > was unable to connect to XenD. What does the following say > > service xend status Also, any SELinux errors reported in audit.log? (In rawhide recently, xend was starting up fine, but failing create xend-socket because of an SELiunx error) Cheers, Mark. From suyashjape at gmail.com Mon Mar 5 03:55:22 2007 From: suyashjape at gmail.com (suyash jape) Date: Mon, 5 Mar 2007 09:25:22 +0530 Subject: [Fedora-xen] performance and resource monitoring and statistics Message-ID: <16314edc0703041955m6bc47630x63893e34a8abb10e@mail.gmail.com> Hi, I am planning to monitor performance metrics of Dom0 and DomUs (CPU ,Memory,Disk I/O ,Netowrk I/O) .....and define benmchmarks/thresholds to allocate resources accoring to the performance metrics.I am using xm top and Xenmon to collect these metrics. 1)Any suggestions as to how i should go about defing these metrics.? The metrics given out by Xenmon are a bit unclear.Could anyone give some link which describes these parameters. 2)And are there performance thresholds defined for virtualized enviroment like Xen. Any updates on the follwoing post would be helpful. Thanks.......... Henning Sprang wrote: > Hi, > Apart from normal service availability and quality monitoring and > measuring of ressources on a system as it would be done for any normal > machine, I think about additionally monitoring Xen-specific data and > creating one/some Nagios plugins for this. > > So one idea is that I want to know when cpu, net and disk I/O on a Xen > host are saturated, which could, depending on specific needs and > SLA's, make it necessary to add ressources to the host or migrate VM's > to other hosts on which these ressources aren't saturatd yet, or > aother measures. > > While, as far as I understand it, CPU scheduling and traffic shaping > are highly useful to set rules to allocate a given share of the > available ressources to specific vm's, and set minimal and maximal > amounts of these shares, in some cases it might be desirable to get > more information, and be warned. > > As a result of this, I started to analyze (with a nagios plugin) > different sources of xen runtime data, beginning with the output of > xentop -b -i 2, and will mgo on to look deeper into libxenstats, > XenMon and xenoprof(of which I am not yet sure if it's good for > analyzing production runtime data, or if it's more the kind of > profiling one does in non-production environments). > Getting CPU share and seeing when the CPU is fully loaded is no great > deal. > Getting useful information of net and disk I/O saturation requires a > lot of math and measuring (what's the maximum possible net/disk I/O on > that machine, under the given configuration? ) - they both are > depending on overall hardware, cpu scheduling and a lot of other > factors - I am really not sure if this is worth the trouble. > > I am at the same time working on implementations and looking at > information and publications on that topic, like multiple papers on > XenMon available, and so on. > > Did anybody else think about this, or anybody has comments if this is > the right direction to think or better/concrete data to collect and > look at? > > Henning > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andrey.Avramenko at R-Style.com Mon Mar 5 11:31:41 2007 From: Andrey.Avramenko at R-Style.com (=?koi8-r?B?4dfSwc3FzsvPIOHOxNLFyg==?=) Date: Mon, 5 Mar 2007 14:31:41 +0300 Subject: [Fedora-xen] Broadcast/multicast in guest domains Message-ID: <20070305113027.E126419FA4D@microgravity.r-style.com> An HTML attachment was scrubbed... URL: From bst at mobilethink.dk Mon Mar 5 11:45:20 2007 From: bst at mobilethink.dk (Bertho Stultiens) Date: Mon, 05 Mar 2007 12:45:20 +0100 Subject: [Fedora-xen] Broadcast/multicast in guest domains In-Reply-To: <20070305113027.E126419FA4D@microgravity.r-style.com> References: <20070305113027.E126419FA4D@microgravity.r-style.com> Message-ID: <45EC02D0.3030300@mobilethink.dk> ????????? ?????? wrote: > Could you please explain me how can I implement broadcast/multicast > between guest domains? For broadcast to work, you need to have all interfaces in the same broadcast domain (i.e. there must be L2 connectivity between the interfaces of the guests). That means that all guest interfaces must be bridged together. This is the default afaik. For multicast to work, you can choose two options: 1 - have the same condition as for broadcast; 2 - you need to set the TTL of the multicast packets higher than 1 so that you can span a router and the router must be configured to forward multicast. For a local system, option 1 is by far the easiest to establish. -- Greetings Bertho From Andrey.Avramenko at R-Style.com Mon Mar 5 12:00:05 2007 From: Andrey.Avramenko at R-Style.com (=?koi8-r?B?4dfSwc3FzsvPIOHOxNLFyg==?=) Date: Mon, 5 Mar 2007 15:00:05 +0300 Subject: HA: [Fedora-xen] Broadcast/multicast in guest domains References: <20070305113027.E126419FA4D@microgravity.r-style.com> <45EC02D0.3030300@mobilethink.dk> Message-ID: <20070305115851.EFC4E19FC1E@microgravity.r-style.com> An HTML attachment was scrubbed... URL: From bst at mobilethink.dk Mon Mar 5 13:43:50 2007 From: bst at mobilethink.dk (Bertho Stultiens) Date: Mon, 05 Mar 2007 14:43:50 +0100 Subject: HA: [Fedora-xen] Broadcast/multicast in guest domains In-Reply-To: <20070305115851.EFC4E19FC1E@microgravity.r-style.com> References: <20070305113027.E126419FA4D@microgravity.r-style.com> <45EC02D0.3030300@mobilethink.dk> <20070305115851.EFC4E19FC1E@microgravity.r-style.com> Message-ID: <45EC1E96.1060005@mobilethink.dk> ????????? ?????? wrote: > The server hasn't connection to external net. The dom0 has dhcp server > running and has static ip: 192.168.168.1. > Guest domains get ipaddrs 192.168.168.252 and 192.168.168.251 via dhcp. > While I'm pinging "ping -b 192.168.168.255" from any domain - no answer. > Firewall is stoped. Pinging to the broadcast address does not necessarily mean that you get an answer. That is entirely dependent on the setting of /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts (which is default set to 1 nowadays). If you have a dhcp server running in dom0 and get IP addresses in domU, then you have L2 connectivity from domU to dom0, or you would not be able to run the dhcp server (which is based on reception of broadcast at L2). Also, both domU guests get an address in the same network (I assume a /24 here), which constitutes the same broadcast domain. That means that there *must* be L2 connectivity between the domUs. This is by definition of how the network is supposed to be set up. -- Greetings Bertho Bertho Stultiens Senior Systems Manager Mobilethink A/S From Andrey.Avramenko at R-Style.com Mon Mar 5 14:12:09 2007 From: Andrey.Avramenko at R-Style.com (=?koi8-r?B?4dfSwc3FzsvPIOHOxNLFyg==?=) Date: Mon, 5 Mar 2007 17:12:09 +0300 Subject: [Fedora-xen] Re: Broadcast/multicast in guest domains References: <20070305113027.E126419FA4D@microgravity.r-style.com> <45EC02D0.3030300@mobilethink.dk> <20070305115851.EFC4E19FC1E@microgravity.r-style.com> <45EC1E96.1060005@mobilethink.dk> Message-ID: <20070305141135.3D83D19FA94@microgravity.r-style.com> An HTML attachment was scrubbed... URL: From jeevanullas at gmail.com Mon Mar 5 02:26:21 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Mon, 5 Mar 2007 07:56:21 +0530 Subject: [Fedora-xen] Error creating domain in RHEL5 dom0_min_mem In-Reply-To: <45EB12AC.4030708@online.de> References: <45EB12AC.4030708@online.de> Message-ID: <57127b5f0703041826w90f8d8euc5c0524cb528ff2f@mail.gmail.com> Okay. I got the last error about *hotplug scripts not working* fixed. What I figured out was that whenever I tried to create a new VM using virt-install the network device it was looking was xenbr0 which was not present at that time. The reason for that was I was using eth1 (for my wireless) and at that time xenbr1 was present. I don't know why virt-install always try to use xenbr0 when it should use the one which is available that is xenbr1 in this case. Well I disabled my wireless and used my ethernet (eth0) and rebooted. It started out. Now I am having a problem while installing the domU. It hangs during the installation process where it says "Starting install process. This may take several minutes to start" (this comes when I am finished up with all my stuff). I don't know the reason why it is coming. Is it because I am using a nfs source. nfs:192.168.2.31:/dvd/actual. Also note here that I have mounted my RHEL5-Client dvd on /dvd/actual. Well I have tried both ways GUI and console and all the time it hangs during this process. I don't think it's a problem of my nfs otherwise it would have not reached till here. If there is a solution to the above problem it's really appreicated. Otherwise if someone can tell me how do I boot from iso image using virt-install it will also be helpful. Looking forward for a quick reply. Regards On 3/5/07, Ronald Warsow wrote: > > hallo > > i have had that problem also. > my system is equipped with only 512 MB RAM, but i got it fixed: > > under /etc/xen look in the file *xen-config.sxp* > at line 124 you see (domain-min-mem 256) > > i adjusted it to 128 and booted *without* the bootparameter dom0_mem=... > > my script, to save some keying: > > #!/bin/bash > > virt-install -n xen1 -r 256 --vcpus=1 -f ./xen.img -s 3.5 --nographics > -p -d -l "http://sunsite.mff.cuni.cz/pub/fedora/test/6.91/Prime/i386/os/" > > > adjust it to your needs: see virt-install --help > > as far i can remember: this script will ask for the mirror anyway. > 'don't know why. > minor problem ! > > -- > ronald > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From suyashjape at gmail.com Sat Mar 3 05:23:32 2007 From: suyashjape at gmail.com (suyash jape) Date: Sat, 3 Mar 2007 10:53:32 +0530 Subject: [Fedora-xen] virt-install error on every restart Message-ID: <16314edc0703022123t5182ef5u6cf24a970d64da33@mail.gmail.com> Hi all I have installed fedorra dcore 6 xen. [root at localhost ~]# uname -a Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19 EDT 2006 i686 i686 i386 GNU/Linux [root at localhost ~]# rpm -qa|grep xen kernel-xen-2.6.18-1.2798.fc6 xen-3.0.3-0.1.rc3 xen-libs-3.0.3-0.1.rc3 [root at localhost ~]# rpm -qa|grep libvirt libvirt-0.1.7-2 libvirt-python-0.1.7-2 virt-install works the first time i boot...but on restart it gives the following error: [root at localhost ~]# virt-install Traceback (most recent call last): File "/usr/sbin/virt-install", line 396, in ? main() File "/usr/sbin/virt-install", line 329, in main guest = virtinst.ParaVirtGuest() File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 37, in __init__ XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI) File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 174, in __i nit__ self.conn = libvirt.open(hypervisorURI) File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirt.libvirtError: virConnectOpen() failed I removed xen and reinstalled it with yum. Again it works the first time but gives error on restart. Any ideas as to what may be the problem? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From suyashjape at gmail.com Sun Mar 4 05:06:37 2007 From: suyashjape at gmail.com (suyash jape) Date: Sun, 4 Mar 2007 10:36:37 +0530 Subject: [Fedora-xen] Fwd: [Xen-users] virt-install error on every restart In-Reply-To: <16314edc0703031058s3f2b0242g4fb98e77040adae9@mail.gmail.com> References: <16314edc0703022123t5182ef5u6cf24a970d64da33@mail.gmail.com> <20070303183138.GA1895@redhat.com> <16314edc0703031058s3f2b0242g4fb98e77040adae9@mail.gmail.com> Message-ID: <16314edc0703032106q7577bf22pfb9bd2e5899fe9@mail.gmail.com> Hi Mr Berrange, XenD is running fine. I am also able to boot up domains i had installed before virt-install started giving this error. These are the domains i had installed with that virt-install itself ! All the other xm commands are also running fine.( xm list, xm create ,xm top and so on). Only virt-install/xenguest-install seems to have stopped working after restart ! I even updated xen and libvirt with yum. yum update libvirt. yum update xen. But even this new combination behaves the same way on restart. Thanks....... On 3/4/07, Daniel P. Berrange wrote: > > On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote: > > Hi all > > > > I have installed fedorra dcore 6 xen. > > [root at localhost ~]# uname -a > > Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 > 15:11:19 > > EDT 2006 i686 i686 i386 GNU/Linux > > > > [root at localhost ~]# rpm -qa|grep xen > > kernel-xen-2.6.18-1.2798.fc6 > > xen-3.0.3-0.1.rc3 > > xen-libs-3.0.3-0.1.rc3 > > > > [root at localhost ~]# rpm -qa|grep libvirt > > libvirt-0.1.7-2 > > libvirt-python-0.1.7-2 > > > > > > virt-install works the first time i boot...but on restart it gives the > > following error: > > > > [root at localhost ~]# virt-install > > Traceback (most recent call last): > > File "/usr/sbin/virt-install", line 396, in ? > > main() > > File "/usr/sbin/virt-install", line 329, in main > > guest = virtinst.ParaVirtGuest() > > File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line > > 37, in __init__ > > XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI) > > File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 174, > in > > __i nit__ > > self.conn = libvirt.open(hypervisorURI) > > File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open > > if ret is None:raise libvirtError('virConnectOpen() failed') > > libvirt.libvirtError: virConnectOpen() failed > > > > I removed xen and reinstalled it with yum. Again it works the first time > but > > gives error on restart. > > So is XenD actually still running ? That error message indicates libvirt > was unable to connect to XenD. What does the following say > > service xend status > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 > -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taoj2 at cs.rpi.edu Mon Mar 5 20:16:20 2007 From: taoj2 at cs.rpi.edu (taoj2 at cs.rpi.edu) Date: Mon, 5 Mar 2007 15:16:20 -0500 (EST) Subject: [Fedora-xen] Problem about creating virtual machine in FC6 Message-ID: <35565.128.213.11.196.1173125780.squirrel@webmail.cs.rpi.edu> Hi, I installed FC6 and I was trying to create a new virtual machine with the virtual machine manager. I selected to use FC6 again as the guesting OS of the new virtual machine. Everytime after I finishing install of the guest OS, It gave me a prompt to reboot the guest system. But After I click the "reboot" button, the vitual machine gone. It's weird. I think the reboot shouldn't make the guest OS crash. I use the /var/lib/xen/images/box1 as the storage space of the guest OS. I found that the file box1 is still there. So I was trying to use the "restore saved machine" of virtual machine manager to reload it, However it said that "Error restoring domain '/var/lib/xen/images/box1'. Is the domain already running?" SO I use the "xm list" to show all domains, only domain0 is there. Anybody knows how to fix the above problem? Why did the newly created virtual machine disappeared whenever I rebooted it? How to make it won't disapper? Or how to load it into system again? Regards, Angel From markryde at gmail.com Mon Mar 5 09:36:26 2007 From: markryde at gmail.com (Mark Ryden) Date: Mon, 5 Mar 2007 11:36:26 +0200 Subject: [Fedora-xen] When starting a Xen Domain U - import grub.fsys gives "ImportError: No module named fsys" Message-ID: Hello, I had installed a domain called XenGuest (Fedora Core 6) on i386 machine with the gnome virtual manager applet. After installation finished succesfully and running : xm create -c /etc/xen/XenGuest I get the following error: Using config file "/etc/xen/XenGuest". Traceback (most recent call last): File "/usr/bin/pygrub", line 26, in ? import grub.fsys ImportError: No module named fsys Is some python module is missing ? "rpm -q python" returns: python-2.4.4-1.fc6 My machine is FC6 on i386. "uname -a" returns: Linux myhost 2.6.19-1.2911.6.4.fc6xen #1 SMP Sat Feb 24 14:57:17 EST 2007 i686 i686 i386 GNU/Linux Any ideas? Mark From John.Sanabria at ece.uprm.edu Mon Mar 5 20:39:24 2007 From: John.Sanabria at ece.uprm.edu (John Sanabria) Date: Mon, 5 Mar 2007 16:39:24 -0400 (AST) Subject: [Fedora-xen] physical memory is reduced :-( Message-ID: <46837.136.145.116.114.1173127164.squirrel@ece.uprm.edu> Hi, i had installed the last updates for FC6 in a machine with 1 Giga of RAM. The machine's ip is 136.145.116.88. ------------------------------------------------------ [root at dhcp-crl-116-88 ~]# free total used free shared buffers cached Mem: 962032 281512 680520 0 16116 191412 -/+ buffers/cache: 73984 888048 Swap: 2031608 0 2031608 [root at dhcp-crl-116-88 ~]# uname -a Linux dhcp-crl-116-88.ece.uprm.edu 2.6.19-1.2911.6.4.fc6xen #1 SMP Sat Feb 24 14:57:17 EST 2007 i686 i686 i386 GNU/Linux ------------------------------------------------------ now, i execute a "xm create xentemplate_6 -c", and voila! i lost approx 250 Mbytes of PHYSICAL RAM, :-( ------------------------------------------------------ [root at dhcp-crl-116-88 ~]# free total used free shared buffers cached Mem: -> 764928 <- 375796 389132 0 17536 281980 -/+ buffers/cache: 76280 688648 Swap: 2031608 0 2031608 ------------------------------------------------------ then, shutdown the virtual machine, and i did not get back the lost 250 Mbytes of RAM. anybody knows how to get back my physical memory after to shutdown the virtual machine? is that behavior a bug? if i run two virtual machines, my physical memory is reduced until 512 MB of Physical RAM. At this time, the only way to get 1Gbyte of RAM is rebooting the machine :-(. Thanks a lot for your suggestions. http://ece.uprm.edu/~s047267 http://del.icio.us/josanabr http://blog-grid.blogspot.com From jeevanullas at gmail.com Mon Mar 5 11:34:55 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Mon, 5 Mar 2007 17:04:55 +0530 Subject: [Fedora-xen] Error creating domain in RHEL5 dom0_min_mem In-Reply-To: <57127b5f0703041826w90f8d8euc5c0524cb528ff2f@mail.gmail.com> References: <45EB12AC.4030708@online.de> <57127b5f0703041826w90f8d8euc5c0524cb528ff2f@mail.gmail.com> Message-ID: <57127b5f0703050334h6979eca0u7cfea1f12db3be32@mail.gmail.com> Well this time I configured a HTTP install source and it worked. Wow! Xen is cool. But why doesn't my NFS install hangs and doesn't works. I was not able to use it in VMware too. I guess problem with NFS somewhere. I am enjoying Xen right now. I have installed RHEL5-Beta2 till now using Xen and now going to install Windows 2000. On 3/5/07, Deependra Shekhawat wrote: > > Okay. I got the last error about *hotplug scripts not working* fixed. What > I figured out was that whenever I tried to create a new VM using > virt-install the network device it was looking was xenbr0 which was not > present at that time. The reason for that was I was using eth1 (for my > wireless) and at that time xenbr1 was present. I don't know why virt-install > always try to use xenbr0 when it should use the one which is available that > is xenbr1 in this case. Well I disabled my wireless and used my ethernet > (eth0) and rebooted. It started out. > Now I am having a problem while installing the domU. It hangs during the > installation process where it says > "Starting install process. This may take several minutes to start" (this > comes when I am finished up with all my stuff). > I don't know the reason why it is coming. Is it because I am using a nfs > source. nfs:192.168.2.31:/dvd/actual. Also note here that I have mounted > my RHEL5-Client dvd on /dvd/actual. Well I have tried both ways GUI and > console and all the time it hangs during this process. I don't think it's a > problem of my nfs otherwise it would have not reached till here. > If there is a solution to the above problem it's really appreicated. > Otherwise if someone can tell me how do I boot from iso image using > virt-install it will also be helpful. > > Looking forward for a quick reply. > > Regards > > On 3/5/07, Ronald Warsow wrote: > > > > hallo > > > > i have had that problem also. > > my system is equipped with only 512 MB RAM, but i got it fixed: > > > > under /etc/xen look in the file *xen-config.sxp* > > at line 124 you see (domain-min-mem 256) > > > > i adjusted it to 128 and booted *without* the bootparameter dom0_mem=... > > > > > > my script, to save some keying: > > > > #!/bin/bash > > > > virt-install -n xen1 -r 256 --vcpus=1 -f ./xen.img -s 3.5 --nographics > > -p -d -l "http://sunsite.mff.cuni.cz/pub/fedora/test/6.91/Prime/i386/os/ > > " > > > > > > adjust it to your needs: see virt-install --help > > > > as far i can remember: this script will ask for the mirror anyway. > > 'don't know why. > > minor problem ! > > > > -- > > ronald > > > > -- > > Fedora-xen mailing list > > Fedora-xen at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-xen > > > > > > -- > Enjoy Life ! -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Tue Mar 6 00:41:13 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Mon, 05 Mar 2007 19:41:13 -0500 Subject: [Fedora-xen] physical memory is reduced :-( In-Reply-To: <46837.136.145.116.114.1173127164.squirrel@ece.uprm.edu> References: <46837.136.145.116.114.1173127164.squirrel@ece.uprm.edu> Message-ID: <1173141673.4326.44.camel@aic-laptop-5.cathrow.org> run "xm list" and you see memory allocations to each domain. If you run "xm mem-set " you should be able to allocate that memory to domain 0 (if it needs it) xm mem-set 0 512 Would allocate 512MB to domain 0. On Mon, 2007-03-05 at 16:39 -0400, John Sanabria wrote: > Hi, > > i had installed the last updates for FC6 in a machine with 1 Giga of RAM. > The machine's ip is 136.145.116.88. > > ------------------------------------------------------ > [root at dhcp-crl-116-88 ~]# free > total used free shared buffers cached > Mem: 962032 281512 680520 0 16116 191412 > -/+ buffers/cache: 73984 888048 > Swap: 2031608 0 2031608 > [root at dhcp-crl-116-88 ~]# uname -a > Linux dhcp-crl-116-88.ece.uprm.edu 2.6.19-1.2911.6.4.fc6xen #1 SMP Sat Feb > 24 14:57:17 EST 2007 i686 i686 i386 GNU/Linux > ------------------------------------------------------ > > now, i execute a "xm create xentemplate_6 -c", and voila! i lost approx > 250 Mbytes of PHYSICAL RAM, :-( > ------------------------------------------------------ > [root at dhcp-crl-116-88 ~]# free > total used free shared buffers cached > Mem: -> 764928 <- 375796 389132 0 17536 281980 > -/+ buffers/cache: 76280 688648 > Swap: 2031608 0 2031608 > ------------------------------------------------------ > > then, shutdown the virtual machine, and i did not get back the lost 250 > Mbytes of RAM. > anybody knows how to get back my physical memory after to shutdown the > virtual machine? is that behavior a bug? > > if i run two virtual machines, my physical memory is reduced until 512 MB > of Physical RAM. At this time, the only way to get 1Gbyte of RAM is > rebooting the machine :-(. > > Thanks a lot for your suggestions. > > http://ece.uprm.edu/~s047267 > http://del.icio.us/josanabr > http://blog-grid.blogspot.com > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From xcheney at allette.com.au Tue Mar 6 05:20:02 2007 From: xcheney at allette.com.au (Xin Chen) Date: Tue, 06 Mar 2007 16:20:02 +1100 Subject: [Fedora-xen] install guest fc6, stop copying files Message-ID: <45ECFA02.6090105@allette.com.au> Hi all, I got a problem here: I installed Fodera 6 with Xen 3 as domain 0. Then I was trying to install a guest system which is also Fodera 6, I use vir-install and text installation, step by step, everything is good until ready to copy files, it stopped! I check /var/log/xen/ *.log , nothing there. did anyone have the same problem? please help. thanks in advance! xin From berrange at redhat.com Tue Mar 6 14:57:07 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Tue, 6 Mar 2007 14:57:07 +0000 Subject: [Fedora-xen] Re: virt-manager andd CD isos In-Reply-To: <1173176531.2975.8.camel@hepntw292.pp.rl.ac.uk> References: <1173176531.2975.8.camel@hepntw292.pp.rl.ac.uk> Message-ID: <20070306145707.GA29872@redhat.com> On Tue, Mar 06, 2007 at 10:22:11AM +0000, William John Murray wrote: > Hello there, > I am trying to install Scientific Linux as a virtual system > under FC7-T2. There are only multi-CD isos and if I try to install > from the (RAM) versions of those the installation proceeds to the > end of the first CD, but then asks for the second one. > Does anyone know how I can give it the 2nd? There is no good way to do this because Xen does not provide any formal API for virt-manager to call to do a CDROM media change :-( There is a really *horrible* hack you can use to trigger a media change by writing into a special part of the xen virtual filesystem (aka xenstore) however I won't recommend this unless you're brave. Assuming you are brave, it goes something like this... Figure out what virtual device backend number is associated with the CDROM device in that particular guest. To do this run the tool xenstore-ls /local/domain/0/backend/vbd There will be many entries here, 1 per guest, per virtual disk. You need to find the number associated with the (guest, device) tuple you want to change. In this example I'm only running a single guest, with 2 disks so it is reasonably simple - i see: # xenstore-ls /local/domain/0/backend/vbd 17 = "" 768 = "" domain = "rhel4x86_64" frontend = "/local/domain/17/device/vbd/768" uuid = "f84acd8a-d236-c279-e502-e8823767f007" dev = "hda" state = "2" params = "/var/lib/xen/images/rhel4x86_64.img" mode = "w" online = "1" frontend-id = "17" type = "file" node = "/dev/loop1" physical-device = "7:1" hotplug-status = "connected" 5632 = "" domain = "rhel4x86_64" frontend = "/local/domain/17/device/vbd/5632" uuid = "fbed1ba7-7f82-3466-0a14-4bb7d82bd578" dev = "hdc" state = "2" params = "/var/lib/xen/images/disk1.iso" mode = "r" online = "1" frontend-id = "17" type = "file" node = "/dev/loop0" physical-device = "7:0" hotplug-status = "connected" And so in this example, the VBD backend number corresponding to my guest 'rhel4x86_64' and the 'hdc' device is '5632'. Now before continuing make absolutely 100% sure the guest OS has unmounted the CDROM device, or bad stuff will happen. Now we need to update the 'params' field to specify a new filename for this VDB. This can be done with xenstore-write xenstore-write /local/domain/0/backend/vbd/5632/params /var/lib/xen/images/disk2.iso Wait a few seconds and QEMU should notice that the 'params' field was updated and thus attempt a media change in the virtual CDROM - if the guest OS was still accessing the CDROM device this will likely fail. Be very careful not to overwrite the wrong VDB device, and don't change any of the other fields even if you think you want to. In addition this *only* works for fullyvirtualized guests with CDROM devices. It is not possible to change regular harddisk media, or to change paravirt devices with this technique. There is near zero error reporting or checking, so if this doesn't work you get to keep both halves - or more likely you don't get to keep either half :-) BTW, any Xen related questions for Fedora can also be sent to the fedora-xen mailing lists where there's a large community of knowledge Xen folks to help out. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From ianbrn at gmail.com Tue Mar 6 19:37:50 2007 From: ianbrn at gmail.com (Ian Brown) Date: Tue, 6 Mar 2007 21:37:50 +0200 Subject: [Fedora-xen] virtual manager gives the following error: "Unable to retrieve http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/images/srtage.img" Message-ID: Hello, I have X86_64 on which I try to use the virtual manager to create domain U. I get this error: "Unable to retrieve http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/images/stage2.img" But the path is correct! What can the problem be ? In sniffer I see: DNS Standard Query A download.fedora.redhat.com/pub/... and then: DNS: Standard Query Response ,Server failure. I tried this also when iptables are down and got the same error (also same error in the sniffer). Any idea what could it be ? uname -a gives: Linux rh 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 14:59:01 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux Regards, Ian From gaurav at cpsc.ucalgary.ca Tue Mar 6 20:47:08 2007 From: gaurav at cpsc.ucalgary.ca (Abhishek Gaurav) Date: Tue, 06 Mar 2007 13:47:08 -0700 Subject: [Fedora-xen] Xen 3.0.4-1 and NIC driver Message-ID: <45EDD34C.6050406@cpsc.ucalgary.ca> Hi, I am trying to install Xen-3.0.4-1 and the 2.6.16-33 kernel that comes with 3.0.4-1, on a Dell Optiplex 745 system. The manual installation (make world install) goes fine, however, on reboot the eth0 couldn't be brought up. It complains with the following message: Error for wireless request "Set Encode" (8B2A) : SET failed on device eth0 ; No such device. SIOCSIFADDR: No such device eth0: unknown interface: No such device eth0: unknown interface: No such device The lspci shows: 03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02) I tried to upgrade the tg3 driver, but the driver wouldn't compile with the 2.6.16.33-xen kernel. It does compile with the 2.6.19-1.2895.fc6 kernel. Does anybody have any experience with this ? Thanks, Abhishek. From mczueira at yahoo.com.br Wed Mar 7 10:29:53 2007 From: mczueira at yahoo.com.br (x) Date: Wed, 7 Mar 2007 07:29:53 -0300 (ART) Subject: [Fedora-xen] Re: [Xen-users] Xen 3.0.4-1 and NIC driver In-Reply-To: <45EDD34C.6050406@cpsc.ucalgary.ca> Message-ID: <129563.4737.qm@web30501.mail.mud.yahoo.com> Hi, are you using udev om DomU ??? if so, try to remove udev from DomU. Marcos --- Abhishek Gaurav escreveu: > Hi, > I am trying to install Xen-3.0.4-1 and the 2.6.16-33 > kernel that comes > with 3.0.4-1, on a Dell Optiplex 745 system. The > manual installation > (make world install) goes fine, however, on reboot > the eth0 couldn't be > brought up. It complains with the following message: > Error for wireless request "Set Encode" (8B2A) : > SET failed on device eth0 ; No such device. > SIOCSIFADDR: No such device > eth0: unknown interface: No such device > eth0: unknown interface: No such device > > The lspci shows: > 03:00.0 Ethernet controller: Broadcom Corporation > NetXtreme BCM5754 > Gigabit Ethernet PCI Express (rev 02) > > I tried to upgrade the tg3 driver, but the driver > wouldn't compile with > the 2.6.16.33-xen kernel. It does compile with the > 2.6.19-1.2895.fc6 kernel. > > Does anybody have any experience with this ? > > Thanks, > Abhishek. > > _______________________________________________ > Xen-users mailing list > Xen-users at lists.xensource.com > http://lists.xensource.com/xen-users > __________________________________________________ Fale com seus amigos de gra?a com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ From skipper at zinix.nl Wed Mar 7 14:25:33 2007 From: skipper at zinix.nl (Henk Altena) Date: Wed, 07 Mar 2007 15:25:33 +0100 Subject: [Fedora-xen] para or fully virtualization Message-ID: <45EECB5D.6020502@zinix.nl> Hi everybody Following the quickstart guide of xen I can only use para-virtualized guests because my Asus A8V Deluxe mainboard with AMD 64 bit processor does not have the svm flag. Can anyone tell me the difference between Para- and Fully-virualized guests ? What are the limitations of a system that only supports para-virtulazed guests ? Henk From berrange at redhat.com Wed Mar 7 15:55:08 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 15:55:08 +0000 Subject: [Fedora-xen] para or fully virtualization In-Reply-To: <45EECB5D.6020502@zinix.nl> References: <45EECB5D.6020502@zinix.nl> Message-ID: <20070307155508.GF6302@redhat.com> On Wed, Mar 07, 2007 at 03:25:33PM +0100, Henk Altena wrote: > Hi everybody > > Following the quickstart guide of xen I can only use para-virtualized > guests because my Asus A8V Deluxe mainboard with AMD 64 bit processor > does not have the svm flag. > Can anyone tell me the difference between Para- and Fully-virualized > guests ? A fairly technical overview is here: http://virt.kernelnewbies.org/TechOverview http://www-128.ibm.com/developerworks/linux/library/l-linuxvirt/?ca=dgr-lnxw01Virtual-Linux > What are the limitations of a system that only supports para-virtulazed > guests ? Fully-virtualized can (in theory) run any OS ever written. Para-virtualized can only run OS which have been ported to Xen (eg Linux and some varities of Solaris & BSD) At this time, paravirtualized is significantly faster than fullvirt so if you have the option paravirt is always preferred. With Windows of course you don't have that option - fullvirt is only choice. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From W.J.Murray at rl.ac.uk Wed Mar 7 16:26:44 2007 From: W.J.Murray at rl.ac.uk (William John Murray) Date: Wed, 07 Mar 2007 16:26:44 +0000 Subject: [Fedora-xen] Time in an FC7 QEMU quest Message-ID: <1173284804.18169.17.camel@hepntw292.pp.rl.ac.uk> I assume this is the correct list for QEMU? I made a Scientific Linux (~RH-EL 4) QEMU guest, which works well, but the time runs about a factor of two fast. Connecting to timeservers somehow doesn't help. Does anyone know how I can address this? Thank you, Bill -- __________________________________________________________ Bill Murray w.j.murray at rl.ac.uk (41)-1235-446256 From W.J.Murray at rl.ac.uk Wed Mar 7 16:28:32 2007 From: W.J.Murray at rl.ac.uk (William John Murray) Date: Wed, 07 Mar 2007 16:28:32 +0000 Subject: [Fedora-xen] ssh to QEMU guest Message-ID: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> I assume this is the correct list for QEMU? I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work out how to do it. I found some suggestions about TUN/TAP on WWW. Is that the correct lines? Any pointers? Thank you, Bill -- __________________________________________________________ Bill Murray w.j.murray at rl.ac.uk (41)-1235-446256 From markmc at redhat.com Wed Mar 7 16:33:47 2007 From: markmc at redhat.com (Mark McLoughlin) Date: Wed, 07 Mar 2007 16:33:47 +0000 Subject: [Fedora-xen] ssh to QEMU guest In-Reply-To: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> References: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> Message-ID: <1173285227.19604.5.camel@blaa> On Wed, 2007-03-07 at 16:28 +0000, William John Murray wrote: > I assume this is the correct list for QEMU? > > I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work > out how to do it. I found some suggestions about TUN/TAP on WWW. Is that > the correct lines? Try passing something like "-redir 2022:22" to qemu and then "ssh localhost:2022" Cheers, Mark. From W.J.Murray at rl.ac.uk Wed Mar 7 17:17:05 2007 From: W.J.Murray at rl.ac.uk (William John Murray) Date: Wed, 07 Mar 2007 17:17:05 +0000 Subject: [Fedora-xen] ssh to QEMU guest In-Reply-To: <1173285227.19604.5.camel@blaa> References: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> <1173285227.19604.5.camel@blaa> Message-ID: <1173287825.18169.23.camel@hepntw292.pp.rl.ac.uk> Thanks Mark, Looks like I better learn how to use qemu natively - I only used the nice gui so far. But that is essentially what I am trying to get away from. Cheers, Bill On Wed, 2007-03-07 at 16:33 +0000, Mark McLoughlin wrote: > On Wed, 2007-03-07 at 16:28 +0000, William John Murray wrote: > > I assume this is the correct list for QEMU? > > > > I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work > > out how to do it. I found some suggestions about TUN/TAP on WWW. Is that > > the correct lines? > > Try passing something like "-redir 2022:22" to qemu and then "ssh > localhost:2022" > > Cheers, > Mark. > -- __________________________________________________________ Bill Murray w.j.murray at rl.ac.uk (41)-1235-446256 From berrange at redhat.com Wed Mar 7 17:32:48 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 17:32:48 +0000 Subject: [Fedora-xen] ssh to QEMU guest In-Reply-To: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> References: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> Message-ID: <20070307173248.GK6302@redhat.com> On Wed, Mar 07, 2007 at 04:28:32PM +0000, William John Murray wrote: > I assume this is the correct list for QEMU? > > I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work > out how to do it. I found some suggestions about TUN/TAP on WWW. Is that > the correct lines? If you are using virt-manager to create QEMU instances, then we don't currently support incoming networking. The networking is setup using QEMU's SLIRP based network stack, which does NAT'd outbound connections only. Having full incoming networking will require integration with the host's networking stack - not possible for an unprivileged user at ths time. I'll have to think if there is some way we can express the port redirection that Mark suggests in libvirt/virt-manager in a sane way. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From paul at xelerance.com Wed Mar 7 17:32:41 2007 From: paul at xelerance.com (Paul Wouters) Date: Wed, 7 Mar 2007 18:32:41 +0100 (CET) Subject: [Fedora-xen] Time in an FC7 QEMU quest In-Reply-To: <1173284804.18169.17.camel@hepntw292.pp.rl.ac.uk> References: <1173284804.18169.17.camel@hepntw292.pp.rl.ac.uk> Message-ID: On Wed, 7 Mar 2007, William John Murray wrote: > I made a Scientific Linux (~RH-EL 4) QEMU guest, which works well, but > the time runs about a factor of two fast. Connecting to timeservers > somehow doesn't help. You can only properly set the time in the dom0. Are you running ntpd on the dom0? Paul From berrange at redhat.com Wed Mar 7 17:36:13 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 17:36:13 +0000 Subject: [Fedora-xen] Time in an FC7 QEMU quest In-Reply-To: References: <1173284804.18169.17.camel@hepntw292.pp.rl.ac.uk> Message-ID: <20070307173613.GL6302@redhat.com> On Wed, Mar 07, 2007 at 06:32:41PM +0100, Paul Wouters wrote: > On Wed, 7 Mar 2007, William John Murray wrote: > > > I made a Scientific Linux (~RH-EL 4) QEMU guest, which works well, but > > the time runs about a factor of two fast. Connecting to timeservers > > somehow doesn't help. > > You can only properly set the time in the dom0. Are you running ntpd on > the dom0? That's only relevant to Xen. In Xen paravirt DomU's the time is indeed synced to Dom0. For fullvirt, or native QEMU guests, the Dom0 time has no bearing to the the guest's time. So you need to run NTPD inside the guest VM for Xen fullvirt, or QEMU Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From bleyton at cpe-corp.com Wed Mar 7 17:29:11 2007 From: bleyton at cpe-corp.com (Brian Leyton) Date: Wed, 7 Mar 2007 09:29:11 -0800 Subject: [Fedora-xen] Is my guest hosed? Message-ID: I apologize - this is a long story, and I hope I can explain it properly. I'm somewhat new to Xen, but some time back I managed to get a working installation going. I used FC5, and had my guest (also FC5) working fine, except for some occasional unexplained crashes (but that's a story for another time). Yesterday, my guest crashed, and I could not get it to restart. I rebooted the host, without success. I ran a yum update on the host, and then Xen would not even start. I tried googling the error messages, and the indication I got from that was that there was some incompatibility between the Xen tools and Xen itself (I think this diagnosis turned out to be wrong - more on that in a bit). So I decided to try upgrading the host to FC6 (using yum), the theory being that at least FC6 might have compatible versions of everything together. When I did this, it complained about an old kernel version (2.6.17) being incompatible with a couple of packages, so I used RPM and removed this old kernel (bad move). So FC6 installed properly, and after realizing that it was booting with the non-xen-enabled kernel, it now works fine. I have a feeling that this was my problem all along. Wish I had known that before... In any case, I was able to get Xen started too. But the guest would not start up, because the kernel I had deleted was the one that this guest needed. I tried changing the .cfg file to point to a newer kernel, but though the guest would start up, it will not run properly with the newer kernel. So I find myself stuck. I searched but could not find a 2.6.17 xen enabled kernel anywhere, and I can't figure out how to fix this guest. It looks like some automatic yum updating has updated the kernel on the guest as well (all of the kernel files in /boot are 2.6.19), and I can't find the 2.6.17 in there. I'm not sure why the updates that took place on the guest would not have updated everything to run with the 2.6.19 kernel, but it just does not work. Anyone have an idea of how I can salvage this guest? Brian From W.J.Murray at rl.ac.uk Wed Mar 7 17:38:25 2007 From: W.J.Murray at rl.ac.uk (William John Murray) Date: Wed, 07 Mar 2007 17:38:25 +0000 Subject: [Fedora-xen] ssh to QEMU guest In-Reply-To: <20070307173248.GK6302@redhat.com> References: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> <20070307173248.GK6302@redhat.com> Message-ID: <1173289105.18169.29.camel@hepntw292.pp.rl.ac.uk> On Wed, 2007-03-07 at 17:32 +0000, Daniel P. Berrange wrote: > On Wed, Mar 07, 2007 at 04:28:32PM +0000, William John Murray wrote: > > I assume this is the correct list for QEMU? > > > > I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work > > out how to do it. I found some suggestions about TUN/TAP on WWW. Is that > > the correct lines? > > If you are using virt-manager to create QEMU instances, then we don't > currently support incoming networking. The networking is setup using > QEMU's SLIRP based network stack, which does NAT'd outbound connections > only. Having full incoming networking will require integration with the > host's networking stack - not possible for an unprivileged user at ths > time. I'll have to think if there is some way we can express the port > redirection that Mark suggests in libvirt/virt-manager in a sane way. > > Regards, > Dan. Oh, OK. That saves me some looking! I can live without, I guess, but not running a gui in the host would save a lot of RAM. Cheers. Bill -- __________________________________________________________ Bill Murray w.j.murray at rl.ac.uk (41)-1235-446256 From markmc at redhat.com Wed Mar 7 17:42:44 2007 From: markmc at redhat.com (Mark McLoughlin) Date: Wed, 07 Mar 2007 17:42:44 +0000 Subject: [Fedora-xen] ssh to QEMU guest In-Reply-To: <1173287825.18169.23.camel@hepntw292.pp.rl.ac.uk> References: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> <1173285227.19604.5.camel@blaa> <1173287825.18169.23.camel@hepntw292.pp.rl.ac.uk> Message-ID: <1173289364.21911.7.camel@blaa> On Wed, 2007-03-07 at 17:17 +0000, William John Murray wrote: > Thanks Mark, > Looks like I better learn how to use qemu natively - I only > used the nice gui so far. But that is essentially what I am trying to > get away from. Ah, I hadn't realised you were using virt-manager ... I think et-mgmt-tools at redhat.com is the list you want. We don't currently have support for that with QEMU, libvirt and virt-manager. I think we'll enable it in two ways: - Allow you to specify a bridge which you can connect to, so e.g. you could connect qemu to xenbr0 and ssh to it just like a Xen guest - Allow you to connect your QEMU guest to a virtual network[1] and then you'll automatically be able to connect to it from dom0. Longer term, we also plan to allow you to specify a DNAT mapping so that connects to a dom0 port would be re-directed to a specific ip/port on the virtual network. Cheers, Mark. [1] - As in http://www.gnome.org/~markmc/virtual-networking.html From berrange at redhat.com Wed Mar 7 17:44:44 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 17:44:44 +0000 Subject: [Fedora-xen] ssh to QEMU guest In-Reply-To: <1173289105.18169.29.camel@hepntw292.pp.rl.ac.uk> References: <1173284912.18169.21.camel@hepntw292.pp.rl.ac.uk> <20070307173248.GK6302@redhat.com> <1173289105.18169.29.camel@hepntw292.pp.rl.ac.uk> Message-ID: <20070307174444.GM6302@redhat.com> On Wed, Mar 07, 2007 at 05:38:25PM +0000, William John Murray wrote: > On Wed, 2007-03-07 at 17:32 +0000, Daniel P. Berrange wrote: > > On Wed, Mar 07, 2007 at 04:28:32PM +0000, William John Murray wrote: > > > I assume this is the correct list for QEMU? > > > > > > I would like to SSH to my QEMU quest (FC7 T2 host) and I cannot work > > > out how to do it. I found some suggestions about TUN/TAP on WWW. Is that > > > the correct lines? > > > > If you are using virt-manager to create QEMU instances, then we don't > > currently support incoming networking. The networking is setup using > > QEMU's SLIRP based network stack, which does NAT'd outbound connections > > only. Having full incoming networking will require integration with the > > host's networking stack - not possible for an unprivileged user at ths > > time. I'll have to think if there is some way we can express the port > > redirection that Mark suggests in libvirt/virt-manager in a sane way. > > > > Regards, > > Dan. > Oh, OK. That saves me some looking! > I can live without, I guess, but not running a gui in the host > would save a lot of RAM. There is no need to run a GUI on the host with or without direct guest SSH access. The virtual console for Xen & QEMU guests is made available via a VNC server listening on host's 127.0.0.1 address. So you can access the virtual console from a remote host by tunnelling the appropriate VNC port over SSH to the host. You can find the appropriate port by running virsh --connect qemu:///session dumpxml | grep vnc Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From W.J.Murray at rl.ac.uk Wed Mar 7 17:58:08 2007 From: W.J.Murray at rl.ac.uk (William John Murray) Date: Wed, 07 Mar 2007 17:58:08 +0000 Subject: [Fedora-xen] Time in an FC7 QEMU quest In-Reply-To: References: <1173284804.18169.17.camel@hepntw292.pp.rl.ac.uk> Message-ID: <1173290288.18169.35.camel@hepntw292.pp.rl.ac.uk> On Wed, 2007-03-07 at 18:32 +0100, Paul Wouters wrote: > On Wed, 7 Mar 2007, William John Murray wrote: > > > I made a Scientific Linux (~RH-EL 4) QEMU guest, which works well, but > > the time runs about a factor of two fast. Connecting to timeservers > > somehow doesn't help. > > You can only properly set the time in the dom0. Are you running ntpd on > the dom0? > > Paul Yes, ntpd is up..I've just asked it to use the host for a source.... It jumps to the correct time, then says: SYNCHRONISED to LOCAL(0) stratum 10 after which it seems to head off at double speed again... Bill -- __________________________________________________________ Bill Murray w.j.murray at rl.ac.uk (41)-1235-446256 From taoj2 at cs.rpi.edu Wed Mar 7 19:37:22 2007 From: taoj2 at cs.rpi.edu (taoj2 at cs.rpi.edu) Date: Wed, 7 Mar 2007 14:37:22 -0500 (EST) Subject: [Fedora-xen] Problem about guest virtual machine creation Message-ID: <57289.128.213.11.196.1173296242.squirrel@webmail.cs.rpi.edu> HI, I wanna to do some experiments about VM migration. Currently I focus on the local migration which means migrating a domain from one VM to another VM in the same host. First, I create two guest VMs, XEN1 and XEN2, on the same host. Both of guests use FC6 as the operating system. And I also selected the XEN package when I customize the FC6 installation. Then, I was trying to create another VM, XENX, which is inside XEN1. The layering relationship is like this: HOST[VM1[VMX],VM2] The host includes two VMs, VM1 and VM2. And I wanted to create another VMX inside the VM1. Since the operating system of VM1 is FC6 and XEN is an built-in application of VM1 I thought I could create VMX successfully. However it prompted: "Unable to open a connection to the Xen Hypervisor/daemon Verify that: -A Xen host kernel was booted -The Xen service has been started" Is there anything wrong with what I have done? Or currently we are not allowed to create a virtual machine inside another VM. The only possible way to create guest VM is to create it inside a physical machine, not VM? Could you please let me know if you have any idea about above problem? Thanks a lot. Regards, Angel From dhanks at corp.untd.com Wed Mar 7 21:50:43 2007 From: dhanks at corp.untd.com (Hanks, Dan) Date: Wed, 7 Mar 2007 13:50:43 -0800 Subject: [Fedora-xen] Kickstart slowness with virt-install Message-ID: <37CA9FAB24D3A74B97E93B82BD04D3951746306F@LAXEVS01.lax.corp.int.untd.com> Hi folks, I've been able to kickstart a number of VMs using the virt-install tool, and so far have had pretty good success. One aspect of these installs has me a bit concerned, though. In most cases, anytime the kickstart needs to do intensive disk activity (such as formatting partitions, or installing all the rpms) there are noticible hangs, which I'm guessing come from some kind of IO wait. The result is that a kickstart which should take < 10 minutes ends up taking a half-hour or so. I'm using pretty standard hardware, Dell 1850s with 2 internal drives. Xvda setup to be 4G, using 500M of memory. Pretty vanilla installs really. Any insight into what might be causing these IO hangs? Thanks, -- Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From berrange at redhat.com Wed Mar 7 21:54:12 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 21:54:12 +0000 Subject: [Fedora-xen] Kickstart slowness with virt-install In-Reply-To: <37CA9FAB24D3A74B97E93B82BD04D3951746306F@LAXEVS01.lax.corp.int.untd.com> References: <37CA9FAB24D3A74B97E93B82BD04D3951746306F@LAXEVS01.lax.corp.int.untd.com> Message-ID: <20070307215412.GU6302@redhat.com> On Wed, Mar 07, 2007 at 01:50:43PM -0800, Hanks, Dan wrote: > Hi folks, > > > > I've been able to kickstart a number of VMs using the virt-install tool, > and so far have had pretty good success. One aspect of these installs > has me a bit concerned, though. In most cases, anytime the kickstart > needs to do intensive disk activity (such as formatting partitions, or > installing all the rpms) there are noticible hangs, which I'm guessing > come from some kind of IO wait. The result is that a kickstart which > should take < 10 minutes ends up taking a half-hour or so. What kind of virtual disk image are you using for the guest ? A partition or a file - if the latter is it sparse, or non-sparse. Basically sparse files will be horribly slow because every time the host OS has to extend the sparse file to allocate real blocks it needs to do a journal sync on the host FS. This destroys performance of I/O from the guest until the sparse file is fully-allocated. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From dhanks at corp.untd.com Wed Mar 7 22:20:11 2007 From: dhanks at corp.untd.com (Hanks, Dan) Date: Wed, 7 Mar 2007 14:20:11 -0800 Subject: [Fedora-xen] Kickstart slowness with virt-install Message-ID: <37CA9FAB24D3A74B97E93B82BD04D39517463070@LAXEVS01.lax.corp.int.untd.com> > -----Original Message----- > From: Daniel P. Berrange [mailto:berrange at redhat.com] > Sent: Wednesday, March 07, 2007 2:54 PM > To: Hanks, Dan > Cc: fedora-xen at redhat.com > Subject: Re: [Fedora-xen] Kickstart slowness with virt-install > > On Wed, Mar 07, 2007 at 01:50:43PM -0800, Hanks, Dan wrote: > > Hi folks, > > > > > > > > I've been able to kickstart a number of VMs using the virt-install tool, > > and so far have had pretty good success. One aspect of these installs > > has me a bit concerned, though. In most cases, anytime the kickstart > > needs to do intensive disk activity (such as formatting partitions, or > > installing all the rpms) there are noticible hangs, which I'm guessing > > come from some kind of IO wait. The result is that a kickstart which > > should take < 10 minutes ends up taking a half-hour or so. > > What kind of virtual disk image are you using for the guest ? A partition > or a file - if the latter is it sparse, or non-sparse. Basically sparse > files will be horribly slow because every time the host OS has to extend > the sparse file to allocate real blocks it needs to do a journal sync on > the host FS. This destroys performance of I/O from the guest until the > sparse file is fully-allocated. I'm using files. I've been using a command-line such as this for the install: virt-install -m "00:16:3e:00:00:01" -n hostname -r 500 --vcpus=2 -f /var/lib/xen/images/myhost.xen.img -s 4 --nographics -p -l ftp://host/fc6/distro/i386/os -x "ks=http://kshost/ks.cfg" Adding --nonsparse into the args looks like it fixes the speed issues (albeit adds a bit of extra time right up front to allocate the entire disk image). I imagine using partitions instead of files would be faster altogether. I'll have to explore that option (files are just so nice to ship around when needed). The verbiage for the virt-install command-line args is (to me) a bit confusing in this matter: "-- nonsparse Don't use sparse files for disks. Note that this will be significantly slower for guest creation" What does the "slower" here refer to? Slower up-front time to create the image file? Yes, but the actual install will be faster since it wont have to keep allocating more space for the disk image. Thoughts? Thanks for your help--this was exactly the piece of information I needed, -- Dan From berrange at redhat.com Wed Mar 7 22:26:32 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 22:26:32 +0000 Subject: [Fedora-xen] Kickstart slowness with virt-install In-Reply-To: <37CA9FAB24D3A74B97E93B82BD04D39517463070@LAXEVS01.lax.corp.int.untd.com> References: <37CA9FAB24D3A74B97E93B82BD04D39517463070@LAXEVS01.lax.corp.int.untd.com> Message-ID: <20070307222631.GV6302@redhat.com> On Wed, Mar 07, 2007 at 02:20:11PM -0800, Hanks, Dan wrote: > > On Wed, Mar 07, 2007 at 01:50:43PM -0800, Hanks, Dan wrote: > > > I've been able to kickstart a number of VMs using the virt-install > tool, > > > and so far have had pretty good success. One aspect of these > installs > > > has me a bit concerned, though. In most cases, anytime the kickstart > > > needs to do intensive disk activity (such as formatting partitions, > or > > > installing all the rpms) there are noticible hangs, which I'm > guessing > > > come from some kind of IO wait. The result is that a kickstart which > > > should take < 10 minutes ends up taking a half-hour or so. > > > > What kind of virtual disk image are you using for the guest ? A > partition > > or a file - if the latter is it sparse, or non-sparse. Basically > sparse > > files will be horribly slow because every time the host OS has to > extend > > the sparse file to allocate real blocks it needs to do a journal sync > on > > the host FS. This destroys performance of I/O from the guest until the > > sparse file is fully-allocated. > > I'm using files. I've been using a command-line such as this for the > install: > > virt-install -m "00:16:3e:00:00:01" -n hostname -r 500 --vcpus=2 -f > /var/lib/xen/images/myhost.xen.img -s 4 --nographics -p -l > ftp://host/fc6/distro/i386/os -x "ks=http://kshost/ks.cfg" > > Adding --nonsparse into the args looks like it fixes the speed issues > (albeit adds a bit of extra time right up front to allocate the entire > disk image). I imagine using partitions instead of files would be faster > altogether. I'll have to explore that option (files are just so nice to > ship around when needed). If pre-allocated, files should be within a few % of real partitions. > What does the "slower" here refer to? Slower up-front time to create the > image file? Yes, but the actual install will be faster since it wont > have to keep allocating more space for the disk image. Thoughts? Yes, upfront time will be longer due to the need to pre-allocate the disk, this should be more than offset by the faster install time. So I'd use --nonsparse as a general rule. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From paul at xelerance.com Wed Mar 7 22:50:16 2007 From: paul at xelerance.com (Paul Wouters) Date: Wed, 7 Mar 2007 23:50:16 +0100 (CET) Subject: [Fedora-xen] Kickstart slowness with virt-install In-Reply-To: <20070307222631.GV6302@redhat.com> References: <37CA9FAB24D3A74B97E93B82BD04D39517463070@LAXEVS01.lax.corp.int.untd.com> <20070307222631.GV6302@redhat.com> Message-ID: On Wed, 7 Mar 2007, Daniel P. Berrange wrote: > Yes, upfront time will be longer due to the need to pre-allocate the > disk, this should be more than offset by the faster install time. So > I'd use --nonsparse as a general rule. So why isn't that the default for virt-install? The other risk is the admin creating a truckload of sparse images, and the guests ending with really odd problems months later when it turns out there isn't enough diskspace, and no one can figure out this has happened after running so well before... Paul From berrange at redhat.com Wed Mar 7 22:57:59 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Wed, 7 Mar 2007 22:57:59 +0000 Subject: [Fedora-xen] Kickstart slowness with virt-install In-Reply-To: References: <37CA9FAB24D3A74B97E93B82BD04D39517463070@LAXEVS01.lax.corp.int.untd.com> <20070307222631.GV6302@redhat.com> Message-ID: <20070307225759.GW6302@redhat.com> On Wed, Mar 07, 2007 at 11:50:16PM +0100, Paul Wouters wrote: > On Wed, 7 Mar 2007, Daniel P. Berrange wrote: > > > Yes, upfront time will be longer due to the need to pre-allocate the > > disk, this should be more than offset by the faster install time. So > > I'd use --nonsparse as a general rule. > > So why isn't that the default for virt-install? The other risk is the > admin creating a truckload of sparse images, and the guests ending > with really odd problems months later when it turns out there isn't > enough diskspace, and no one can figure out this has happened after > running so well before... If we were writing virt-install again today, we would make it the default, but we've had two Fedora release where virt-install defaulted to sparse files. Changing existing behaviour of a command isn't all that nice, even if there are potential benefits to be had. So we added the --nonsparse flag and left the existing behaviour unchanged. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From jeevanullas at gmail.com Thu Mar 8 02:38:29 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Thu, 8 Mar 2007 08:08:29 +0530 Subject: [Fedora-xen] physical memory is reduced :-( In-Reply-To: <1173141673.4326.44.camel@aic-laptop-5.cathrow.org> References: <46837.136.145.116.114.1173127164.squirrel@ece.uprm.edu> <1173141673.4326.44.camel@aic-laptop-5.cathrow.org> Message-ID: <57127b5f0703071838o2c8a0dfbqd5f8017851d90c6a@mail.gmail.com> You can do the same via virsh too. By the way can someone tell me why doesn't the RAM which was used by the VM is given back to Domain 0 automatically when the VM shuts down. On 3/6/07, Andrew Cathrow wrote: > > run "xm list" and you see memory allocations to each domain. > If you run "xm mem-set " you should be able to allocate that memory to > domain 0 (if it needs it) > > xm mem-set 0 512 > > Would allocate 512MB to domain 0. > > > On Mon, 2007-03-05 at 16:39 -0400, John Sanabria wrote: > > Hi, > i had installed the last updates for FC6 in a machine with 1 Giga of RAM.The machine's ip is 136.145.116.88. > ------------------------------------------------------[root at dhcp-crl-116-88 ~]# free total used free shared buffers cachedMem: 962032 281512 680520 0 16116 191412-/+ buffers/cache: 73984 888048Swap: 2031608 0 2031608[root at dhcp-crl-116-88 ~]# uname -aLinux dhcp-crl-116-88.ece.uprm.edu 2.6.19-1.2911.6.4.fc6xen #1 SMP Sat Feb24 14:57:17 EST 2007 i686 i686 i386 GNU/Linux------------------------------------------------------ > now, i execute a "xm create xentemplate_6 -c", and voila! i lost approx250 Mbytes of PHYSICAL RAM, :-(------------------------------------------------------[root at dhcp-crl-116-88 ~]# free total used free shared buffers cachedMem: -> 764928 <- 375796 389132 0 17536 281980-/+ buffers/cache: 76280 688648Swap: 2031608 0 2031608------------------------------------------------------ > then, shutdown the virtual machine, and i did not get back the lost 250Mbytes of RAM.anybody knows how to get back my physical memory after to shutdown thevirtual machine? is that behavior a bug? > if i run two virtual machines, my physical memory is reduced until 512 MBof Physical RAM. At this time, the only way to get 1Gbyte of RAM isrebooting the machine :-(. > Thanks a lot for your suggestions. > http://ece.uprm.edu/~s047267http://del.icio.us/josanabrhttp://blog-grid.blogspot.com > --Fedora-xen mailing listFedora-xen at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen > > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > acathrow at redhat.com > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From wmma at hkabc.net Thu Mar 8 02:43:04 2007 From: wmma at hkabc.net (Ma wai ming) Date: Thu, 8 Mar 2007 10:43:04 +0800 Subject: [Fedora-xen] Question about the network resource Message-ID: Just wonder the network connection , session can have on the guest Dom ? From clalance at redhat.com Thu Mar 8 02:48:13 2007 From: clalance at redhat.com (Chris Lalancette) Date: Wed, 07 Mar 2007 21:48:13 -0500 Subject: [Fedora-xen] physical memory is reduced :-( In-Reply-To: <57127b5f0703071838o2c8a0dfbqd5f8017851d90c6a@mail.gmail.com> References: <46837.136.145.116.114.1173127164.squirrel@ece.uprm.edu> <1173141673.4326.44.camel@aic-laptop-5.cathrow.org> <57127b5f0703071838o2c8a0dfbqd5f8017851d90c6a@mail.gmail.com> Message-ID: <45EF796D.80304@redhat.com> Deependra Shekhawat wrote: > > You can do the same via virsh too. > By the way can someone tell me why doesn't the RAM which was used by the > VM is given back to Domain 0 automatically when the VM shuts down. I believe the dom0 is expecting another guest to use that memory fairly soon. In other words, why waste time ballooning up dom0, just to balloon down again when another guest starts? Especially with large amounts of memory, this can take a significant amount of time, so it tries to avoid that. Chris Lalancette From xenguy at gmail.com Thu Mar 8 04:31:20 2007 From: xenguy at gmail.com (Sadique Puthen) Date: Thu, 08 Mar 2007 10:01:20 +0530 Subject: [Fedora-xen] Question about the network resource In-Reply-To: References: Message-ID: <45EF9198.6000009@gmail.com> Ma wai ming wrote: > Just wonder the network connection , session can have on the guest Dom ? > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > can u explain what u r asking? From wmma at hkabc.net Thu Mar 8 04:37:21 2007 From: wmma at hkabc.net (Ma wai ming) Date: Thu, 8 Mar 2007 12:37:21 +0800 Subject: [Fedora-xen] Question about the network resource In-Reply-To: <45EF9198.6000009@gmail.com> Message-ID: Didn't know the max tcp connection a Guest Dom can have ? all DomU and DomGuest share the value of ip_conntrack_max default 65536 ? Cheers -----Original Message----- From: Sadique Puthen [mailto:xenguy at gmail.com] Sent: Thursday, March 08, 2007 12:31 PM To: Ma wai ming Cc: fedora-xen at redhat.com Subject: Re: [Fedora-xen] Question about the network resource Ma wai ming wrote: > Just wonder the network connection , session can have on the guest Dom ? > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > can u explain what u r asking? From xenguy at gmail.com Thu Mar 8 04:44:30 2007 From: xenguy at gmail.com (Sadique Puthen) Date: Thu, 08 Mar 2007 10:14:30 +0530 Subject: [Fedora-xen] RE: [Xen-users] Win Xp 64 bit install In-Reply-To: <907625E08839C4409CE5768403633E0B018E19F1@sefsexmb1.amd.com> References: <907625E08839C4409CE5768403633E0B018E19F1@sefsexmb1.amd.com> Message-ID: <45EF94AE.6060107@gmail.com> When the windows says to Press F6, press F5 instead, select standard PC and continue installation. This issue looks a problem with acpi being set to on by default. Petersson, Mats wrote: >> -----Original Message----- >> From: xen-users-bounces at lists.xensource.com >> [mailto:xen-users-bounces at lists.xensource.com] On Behalf Of >> Abhishek Gaurav >> Sent: 28 February 2007 22:46 >> To: Xen-users at lists.xensource.com; fedora-xen at redhat.com >> Subject: [Xen-users] Win Xp 64 bit install >> >> Hi, >> I am trying to install windows xp 64 bit (trial version) using >> virt-install on a fc6 system. The installation seems to stall >> when the >> message in the vnc console says "Setup is starting windows". >> >> The xm dmesg shows: >> >> (XEN) (GUEST: 13) Booting from CD-Rom... >> (XEN) (GUEST: 13) unsupported PCI BIOS function 0x0E >> (XEN) (GUEST: 13) int13_harddisk: function 15, unmapped >> device for ELDL=81 >> (XEN) (GUEST: 13) *** int 15h function AX=E980, BX=00F2 not >> yet supported! >> (XEN) (GUEST: 13) *** int 15h function AX=EC00, BX=0002 not >> yet supported! >> (XEN) Trying to set reserved bit in EFER: 4d01 >> > > What version of Xen is this? ("xm info" should give version number at > least). > > Setting FFXSR (0x4000) is probably not "permitted", which also gives me > the indication that this is a AMD platform. Although, I guess setting > that bit shouldn't actually cause a problem as such. > > It's much more likely that the problem is that you're using pre-3.0.4 > version of Xen. Try 3.0.4-1. > > >> The last message "Trying to set ... " actually comes up just >> before it >> stalls. >> >> What might be causing this ? >> >> I have also tried to install an older Win Xp home sp1, which actually >> goes past the above messages (without "trying to set ...") >> but ends up >> in the famous black screen upon first reboot. >> > > > Probably same problem as above, try later version of Xen. The error > message about setting FFXSR isn't going to happen on a 32-bit Widnows, > as the 32-bit version of Windows doesn't use FXSAVE/FXRESTORE in kernel > mode anyways (unless the code specifically asks - but that's relatively > rare, so the saving by doing the "fast" version is minimal). > > -- > Mats > >> It'll be great to know what might be causing the above problems. >> >> Thanks, >> Abhishek. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users at lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> >> > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > From bleyton at cpe-corp.com Thu Mar 8 16:29:32 2007 From: bleyton at cpe-corp.com (Brian Leyton) Date: Thu, 8 Mar 2007 08:29:32 -0800 Subject: [Fedora-xen] Is my guest hosed? Message-ID: Wow, my first question to the list, and I stumped all of the experts ;-) Let's try a slightly different approach. Does anyone have, or know where I can get a vmlinuz-2.6.17-1.????.fc5xenU kernel file? I think if I could just find a kernel of that approximate vintage, I'll be able to at least boot the guest and get it going again. Thanks! Brian > -----Original Message----- > From: Brian Leyton [mailto:bleyton at cpe-corp.com] > Sent: Wednesday, March 07, 2007 9:29 AM > To: fedora-xen at redhat.com > Subject: [Fedora-xen] Is my guest hosed? > > I apologize - this is a long story, and I hope I can explain > it properly. > > I'm somewhat new to Xen, but some time back I managed to get > a working installation going. I used FC5, and had my guest > (also FC5) working fine, except for some occasional > unexplained crashes (but that's a story for another time). > > Yesterday, my guest crashed, and I could not get it to > restart. I rebooted the host, without success. I ran a yum > update on the host, and then Xen would not even start. I > tried googling the error messages, and the indication I got > from that was that there was some incompatibility between the > Xen tools and Xen itself (I think this diagnosis turned out > to be wrong > - more on that in a bit). > > So I decided to try upgrading the host to FC6 (using yum), > the theory being that at least FC6 might have compatible > versions of everything together. > When I did this, it complained about an old kernel version > (2.6.17) being incompatible with a couple of packages, so I > used RPM and removed this old kernel (bad move). > > So FC6 installed properly, and after realizing that it was > booting with the non-xen-enabled kernel, it now works fine. > I have a feeling that this was my problem all along. Wish I > had known that before... > > In any case, I was able to get Xen started too. But the > guest would not start up, because the kernel I had deleted > was the one that this guest needed. I tried changing the > .cfg file to point to a newer kernel, but though the guest > would start up, it will not run properly with the newer kernel. > > So I find myself stuck. I searched but could not find a > 2.6.17 xen enabled kernel anywhere, and I can't figure out > how to fix this guest. It looks like some automatic yum > updating has updated the kernel on the guest as well (all of > the kernel files in /boot are 2.6.19), and I can't find the > 2.6.17 in there. I'm not sure why the updates that took > place on the guest would not have updated everything to run > with the 2.6.19 kernel, but it just does not work. > > Anyone have an idea of how I can salvage this guest? > > Brian > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > From clalance at redhat.com Thu Mar 8 16:44:53 2007 From: clalance at redhat.com (Chris Lalancette) Date: Thu, 08 Mar 2007 11:44:53 -0500 Subject: [Fedora-xen] Is my guest hosed? In-Reply-To: References: Message-ID: <45F03D85.3050805@redhat.com> Brian Leyton wrote: > > In any case, I was able to get Xen started too. But the guest would not > start up, because the kernel I had deleted was the one that this guest > needed. I tried changing the .cfg file to point to a newer kernel, but > though the guest would start up, it will not run properly with the newer > kernel. > What does "not run properly" mean? It really should be able to boot with the 2.6.18 or 2.6.19 kernels; I have FC6 guests at home booting with that. What kind of errors are you getting when trying to boot those? I think your best bet is going to figure out why those won't boot, and rectify that situation. Chris Lalancette From master at bradleyland.com Thu Mar 8 16:51:57 2007 From: master at bradleyland.com (master at bradleyland.com) Date: Thu, 8 Mar 2007 08:51:57 -0800 (PST) Subject: [Fedora-xen] Is my guest hosed? In-Reply-To: References: Message-ID: <3918.192.168.2.254.1173372717.squirrel@www.bradleyland.com> > Wow, my first question to the list, and I stumped all of the experts ;-) > > Let's try a slightly different approach. > > Does anyone have, or know where I can get a vmlinuz-2.6.17-1.????.fc5xenU > kernel file? I think if I could just find a kernel of that approximate > vintage, I'll be able to at least boot the guest and get it going again. > > Thanks! > > Brian > Try this -- mount the guest partition (lvm or backing file, whatever you used) into the dom0. Then, use yum to upgrade the guest to FC6. yum can take a command line switch to point to a chroot path. So, if you mounted the guest into /mnt/xen_guest, you would use yum as yum --installroot=/mnt/xen_guest update or something like that. You still may need to make a workable initrd as well. There are threads here and on xensource covering the process. I don't think you're going to fix an FC5 guest and get it to run under FC6. At least paravirtualized. And BTW, I'm no expert, but I play one on the internet. hth, dave From asraikhn at gmail.com Thu Mar 8 16:58:37 2007 From: asraikhn at gmail.com (Asrai khn) Date: Thu, 8 Mar 2007 21:58:37 +0500 Subject: [Fedora-xen] Mount smb shares on domUs Message-ID: <5f0f8dba0703080858s1a9c69a8s9a228d3de9c9cc20@mail.gmail.com> Hi, Few days back I have asked, how to boots domU in specific order so that a domU which providing smb (samba) shares to other domu boots before any other, I tried the approach of putting 'xm create xxx.cfg' in rc.local (not using xendomines script) and I have put 'sleep 15' so that first one got some extra time. But apparently still few domUs sometime 1 or 2 boots before smb providing domU and unable to mount the share. Actaully samba domU have to start more services then other domU and this takes more time and i can't reduce these services on boot coz they are needed. I am wondering is there anything could be done at domUs side which are mounting these smb shares so that they tries again if they can't find the master from where they are mounting the shares. may be something like .. while (mount_samba()==unsuccessful) { sleep(5) } But I am not sure where to stick it :) Here is the line from /etc/fstab we are using to mount smb share.. //Master-H/samba/domU-b /var/mounthere cifs username=xxxx-b,password=xxxxxxx 0 0 Any suggestion will be greatly appreciated. Thanks. Askar -------------- next part -------------- An HTML attachment was scrubbed... URL: From xenguy at gmail.com Fri Mar 9 07:11:05 2007 From: xenguy at gmail.com (Sadique Puthen) Date: Fri, 09 Mar 2007 12:41:05 +0530 Subject: [Fedora-xen] Problem about creating virtual machine in FC6 In-Reply-To: <35565.128.213.11.196.1173125780.squirrel@webmail.cs.rpi.edu> References: <35565.128.213.11.196.1173125780.squirrel@webmail.cs.rpi.edu> Message-ID: <45F10889.5080206@gmail.com> taoj2 at cs.rpi.edu wrote: > Hi, > > I installed FC6 and I was trying to create a new virtual machine with the > virtual machine manager. I selected to use FC6 again as the guesting OS of > the new virtual machine. > > Everytime after I finishing install of the guest OS, It gave me a prompt > to reboot the guest system. But After I click the "reboot" button, the > vitual machine gone. It's weird. I think the reboot shouldn't make the > guest OS crash. > > I use the /var/lib/xen/images/box1 as the storage space of the guest OS. I > found that the file box1 is still there. So I was trying to use the > "restore saved machine" of virtual machine manager to reload it, However > it said that "Error restoring domain '/var/lib/xen/images/box1'. Is the > domain already running?" > "restore saved machine" is to restore machine which is saved using Virtual Machine -> save, not to start vms which are shut down. As of now, virt-manager is only capable of managing active/running vms. Managing inactive domains using virt-manager is something for future... You sould use "xm crate " to boot a machine. > SO I use the "xm list" to show all domains, only domain0 is there. > > Anybody knows how to fix the above problem? Why did the newly created > virtual machine disappeared whenever I rebooted it? How to make it won't > disapper? Or how to load it into system again? > > Regards, > Angel > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > From adrian.revill at shazamteam.net Fri Mar 9 07:34:46 2007 From: adrian.revill at shazamteam.net (Adrian Revill) Date: Fri, 09 Mar 2007 07:34:46 +0000 Subject: [Fedora-xen] Fedora 6 live migration Message-ID: <45F10E16.8020207@shazamteam.net> Hi, I have set up 2 machines called FedOne (4cpu)and FedTwo (2cpu) with FC6 and a third machine to act as an iSCSI target. On each Dom0 i have started the iSCSI inititaor and ensured the devices have identical names. I have created a FC6 guest and can successfully start it on either FedOne or FedTwo, so im confident the DomU is good. I have enabled the migration interface and can start a migration from either machine, but i have only been successful the very first time i did it. When i start the live migration from say FedOne to FedTwo, i see the new DomU created and paused on FrdTwo, and the DomU enters the state Shutoff (in virt-manager) Then i can get 2 outcomes, it either just stays in that state, and the DomU stays working. Or the DomU migrates and then appears to hang (ie i cant ssh into it, and existing ssh sessions hang) Also the console from virt-manager says its unavailable, and the virt-manager on FedTwo shows the DomU using 50% CPU,. If i now migrate back to FedOne, it stays in a hung state, but also the virt-manager reports 25% CPU usage. Anyone got any ideas? Also what should a normal migration do? When i ran it, it simply stopped the DomU and created a new one on the other machine (booted it up) Adrian From armbru at redhat.com Fri Mar 9 08:39:54 2007 From: armbru at redhat.com (Markus Armbruster) Date: Fri, 09 Mar 2007 09:39:54 +0100 Subject: [Fedora-xen] Problem about guest virtual machine creation In-Reply-To: <57289.128.213.11.196.1173296242.squirrel@webmail.cs.rpi.edu> (taoj2@cs.rpi.edu's message of "Wed, 7 Mar 2007 14:37:22 -0500 (EST)") References: <57289.128.213.11.196.1173296242.squirrel@webmail.cs.rpi.edu> Message-ID: <878xe6kdyd.fsf@pike.pond.sub.org> taoj2 at cs.rpi.edu writes: [...] > Or currently we are not > allowed to create a virtual machine inside another VM. The only possible > way to create guest VM is to create it inside a physical machine, not VM? Correct. [...] From Andrey.Avramenko at R-Style.com Fri Mar 9 08:50:06 2007 From: Andrey.Avramenko at R-Style.com (=?koi8-r?B?4dfSwc3FzsvPIOHOxNLFyg==?=) Date: Fri, 9 Mar 2007 11:50:06 +0300 Subject: [Fedora-xen] Disk perfomance Message-ID: <20070309084848.75AEB19FE35@microgravity.r-style.com> An HTML attachment was scrubbed... URL: From debian at herakles.homelinux.org Fri Mar 9 10:55:02 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Fri, 09 Mar 2007 19:55:02 +0900 Subject: [Fedora-xen] Problem about creating virtual machine in FC6 In-Reply-To: <45F10889.5080206@gmail.com> References: <35565.128.213.11.196.1173125780.squirrel@webmail.cs.rpi.edu> <45F10889.5080206@gmail.com> Message-ID: <45F13D06.60501@herakles.homelinux.org> Sadique Puthen wrote: > taoj2 at cs.rpi.edu wrote: >> Hi, >> >> I installed FC6 and I was trying to create a new virtual machine with the >> virtual machine manager. I selected to use FC6 again as the guesting >> OS of >> the new virtual machine. >> >> Everytime after I finishing install of the guest OS, It gave me a prompt >> to reboot the guest system. But After I click the "reboot" button, the >> vitual machine gone. It's weird. I think the reboot shouldn't make the >> guest OS crash. >> >> I use the /var/lib/xen/images/box1 as the storage space of the guest >> OS. I >> found that the file box1 is still there. So I was trying to use the >> "restore saved machine" of virtual machine manager to reload it, However >> it said that "Error restoring domain '/var/lib/xen/images/box1'. Is the >> domain already running?" >> > > "restore saved machine" is to restore machine which is saved using > Virtual Machine -> save, not to start vms which are shut down. > As of now, virt-manager is only capable of managing active/running vms. > Managing inactive domains using virt-manager is something for future... > You sould use "xm crate " to boot a machine. s=crate=create= >> SO I use the "xm list" to show all domains, only domain0 is there. Read the documentation, the explanation's there. -- Cheers John who will be very cross if anyone replies to him off-list. -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From adrian.revill at shazamteam.net Fri Mar 9 11:11:08 2007 From: adrian.revill at shazamteam.net (Adrian Revill) Date: Fri, 09 Mar 2007 11:11:08 +0000 Subject: [Fedora-xen] Virt-manager and Migration Message-ID: <45F140CC.7060106@shazamteam.net> Hi Jim, Did you ever get the lack of console solved? Im sometimes getting a similar problem. Adrian From berrange at redhat.com Fri Mar 9 13:52:42 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Fri, 9 Mar 2007 13:52:42 +0000 Subject: [Fedora-xen] Problem about creating virtual machine in FC6 In-Reply-To: <45F10889.5080206@gmail.com> References: <35565.128.213.11.196.1173125780.squirrel@webmail.cs.rpi.edu> <45F10889.5080206@gmail.com> Message-ID: <20070309135242.GD14678@redhat.com> On Fri, Mar 09, 2007 at 12:41:05PM +0530, Sadique Puthen wrote: > taoj2 at cs.rpi.edu wrote: > >Hi, > > > >I installed FC6 and I was trying to create a new virtual machine with the > >virtual machine manager. I selected to use FC6 again as the guesting OS of > >the new virtual machine. > > > >Everytime after I finishing install of the guest OS, It gave me a prompt > >to reboot the guest system. But After I click the "reboot" button, the > >vitual machine gone. It's weird. I think the reboot shouldn't make the > >guest OS crash. > > > >I use the /var/lib/xen/images/box1 as the storage space of the guest OS. I > >found that the file box1 is still there. So I was trying to use the > >"restore saved machine" of virtual machine manager to reload it, However > >it said that "Error restoring domain '/var/lib/xen/images/box1'. Is the > >domain already running?" > > > > "restore saved machine" is to restore machine which is saved using > Virtual Machine -> save, not to start vms which are shut down. > As of now, virt-manager is only capable of managing active/running vms. > Managing inactive domains using virt-manager is something for future... > You sould use "xm crate " to boot a machine. libvirt in FC6 does now have support for starting & listing inactive domains. You can list them with virsh list --all or virsh list --inactive Start them with virsh start Delete an inactive config with virsh undefine And finally create a new inactive domain from an XML description virsh define Once its had more tsting I'll push out an update virt-manager which can managed them too - this is already in F7 rawhide. Dan. -- |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From fm at startx.fr Fri Mar 9 14:24:17 2007 From: fm at startx.fr (Fabien MALFOY) Date: Fri, 09 Mar 2007 15:24:17 +0100 Subject: [Fedora-xen] Xen and Cluster Manager (OpenAIS::TOTEM) Message-ID: <45F16E11.9040808@startx.fr> Hi all I experience problems with Xen while trying to build a two nodes cluster with Cluster Manager. The Domain-0 host (called M0 here) is Fedora Core 6 and the Xen version is 3.0.3. Then, I created two virtual machines M1 and M2(FC6 too). The matter is : When i try to initialize the cluster using M1 and M2, these are not able to start the service correctly. Cluster Manager depends on the new cluster framework OpenAIS which uses the TOTEM protocol. Here is one part of the log : Mar 7 15:29:17 M1 openais[2220]: [CMAN ] CMAN 2.0.60 (built Jan 24 2007 15:30:39) started Mar 7 15:29:17 M1 openais[2220]: [SYNC ] Not using a virtual synchrony filter. Mar 7 15:29:17 M1 openais[2220]: [MAIN ] AIS Executive Service: started and ready to provide service. Mar 7 15:29:18 M1 ccsd[2214]: Initial status:: Inquorate *Mar 7 15:29:32 M1 openais[2220]: [TOTEM] The consensus timeout expired.* *Mar 7 15:29:32 M1 openais[2220]: [TOTEM] entering GATHER state from 3.* *Mar 7 15:29:47 M1 openais[2220]: [TOTEM] The consensus timeout expired.* *Mar 7 15:29:47 M1 openais[2220]: [TOTEM] entering GATHER state from 3.* *Mar 7 15:30:02 M1 openais[2220]: [TOTEM] The consensus timeout expired.* *Mar 7 15:30:02 M1 openais[2220]: [TOTEM] entering GATHER state from 3.* And this till the timeout... As in this case I tried to build a cluster made of two virtualized nodes, I wanted to be sure that the source of the problem was not my configuration files or another reason of that type. So I adapted my cluster.conf to replace M2 by M0 and then I installed Cluster Manager on M0. When I started the service on M0 and M1, only the one on M0 started correctly (understand "the non-virtualized machine") and didn't receive any network data from M1. For the tests, I disabled all network traffic filtering. So I deduce that there's something strange between Xen and OpenAIS. I would like to specify that I really tried all my knowledge to solve this. I even thinked to disable the checksum offloading but no way. Can anyone help me ? I also accept those who want to tell me they're in the same lose :-D -- Fabien MALFOY +---------------------------------+ | Soci?t? StartX | | 08.70.33.38.70 - 06.69.67.71.55 | | http://startx.fr | +---------------------------------+ From noisilysilent at nerdshack.com Fri Mar 9 21:44:49 2007 From: noisilysilent at nerdshack.com (NoisilySilent) Date: Fri, 9 Mar 2007 22:44:49 +0100 Subject: [Fedora-xen] Running a presinstalled Windows XP on drive partition. Message-ID: <000a01c76294$2a82de50$162e0259@2M9MV1J> Hi, Did anyone succeed in running Windows preinstalled on its own partition? Actually, I'm having my drive partitioned this way: 1) sda1 = ntfs (Windows install: directories \Windows and \Program Files) 2) sda2 = ntfs (Windows install: directory \Document And Settings) 3) sda3 = ext3 (FC 6 with Xen) 4) sda4 = swap The drive is full. Partitions 1&2 were set long ago at work, and contain lots of private documents and programs. I wish I could run this installation of Windows within Fedora-Xen. Is this possible? As all I can see is "how to install XP within Xen", not running a real XP install! Cheers, Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.bossard at gmail.com Sat Mar 10 09:21:26 2007 From: martin.bossard at gmail.com (Martin Bossard) Date: Sat, 10 Mar 2007 10:21:26 +0100 Subject: [Fedora-xen] Kernel panic Message-ID: am referring to the threads: [Fedora-xen] XEN Kernel Panic [update], [Fedora-xen] XEN Problem with root device I am trying to fire-up a jailtime xen image on a fc6 host. my config file looks like this: kernel = "/boot/vmlinuz-2.6.19-1.2911.6.4.fc6xen" memory = 128 name = "centos.4-4" vif = [ '' ] dhcp = "dhcp" disk = ['file:/xen/centos/centos.4-4.img,sda1,w', 'file:/xen/centos/centos.swap, sda2,w'] root = "/dev/sda1 ro" ramdisk = "/boot/initrd-2.6.19-1.2911.6.4.fc6xen.img" Of course i get the same error as Clause Reheis. He was suggested to rebuild the initrd image with the options --preload=xenblk --with=xennet. I would like to try this but i don't know how! I have tried: mkinitrd /boot/initrd-2.6.19-1.2911.fc6xenU.img --preload=xenblk --with=xennet 2.6.19-1.2911.fc6xen with the result: No modules available for kernel "2.6.19-1.2911.fc6xen". Do i have to install some extra packages? Thanks for your help! Martin Bossard From polytropolis at gmail.com Mon Mar 12 09:42:31 2007 From: polytropolis at gmail.com (Claus Reheis) Date: Mon, 12 Mar 2007 10:42:31 +0100 Subject: [Fedora-xen] Kernel panic In-Reply-To: References: Message-ID: <1173692551.25146.6.camel@mainstation> Hi Martin! On Sat, 2007-03-10 at 10:21 +0100, Martin Bossard wrote: > am referring to the threads: > [Fedora-xen] XEN Kernel Panic [update], > [Fedora-xen] XEN Problem with root device > > I am trying to fire-up a jailtime xen image on a fc6 host. > > my config file looks like this: > kernel = "/boot/vmlinuz-2.6.19-1.2911.6.4.fc6xen" > memory = 128 > name = "centos.4-4" > vif = [ '' ] > dhcp = "dhcp" > disk = ['file:/xen/centos/centos.4-4.img,sda1,w', 'file:/xen/centos/centos.swap, > sda2,w'] > root = "/dev/sda1 ro" > ramdisk = "/boot/initrd-2.6.19-1.2911.6.4.fc6xen.img" > > Of course i get the same error as Clause Reheis. > > He was suggested to rebuild the initrd image with the options > --preload=xenblk --with=xennet. I would like to try this but i don't > know how! I have tried: > > mkinitrd /boot/initrd-2.6.19-1.2911.fc6xenU.img --preload=xenblk > --with=xennet 2.6.19-1.2911.fc6xen > > with the result: > No modules available for kernel "2.6.19-1.2911.fc6xen". > > Do i have to install some extra packages? > > Thanks for your help! > > Martin Bossard I solved that problem and did write a little howto: http://fedorawiki.de/index.php/Xen#Fedora_6_domU:_Verwendung_eines_per_.22dd.22_erstellten_Iso-Images It is written in German but you should understand it because its step by step! If not, just let me know! Maybe I should translate this to English, but I am not sure my English is well enough! Greetings, Claus Reheis > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen From orion at cora.nwra.com Mon Mar 12 18:25:30 2007 From: orion at cora.nwra.com (Orion Poplawski) Date: Mon, 12 Mar 2007 12:25:30 -0600 Subject: [Fedora-xen] Fedora Development (F7) as guest on FC6? Message-ID: Can fedora development run as a guest on FC6? Is there a document somewhere that describes this kind of compatibility? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion at cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com From orion at cora.nwra.com Mon Mar 12 19:43:37 2007 From: orion at cora.nwra.com (Orion Poplawski) Date: Mon, 12 Mar 2007 13:43:37 -0600 Subject: [Fedora-xen] Re: Fedora Development (F7) as guest on FC6? In-Reply-To: References: Message-ID: Orion Poplawski wrote: > Can fedora development run as a guest on FC6? Is there a document > somewhere that describes this kind of compatibility? > My bad, was trying to do i386 on x86_64... -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion at cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com From xcheney at allette.com.au Tue Mar 13 00:46:55 2007 From: xcheney at allette.com.au (Xin Chen) Date: Tue, 13 Mar 2007 11:46:55 +1100 Subject: [Fedora-xen] Xen domain0 and guest kernel match problem Message-ID: <45F5F47F.2020808@allette.com.au> Hi all, In fc5xen installation guide, there is a troubleshoot section which mentions that: the kernel version for guest system must match with the domain0, otherwise the installation may start normally and then go nowhere. what does this mean? I got confusion that, does that mean I can't install different version kernel guest on the domain0. for instance, I use fc6 as domain 0, I can't install fc4 as guest system?? That doesn't make any sense, does it? can anyone help me ? thanks!! xin From Axel.Thimm at ATrpms.net Tue Mar 13 14:56:13 2007 From: Axel.Thimm at ATrpms.net (Axel Thimm) Date: Tue, 13 Mar 2007 15:56:13 +0100 Subject: [Fedora-xen] Re: Fedora Development (F7) as guest on FC6? In-Reply-To: References: Message-ID: <20070313145613.GK25185@neu.nirvana> On Mon, Mar 12, 2007 at 01:43:37PM -0600, Orion Poplawski wrote: > Orion Poplawski wrote: > >Can fedora development run as a guest on FC6? Is there a document > >somewhere that describes this kind of compatibility? > > > > My bad, was trying to do i386 on x86_64... Shouldn't that work, too? -- Axel.Thimm at ATrpms.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Axel.Thimm at ATrpms.net Tue Mar 13 15:00:46 2007 From: Axel.Thimm at ATrpms.net (Axel Thimm) Date: Tue, 13 Mar 2007 16:00:46 +0100 Subject: [Fedora-xen] FC6/x86_64: missing veth*/vif*.* interfaces Message-ID: <20070313150046.GL25185@neu.nirvana> Hi, I'm booting into a xen kernel (the latets Fedora update), but ifconfig -a shows no interface pairs, and therefore xend and the network scripts cannot setup any bridges etc. Where/when are the interface pairs created? The system has been update from FC4/x86_64 to FC5/x86_64 and FC6/x86_64, so maybe there is some old bits I need to remove? Thanks! -- Axel.Thimm at ATrpms.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From orion at cora.nwra.com Tue Mar 13 15:37:27 2007 From: orion at cora.nwra.com (Orion Poplawski) Date: Tue, 13 Mar 2007 09:37:27 -0600 Subject: [Fedora-xen] Re: Fedora Development (F7) as guest on FC6? In-Reply-To: <20070313145613.GK25185@neu.nirvana> References: <20070313145613.GK25185@neu.nirvana> Message-ID: <45F6C537.10801@cora.nwra.com> Axel Thimm wrote: > On Mon, Mar 12, 2007 at 01:43:37PM -0600, Orion Poplawski wrote: >> Orion Poplawski wrote: >>> Can fedora development run as a guest on FC6? Is there a document >>> somewhere that describes this kind of compatibility? >>> >> My bad, was trying to do i386 on x86_64... > > Shouldn't that work, too? Not according to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200852 -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion at cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com From berrange at redhat.com Tue Mar 13 15:46:10 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Tue, 13 Mar 2007 15:46:10 +0000 Subject: [Fedora-xen] Re: Fedora Development (F7) as guest on FC6? In-Reply-To: <20070313145613.GK25185@neu.nirvana> References: <20070313145613.GK25185@neu.nirvana> Message-ID: <20070313154610.GC24377@redhat.com> On Tue, Mar 13, 2007 at 03:56:13PM +0100, Axel Thimm wrote: > On Mon, Mar 12, 2007 at 01:43:37PM -0600, Orion Poplawski wrote: > > Orion Poplawski wrote: > > >Can fedora development run as a guest on FC6? Is there a document > > >somewhere that describes this kind of compatibility? > > > > > > > My bad, was trying to do i386 on x86_64... > > Shouldn't that work, too? Only if doing HVM fully virtualized guests. Paravirtualized guests have to match architecture exactly because of the shadow page table impl used in Xen. In Xen 3.0.5 there is now compat support to do i386 on x86_64 in paravirt too, however, that is not part of FC6 or F7. Given the expected release cycle of 3.0.5 we're fairly unlikely to have 3.0.5 in Fedora until F8. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From andreas.viehhauser at wuestenrot.at Wed Mar 14 09:16:39 2007 From: andreas.viehhauser at wuestenrot.at (andreas.viehhauser at wuestenrot.at) Date: Wed, 14 Mar 2007 10:16:39 +0100 Subject: [Fedora-xen] Fedora Xen Question Message-ID: Hello, I have som Troubles with XEN - Fedora: I was not able to install Windows XP with Xen 3.0.3 (Fedora Core 6) successfully. The basic install went smooth but after the first reboot, only a blank screen was displayed. cat /etc/xen/xp # Automatically generated xen config file name = "xp" builder = "hvm" memory = "500" disk = [ 'file:/backup/test/windows/windows.disk,ioemu:hda,w','phy:/dev/cdrom,hdb:cdrom,r' ] vif = [ 'type=ioemu, mac=00:16:3e:76:8f:a0, bridge=xenbr0', ] uuid = "ca6964b7-eb56-6c64-287a-9693621a33ea" device_model = "/usr/lib/xen/bin/qemu-dm" boot='c' kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 vncunused=1 apic=1 acpi=1 pae=1 stdvga=0 vcpus=1 serial = "pty" # enable serial console on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' I tried the Solution: The solution is to choose "Standard PC" in the beginning of the Windows install process so that a generic HAL is installed. This can be done be pressing F5 when Windows ask to press F6 to install RAID drivers. But nothing happens, the screen is already black. Have anyone a idea for my problem??? A Fedora Guest on Xen runs very well. thanks a lot varaway -------------- next part -------------- An HTML attachment was scrubbed... URL: From debian at herakles.homelinux.org Wed Mar 14 15:34:00 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Thu, 15 Mar 2007 00:34:00 +0900 Subject: [Fedora-xen] Kernel panic In-Reply-To: <1173692551.25146.6.camel@mainstation> References: <1173692551.25146.6.camel@mainstation> Message-ID: <45F815E8.6040905@herakles.homelinux.org> Claus Reheis wrote: > Hi Martin! > > On Sat, 2007-03-10 at 10:21 +0100, Martin Bossard wrote: >> am referring to the threads: >> [Fedora-xen] XEN Kernel Panic [update], >> [Fedora-xen] XEN Problem with root device >> >> I am trying to fire-up a jailtime xen image on a fc6 host. >> >> my config file looks like this: >> kernel = "/boot/vmlinuz-2.6.19-1.2911.6.4.fc6xen" >> memory = 128 >> name = "centos.4-4" >> vif = [ '' ] >> dhcp = "dhcp" >> disk = ['file:/xen/centos/centos.4-4.img,sda1,w', 'file:/xen/centos/centos.swap, >> sda2,w'] >> root = "/dev/sda1 ro" >> ramdisk = "/boot/initrd-2.6.19-1.2911.6.4.fc6xen.img" >> >> Of course i get the same error as Clause Reheis. >> >> He was suggested to rebuild the initrd image with the options >> --preload=xenblk --with=xennet. I would like to try this but i don't >> know how! I have tried: >> >> mkinitrd /boot/initrd-2.6.19-1.2911.fc6xenU.img --preload=xenblk >> --with=xennet 2.6.19-1.2911.fc6xen >> >> with the result: >> No modules available for kernel "2.6.19-1.2911.fc6xen". >> >> Do i have to install some extra packages? >> >> Thanks for your help! >> >> Martin Bossard > > I solved that problem and did write a little howto: > > http://fedorawiki.de/index.php/Xen#Fedora_6_domU:_Verwendung_eines_per_.22dd.22_erstellten_Iso-Images > > It is written in German but you should understand it because its step by > step! > If not, just let me know! > Maybe I should translate this to English, but I am not sure my English > is well enough! You should, and I'll volunteer Martin to help:) Reminds me of the flicks I saw in the 60s with German soldiers running round like madmen shouting Achtung! Schnell! Schnell!;-) Makes a certain amount of sense, but I'm sure your English would make more. I can't tell whether this is the cure for my kernel panic:-( -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From cam at cs.ualberta.ca Wed Mar 14 17:36:38 2007 From: cam at cs.ualberta.ca (Cam Macdonell) Date: Wed, 14 Mar 2007 11:36:38 -0600 Subject: [Fedora-xen] Network setup under Xen Message-ID: <45F832A6.9070509@cs.ualberta.ca> Hi, I have no network access when I boot into my Xen kernel under FC6. Everything to this point is the default configuration and xend-config.sxp looks ok. After Xen boots, I run /sbin/ifconfig and I see 'lo' and 'xenbr0' but no vifs. I read in the Xen manual how eth0 is moved on the xenbr0 - is there anyway to diagnose if there is an error occurring? I use dhcp to acquire my IP if that helps. Any comment or pointers are welcome. Thanks very much, Cam From Andrey.Avramenko at R-Style.com Thu Mar 15 09:08:29 2007 From: Andrey.Avramenko at R-Style.com (=?koi8-r?B?4dfSwc3FzsvPIOHOxNLFyg==?=) Date: Thu, 15 Mar 2007 12:08:29 +0300 Subject: [Fedora-xen] Network setup under Xen References: <45F832A6.9070509@cs.ualberta.ca> Message-ID: An HTML attachment was scrubbed... URL: From chris at base2technology.com Thu Mar 15 16:59:39 2007 From: chris at base2technology.com (Chris Hirsch) Date: Thu, 15 Mar 2007 10:59:39 -0600 Subject: [Fedora-xen] gnbd vs iSCSI Message-ID: <45F97B7B.9020904@base2technology.com> Hey all...I've been working with Xen and iSCSI for a while now and recently discovered gnbd. I was wondering if anybody can comment on which might be better. It seems that gnbd is more of an enterprise solution that works only with Linux boxes. It also seems easier to set up (but this is only from looking at the RH admin guide and a couple of howtos recommending gnbd). After some searching however it appears that gnbd is no longer supported as of FC6. Is this because iSCSI will be the replacement for for network block access or for some other reason? Thanks for your help! Chris From cam at cs.ualberta.ca Thu Mar 15 18:50:55 2007 From: cam at cs.ualberta.ca (Cam Macdonell) Date: Thu, 15 Mar 2007 12:50:55 -0600 Subject: [Fedora-xen] Network setup under Xen In-Reply-To: References: <45F832A6.9070509@cs.ualberta.ca> Message-ID: <45F9958F.8010401@cs.ualberta.ca> ????????? ?????? wrote: > > Have you a line like "vif = [ 'mac=00:16:3e:4a:df:ac, bridge=xenbr0', ]" > in your config file? > Should this be in xend-config.sxp or a config file for a particular VM? xend-config.sxp contains (vif-script vif-bridge) but does not contain the line you have given. Should it be in there? Thanks, Cam > > --- > With best regards, > RHCE, Avramenko Andrew > JSC R-Style. Technical support. DIT. > > > > -----???????? ?????????----- > ??: fedora-xen-bounces at redhat.com ?? ????? Cam Macdonell > ??????????: ??, 3/14/2007 20:36 > ????: fedora-xen at redhat.com > ????: [Fedora-xen] Network setup under Xen > > > Hi, > > I have no network access when I boot into my Xen kernel under FC6. > Everything to this point is the default configuration and > xend-config.sxp looks ok. > > After Xen boots, I run /sbin/ifconfig and I see 'lo' and 'xenbr0' but no > vifs. I read in the Xen manual how eth0 is moved on the xenbr0 - is > there anyway to diagnose if there is an error occurring? > > I use dhcp to acquire my IP if that helps. > > Any comment or pointers are welcome. > > Thanks very much, > Cam > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > > > > ------------------------------------------------------------------------ > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen From cam at cs.ualberta.ca Thu Mar 15 19:53:51 2007 From: cam at cs.ualberta.ca (Cam Macdonell) Date: Thu, 15 Mar 2007 13:53:51 -0600 Subject: [Fedora-xen] Network setup under Xen In-Reply-To: <45F99AFD.9050904@cpsc.ucalgary.ca> References: <45F832A6.9070509@cs.ualberta.ca> <45F9958F.8010401@cs.ualberta.ca> <45F99AFD.9050904@cpsc.ucalgary.ca> Message-ID: <45F9A44F.5040107@cs.ualberta.ca> Abhishek Gaurav wrote: > Cam Macdonell wrote: >> ????????? ?????? wrote: >> >>> >>> Have you a line like "vif = [ 'mac=00:16:3e:4a:df:ac, bridge=xenbr0', >>> ]" in your config file? >>> >> >> Should this be in xend-config.sxp or a config file for a particular VM? > > The line "vif = [ 'mac..." is the network specification for the VM and > tells Xen what mac address and bridge to use. So they should be in the > VM config file. The xend-config.xsp contains configuration parameters > for the Xen deamon and not the VMs. > Ok, so I guess my problem is that my network does not work when I boot my machine with the Xen kernel (which starts that daemon). I can see 4 veth/vif0 interfaces, but they're all down. I get the error "SIOCSIFNAME: No such device" when I run /etc/xen/scripts/network-bridge start Do you have any thoughts? Thanks, Cam From mdehaan at redhat.com Thu Mar 15 23:06:01 2007 From: mdehaan at redhat.com (Michael DeHaan) Date: Thu, 15 Mar 2007 19:06:01 -0400 Subject: [Fedora-xen] Announcing virt-factory 0.0.1 Message-ID: <45F9D159.4040805@redhat.com> Today we're pleased to announce the first public release of a new systems management project -- virt-factory -- currently at bright, new, and shiny version 0.0.1. Virt-factory is a project that aims to manage very large numbers of virtual machines in a very managable way. As it's a very new project, there is a lot of room for developers who are interested to get involved. We want this to be very much a community project. Check out the web site at http://virt-factory.et.redhat.com for more info, and perhaps also look at the Roadmap (http://et.redhat.com/page/VF_Roadmap) to see where we'd like to take it. === From the website: Virt-Factory manages virtualized infrastructure: * it focuses on interacting with large numbers of virtual systems and on addressing some of the interaction problems that brings with it * it is primarily aimed at a fairly formal setting (data center), though we hope it is useful on smaller scales, too * even though it has some uses for bare-metal systems, it is first and foremost a tool for managing virtual systems, and future development will be much more focused on virtual systems than bare-metal systems Virt-Factory provides both a web UI, for ease of use, and an XMLRPC API, for scripting of admin actions. Virt-Factory is built on open-source projects including Cobbler http://cobbler.et.redhat.com, libvirt http://libvirt.org, and Puppet http://reductivelabs.com. Today, Virt-Factory provisions and manages hosts and guests, and addresses some of the problems specific to virtual systems: it creates complete host and guest images from metadata descriptions and centrally manages existing images. Future work will make it possible to abstract away individual hosts and place guests into a pool of equivalent hosts, simplifying the administrator's view of the data center for many tasks. === et-mgmt-tools at redhat.com is the project mailing list... and we already have a git code repository up at the URL above, plus a yum repository, tarballs, and so forth. Questions, comments, ideas? We'd be glad to hear from you. Sincerely, The Virt Factory Team Development: Michael DeHaan, Adrian Likins, Scott Seago Lots of Help From: David Lutterkort, Jim Meyering, and the rest of the Red Hat Emerging Technologies group -------------- next part -------------- An embedded message was scrubbed... From: Michael DeHaan Subject: Announcing virt-factory 0.0.1 Date: Thu, 15 Mar 2007 19:05:29 -0400 Size: 2787 URL: From craigmobile at gmail.com Fri Mar 16 08:44:28 2007 From: craigmobile at gmail.com (Craig H) Date: Fri, 16 Mar 2007 04:44:28 -0400 Subject: [Fedora-xen] IRQ and Controller not found Message-ID: <93bde830703160144j26ad4b96q3ed8f4543cf84c6b@mail.gmail.com> After installing domu and rebooting, I get the following errors: rtc:IRQ 8 is not free and i8042.c: No controller found. Going to boot Fedora Core (2.6.18-1.2798.fc6xen) kernel: /vmlinuz-2.6.18-1.2798.fc6xen initrd: /initrd-2.6.18-1.2798.fc6xen.img Started domain xenbox1 rtc: IRQ 8 is not free. i8042.c: No controller found. I searched the manual and the mailing lists. The mailing lists made reference to networking. network shows type: bridge source:xenbr0 and a MAC address i assigned domu a static IP during setup. I can get domu running using xm create -c xenbox1, but i get the above errors and can not get console. I'm curently at a loss for how to manage the virtual server. 12/03/2007 11:06:06 Autoprobing TCP port 12/03/2007 11:06:06 Failure autoprobing: Cannot assign requested address 12/03/2007 12:40:22 Autoprobing TCP port 12/03/2007 12:40:22 Failure autoprobing: Cannot assign requested address Nothing to flush. Link veth0 is missing. This may be because you have reached the limit of the number of interfaces that the loopback driver supports. If the loopback driver is a module, you may raise this limit by passing it as a parameter (nloopbacks=); if the driver is compiled statically into the kernel, then you may set the parameter using loopback.nloopbacks= on the domain 0 kernel command line. I do have iputils and iproute installed. Any help would be greatly appreciated. Thanks, Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: From dshwatrz at gmail.com Fri Mar 16 16:47:36 2007 From: dshwatrz at gmail.com (David Shwatrz) Date: Fri, 16 Mar 2007 18:47:36 +0200 Subject: [Fedora-xen] (no subject) Message-ID: <31436f4a0703160947n38215c91l53a2cbbf5b843144@mail.gmail.com> Hello, I had created an image file with virt-install under Fedora 6 with something like: virt-install -n guset2 -r 256 -s 4 -f /var/lib/xen/images/guest2/guest2File -l ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os-p --nographics Is there a way to mount Read-Write or Read-Only this file (/var/lib/xen/images/guest2/guest2File) from within dom0 ? Regards , DS -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Fri Mar 16 17:02:49 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Fri, 16 Mar 2007 13:02:49 -0400 Subject: [Fedora-xen] (no subject) In-Reply-To: <31436f4a0703160947n38215c91l53a2cbbf5b843144@mail.gmail.com> References: <31436f4a0703160947n38215c91l53a2cbbf5b843144@mail.gmail.com> Message-ID: <1174064569.23623.3.camel@aic-laptop-5.cathrow.org> On Fri, 2007-03-16 at 18:47 +0200, David Shwatrz wrote: > Hello, > > I had created an image file with virt-install under Fedora 6 with > something like: > > virt-install -n guset2 -r 256 -s 4 > -f /var/lib/xen/images/guest2/guest2File -l > ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os -p --nographics > > Is there a way to mount Read-Write or Read-Only this file > (/var/lib/xen/images/guest2/guest2File) from within dom0 ? http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6 Look under "Accessing guest disk image" > > Regards , > DS > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dshwatrz at gmail.com Sat Mar 17 11:48:24 2007 From: dshwatrz at gmail.com (David Shwatrz) Date: Sat, 17 Mar 2007 13:48:24 +0200 Subject: [Fedora-xen] (no subject) In-Reply-To: <1174064569.23623.3.camel@aic-laptop-5.cathrow.org> References: <31436f4a0703160947n38215c91l53a2cbbf5b843144@mail.gmail.com> <1174064569.23623.3.camel@aic-laptop-5.cathrow.org> Message-ID: <31436f4a0703170448t35020757xcbf160a44c038f14@mail.gmail.com> Hello, Thanks a lot! >Look under "Accessing guest disk image" I did so; It could be that there is a slight error in that wiki page, or that something in my configuration is a bit different. I tried to mount an image which was installed on a regular file. It was slightly different than the wiki; any case I did manage to solve it ; down below is what problem I had and how it was solved, so that others may benefit from it (and maybe the wiki should be changed, I really do not know). The "Accessing guest disk image" says: "Note that this only works for block devices, not for images installed on regular files. To use file images, you'll need to set up a loopback device for the file first: # losetup -f /dev/loop0 # losetup /dev/loop0 /xen/images/MyImagefile.img # kpartx -av /dev/loop0 add map loop0p1 : 0 208782 linear /dev/loop0 63 add map loop0p2 : 0 12370050 linear /dev/loop0 208845 In this case we have added an image formatted as a default Fedora install, so it has two partitions: one /boot, and one LVM volume containing everything else. They are accessible under /dev/mapper: # ls -l /dev/mapper/ | grep guest1" ***In my case***, ls -l /dev/mapper/ does ***NOT*** contain guest1; ls -l /dev/mapper/ shows: crw------- 1 root root 10, 62 Mar 17 11:43 control brw-rw---- 1 root disk 253, 0 Mar 17 13:22 loop0p1 brw-rw---- 1 root disk 253, 1 Mar 17 13:22 loop0p2 But continuing with mount /dev/mapper/loop0p1 /mnt/boot/ instead: mount /dev/mapper/guest1p1 /mnt/boot/ (as in the Wiki) did the job. The same is for kpartx: kpartx -a /dev/mapper/loop0p2 and then :vgscan **instead of:** kpartx -a /dev/xen/guest1 and then :vgscan (as in the wiki) did the job. Regards, DS On 3/16/07, Andrew Cathrow wrote: > > On Fri, 2007-03-16 at 18:47 +0200, David Shwatrz wrote: > > Hello, > > I had created an image file with virt-install under Fedora 6 with > something like: > > virt-install -n guset2 -r 256 -s 4 -f > /var/lib/xen/images/guest2/guest2File -l > ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os-p --nographics > > Is there a way to mount Read-Write or Read-Only this file > (/var/lib/xen/images/guest2/guest2File) from within dom0 ? > > > http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6 > > Look under "Accessing guest disk image" > > > Regards , > DS > > --Fedora-xen mailing listFedora-xen at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen > > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > > acathrow at redhat.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From suyashjape at gmail.com Sun Mar 18 14:18:58 2007 From: suyashjape at gmail.com (suyash jape) Date: Sun, 18 Mar 2007 19:48:58 +0530 Subject: [Fedora-xen] fedora core 6 xen not able to bring up X server:monitor blinks infinitely Message-ID: <16314edc0703180718p492ef774qb31df671388e179c@mail.gmail.com> My machine configuration is P4 1GB RAM, 40 GB HDD and COMPAQ SVGA monitor. I have installed fedor core 6 xen in my machine X server is not coming up with 2.6.18-1.2798.fc6xen kernel. xorg.conf is using i810 driver with depth = 24 Fedora Core 6 is installed successfully in graphical mode When booting,system switches automatically to run level 3. When i try startx or X or system-config-display , the monitor goes blank and monitor LED continues to blink infinitely Few people have faced asimilar problem but i'm not able to find a solution for it on the Net. Any suggestion would be really appreciated... Thanks.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From suyashjape at gmail.com Sun Mar 18 14:24:47 2007 From: suyashjape at gmail.com (suyash jape) Date: Sun, 18 Mar 2007 19:54:47 +0530 Subject: [Fedora-xen] fedora core 6 xen not able to bring up X server Message-ID: <16314edc0703180724j143702c3vacaae1cddf032d65@mail.gmail.com> My machine configuration is P4 1GB RAM, 40 GB HDD and COMPAQ SVGA monitor. I have installed fedor core 6 xen in my machine X server is not coming up with 2.6.18-1.2798.fc6xen kernel. xorg.conf is using i810 driver with depth = 24 Fedora Core 6 is installed successfully in graphical mode When booting,system switches automatically to run level 3. When i try startx or X or system-config-display , the monitor goes blank and monitor LED continues to blink infinitely Few people have faced asimilar problem but i'm not able to find a solution for it on the Net. Any suggestion would be really appreciated... Thanks.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From smt at vgersoft.com Sun Mar 18 14:25:16 2007 From: smt at vgersoft.com (Steve Thompson) Date: Sun, 18 Mar 2007 10:25:16 -0400 (EDT) Subject: [Fedora-xen] fedora core 6 xen not able to bring up X server:monitor blinks infinitely In-Reply-To: <16314edc0703180718p492ef774qb31df671388e179c@mail.gmail.com> References: <16314edc0703180718p492ef774qb31df671388e179c@mail.gmail.com> Message-ID: On Sun, 18 Mar 2007, suyash jape wrote: > X server is not coming up with 2.6.18-1.2798.fc6xen kernel. > xorg.conf is using i810 driver with depth = 24 > Fedora Core 6 is installed successfully in graphical mode > [...] > When i try startx or X or system-config-display , the monitor goes blank and > monitor LED continues to blink infinitely You'll find that the X server is in an infinite loop. It does this even if Xorg.conf is removed altogether. It will also start just fine with the non-xen kernel, as it did with the xen kernel that was in the original FC6. It's been like this since some time in October. I'd also like to know the solution. MGA550/x86 in my case. Steve ---------------------------------------------------------------------------- Steve Thompson E-mail: smt AT vgersoft DOT com Voyager Software LLC Web: http://www DOT vgersoft DOT com 39 Smugglers Path VSW Support: support AT vgersoft DOT com Ithaca, NY 14850 "186,300 miles per second: it's not just a good idea, it's the law" ---------------------------------------------------------------------------- From kkbeniwa at learn.senecac.on.ca Sun Mar 18 18:51:12 2007 From: kkbeniwa at learn.senecac.on.ca (Kiranjeet Kaur Beniwal) Date: Sun, 18 Mar 2007 14:51:12 -0400 Subject: [Fedora-xen] Benchmarking Message-ID: Which tools I can use to bechmarking the performance of paravirtualized and full-virtualized xen guest domains. Kiran Beniwal From kkbeniwa at learn.senecac.on.ca Sun Mar 18 19:01:44 2007 From: kkbeniwa at learn.senecac.on.ca (Kiranjeet Kaur Beniwal) Date: Sun, 18 Mar 2007 15:01:44 -0400 Subject: [Fedora-xen] how to benchmarking the performance of paravirtualized and fully -virtualized xen guest domains Message-ID: I don't know how to benchmark the performance of paravirtualized and fully-virtualized xen guest domains Kiran From suyashjape at gmail.com Mon Mar 19 13:54:28 2007 From: suyashjape at gmail.com (suyash jape) Date: Mon, 19 Mar 2007 19:24:28 +0530 Subject: [Fedora-xen] Re: [redhat-l] fedora core 6 xen not able to bring up X server:monitor blinks infinitely In-Reply-To: References: Message-ID: <16314edc0703190654h79a9a349ub0e682b5d84473c0@mail.gmail.com> Thanks for your suggestions guys... The problem was solved by :yum update xorg* I think the *xorg*-x11-*server*-*Xorg i386 rpm *update solved the problem. Looks like Fedora created the problem and solved it itself(through yum i mean) :) teaching me a lot of things in between :) Thanks. On 3/19/07, satish kumar singh via redhat-l wrote: > > //*------------------------------------------------------------- > What is Virtualization & how can it benefit your deployment? > Read more: http://www.ittoolbox.com/da/488579 > -------------------------------------------------------------*// > > Hi, > > Just make an entry of the font with complete path in xorg.conf file,due > to buges. Let me know further. > > However,sometime it doesnt work with the default font entry in > xorg.conf file so hash it and try with the new font entry.It will come.Ididnt remember the exact path. > ---------------Original Message--------------- > >My machine configuration is P4 1GB RAM, 40 GB HDD and COMPAQ SVGA > monitor. > > > >I have installed fedor core 6 xen in my machine > > > >X server is not coming up with 2.6.18-1.2798.fc6xen kernel. > >xorg.conf is using i810 driver with depth = 24 > >Fedora Core 6 is installed successfully in graphical mode > > > >When booting,system switches automatically to run level 3. > > > >When i try startx or X or system-config-display , the monitor goes blank > and > >monitor LED continues to blink infinitely > > > >Few people have faced asimilar problem but i'm not able to find a > solution > >for it on the Net. > > > >Any suggestion would be really appreciated... > >Thanks.... > > > > > //*-------- INTERESTED IN THIS MESSAGE? RELATED CONTENT -------- > Flexible Capacity and Secured Availability - HP integrity servers running > Linux (White Papers) > http://www.ittoolbox.com/da/502385 > Lotus notes / Domino easily integrated as a BI datasource (Blogs) > http://www.ittoolbox.com/da/320936 > Suse-wiki-project (Wiki) > http://www.ittoolbox.com/da/366216 > Re: VPN Solution for Redhat Linux (Groups) > http://www.ittoolbox.com/da/233554 > -------------------------------------------------------------*// > > //*------------------ RESOURCES FOR THIS GROUP ----------------- > View Online: http://ITtoolbox.com/da/80167/redhat-l > Manage Account/Group Tips: http://ITtoolbox.com/da/228578 > Wiki: http://ITtoolbox.com/da/80166/redhat-l > Leave This Group: mailto:leave-redhat-l at Groups.ITtoolbox.com > Copyright (c) ITtoolbox and message author. No redistribution. > -------------------------------------------------------------*// > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hunter at userfriendly.net Mon Mar 19 15:16:48 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Mon, 19 Mar 2007 11:16:48 -0400 Subject: [Fedora-xen] some initial trouble Message-ID: Xen readers - Been trying to get xen working on FC6 for some time now, and i am not sure what i am doing wrong - last time i played with xen it was v2 and didnt seem to be this difficult to get working. ANyway, thought i would see if there was a kind soul that could give me some guidance. I have a Fedora Core 6 server running the latest kernel 2.6.19-1.2911.6.5 and xen 3.0.3-6 and i have a few dom's i grabbed from jailtime.org to play with (i.e. debian-3.1, centos-4.4, etc). I am specifically trying to get the debian dom running, here is the config: kernel = "/boot/vmlinuz-2.6.19-1.2911.fc6xen" memory = 128 name = "debian.3-1" vif = [''] dhcp = "dhcp" disk = ['file:/xen/debian/debian.3-1.img,hda1,w', 'file:/xen/debian/debian.swap,hda2,w'] root = "/dev/hda1 ro" pretty generic, and when i go to fire it up with 'xen create debian-3.1.cfg-c' it starts up and runs for a few moments then dies, leaving the following in the log file: Mar 19 11:06:19 monica kernel: xenbr0: port 3(vif11.0) entering disabled state Mar 19 11:06:19 monica kernel: device vif11.0 left promiscuous mode Mar 19 11:06:19 monica kernel: audit(1174316779.413:26): dev=vif11.0 prom=0 old_prom=256 auid=4294967295 Mar 19 11:06:19 monica kernel: xenbr0: port 3(vif11.0) entering disabled state Mar 19 11:06:21 monica kernel: device vif12.0 entered promiscuous mode Mar 19 11:06:21 monica kernel: audit(1174316781.232:27): dev=vif12.0prom=256 old_prom=0 auid=4294967295 Mar 19 11:06:21 monica kernel: ADDRCONF(NETDEV_UP): vif12.0: link is not ready Mar 19 11:06:25 monica kernel: xenbr0: port 3(vif12.0) entering disabled state Mar 19 11:06:25 monica kernel: device vif12.0 left promiscuous mode Mar 19 11:06:25 monica kernel: audit(1174316785.144:28): dev=vif12.0 prom=0 old_prom=256 auid=4294967295 Mar 19 11:06:25 monica kernel: xenbr0: port 3(vif12.0) entering disabled state Not really sure what the heck its complaining about. The server i am running this on has a single network card with a single IP address so i really dont have spare IPs i can throw at this thing. First thing, what am i doing wrong? And does anyone have any suggestions on the best way to run this? Or a good link that i can reference? Just seems v2 was easier to get this to work without much magic, but i am getting old, and may not be remembering all the details too well - its been awhile since i have played with it. Thanks in advance Michael Weiner -------------- next part -------------- An HTML attachment was scrubbed... URL: From berrange at redhat.com Mon Mar 19 15:28:23 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Mon, 19 Mar 2007 15:28:23 +0000 Subject: [Fedora-xen] some initial trouble In-Reply-To: References: Message-ID: <20070319152823.GE17442@redhat.com> On Mon, Mar 19, 2007 at 11:16:48AM -0400, Michael Weiner wrote: > Xen readers - > > Been trying to get xen working on FC6 for some time now, and i am not sure > what i am doing wrong - last time i played with xen it was v2 and didnt seem > to be this difficult to get working. ANyway, thought i would see if there > was a kind soul that could give me some guidance. I have a Fedora Core 6 > server running the latest kernel 2.6.19-1.2911.6.5 and xen 3.0.3-6 and i > have a few dom's i grabbed from jailtime.org to play with (i.e. debian-3.1, > centos-4.4, etc). I am specifically trying to get the debian dom running, > here is the config: > > kernel = "/boot/vmlinuz-2.6.19-1.2911.fc6xen" > memory = 128 > name = "debian.3-1" > vif = [''] > dhcp = "dhcp" > disk = ['file:/xen/debian/debian.3-1.img,hda1,w', > 'file:/xen/debian/debian.swap,hda2,w'] > root = "/dev/hda1 ro" You've not provided any initrd. All Fedora kernels (both Xen & baremetal) are fully modular, so you need to create a suitable initrd containing whatever kernel modules you might need to boot with (eg the Xen drivers for disk access). You'll also need to install the kernel inside the guest FS so that any kernel modules needed later in boot process are available. In general we recommend using the Xen kernel distributed by the OS distributor themselves, rather than mixing & matching kernels & OS images from different distributions. > pretty generic, and when i go to fire it up with 'xen create > debian-3.1.cfg-c' it starts up and runs for a few moments then dies, > leaving the following > in the log file: The system logs generally don't contain any useful information relating to Xen. You should instead look at the Xen logs - /var/log/xen/* Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From steve at atc-nycorp.com Mon Mar 19 16:27:04 2007 From: steve at atc-nycorp.com (Steve Brueckner) Date: Mon, 19 Mar 2007 12:27:04 -0400 Subject: [Fedora-xen] some initial trouble Message-ID: <60D45469A1AAD311A04C009027B6BF6806146D22@SERVER20> Daniel P. Berrange wrote: > On Mon, Mar 19, 2007 at 11:16:48AM -0400, Michael Weiner wrote: >> Xen readers - >> >> Been trying to get xen working on FC6 for some time now, and i am not >> sure what i am doing wrong - last time i played with xen it was v2 >> and didnt seem to be this difficult to get working. > > You've not provided any initrd. Yes, initrd's can be a pain with Fedora. >> pretty generic, and when i go to fire it up with 'xen create >> debian-3.1.cfg-c' it starts up and runs for a few moments then dies, >> leaving the following in the log file: > > The system logs generally don't contain any useful information > relating to Xen. You should instead look at the Xen logs - > /var/log/xen/* You can also get more information to debug problems by launching with a console (#xm create -c ). This will show you the VM booting, and you'll be able to see errors such as module failures due to a lack of an initrd. Steve Brueckner, ATC-NY From hunter at userfriendly.net Mon Mar 19 16:34:44 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Mon, 19 Mar 2007 12:34:44 -0400 Subject: [Fedora-xen] some initial trouble In-Reply-To: <60D45469A1AAD311A04C009027B6BF6806146D22@SERVER20> References: <60D45469A1AAD311A04C009027B6BF6806146D22@SERVER20> Message-ID: On 3/19/07, Steve Brueckner wrote: > > Daniel P. Berrange wrote: > > On Mon, Mar 19, 2007 at 11:16:48AM -0400, Michael Weiner wrote: > >> Xen readers - > >> > >> Been trying to get xen working on FC6 for some time now, and i am not > >> sure what i am doing wrong - last time i played with xen it was v2 > >> and didnt seem to be this difficult to get working. > > > > You've not provided any initrd. > > Yes, initrd's can be a pain with Fedora. > > >> pretty generic, and when i go to fire it up with 'xen create > >> debian-3.1.cfg-c' it starts up and runs for a few moments then dies, > >> leaving the following in the log file: > > > > The system logs generally don't contain any useful information > > relating to Xen. You should instead look at the Xen logs - > > /var/log/xen/* > > You can also get more information to debug problems by launching with > a console (#xm create -c ). This will show you the VM booting, > and you'll be able to see errors such as module failures due to a lack > of an initrd. Thanks Steve, any possible pointers or URLs? Thanks Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From mankins at media.mit.edu Mon Mar 19 18:28:48 2007 From: mankins at media.mit.edu (Matt Mankins) Date: Mon, 19 Mar 2007 14:28:48 -0400 Subject: [Fedora-xen] FC6 Guest install Hangs - broadcom? Message-ID: <29C4FE1C-9B59-42EF-BAA3-75F2066C9E2E@media.mit.edu> Hi. I have a fresh install of FC6 (2.6.19-1.2911.6.5.fc6xen) dom0 running on 64bit install, unfortunately I can't seem to get any domU guests (all same OS) to install, they hang after the "network setup" screen of anaconda. I've tried {virt-install,virt-manager (gui), xenguest-install (what I used previously on fc5)}, using nfs mount of 64 bit install dvd fc6. All seem to hang right after the network setup screen, when I enter the network parameters manually (not dhcp). Here's a screen capture of what it looks like: http://fishinhand.com/tmp/fc6-hang.png (notice the weird A at the top right). --> Extra bits: I have three machines that all exhibit the same behavior. 2 are Dell 1950s and one is an 1850. All are 2 dual cores. 16GB Ram. File backed for now. I've applied the Broadcom network fix to make the network behave ( http://mywiki.ncsa.uiuc.edu/ wiki/Dell_PE1950_NIC_Firmware_Workaround ), only I guess it's not. Does any of this ring a bell? Did I not completely fix the broadcom? I'm not sure what to look at... the log files seem clean, but I can post if that would help. Matt Mankins http://www.ka-zam.com/ From mweiner at gmail.com Mon Mar 19 16:33:05 2007 From: mweiner at gmail.com (Michael Weiner) Date: Mon, 19 Mar 2007 12:33:05 -0400 Subject: [Fedora-xen] some initial trouble In-Reply-To: <60D45469A1AAD311A04C009027B6BF6806146D22@SERVER20> References: <60D45469A1AAD311A04C009027B6BF6806146D22@SERVER20> Message-ID: On 3/19/07, Steve Brueckner wrote: > > Daniel P. Berrange wrote: > > On Mon, Mar 19, 2007 at 11:16:48AM -0400, Michael Weiner wrote: > >> Xen readers - > >> > >> Been trying to get xen working on FC6 for some time now, and i am not > >> sure what i am doing wrong - last time i played with xen it was v2 > >> and didnt seem to be this difficult to get working. > > > > You've not provided any initrd. > > Yes, initrd's can be a pain with Fedora. > > >> pretty generic, and when i go to fire it up with 'xen create > >> debian-3.1.cfg-c' it starts up and runs for a few moments then dies, > >> leaving the following in the log file: > > > > The system logs generally don't contain any useful information > > relating to Xen. You should instead look at the Xen logs - > > /var/log/xen/* > > You can also get more information to debug problems by launching with > a console (#xm create -c ). This will show you the VM booting, > and you'll be able to see errors such as module failures due to a lack > of an initrd. Thanks Steve, any possible pointers or URLs? Thanks Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhenry56 at gmail.com Mon Mar 19 23:56:12 2007 From: rhenry56 at gmail.com (Richard Henry) Date: Mon, 19 Mar 2007 17:56:12 -0600 Subject: [Fedora-xen] xen guest creation Message-ID: <1174348572.5470.18.camel@linux32.localdomain> I'm having a problem creating a 2nd HVM SUSE guest on a Fedora 7 test 2 dom0.The 1st created just fine. (I've also created a Ubuntu guest just fine I originally tried a fedora guest but no luck there) I'm using virt-manager to control the process. As I try to create the 2nd guest the virt-manager window goes blank as well as the create progress box. If I exit out of there and restart virt-manager the domain shows running at about 50% CPU utilization. If I then go to the console it shows booting from disk but no further progress. I've also tried virt-install but no success. I'm sure it's something stupid I'm doing but I haven't found anything similar on any list that I've looked at. I'm running AMD 64x2 with SVM. Thanks for any help. From fj7716hz at aa.jp.fujitsu.com Tue Mar 20 10:05:06 2007 From: fj7716hz at aa.jp.fujitsu.com (Tatsuro Enokura) Date: Tue, 20 Mar 2007 19:05:06 +0900 Subject: [Fedora-xen] Can't create PV domain guest using regular file Message-ID: <45FFB1D2.20308@aa.jp.fujitsu.com> Hi, When I try creating a paravirt domain and install Fedora7 test2 over ftp / http with virt-install, the guest domain's kernel said EIP message as follows: Mar 8 14:57:56 coolmint kernel: kernel BUG at drivers/xen/blktap/blktapmain.c:1203! Mar 8 14:57:56 coolmint kernel: invalid opcode: 0000 [#1] Mar 8 14:57:56 coolmint kernel: SMP Mar 8 14:57:56 coolmint kernel: last sysfs file: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/irq Mar 8 14:57:56 coolmint kernel: Modules linked in: xt_physdev iptable_filter ip_tables x_tables i915 drm bridge netloop netbk blktap blkbk autofs4 hidp rfcomm l2cap bluetooth sunrpc dm_mirror dm_mod video sbs i2c_ec button battery asus_acpi ac ipv6 lp snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device parport_pc snd_pcm_oss snd_mixer_oss ide_cd parport i2c_i801 irda cdrom snd_pcm serio_raw sky2 sg crc_ccitt i2c_core snd_timer pcspkr snd soundcore iTCO_wdt snd_page_alloc serial_core joydev ata_piix libata sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd Mar 8 14:57:56 coolmint kernel: CPU: 1 Mar 8 14:57:56 coolmint kernel: EIP: 0061:[] Not tainted VLI Mar 8 14:57:56 coolmint kernel: EFLAGS: 00010246 (2.6.19-1.2898.2.3.fc7xen #1) Mar 8 14:57:56 coolmint kernel: EIP is at dispatch_rw_block_io+0x96/0x853 [blktap] Mar 8 14:57:56 coolmint kernel: eax: e34d1e40 ebx: ebde79a4 ecx: e8f00801 edx: 00000000 Mar 8 14:57:56 coolmint kernel: esi: ee554b38 edi: ec3ddfbc ebp: ebde79b4 esp: ec3ddb9c Mar 8 14:57:56 coolmint kernel: ds: 007b es: 007b ss: 0069 Mar 8 14:57:56 coolmint kernel: Process xvd 1 (pid: 3234, ti=ec3dd000 task=e855a590 task.ti=ec3dd000) Mar 8 14:57:56 coolmint kernel: Stack: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Mar 8 14:57:56 coolmint kernel: ec3ddc9c 00000000 00000000 e8f00800 ec3ddf50 ebde79a4 00000001 00000000 Mar 8 14:57:56 coolmint kernel: 00000000 00000000 01000000 000000b0 004f2755 00000000 00000002 00000002 Mar 8 14:57:56 coolmint kernel: Call Trace: Mar 8 14:57:56 coolmint kernel: [] tap_blkif_schedule+0x29f/0x3df [blktap] Mar 8 14:57:56 coolmint kernel: [] kthread+0xc0/0xec Mar 8 14:57:56 coolmint kernel: [] kernel_thread_helper+0x7/0x10 Mar 8 14:57:56 coolmint kernel: ======================= Mar 8 14:57:56 coolmint kernel: Code: 50 c7 44 24 70 00 00 00 00 81 38 00 00 ad de 74 10 ff 44 24 70 83 c0 04 83 7c 24 70 20 74 0c eb e8 81 7c 24 70 00 00 ad de 75 0d <0f> 0b b3 04 19 25 51 ee e9 80 07 00 00 8b 44 24 30 8a 40 01 0f Mar 8 14:57:56 coolmint kernel: EIP: [] dispatch_rw_block_io+0x96/0x853 [blktap] SS:ESP 0069:ec3ddb9c To do that I did the following steps 1) Exceute the virt-install command as follows: virt-install --name=F7test2_PV --file=/root/F7test2_PV.img \ --file-size=5 --ram=512 --paravirt \ --location=http://10.131.236.20/f7test2_x86 --nographics The virtual disk is a regular file. This happens while anaconda is formatting the filesystem or installing packages. The same problem as this one exists in Bugzilla #229850. It was commented that this problem was solved by the following patches applied. [Xen-devel] [Patch] blktap modular build fix http://lists.xensource.com/archives/html/xen-changelog/2006-11/msg00464.html When the kernel-xen package which applies the patch is provided? Thanks, Tatsuro Enokura From sam9823444029 at gmail.com Tue Mar 20 12:40:00 2007 From: sam9823444029 at gmail.com (Sameer Gupta) Date: Tue, 20 Mar 2007 18:10:00 +0530 Subject: [Fedora-xen] Graphical Display of VMS Message-ID: hello Everyone I m Sameer Gupta, a final yr computer engg student. Actually i m doing a project in which i m using XEN to create virtual machines. But unfortunately i m not able to get graphical display of virtual machines thus created. I have heard of a VNC viewer, which does this for XEN. Can anyone just brief me up with how to see graphical display of created VMs using VNC Will be really thankful to you for ur act of kindness. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hunter at userfriendly.net Tue Mar 20 13:37:38 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Tue, 20 Mar 2007 09:37:38 -0400 Subject: [Fedora-xen] issues (part II) Message-ID: OK, i am trying to get ttylinux going, reading some posts and howto's etc...but cant get the domU running. My ttylinux config looks like this: kernel = "/boot/vmlinuz-2.6.19-1.2911.fc6xen" ramdisk = "/boot/initrd-2.6.19-1.2911.fc6xen.img" memory = 64 name = "ttylinux" vif = [''] dhcp = "dhcp" disk = ['file:/opt/xen/ttylinux/ttylinux-xen,sda1,w'] root = "/dev/sda1 ro" and when i run xm create -c ttylinux.cfg i get the following after all the boot messages are done: Xen virtual console successfully installed as xvc0 Event-channel device installed. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide usbcore: registered new interface driver libusual usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice TCP bic registered Initializing XFRM netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/2049 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 180k freed Write protecting the kernel read-only data: 387k Red Hat nash version 5.1.19.0.2 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading dm-mod.ko module device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: dm-devel at redhat.com Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Making device-mapper control node Scanning logical volumes Reading all physical volumes. This may take a while... No volume groups found Activating logical volumes Volume group "VolGroup00" not found Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys i mounted the image and peeked at the fstab, i am unsure where the heck its getting VolGroup00 from. Can anyone lend any pointers to what i am doing wrong? I seem to get the same error no matter what pre-built image i am using. Thanks in advance Michael Weiner -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at atc-nycorp.com Tue Mar 20 15:37:47 2007 From: steve at atc-nycorp.com (Steve Brueckner) Date: Tue, 20 Mar 2007 11:37:47 -0400 Subject: [Fedora-xen] issues (part II) Message-ID: <60D45469A1AAD311A04C009027B6BF6806146DAF@SERVER20> Michael Weiner wrote: > OK, i am trying to get ttylinux going, reading some posts and howto's > etc...but cant get the domU running. My ttylinux config looks like > this: > > kernel = "/boot/vmlinuz-2.6.19-1.2911.fc6xen" > ramdisk = "/boot/initrd- 2.6.19-1.2911.fc6xen.img" > memory = 64 > name = "ttylinux" > vif = [''] > dhcp = "dhcp" > disk = ['file:/opt/xen/ttylinux/ttylinux-xen,sda1,w'] > root = "/dev/sda1 ro" > > and when i run xm create -c ttylinux.cfg i get the following after > all the boot messages are done: > > Scanning logical volumes Reading all physical volumes. This may > take a while... No volume groups found > Activating logical volumes > Volume group "VolGroup00" not found > Creating root device. > Mounting root filesystem. > mount: could not find filesystem '/dev/root' > > i mounted the image and peeked at the fstab, i am unsure where the > heck its getting VolGroup00 from. Can anyone lend any pointers to > what i am doing wrong? I seem to get the same error no matter what > pre-built image i am using. I see you've identified the problem as a non-existant LVG. As you say, we need to figure out where the heck the Xen guest is getting the idea to look for the LVG. You said you looked at your guest's fstab...could you post that for us? However, if the reference to an LVG is not in the guest's GRUB (which is the guest's config file) and not in the guest's disk image, then maybe it's in the FC6 xen kernel or initrd? That doesn't make much sense to me, but I do think that mixing an FC6 xen kernel with another distro's image could be a problem. You might want to try building a guest by copying your FC6 host's files. This would provide consistency between your kernel and file system. You would use dd to create an image, mkfs to give it an ext3 file system, mount it, then copy and minorly edit the file system. Here's what I used to do (after the above 3 steps): # mkdir /mnt/{proc,sys,tmp,selinux} # chmod 777 /mnt/tmp/ # cp -ax /{root,dev,var,etc,usr,bin,sbin,lib,home} /mnt # cp /mnt/etc/modprobe.conf /mnt/etc/modprobe.conf.bak # echo > /mnt/etc/modprobe.conf # mv /mnt/etc/fstab /mnt/etc/fstab.bak # vim /mnt/etc/fstab /dev/sda1 / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 /dev/sda2 swap swap defaults 0 0 I don't like the FC5 or FC6 Xen how-to's because they rely on Red Hat's buggy tools to build guests. I used to use the old FC4 how to because it showed more under the hood: http://fedoraproject.org/wiki/FedoraXenQuickstartFC4 Here's some other old ones (remember I use an older version and avoid using the rpms): http://mitopia.net/index.php/Xen_3.0.2_Setup http://www.neotextus.org/computing/virtualization/xen-fc3 Steve Brueckner, ATC-NY From taoj2 at cs.rpi.edu Wed Mar 21 01:05:16 2007 From: taoj2 at cs.rpi.edu (taoj2 at cs.rpi.edu) Date: Tue, 20 Mar 2007 20:05:16 -0500 (EST) Subject: [Fedora-xen] Live VM Migration of XEN Failed Message-ID: <2593.128.213.51.15.1174439116.squirrel@webmail.cs.rpi.edu> Hi, Dear All I was trying to do the live VM migration with Xen. There are two hosts, host1 and host2. Both hosts has Fedora Core 6 as the host operating system. And I created a XEN guest, XEN1, at host1. Now I want to migrate XEN1 from host1 to host2 using the live migration feature of XEN. First, I edited /etc/xen/xend-config.sxp on host1 and hosts to: #(xend-unix-server yes) (xend-relocation-server yes) (xend-relocation-port 8002) (xend-relocation-address '') (xend-relocation-hosts-allow '') #(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$') Then, I restart xend on host1 and host2: service xend restart Then, I exported the /var/lib/xen/images on host1 via NFS and mount this directory to host2. And the mount is successful. After that I start XEN guest on host1: xm create xen1 However, I found that the Virtual Machine Manager of FC6 didn't work. It said: Unable to open to a connection to the Xen hypervisor/daemon. Verify that: -A Xen host kernel was booted -The Xen service has been started. But when I use "xm list", Domain-0 is running, and xen1 is blocked. Finally, I run "xm migrate -l xen1 host2", it failed, the error message is: Error: /usr/lib64/xen/bin/xc_save 4 1 0 0 1 failed. Anybody know how to slove this problem? Thanks a lot. Regards, angel From veillard at redhat.com Wed Mar 21 10:15:52 2007 From: veillard at redhat.com (Daniel Veillard) Date: Wed, 21 Mar 2007 06:15:52 -0400 Subject: [Fedora-xen] Live VM Migration of XEN Failed In-Reply-To: <2593.128.213.51.15.1174439116.squirrel@webmail.cs.rpi.edu> References: <2593.128.213.51.15.1174439116.squirrel@webmail.cs.rpi.edu> Message-ID: <20070321101552.GC1006@redhat.com> On Tue, Mar 20, 2007 at 08:05:16PM -0500, taoj2 at cs.rpi.edu wrote: > Hi, Dear All > > I was trying to do the live VM migration with Xen. There are two hosts, > host1 and host2. Both hosts has Fedora Core 6 as the host operating > system. And I created a XEN guest, XEN1, at host1. Now I want to migrate > XEN1 from host1 to host2 using the live migration feature of XEN. > > First, I edited /etc/xen/xend-config.sxp on host1 and hosts to: > #(xend-unix-server yes) > (xend-relocation-server yes) > (xend-relocation-port 8002) > (xend-relocation-address '') > (xend-relocation-hosts-allow '') You should list the hosts names there instead of an empty sting > #(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$') > > Then, I restart xend on host1 and host2: > service xend restart > > Then, I exported the /var/lib/xen/images on host1 via NFS and mount this > directory to host2. And the mount is successful. > > After that I start XEN guest on host1: > xm create xen1 > > However, I found that the Virtual Machine Manager of FC6 didn't work. It > said: > Unable to open to a connection to the Xen hypervisor/daemon. > Verify that: > -A Xen host kernel was booted > -The Xen service has been started. > > But when I use "xm list", Domain-0 is running, and xen1 is blocked. > > Finally, I run "xm migrate -l xen1 host2", it failed, the error message is: > Error: /usr/lib64/xen/bin/xc_save 4 1 0 0 1 failed. if the xen1 domain creation failed, the fact that migration fails is not suprizing, maybe it was successful, but you should check the errors from /var/log/xen/xend.log . Also saving and migrations do not work for fully virtualized guests, only for paravirt ones which could explain the xm migrate error. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From noisilysilent at nerdshack.com Wed Mar 21 20:14:41 2007 From: noisilysilent at nerdshack.com (NoisilySilent) Date: Wed, 21 Mar 2007 21:14:41 +0100 Subject: [Fedora-xen] Windows XP install failed on FC6-Xen Message-ID: <005401c76bf5$90756240$162e0259@2M9MV1J> Hi, Installation hangs after first reboot during Windows XP installation procedure. System first boots from CD as expected, formats an NTFS file system, copies installation files, reboots and . hangs. Looking at the log, I had a "vncpasswd error" => created a vncpasswd and got rid of this error message. Now, no error is logged, but still I get a blank screen whenever I try to "xm create" this Windows host. System is a Dell Latitude D620 notebook, Intel Core2 Duo processor, FC6 downloaded last week, Xen installed via YUM, so I don't know exactly which version yum installs, 3.?.? Anybody got clues, as I didn't find anything through google search? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From bleyton at cpe-corp.com Wed Mar 21 20:20:32 2007 From: bleyton at cpe-corp.com (Brian Leyton) Date: Wed, 21 Mar 2007 13:20:32 -0700 Subject: [Fedora-xen] Is my guest hosed? Message-ID: master at bradleyland.com wrote: > > Try this -- mount the guest partition (lvm or backing file, > whatever you > used) into the dom0. Then, use yum to upgrade the guest to > FC6. yum can take a command line switch to point to a chroot > path. So, if you mounted the guest into /mnt/xen_guest, you > would use yum as > > yum --installroot=/mnt/xen_guest update > > or something like that. You still may need to make a workable > initrd as well. There are threads here and on xensource > covering the process. > > I don't think you're going to fix an FC5 guest and get it to > run under FC6. At least paravirtualized. > > And BTW, I'm no expert, but I play one on the internet. > > hth, > > dave > I finally got back to this project, and tried to use the yum command above to upgrade the guest image. It did not work. I just got a message saying "No Packages marked for Update/Obsoletion". I wonder if it's really checking the guest's configuration or the host system. Anyone have any more ideas? Brian From mankins at media.mit.edu Wed Mar 21 22:47:33 2007 From: mankins at media.mit.edu (Matt Mankins) Date: Wed, 21 Mar 2007 18:47:33 -0400 Subject: [Fedora-xen] FC6 Guest install Hangs - working In-Reply-To: <29C4FE1C-9B59-42EF-BAA3-75F2066C9E2E@media.mit.edu> References: <29C4FE1C-9B59-42EF-BAA3-75F2066C9E2E@media.mit.edu> Message-ID: <75C6225F-9B33-488D-8658-9AB2B740489F@media.mit.edu> In case anyone else has a problem like this, I switched to http from nfs, and it's been installing just fine. I was using nfs path of: What is the install location? nfs:192.168.0.151:/mnt/fc6 and the showmount said: # /usr/sbin/showmount -e Export list for host: /mnt/fc6 192.168.0.0/255.255.0.0 with an export of: # cat /etc/exports /mnt/fc6 192.168.0.0/255.255.0.0(rw,no_root_squash,no_all_squash,async) ... and it didn't work. I'm not sure why, but maybe you do. Either way, we're doing great now. Matt On Mar 19, 2007, at 2:28 PM, Matt Mankins wrote: > Hi. > > I have a fresh install of FC6 (2.6.19-1.2911.6.5.fc6xen) dom0 > running on 64bit install, unfortunately I can't seem to get any > domU guests (all same OS) to install, they hang after the "network > setup" screen of anaconda. > > I've tried {virt-install,virt-manager (gui), xenguest-install (what > I used previously on fc5)}, using nfs mount of 64 bit install dvd > fc6. All seem to hang right after the network setup screen, when I > enter the network parameters manually (not dhcp). Here's a screen > capture of what it looks like: > > http://fishinhand.com/tmp/fc6-hang.png > > (notice the weird A at the top right). > > --> Extra bits: I have three machines that all exhibit the same > behavior. 2 are Dell 1950s and one is an 1850. All are 2 dual > cores. 16GB Ram. File backed for now. I've applied the Broadcom > network fix to make the network behave ( http:// > mywiki.ncsa.uiuc.edu/wiki/Dell_PE1950_NIC_Firmware_Workaround ), > only I guess it's not. > > Does any of this ring a bell? Did I not completely fix the > broadcom? I'm not sure what to look at... the log files seem > clean, but I can post if that would help. > > Matt Mankins > http://www.ka-zam.com/ From paul at xelerance.com Thu Mar 22 15:25:36 2007 From: paul at xelerance.com (Paul Wouters) Date: Thu, 22 Mar 2007 16:25:36 +0100 (CET) Subject: [Fedora-xen] 2.6.19-1.2911.6.5 and tg3 failing? Message-ID: Hi guys, I have a strange xen problem where the xen server is using the tg3 ethernet driver. The dom0 can ping the guest, but the guest cannot ping the dom0. tcpdump on the dom0 shows that the icmp arrives on its eth0, but it doesnt send the icmp reply. Pinging the default gw in the physical network from the guest works, and the guest has full connectivity to the world, with the exception of the dom0. There are no firewall rules in place. I tried the following to no effect: ethtool -K eth0 tso off ethtool -K eth0 tx off Does anyone have an idea? This is running xen-3.0.3-8.fc6 and kernel-xen-2.6.19-1.2911.6.5.fc6 on guest and dom0. Paul From nkadel at gmail.com Thu Mar 22 23:18:47 2007 From: nkadel at gmail.com (Nico Kadel-Garcia) Date: Thu, 22 Mar 2007 23:18:47 -0000 Subject: [Xen-users] Re: [Fedora-xen] fedora core 6 xen not able to bring up X server:monitor blinks infinitely References: <16314edc0703180718p492ef774qb31df671388e179c@mail.gmail.com> Message-ID: <008d01c76cd8$724049a0$6601a8c0@raoul> Steve Thompson wrote: > On Sun, 18 Mar 2007, suyash jape wrote: > >> X server is not coming up with 2.6.18-1.2798.fc6xen kernel. >> xorg.conf is using i810 driver with depth = 24 >> Fedora Core 6 is installed successfully in graphical mode >> [...] >> When i try startx or X or system-config-display , the monitor goes >> blank and monitor LED continues to blink infinitely > > You'll find that the X server is in an infinite loop. It does this > even if Xorg.conf is removed altogether. It will also start just fine > with the non-xen kernel, as it did with the xen kernel that was in > the original FC6. It's been like this since some time in October. I'd > also like to know the solution. MGA550/x86 in my case. X server on Dom0? What is your video chipset? ATI? NVidia? Have you installed the NVidia published drivers from freshrpms or another repository that RPM bundles them? From bigpaulann at hotmail.com Fri Mar 23 00:27:24 2007 From: bigpaulann at hotmail.com (paul ann) Date: Fri, 23 Mar 2007 08:27:24 +0800 Subject: [Fedora-xen] live migration Message-ID: An HTML attachment was scrubbed... URL: From suyashjape at gmail.com Fri Mar 23 03:20:19 2007 From: suyashjape at gmail.com (suyash jape) Date: Fri, 23 Mar 2007 08:50:19 +0530 Subject: [Fedora-xen] Fwd: [redhat-l] fedora core 6 xen not able to bring up X server:monitor blinks infinitely[Solved] Message-ID: <16314edc0703222020if4b48d6icac32e056645c898@mail.gmail.com> ---------- Forwarded message ---------- From: suyash jape Date: Mar 19, 2007 7:24 PM Subject: Re: [redhat-l] fedora core 6 xen not able to bring up X server:monitor blinks infinitely To: redhat-l at groups.ittoolbox.com, fedora-xen at redhat.com Thanks for your suggestions guys... The problem was solved by :yum update xorg* I think the *xorg*-x11-*server*-*Xorg i386 rpm *update solved the problem. Looks like Fedora created the problem and solved it itself(through yum i mean) :) teaching me a lot of things in between :) Thanks. I have Intel 82865G Graphics card...(i810 in xorg.conf) ..The problem was solved by yum update xorg Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kkbeniwa at learn.senecac.on.ca Fri Mar 23 16:16:15 2007 From: kkbeniwa at learn.senecac.on.ca (Kiranjeet Kaur Beniwal) Date: Fri, 23 Mar 2007 12:16:15 -0400 Subject: [Fedora-xen] Error in installation of fully virtualized xen domain Message-ID: I am a student of seneca college in toronto.I am having problem in installing fully - virtualized xen domain. when I try to install it I get so many errors e.g. CD device must exist! if I give /dev/cdrom path the it says you can not use file name. Then I used the path /usr/lib/python2.4/site-packages/Virtinst/Xenguest.py This path removed that error but the again I got second error: Unable to connect to graphical console; DISPLAY is not set. Please connect to localhost:5900 Domain installation still in progress. You can reconnect to the console to complete the installation process. I don not know what is going on. Anybody can help me Kiran Beniwal From john.mizell at tch.com Fri Mar 23 19:31:41 2007 From: john.mizell at tch.com (John Mizell) Date: Fri, 23 Mar 2007 13:31:41 -0600 Subject: [Fedora-xen] Xen Kernel problems Message-ID: <1174678301.21423.16.camel@lucky7> I have kernel kernel-xen-2.6.19-1.2911.6.5.fc6 installed on AMD 64 and after the box is booted and running it locks up. I do not see this on the same box with a non xen kernel. Has any one seen this or have a work around? -- John Mizell Systems Administrator TCH,LLC. 4185 Harrison Blvd Suite 202 Ogden, Utah 84403 801-624-4604 From davidsonpaulo at gmail.com Fri Mar 23 20:13:25 2007 From: davidsonpaulo at gmail.com (Davidson Rodrigues Paulo) Date: Fri, 23 Mar 2007 17:13:25 -0300 Subject: [fedora-xen] - Question on live migration Message-ID: Hi, I'm going to make a live migration of some Xen guests from a machine to another. At the moment I'm preparing both systems, syncing software versions, while I read some documentation about the live migration process. The process looks simple, but I'm still have only one question. Let me explain: I have a guest on my Xen host 1 that have 3 virtual partitions that are mapped to 3 logical volumes of the host, as follows: Guest virtual partition Guest mount point Host physical partition /dev/sda1 / /dev/xenvg/apache-root /dev/sda2 swap /dev/xenvg/apache-swap /dev/sda3 /var /dev/xenvg/apache-var On the Xen host 2, I created the same physical partitions existing on Xen host 1, with same name and locations. So, at the moment I think my next steps are: 1. Copy the config file for the guest from Xen host 1 to Xen host 2 2. Execute on Xen host 1: # xm migrate --live guest host2 Is that right or is something missing? Note.: I read many docs, and all they say that I need to make image files available on both Xen hosts. But I'm not using image files, but logical volumes... Thanks, Davidson Paulo From mike at mommabears.com Fri Mar 23 20:19:29 2007 From: mike at mommabears.com (MJang) Date: Fri, 23 Mar 2007 13:19:29 -0700 Subject: [Fedora-xen] Windows XP install failed on FC6-Xen In-Reply-To: <005401c76bf5$90756240$162e0259@2M9MV1J> References: <005401c76bf5$90756240$162e0259@2M9MV1J> Message-ID: <1174681169.5965.5.camel@localhost> On Wed, 2007-03-21 at 21:14 +0100, NoisilySilent wrote: > Hi, > > > > Installation hangs after first reboot during Windows XP installation > procedure. > > System first boots from CD as expected, formats an NTFS file system, > copies installation files, reboots and ? hangs. I remember having to press something like F5 or F6 during the XP install process to actually get something after the first XP install reboot. Thanks, Mike From davidsen at tmr.com Fri Mar 23 20:30:08 2007 From: davidsen at tmr.com (Bill Davidsen) Date: Fri, 23 Mar 2007 16:30:08 -0400 Subject: [Fedora-xen] fedora core 6 xen not able to bring up X server:monitor blinks infinitely In-Reply-To: <16314edc0703180718p492ef774qb31df671388e179c@mail.gmail.com> References: <16314edc0703180718p492ef774qb31df671388e179c@mail.gmail.com> Message-ID: <460438D0.6060105@tmr.com> suyash jape wrote: > My machine configuration is P4 1GB RAM, 40 GB HDD and COMPAQ SVGA monitor. > > I have installed fedor core 6 xen in my machine > > X server is not coming up with 2.6.18-1.2798.fc6xen kernel. > xorg.conf is using i810 driver with depth = 24 > Fedora Core 6 is installed successfully in graphical mode > > When booting,system switches automatically to run level 3. > > When i try startx or X or system-config-display , the monitor goes > blank and monitor LED continues to blink infinitely > > Few people have faced asimilar problem but i'm not able to find a > solution for it on the Net. Yes, it's been broken for a while, I get it with the radeon driver on one machine, the i810 on another, and video-vesafb on either. Just doesn't seem to work any more. > > Any suggestion would be really appreciated... -- bill davidsen CTO TMR Associates, Inc Doing interesting things with small computers since 1979 From fedora.lists at burns.me.uk Sat Mar 24 00:14:12 2007 From: fedora.lists at burns.me.uk (Andy Burns) Date: Sat, 24 Mar 2007 00:14:12 +0000 Subject: [Fedora-xen] JAVA based x86 VM Message-ID: Will gcj/libvirt support this :-) http://www.physics.ox.ac.uk/jpc/index.html From jeevanullas at gmail.com Sat Mar 24 08:45:47 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Sat, 24 Mar 2007 14:15:47 +0530 Subject: [Fedora-xen] dummy network interface laptop configuration problem Message-ID: <57127b5f0703240145m6b87be70nd9709e153e0fc8d8@mail.gmail.com> Hello guys, I am using Redhat Enterprise Linux 5 with Xen. Now I have a laptop on which RHEL5 is installed. I read the docs related to Xen on redhat's website where in the troubleshooting section they say to create a dummy0 network interface and bridge xenbr0 to dummy0 and finally NAT'ing dummy0 so that it can access the public net. Well I tried that article and I created a dummy0 interface as told in there and also bridged dummy0 to xenbr0 in /etc/xen/xend-config.sxp but I am getting problem in configuring NAT'ing (so that I can access the public network from within the virtual machine). I am using the script given here: https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/ch-virt-laptop-configurations.html When I run the script I get these two errors: ./S99XenLaptopNAT: line 21: unexpected EOF while looking for matching `"' ./S99XenLaptopNAT: line 24: syntax error: unexpected end of file Regards Deependra -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Sat Mar 24 14:54:56 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Sat, 24 Mar 2007 10:54:56 -0400 Subject: [Fedora-xen] dummy network interface laptop configuration problem In-Reply-To: <57127b5f0703240145m6b87be70nd9709e153e0fc8d8@mail.gmail.com> References: <57127b5f0703240145m6b87be70nd9709e153e0fc8d8@mail.gmail.com> Message-ID: <1174748096.4372.16.camel@aic-laptop-5.cathrow.org> I suspect there's a formatting problem - when I tried to copy that script from the html page it came out a little strange. Instead of ;; I got . . on one line and , , on the next. Without seeing your script it's hard to guess - but I'd take a careful look at the various quote marks and make sure that they are matched. Here's the script I'm using - it works in a similar vein You'll need to copy it into /etc/init.d and make sure that it's owned and readable and executable by root chkconfig virt-network --add chkconfig virt-network on service virt-network start On Sat, 2007-03-24 at 14:15 +0530, Deependra Shekhawat wrote: > Hello guys, > > I am using Redhat Enterprise Linux 5 with Xen. Now I have a laptop on > which RHEL5 is installed. I read the docs related to Xen on redhat's > website where in the troubleshooting section they say to create a > dummy0 network interface and bridge xenbr0 to dummy0 and finally > NAT'ing dummy0 so that it can access the public net. > Well I tried that article and I created a dummy0 interface as told in > there and also bridged dummy0 to xenbr0 in /etc/xen/xend-config.sxp > but I am getting problem in configuring NAT'ing (so that I can access > the public network from within the virtual machine). > I am using the script given here: > https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/ch-virt-laptop-configurations.html > > When I run the script I get these two errors: > ./S99XenLaptopNAT: line 21: unexpected EOF while looking for matching > `"' > ./S99XenLaptopNAT: line 24: syntax error: unexpected end of file > > > Regards > Deependra > -- > Enjoy Life ! > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: virt-network Type: application/x-shellscript Size: 1912 bytes Desc: not available URL: From jeevanullas at gmail.com Sun Mar 25 01:54:21 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Sun, 25 Mar 2007 07:24:21 +0530 Subject: [Fedora-xen] dummy network interface laptop configuration problem In-Reply-To: <1174748096.4372.16.camel@aic-laptop-5.cathrow.org> References: <57127b5f0703240145m6b87be70nd9709e153e0fc8d8@mail.gmail.com> <1174748096.4372.16.camel@aic-laptop-5.cathrow.org> Message-ID: <57127b5f0703241854v3dec8812rf50d3f796dd208c@mail.gmail.com> Hi, Thanks for the script. It's working. But now I got a new problem. Whenever I try to create a new virtual machine using either virt-install or virt-manager I get this error: Failed to get devices for domain rhel5pv1 libvirt.libvirtError: virDomainCreateLinux() failed I guess I am doing something wrong in /etc/xen/xend-config.sxp. This is what I did in it: (network-script 'network-bridge netdev=dummy0') The line regarding xenbr0 is commented: # The bridge is named xenbr0, by default. To rename the bridge, use # # (network-script 'network-bridge bridge=xenbr0') I guess this should bridge xenbr0 via dummy0. Tell me if I am doing something wrong. One more thing I like to say is that the doc I pointed out earlier is not perfect. I wrote the script by my hand and then too it failed with the last 2 errors. Also the lines related on how to make xenbr0 bridge to dummy0 are not exact if you read them carefully. Regards Deependra On 3/24/07, Andrew Cathrow wrote: > > I suspect there's a formatting problem - when I tried to copy that script > from the html page it came out a little strange. > Instead of ;; I got . . on one line and , , on the next. > > Without seeing your script it's hard to guess - but I'd take a careful > look at the various quote marks and make sure that they are matched. > Here's the script I'm using - it works in a similar vein > > You'll need to copy it into /etc/init.d and make sure that it's owned and > readable and executable by root > > chkconfig virt-network --add > chkconfig virt-network on > service virt-network start > > > > > > > > On Sat, 2007-03-24 at 14:15 +0530, Deependra Shekhawat wrote: > > Hello guys, > > I am using Redhat Enterprise Linux 5 with Xen. Now I have a laptop on > which RHEL5 is installed. I read the docs related to Xen on redhat's website > where in the troubleshooting section they say to create a dummy0 network > interface and bridge xenbr0 to dummy0 and finally NAT'ing dummy0 so that it > can access the public net. > Well I tried that article and I created a dummy0 interface as told in > there and also bridged dummy0 to xenbr0 in /etc/xen/xend-config.sxp but I > am getting problem in configuring NAT'ing (so that I can access the public > network from within the virtual machine). > I am using the script given here: > > https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/ch-virt-laptop-configurations.html > > When I run the script I get these two errors: > ./S99XenLaptopNAT: line 21: unexpected EOF while looking for matching `"' > ./S99XenLaptopNAT: line 24: syntax error: unexpected end of file > > > Regards > Deependra > -- > Enjoy Life ! > > --Fedora-xen mailing listFedora-xen at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-xen > > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > > acathrow at redhat.com > > > -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From debian at herakles.homelinux.org Sun Mar 25 15:51:50 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Sun, 25 Mar 2007 23:51:50 +0800 Subject: [Fedora-xen] Windows XP install failed on FC6-Xen In-Reply-To: <1174681169.5965.5.camel@localhost> References: <005401c76bf5$90756240$162e0259@2M9MV1J> <1174681169.5965.5.camel@localhost> Message-ID: <46069A96.2030904@herakles.homelinux.org> MJang wrote: >> System first boots from CD as expected, formats an NTFS file system, >> copies installation files, reboots and ??? hangs. > > I remember having to press something like F5 or F6 during the XP install > process to actually get something after the first XP install reboot. F8 is likely. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From debian at herakles.homelinux.org Sun Mar 25 15:49:27 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Sun, 25 Mar 2007 23:49:27 +0800 Subject: [Fedora-xen] Guests from other distros Message-ID: <46069A07.3090206@herakles.homelinux.org> When available, I intend to install Centos 5 on my laptop. I wish to be able to create guests from other distros (notably Debian), preferably running their native installer. So far, it seems that everyone (RH/Fedora, Debian/Ubuntu and SUSE, I've not looked further) has different, incompatible tools. Even copying a VM from one distro to another isn't as simple as one might expect. Are there any useful docs for me to read? -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From noisilysilent at nerdshack.com Sun Mar 25 20:40:40 2007 From: noisilysilent at nerdshack.com (NoisilySilent) Date: Sun, 25 Mar 2007 22:40:40 +0200 Subject: [Fedora-xen] Windows XP install failed on FC6-Xen In-Reply-To: <46069A96.2030904@herakles.homelinux.org> Message-ID: <008701c76f1d$db115770$162e0259@2M9MV1J> Ok, thank you for the tip. However, when am I supposed to press F8? Just before reboot? Cheers -----Message d'origine----- De : fedora-xen-bounces at redhat.com [mailto:fedora-xen-bounces at redhat.com] De la part de John Summerfield Envoy? : dimanche 25 mars 2007 17:52 ? : fedora-xen at redhat.com Objet : Re: [Fedora-xen] Windows XP install failed on FC6-Xen MJang wrote: >> System first boots from CD as expected, formats an NTFS file system, >> copies installation files, reboots and ??? hangs. > > I remember having to press something like F5 or F6 during the XP install > process to actually get something after the first XP install reboot. F8 is likely. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen From tomhorsley at adelphia.net Sun Mar 25 20:57:29 2007 From: tomhorsley at adelphia.net (Tom Horsley) Date: Sun, 25 Mar 2007 16:57:29 -0400 Subject: [Fedora-xen] Guests from other distros In-Reply-To: <46069A07.3090206@herakles.homelinux.org> References: <46069A07.3090206@herakles.homelinux.org> Message-ID: <20070325165729.0897f732@zooty> On Sun, 25 Mar 2007 23:49:27 +0800 John Summerfield wrote: > Are there any useful docs for me to read? Not really, but I've found the best bet is to go ahead and install the other distro in its own partitions, set it up to run Xen as a Dom0 system, make sure that all works, then fiddle with the grub config to boot the xen kernel you were running as Dom0 directly, not as a module under the hypervisor, and fiddle the "real" fedora dom0 to have a config that uses pygrub as a boot loader and maps the virtual disks to the same devices as the physical partitions were when you installed it. Here's my web page with the story of my various struggles with xen: http://home.att.net/~Tom.Horsley/xen-fci.html From debian at herakles.homelinux.org Sun Mar 25 21:24:05 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Mon, 26 Mar 2007 05:24:05 +0800 Subject: [Fedora-xen] Guests from other distros In-Reply-To: <20070325165729.0897f732@zooty> References: <46069A07.3090206@herakles.homelinux.org> <20070325165729.0897f732@zooty> Message-ID: <4606E875.8090404@herakles.homelinux.org> Tom Horsley wrote: > On Sun, 25 Mar 2007 23:49:27 +0800 > John Summerfield wrote: > >> Are there any useful docs for me to read? > > Not really, but I've found the best bet is to go ahead and install > the other distro in its own partitions, set it up to run Xen as a Dom0 > system, make sure that all works, then fiddle with the grub config to > boot the xen kernel you were running as Dom0 directly, not as a module > under the hypervisor, and fiddle the "real" fedora dom0 to have a > config that uses pygrub as a boot loader and maps the virtual disks > to the same devices as the physical partitions were when you installed > it. Here's my web page with the story of my various struggles with xen: > > http://home.att.net/~Tom.Horsley/xen-fci.html Thanks Tom. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From debian at herakles.homelinux.org Sun Mar 25 22:25:30 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Mon, 26 Mar 2007 06:25:30 +0800 Subject: [Fedora-xen] Guests from other distros In-Reply-To: <4606E875.8090404@herakles.homelinux.org> References: <46069A07.3090206@herakles.homelinux.org> <20070325165729.0897f732@zooty> <4606E875.8090404@herakles.homelinux.org> Message-ID: <4606F6DA.2070700@herakles.homelinux.org> John Summerfield wrote: > Tom Horsley wrote: > >> http://home.att.net/~Tom.Horsley/xen-fci.html > > Thanks Tom. I'm well into reading it. Good, humorous. Some comments: I have had a short play with Microsoft's Virtual PC. Only a short play is necessary to run Linux (I booted an INSERT CD and it ran find), and to install Windows 2003 Server. In the traditional MS way, one starts a wizard, answers a few questions and it's done. Starting it involves running a standard-looking BIOS which one can configure (choose boot device and so on, not a lot in there). It's simple and fairly sensible. I don't recall what hardware it emulates, BX chipset I think, and definitely Dec Tulip network card. Almost certainly will run OS/2, which I saw mentioned in the Wizard. What's a pygrub? This is FC/Red Hat. Jeremey K wrote it. I wish he'd done something a little different. I don't think it's likely to boot from (emulated) Floppy, CD or Network. SUSE has a script to get the kernel out of an image. I don't think it's as good. Ubuntu (and Debian) appears only to support an external kernel., but I might have missed something. An external kernel is good if you want to use a xen kernel to run something such as Sarge or RHEL 4 without the hardware support. ============ (but I wonder if it would let me change CDs if I had to install from CD - stay tuned to this thread for more info) I think it was in SUSE (maybe even SLES10) documentation I read this "does not work but we're working on it." But it might have been RHEL5. A DVD is fine - no swapping. ============ I get the impression that memory usage can't be dynamic, I've managed to reduce Dom0's RAM on the fly, on a test machine I didn't have enough until I did. Logically, hot-plugging RAM (and CPU) should work, it's supported by some hardware. Oh, I did expand a guest's RAM too. The guest (running Anaconda at the time) didn't notice. ============= Another important fact to note is that you can't have the same disk partitions mounted at the same time in multiple guests or in guest and host You can. Read Only everywhere. As soon as anyone writes to it, all guests start crashing and burning. ============== you just share the same swap partition I don't like swap partitions. I like no swap (best) and swap files. One can add swap files at any time, as dictated by need. ============== Xen under Xen (Not in Tom's document exactly like that, but touched on). I read somewhere it's not supported. Note. IBM has been doing this stuff for about four decades. IBM' flagship implementation is VM and it runs on IBM mainframe. One brave soul ran 42000 penguins at one on one mainframe. IBM supports VM under VM, nested more-or-less indefinitely, but performance falls off at the third layer. It has some hardware (or firmware) support for some functions. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From kkbeniwa at learn.senecac.on.ca Mon Mar 26 03:21:08 2007 From: kkbeniwa at learn.senecac.on.ca (Kiranjeet Kaur Beniwal) Date: Sun, 25 Mar 2007 23:21:08 -0400 Subject: [Fedora-xen] problem installing paravirtualized xen .what should be the location path Message-ID: I got an error regarding location path. What it could be if I install from home. What is the name of your virtual machine? para How much RAM should be allocated (in megabytes)? 256 What would you like to use as t[root at CPE000fb06d1aff-CM00140454aea8 ~]# xenguest-install What is the name of your virtual machine? para How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (path)? /var/xen/fedora How large would you like the disk (/var/xen/fedora) to be (in gigabytes)? 2 Would you like to enable graphics support? (yes or no) no What is the install location? http://74.96.245.162/fedora Starting install... ERROR: Invalid URL location given: [Errno 4] IOError: Kiran Beniwal From a1111111 at front.ru Mon Mar 26 07:17:46 2007 From: a1111111 at front.ru (Alexei) Date: Mon, 26 Mar 2007 07:17:46 +0000 (UTC) Subject: [Fedora-xen] Re: Windows XP install failed on FC6-Xen References: <005401c76bf5$90756240$162e0259@2M9MV1J> Message-ID: NoisilySilent nerdshack.com> writes: > > Installation hangs after first reboot during Windows > XP installation procedure. > I installed windows on fc6 x64 as follows: 1. first stage of installation ( just to when winsp tried to re-ipl) I run on qemu. Actually qemu and xen use the same format of disk emulations. 2. After when winxp asked to re-boot, I constructed .hvc file with disk from first stage and it worked OK since then. Hope this helps. From rjones at redhat.com Mon Mar 26 12:08:41 2007 From: rjones at redhat.com (Richard W.M. Jones) Date: Mon, 26 Mar 2007 13:08:41 +0100 Subject: [Fedora-xen] dummy network interface laptop configuration problem In-Reply-To: <57127b5f0703241854v3dec8812rf50d3f796dd208c@mail.gmail.com> References: <57127b5f0703240145m6b87be70nd9709e153e0fc8d8@mail.gmail.com> <1174748096.4372.16.camel@aic-laptop-5.cathrow.org> <57127b5f0703241854v3dec8812rf50d3f796dd208c@mail.gmail.com> Message-ID: <4607B7C9.3000600@redhat.com> Deependra Shekhawat wrote: > Hi, > > Thanks for the script. It's working. But now I got a new problem. > Whenever I try to create a new virtual machine using either virt-install > or virt-manager I get this error: > Failed to get devices for domain rhel5pv1 > libvirt.libvirtError: virDomainCreateLinux() failed Are you getting any messages appearing in /root/.virt-manager/virt-manager.log? Rich. From acathrow at redhat.com Mon Mar 26 12:30:54 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Mon, 26 Mar 2007 08:30:54 -0400 Subject: [Fedora-xen] dummy network interface laptop configuration problem In-Reply-To: <4607B7C9.3000600@redhat.com> References: <57127b5f0703240145m6b87be70nd9709e153e0fc8d8@mail.gmail.com> <1174748096.4372.16.camel@aic-laptop-5.cathrow.org> <57127b5f0703241854v3dec8812rf50d3f796dd208c@mail.gmail.com> <4607B7C9.3000600@redhat.com> Message-ID: <1174912254.6204.20.camel@aic-laptop-5.cathrow.org> Typically you see that if Xen times out waiting to connect some devices. While it's "waiting to come up" please run virsh dumpxml rhel4pv1 This should show what devices it's looking to connect. Maybe it's unable to access the disk image - for example if your disk image file is some place other than /var/lib/xen/images and SELinux is in enforcing mode. Another common time we see this is when virt-install/virt-manager thinks you have a bridge called xenbr0 when infact you're using xenbr1. Look at dumpxml's output - look to see if the bridge interface there exists ? On Mon, 2007-03-26 at 13:08 +0100, Richard W.M. Jones wrote: > Deependra Shekhawat wrote: > > Hi, > > > > Thanks for the script. It's working. But now I got a new problem. > > Whenever I try to create a new virtual machine using either virt-install > > or virt-manager I get this error: > > Failed to get devices for domain rhel5pv1 > > libvirt.libvirtError: virDomainCreateLinux() failed > > Are you getting any messages appearing in > /root/.virt-manager/virt-manager.log? > > Rich. > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidsonpaulo at gmail.com Mon Mar 26 12:56:39 2007 From: davidsonpaulo at gmail.com (Davidson Rodrigues Paulo) Date: Mon, 26 Mar 2007 09:56:39 -0300 Subject: [fedora-xen] - kernel-xen, kernel-xen0 and kernel-xenU Message-ID: Hi, I'm using Xen on a Fedora Core 5, with kernel-xen0 on host and kernel-xenU on guests. Friday last I've installed kernel-xen both in host and guests, and guests stopped to work. Now, I'm reinstalling kernel-xen0 on host and kernel-xenU on guest... I know kernel-xen0 is built to run on the Xen host, and kernel-xenU to run on guests. But I can't understand kernel-xen... when use it? Thanks, Davidson Paulo From veillard at redhat.com Mon Mar 26 13:06:34 2007 From: veillard at redhat.com (Daniel Veillard) Date: Mon, 26 Mar 2007 09:06:34 -0400 Subject: [fedora-xen] - Question on live migration In-Reply-To: References: Message-ID: <20070326130634.GA8129@redhat.com> On Fri, Mar 23, 2007 at 05:13:25PM -0300, Davidson Rodrigues Paulo wrote: > I have a guest on my Xen host 1 that have 3 virtual partitions that > are mapped to 3 logical volumes of the host, as follows: > > Guest virtual partition Guest mount point Host physical > partition > /dev/sda1 / > /dev/xenvg/apache-root > /dev/sda2 swap > /dev/xenvg/apache-swap > /dev/sda3 /var > /dev/xenvg/apache-var > > On the Xen host 2, I created the same physical partitions existing on > Xen host 1, with same name and locations. Nahh, that won't work. For migration you need the same volumes, i.e. the simplest is to use NFS or GFS, but you definitely need network file systems for migration to really work. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From berrange at redhat.com Mon Mar 26 13:15:55 2007 From: berrange at redhat.com (Daniel P. Berrange) Date: Mon, 26 Mar 2007 14:15:55 +0100 Subject: [fedora-xen] - Question on live migration In-Reply-To: References: Message-ID: <20070326131554.GC23799@redhat.com> On Fri, Mar 23, 2007 at 05:13:25PM -0300, Davidson Rodrigues Paulo wrote: > Hi, > > I'm going to make a live migration of some Xen guests from a machine > to another. At the moment I'm preparing both systems, syncing software > versions, while I read some documentation about the live migration > process. > > The process looks simple, but I'm still have only one question. Let me > explain: > > I have a guest on my Xen host 1 that have 3 virtual partitions that > are mapped to 3 logical volumes of the host, as follows: > > Guest virtual partition Guest mount point Host physical > partition > /dev/sda1 / > /dev/xenvg/apache-root > /dev/sda2 swap > /dev/xenvg/apache-swap > /dev/sda3 /var > /dev/xenvg/apache-var > > On the Xen host 2, I created the same physical partitions existing on > Xen host 1, with same name and locations. Urm, and how exactly are you expecting the data within those partitions to replicate itself across machines... ?!?! You need to have either a shared block device (SAN, iSCSI, GNBD) with a cluster filesystem (GFS2, OCFS), or use a plain file as your disk backend locating it on NFS. > Is that right or is something missing? All your data is missing :-) Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From pasik at iki.fi Mon Mar 26 13:50:34 2007 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Mon, 26 Mar 2007 16:50:34 +0300 Subject: [fedora-xen] - Question on live migration In-Reply-To: <20070326130634.GA8129@redhat.com> References: <20070326130634.GA8129@redhat.com> Message-ID: <20070326135034.GP29393@edu.joroinen.fi> On Mon, Mar 26, 2007 at 09:06:34AM -0400, Daniel Veillard wrote: > On Fri, Mar 23, 2007 at 05:13:25PM -0300, Davidson Rodrigues Paulo wrote: > > I have a guest on my Xen host 1 that have 3 virtual partitions that > > are mapped to 3 logical volumes of the host, as follows: > > > > Guest virtual partition Guest mount point Host physical > > partition > > /dev/sda1 / > > /dev/xenvg/apache-root > > /dev/sda2 swap > > /dev/xenvg/apache-swap > > /dev/sda3 /var > > /dev/xenvg/apache-var > > > > On the Xen host 2, I created the same physical partitions existing on > > Xen host 1, with same name and locations. > > Nahh, that won't work. For migration you need the same volumes, i.e. > the simplest is to use NFS or GFS, but you definitely need network > file systems for migration to really work. > Is it recommended to use GFS on a shared SAN LUN, or CLVM ? Or GFS on top of CLVM volume? I think plain CLVM should be fastest.. and obviously LVM volumes for domU disks. Any other things to take in account when choosing storage method for live migrations.. any problems with online resizing of the filesystem and/or VG? Thanks! -- Pasi From hannes06 at gmx.at Mon Mar 26 17:47:24 2007 From: hannes06 at gmx.at (Johannes Stummer) Date: Mon, 26 Mar 2007 19:47:24 +0200 Subject: [Fedora-xen] Attansic L1 (AtL1) Gigabit Ethernet NIC Message-ID: <200703261947.24156.hannes06@gmx.at> Hi! I have a problem to start this card. I have installed the driver from: http://sourceforge.net/projects/atl1 The install process looks fine. But when i want to start my NIC: > [root at localhost network-scripts]# /etc/init.d/network start eth0 > Loopback-Schnittstelle hochfahren: [ OK ] > Schnittstelle eth0 hochfahren: > IP-Informationen werden f?r eth0 bestimmt..../network-functions: line 308: > 30827 Get?tet ip link set dev $1 up >/dev/null 2>&1 My Kernel version: 2.6.20-1.2933.fc6xen Under the normal kernel the NIC works. Cheers Johannes -------------- next part -------------- Mar 26 18:39:23 localhost kernel: Unable to handle kernel paging request at ffff880381e787d0 RIP: Mar 26 18:39:23 localhost kernel: [] swiotlb_map_page+0x54/0x126 Mar 26 18:39:23 localhost kernel: PGD c13067 PUD 0 Mar 26 18:39:23 localhost kernel: Oops: 0000 [1] SMP Mar 26 18:39:23 localhost kernel: last sysfs file: /class/net/eth0/address Mar 26 18:39:23 localhost kernel: CPU 1 Mar 26 18:39:23 localhost kernel: Modules linked in: bridge netloop netbk blktap blkbk autofs4 hidp l2cap bluetooth sunrpc nf_conntrack_ftp nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink iptable_filter ip_tables ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables x_tables fuse dm_mirror dm_multipath dm_mod video sbs i2c_ec dock button battery asus_acpi backlight ac ipv6 lp snd_hda_intel snd_hda_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer ohci1394 atl1(U) nvidia(P)(U) snd soundcore sg i2c_i801 ne2k_pci iTCO_wdt iTCO_vendor_support shpchp snd_page_alloc i2c_core pcspkr ieee1394 mii 8390 serial_core ide_cd cdrom parport_pc serio_raw parport usb_storage ahci ata_piix libata sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd Mar 26 18:39:23 localhost kernel: Pid: 5486, comm: ip Tainted: P 2.6.20-1.2933.fc6xen #1 Mar 26 18:39:23 localhost kernel: RIP: e030:[] [] swiotlb_map_page+0x54/0x126 Mar 26 18:39:23 localhost kernel: RSP: e02b:ffff880002ac9d28 EFLAGS: 00010246 Mar 26 18:39:23 localhost kernel: RAX: 7fffffffffffffff RBX: ffff8800000b1070 RCX: 00000000700308fa Mar 26 18:39:23 localhost kernel: RDX: ffff880001cf4000 RSI: ffff881881a9f6b0 RDI: 0000000000000012 Mar 26 18:39:23 localhost kernel: RBP: 0000000000000002 R08: 0000000000000002 R09: ffff880000ac8580 Mar 26 18:39:23 localhost kernel: R10: ffff880032524880 R11: 00000000000000d0 R12: 00000000000005f0 Mar 26 18:39:23 localhost kernel: R13: ffff880000ac8880 R14: 0000000000000000 R15: ffff880000ac8580 Mar 26 18:39:23 localhost kernel: FS: 00002aaaaaada7f0(0000) GS:ffffffff805b8080(0000) knlGS:0000000000000000 Mar 26 18:39:23 localhost kernel: CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b Mar 26 18:39:23 localhost kernel: CR2: 0000000000000000 CR3: 0000000034e70000 CR4: 0000000000002660 Mar 26 18:39:23 localhost kernel: Process ip (pid: 5486, threadinfo ffff880002ac8000, task ffff8800301f7040) Mar 26 18:39:23 localhost kernel: Stack: ffff880000ac8880 0000000000000000 ffff88002fb41000 ffff88002f621800 Mar 26 18:39:23 localhost kernel: 0000000000000001 ffffffff88941be0 ffff88002fb41000 ffff880000ac8000 Mar 26 18:39:23 localhost kernel: ffff8800000b1000 00000000fffffff4 ffff880000ac8580 ffff880000ac8000 Mar 26 18:39:23 localhost kernel: Call Trace: Mar 26 18:39:23 localhost kernel: [] :atl1:atl1_alloc_rx_buffers+0x180/0x220 Mar 26 18:39:23 localhost kernel: [] :atl1:atl1_up+0x2f/0x660 Mar 26 18:39:23 localhost kernel: [] :atl1:atl1_open+0x2b/0x60 Mar 26 18:39:23 localhost kernel: [] dev_open+0x2f/0x6e Mar 26 18:39:23 localhost kernel: [] dev_change_flags+0x5a/0x11a Mar 26 18:39:23 localhost kernel: [] devinet_ioctl+0x235/0x59c Mar 26 18:39:23 localhost kernel: [] __might_sleep+0x26/0xcf Mar 26 18:39:23 localhost kernel: [] sock_ioctl+0x1c8/0x1e5 Mar 26 18:39:23 localhost kernel: [] do_ioctl+0x21/0x6b Mar 26 18:39:23 localhost kernel: [] vfs_ioctl+0x25c/0x275 Mar 26 18:39:23 localhost kernel: [] sys_ioctl+0x59/0x78 Mar 26 18:39:23 localhost kernel: [] system_call+0x86/0x8b Mar 26 18:39:23 localhost kernel: [] system_call+0x0/0x8b Mar 26 18:39:23 localhost kernel: Mar 26 18:39:23 localhost kernel: Mar 26 18:39:23 localhost kernel: Code: 48 8b 14 ca 48 21 c2 48 c1 e2 0c 48 85 db 48 8d 04 3a 74 11 Mar 26 18:39:23 localhost kernel: RIP [] swiotlb_map_page+0x54/0x126 Mar 26 18:39:23 localhost kernel: RSP Mar 26 18:39:23 localhost kernel: CR2: ffff880381e787d0 Mar 26 18:39:23 localhost kernel: <3>BUG: sleeping function called from invalid context at kernel/rwsem.c:20 Mar 26 18:39:23 localhost kernel: in_atomic():0, irqs_disabled():1 Mar 26 18:39:23 localhost kernel: Mar 26 18:39:23 localhost kernel: Call Trace: Mar 26 18:39:23 localhost kernel: [] down_read+0x15/0x23 Mar 26 18:39:23 localhost kernel: [] acct_collect+0x42/0x18e Mar 26 18:39:23 localhost kernel: [] do_exit+0x208/0x811 Mar 26 18:39:23 localhost kernel: [] do_page_fault+0x1117/0x11c6 Mar 26 18:39:23 localhost kernel: [] __rmqueue+0x4c/0xe1 Mar 26 18:39:23 localhost kernel: [] error_exit+0x0/0x6e Mar 26 18:39:23 localhost kernel: [] swiotlb_map_page+0x54/0x126 Mar 26 18:39:23 localhost kernel: [] :atl1:atl1_alloc_rx_buffers+0x180/0x220 Mar 26 18:39:23 localhost kernel: [] :atl1:atl1_up+0x2f/0x660 Mar 26 18:39:23 localhost kernel: [] :atl1:atl1_open+0x2b/0x60 Mar 26 18:39:23 localhost kernel: [] dev_open+0x2f/0x6e Mar 26 18:39:23 localhost kernel: [] dev_change_flags+0x5a/0x11a Mar 26 18:39:23 localhost kernel: [] devinet_ioctl+0x235/0x59c Mar 26 18:39:23 localhost kernel: [] __might_sleep+0x26/0xcf Mar 26 18:39:23 localhost kernel: [] sock_ioctl+0x1c8/0x1e5 Mar 26 18:39:23 localhost kernel: [] do_ioctl+0x21/0x6b Mar 26 18:39:23 localhost kernel: [] vfs_ioctl+0x25c/0x275 Mar 26 18:39:23 localhost kernel: [] sys_ioctl+0x59/0x78 Mar 26 18:39:23 localhost kernel: [] system_call+0x86/0x8b Mar 26 18:39:23 localhost kernel: [] system_call+0x0/0x8b Mar 26 18:39:23 localhost kernel: From Darrell.Frazier at crc.army.mil Mon Mar 26 18:16:02 2007 From: Darrell.Frazier at crc.army.mil (Frazier, Darrell USA CRC (Contractor)) Date: Mon, 26 Mar 2007 13:16:02 -0500 Subject: [Fedora-xen] RHEL4 Update 5 Message-ID: Does anyone have an idea on when rhel4u5 will be released? I am waiting with bated breath on the para-virtualization installer support. Darrell J. Frazier Unix System Administrator US Army Combat Readiness Center CAUTION: This electronic transmission may contain information protected by deliberative process or other privilege, which is protected from disclosure under the Freedom of Information Act, 5 U.S.C. ? 552. The information is intended for the use of the individual or agency to which it was sent. If you are not the intended recipient, be aware that any disclosure, distribution or use of the contents of this information is prohibited. Do not release outside of DoD channels without prior authorization from the sender. The sender provides no assurance as to the integrity of the content of this electronic transmission after it has been sent and received by the intended email recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4697 bytes Desc: not available URL: From frank at rosendahl.dyndns.org Mon Mar 26 18:44:39 2007 From: frank at rosendahl.dyndns.org (Frank Rosendahl) Date: Mon, 26 Mar 2007 20:44:39 +0200 Subject: [Fedora-xen] RHEL4 Update 5 In-Reply-To: References: Message-ID: <200703262044.42517.frank@rosendahl.dyndns.org> Am Montag M?rz 26 2007 schrieb Frazier, Darrell USA CRC (Contractor): > Does anyone have an idea on when rhel4u5 will be released? I am waiting > with bated breath on the para-virtualization installer support. > > Darrell J. Frazier > Unix System Administrator > US Army Combat Readiness Center > > > CAUTION: This electronic transmission may contain information protected by > deliberative process or other privilege, which is protected from disclosure > under the Freedom of Information Act, 5 U.S.C. ? 552. The information is > intended for the use of the individual or agency to which it was sent. If > you are not the intended recipient, be aware that any disclosure, > distribution or use of the contents of this information is prohibited. Do > not release outside of DoD channels without prior authorization from the > sender. The sender provides no assurance as to the integrity of the content > of this electronic transmission after it has been sent and received by the > intended email recipient. Hmmm... Have a look at rhn.redhhat.com --> Downloads ? -- Gru? Frank Rosendahl Fingerprint: 7506 6D0F 2C79 09A6 A8CF E51D BEF0 0279 A989 8450 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From frank at rosendahl.dyndns.org Mon Mar 26 18:48:08 2007 From: frank at rosendahl.dyndns.org (Frank Rosendahl) Date: Mon, 26 Mar 2007 20:48:08 +0200 Subject: [Fedora-xen] RHEL4 Update 5 In-Reply-To: <200703262044.42517.frank@rosendahl.dyndns.org> References: <200703262044.42517.frank@rosendahl.dyndns.org> Message-ID: <200703262048.11824.frank@rosendahl.dyndns.org> Am Montag M?rz 26 2007 schrieb Frank Rosendahl: > Am Montag M?rz 26 2007 schrieb Frazier, Darrell USA CRC (Contractor): > > Does anyone have an idea on when rhel4u5 will be released? I am waiting > > with bated breath on the para-virtualization installer support. > > > > Darrell J. Frazier > > Unix System Administrator > > US Army Combat Readiness Center > > > > > > CAUTION: This electronic transmission may contain information protected > > by deliberative process or other privilege, which is protected from > > disclosure under the Freedom of Information Act, 5 U.S.C. ? 552. The > > information is intended for the use of the individual or agency to which > > it was sent. If you are not the intended recipient, be aware that any > > disclosure, distribution or use of the contents of this information is > > prohibited. Do not release outside of DoD channels without prior > > authorization from the sender. The sender provides no assurance as to the > > integrity of the content of this electronic transmission after it has > > been sent and received by the intended email recipient. > > Hmmm... Have a look at rhn.redhhat.com --> Downloads ? sorry one "h" too much! -> rhn.redhat.com If you have an account you could download the iso-images. It works really fine! -- Gru? Frank Rosendahl Fingerprint: 7506 6D0F 2C79 09A6 A8CF E51D BEF0 0279 A989 8450 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Darrell.Frazier at crc.army.mil Mon Mar 26 19:06:22 2007 From: Darrell.Frazier at crc.army.mil (Frazier, Darrell USA CRC (Contractor)) Date: Mon, 26 Mar 2007 14:06:22 -0500 Subject: FW: [Fedora-xen] RHEL4 Update 5 Message-ID: -----Original Message----- From: Frazier, Darrell USA CRC (Contractor) Sent: Monday, March 26, 2007 2:01 PM To: 'Frank Rosendahl' Subject: RE: [Fedora-xen] RHEL4 Update 5 Yeah, I've been monitoring rhn for a couple of days now (ever since rhel5 went prod last week) I had hoped rhel4 u5 would come out shortly thereafter.As of 1400 CDT today the rhel4u5 isoes were not available. :( -----Original Message----- From: fedora-xen-bounces at redhat.com [mailto:fedora-xen-bounces at redhat.com] On Behalf Of Frank Rosendahl Sent: Monday, March 26, 2007 1:48 PM To: fedora-xen at redhat.com Subject: Re: [Fedora-xen] RHEL4 Update 5 -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4697 bytes Desc: not available URL: From Darrell.Frazier at crc.army.mil Mon Mar 26 19:41:55 2007 From: Darrell.Frazier at crc.army.mil (Frazier, Darrell USA CRC (Contractor)) Date: Mon, 26 Mar 2007 14:41:55 -0500 Subject: [Fedora-xen] RHEL4 Update 5 Message-ID: I found the rhel4u5 iso's under the rhel4 AS beta link in rhn. -----Original Message----- From: fedora-xen-bounces at redhat.com [mailto:fedora-xen-bounces at redhat.com] On Behalf Of Frazier, Darrell USA CRC (Contractor) Sent: Monday, March 26, 2007 2:06 PM To: fedora-xen at redhat.com Subject: FW: [Fedora-xen] RHEL4 Update 5 -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4697 bytes Desc: not available URL: From asraikhn at gmail.com Mon Mar 26 21:04:04 2007 From: asraikhn at gmail.com (Asrai khn) Date: Tue, 27 Mar 2007 02:04:04 +0500 Subject: [Fedora-xen] kernel OoPs after updating to 2.6.20-1.2933.fc6xen Message-ID: <5f0f8dba0703261404j487f03a6q29683f6dfa7a596d@mail.gmail.com> Hi, Today after updating kernel-xen to 2.6.20-1.2933.fc6xen on one of our host I got kernel oops and machine rebooted, when it come back again i have no other choice but to edit grub.conf and make the last working kernel ' 2.6.19-1.2911.6.5.fc6xen' the default one which working fine. DemU(s) working fine with with same kernel 2.6.20-1.2933.fc6xen, we use loopback mounted fs for domU(s) Here are the messages i found on screen before machine got rebooted (Note: machine is remote to me thousands of miles away therefore i can't check its boot screen :-S ) Now I am reluctant to update kernel-xen on our other remote hosts, never got into such issue on FC6 while updated kernel-xen. In help/suggestion will be greatly appreciated. ------ [root at xxxxx ~]# Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: Oops: 0003 [#1] Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: SMP Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: CPU: 0 Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: EIP: 0061:[] Not tainted VLI Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: EFLAGS: 00010017 (2.6.20-1.2933.fc6xen #1) Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: EIP is at evtchn_do_upcall+0x55/0x97 Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: eax: 00000010 ebx: 00000000 ecx: eaa35fe4 edx: ffffffec Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: esi: 00000001 edi: f5416000 ebp: fffffffe esp: eaa35fc4 Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: ds: 007b es: 007b ss: 0069 Message from syslogd at xxxxx at Mon Mar 26 20:17:02 2007 ... xxxxx kernel: Process find (pid: 4000, ti=eaa35000 task=ed7b12f0 task.ti=eaa35000) Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: Stack: 00000000 00000000 00000003 eaa35fac eaa35fe4 eaa35000 c0404ff2 eaa35fe4 Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: b7ff0402 00000073 00000212 bf93c920 0000007b 00000000 00000000 Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: Call Trace: Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: ======================= Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: [] hypervisor_callback+0x46/0x50 Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: Code: bd fe ff ff ff 88 d9 89 d8 c1 e0 05 d3 c5 89 04 24 eb 29 0f bc c0 03 04 24 8b 14 85 80 f0 6f c0 83 fa ff 74 12 8b 4c 24 1c f7 d2 <89> 51 28 89 c8 e8 16 db eb ff eb 05 e8 22 2e 00 00 8b 44 24 04 Message from syslogd at xxxxx at Mon Mar 26 20:17:03 2007 ... xxxxx kernel: EIP: [] evtchn_do_upcall+0x55/0x97 SS:ESP 0069:eaa35fc4 Read from remote host xxxxx.xxxx.com: Connection reset by peer Connection to xxxxx.xxxx.com closed. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pasik at iki.fi Mon Mar 26 22:13:51 2007 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Tue, 27 Mar 2007 01:13:51 +0300 Subject: [Fedora-xen] kernel OoPs after updating to 2.6.20-1.2933.fc6xen In-Reply-To: <5f0f8dba0703261404j487f03a6q29683f6dfa7a596d@mail.gmail.com> References: <5f0f8dba0703261404j487f03a6q29683f6dfa7a596d@mail.gmail.com> Message-ID: <20070326221351.GQ29393@edu.joroinen.fi> On Tue, Mar 27, 2007 at 02:04:04AM +0500, Asrai khn wrote: > Hi, > > Today after updating kernel-xen to 2.6.20-1.2933.fc6xen on one of our host I > got kernel oops and machine rebooted, when it come back again i have no > other choice but to edit grub.conf and make the last working kernel ' > 2.6.19-1.2911.6.5.fc6xen' the default one which working fine. > > DemU(s) working fine with with same kernel 2.6.20-1.2933.fc6xen, we use > loopback mounted fs for domU(s) > > Here are the messages i found on screen before machine got rebooted (Note: > machine is remote to me thousands of miles away therefore i can't check its > boot screen :-S ) > > Now I am reluctant to update kernel-xen on our other remote hosts, never > got into such issue on FC6 while updated kernel-xen. In help/suggestion will > be greatly appreciated. > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234008 Is it the same one? -- Pasi From pradeep.nani at gmail.com Tue Mar 27 08:45:00 2007 From: pradeep.nani at gmail.com (pradeep ratnala) Date: Tue, 27 Mar 2007 14:15:00 +0530 Subject: [Fedora-xen] how to build a customized xen kernel for guest OS Message-ID: <4d9b7f620703270145w61047d52n5fcb1653cff62669@mail.gmail.com> Hi I successfully installed FC6 with xen ....I could also start FC6 guest domains using virt-install... Everything is ok till now...... But I need to change the kernel of the guest domain with my own kernel (for project purpose).......So I started compiling a new kernel (2.6.19) in the guest domain..... I could compile it and even add a grub entry but couldnt boot the guest domain with this new kernel....The problem is that the new kernel I built is not xen aware and hence it is not supporting paravirtualization............ so can anyone guide me how to develop xen aware kernels........... thanks in advance Pradeep -------------- next part -------------- An HTML attachment was scrubbed... URL: From asraikhn at gmail.com Tue Mar 27 11:26:03 2007 From: asraikhn at gmail.com (Asrai khn) Date: Tue, 27 Mar 2007 16:26:03 +0500 Subject: [Fedora-xen] kernel OoPs after updating to 2.6.20-1.2933.fc6xen In-Reply-To: <20070326221351.GQ29393@edu.joroinen.fi> References: <5f0f8dba0703261404j487f03a6q29683f6dfa7a596d@mail.gmail.com> <20070326221351.GQ29393@edu.joroinen.fi> Message-ID: <5f0f8dba0703270426ob16c0b8o74582bd17561a809@mail.gmail.com> On 3/27/07, Pasi K?rkk?inen wrote: > > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234008 > > Is it the same one? Yes, any fix for it? Askar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lamont at gurulabs.com Tue Mar 27 21:32:30 2007 From: lamont at gurulabs.com (Lamont Peterson) Date: Tue, 27 Mar 2007 15:32:30 -0600 Subject: [Fedora-xen] Createing/working with disk images Message-ID: <200703271532.35833.lamont@gurulabs.com> All, I need to create some images that pygrub can boot (on FC6 & RHEL5). IIUC, that means that the image file must be a disk image complete with partition table. The trouble I'm running into is figuring out how to access the "partition" within the disk image file as a block device. This is necessary in order to format or mount the filesystems and run mkswap for the disk image's swap partition. Here's what I have so far. 1. Create the disk image file, ala "dd if=/dev/zero of=/var/lib/xen/images/someVM/sda bs=1k seek=4608k count=1" 2. Create partitions with fdisk (this requires setting the number of cylinders, but that's easy). 3. losetup /dev/loop0 /var/lib/xen/images/someVM/sda At this point, I can run "fdisk -l /dev/loop0" and get: Disk /dev/loop0: 4831 MB, 4831839232 bytes 255 heads, 63 sectors/track, 587 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/loop0p1 1 523 4200966 83 Linux /dev/loop0p2 524 588 522112+ 82 Linux swap / Solaris However, there is no /dev/loop0p1 or /dev/loop0p2 devices and I'm not sure what to do to make those accessible. I need to be able to "mke2fs -j /dev/loop0p1" and "mkswap /dev/loop0p2" or equivalent. Then I need to mount /dev/loop0p1 to copy files to it. How can I access partitions inside a disk image as block devices? Should I be using something other than losetup here? -- Lamont Peterson Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] NOTE: All messages from this email address should be digitally signed with my 0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as well as other keyservers that sync with MIT's. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From kzak at redhat.com Tue Mar 27 21:42:16 2007 From: kzak at redhat.com (Karel Zak) Date: Tue, 27 Mar 2007 23:42:16 +0200 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <200703271532.35833.lamont@gurulabs.com> References: <200703271532.35833.lamont@gurulabs.com> Message-ID: <20070327214216.GA27806@petra.dvoda.cz> On Tue, Mar 27, 2007 at 03:32:30PM -0600, Lamont Peterson wrote: > Device Boot Start End Blocks Id System > /dev/loop0p1 1 523 4200966 83 Linux > /dev/loop0p2 524 588 522112+ 82 Linux swap / > Solaris > > However, there is no /dev/loop0p1 or /dev/loop0p2 devices and I'm not sure > what to do to make those accessible. I need to be able > to "mke2fs -j /dev/loop0p1" and "mkswap /dev/loop0p2" or equivalent. Then I > need to mount /dev/loop0p1 to copy files to it. > > How can I access partitions inside a disk image as block devices? Should I be > using something other than losetup here? man losetup man mount ... option "offset" or you can try lomount (from the Xen package) that supports partitions more friendly. For more information (especially when you want to use LVM), see: http://fedoraproject.org/wiki/FedoraXenQuickstartFC6?highlight=%28Xen%29#head-9c5408e750e8184aece3efe822be0ef6dd1871cd Karel -- Karel Zak From acathrow at redhat.com Tue Mar 27 21:58:46 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Tue, 27 Mar 2007 17:58:46 -0400 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <200703271532.35833.lamont@gurulabs.com> References: <200703271532.35833.lamont@gurulabs.com> Message-ID: <1175032726.11208.148.camel@desktop.cathrow.org> Run kpartx to create the devices - will be created in /dev/mapper kpartx -a /dev/loop0 On Tue, 2007-03-27 at 15:32 -0600, Lamont Peterson wrote: > All, > > I need to create some images that pygrub can boot (on FC6 & RHEL5). IIUC, > that means that the image file must be a disk image complete with partition > table. > > The trouble I'm running into is figuring out how to access the "partition" > within the disk image file as a block device. This is necessary in order to > format or mount the filesystems and run mkswap for the disk image's swap > partition. > > Here's what I have so far. > > 1. Create the disk image file, ala "dd if=/dev/zero > of=/var/lib/xen/images/someVM/sda bs=1k seek=4608k count=1" > > 2. Create partitions with fdisk (this requires setting the number of > cylinders, but that's easy). > > 3. losetup /dev/loop0 /var/lib/xen/images/someVM/sda > > At this point, I can run "fdisk -l /dev/loop0" and get: > > Disk /dev/loop0: 4831 MB, 4831839232 bytes > 255 heads, 63 sectors/track, 587 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/loop0p1 1 523 4200966 83 Linux > /dev/loop0p2 524 588 522112+ 82 Linux swap / > Solaris > > However, there is no /dev/loop0p1 or /dev/loop0p2 devices and I'm not sure > what to do to make those accessible. I need to be able > to "mke2fs -j /dev/loop0p1" and "mkswap /dev/loop0p2" or equivalent. Then I > need to mount /dev/loop0p1 to copy files to it. > > How can I access partitions inside a disk image as block devices? Should I be > using something other than losetup here? > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -------------- next part -------------- An HTML attachment was scrubbed... URL: From lamont at gurulabs.com Tue Mar 27 23:24:42 2007 From: lamont at gurulabs.com (Lamont Peterson) Date: Tue, 27 Mar 2007 17:24:42 -0600 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <20070327214216.GA27806@petra.dvoda.cz> References: <200703271532.35833.lamont@gurulabs.com> <20070327214216.GA27806@petra.dvoda.cz> Message-ID: <200703271724.46287.lamont@gurulabs.com> On Tuesday 27 March 2007 03:42pm, Karel Zak wrote: [snip] > > How can I access partitions inside a disk image as block devices? Should > > I be using something other than losetup here? > > man losetup > man mount > > ... option "offset" Yeah, the moment I sent the original post, I realized I could try using offsets with losetup. Unfortunately, it's not quite working. I think the problem is that the -s switch won't work with the RHEL5 or FC6 loopback drivers and without it, running: # losetup -o512 /dev/loop1 /some/image/file ... is creating /dev/loop1 to span from the beginning of partition 1 to the end of the image file, which includes the space for partitions 2 and up. The -s switch needs to be used here to make this loopback device the right size. The note, "This option may not be supported on some older kernels and/or loop drivers," appears in the losetup(8) man page with the -s information. I don't think these would be considered "older kernels" but the losetup command is not able to work when I try to use -s. > or you can try lomount (from the Xen package) that supports > partitions more friendly. For more information (especially when you > want to use LVM), see: That's good to know about. Of course, that will only work once there is a filesystem on the partition inside the image file. I still have the problem of being able to run mke2fs and format *just* the partition within the image. > > http://fedoraproject.org/wiki/FedoraXenQuickstartFC6?highlight=%28Xen%29#he >ad-9c5408e750e8184aece3efe822be0ef6dd1871cd Thanks. -- Lamont Peterson Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] NOTE: All messages from this email address should be digitally signed with my 0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as well as other keyservers that sync with MIT's. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From lamont at gurulabs.com Tue Mar 27 23:27:42 2007 From: lamont at gurulabs.com (Lamont Peterson) Date: Tue, 27 Mar 2007 17:27:42 -0600 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <1175032726.11208.148.camel@desktop.cathrow.org> References: <200703271532.35833.lamont@gurulabs.com> <1175032726.11208.148.camel@desktop.cathrow.org> Message-ID: <200703271727.42666.lamont@gurulabs.com> On Tuesday 27 March 2007 03:58pm, Andrew Cathrow wrote: > Run kpartx to create the devices - will be created in /dev/mapper Hmm. I'd run into something that mentioned the use of kpartx (I think is was in some openSUSE 10.2 Xen documentation), but looking at it's man page, it didn't look like the right tool to create the devices. > kpartx -a /dev/loop0 So, I'm supposed to: 1. Create the image file. 2. Run "losetup /dev/loop0 /whatever/path/to/the/imagefile" 3. Run "fdisk /dev/loop0" to create the partitions. 4. Run "kpartx -a /dev/loop0" which will create /dev/mapper/* devices for the partitions on /dev/loop0. Have I got that right? > On Tue, 2007-03-27 at 15:32 -0600, Lamont Peterson wrote: > > All, > > > > I need to create some images that pygrub can boot (on FC6 & RHEL5). > > IIUC, that means that the image file must be a disk image complete with > > partition table. > > > > The trouble I'm running into is figuring out how to access the > > "partition" within the disk image file as a block device. This is > > necessary in order to format or mount the filesystems and run mkswap for > > the disk image's swap partition. > > > > Here's what I have so far. > > > > 1. Create the disk image file, ala "dd if=/dev/zero > > of=/var/lib/xen/images/someVM/sda bs=1k seek=4608k count=1" > > > > 2. Create partitions with fdisk (this requires setting the number of > > cylinders, but that's easy). > > > > 3. losetup /dev/loop0 /var/lib/xen/images/someVM/sda > > > > At this point, I can run "fdisk -l /dev/loop0" and get: > > > > Disk /dev/loop0: 4831 MB, 4831839232 bytes > > 255 heads, 63 sectors/track, 587 cylinders > > Units = cylinders of 16065 * 512 = 8225280 bytes > > > > Device Boot Start End Blocks Id System > > /dev/loop0p1 1 523 4200966 83 Linux > > /dev/loop0p2 524 588 522112+ 82 Linux swap / > > Solaris > > > > However, there is no /dev/loop0p1 or /dev/loop0p2 devices and I'm not > > sure what to do to make those accessible. I need to be able > > to "mke2fs -j /dev/loop0p1" and "mkswap /dev/loop0p2" or equivalent. > > Then I need to mount /dev/loop0p1 to copy files to it. > > > > How can I access partitions inside a disk image as block devices? Should > > I be using something other than losetup here? > > -- > > Fedora-xen mailing list > > Fedora-xen at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-xen -- Lamont Peterson Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] NOTE: All messages from this email address should be digitally signed with my 0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as well as other keyservers that sync with MIT's. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From acathrow at redhat.com Wed Mar 28 00:52:39 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Tue, 27 Mar 2007 20:52:39 -0400 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <200703271727.42666.lamont@gurulabs.com> References: <200703271532.35833.lamont@gurulabs.com> <1175032726.11208.148.camel@desktop.cathrow.org> <200703271727.42666.lamont@gurulabs.com> Message-ID: <1175043159.4562.1.camel@aic-macbook-fc6.cathrow.org> Yep, It's referenced in the quickstart http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 On Tue, 2007-03-27 at 17:27 -0600, Lamont Peterson wrote: > On Tuesday 27 March 2007 03:58pm, Andrew Cathrow wrote: > > Run kpartx to create the devices - will be created in /dev/mapper > > Hmm. I'd run into something that mentioned the use of kpartx (I think is was > in some openSUSE 10.2 Xen documentation), but looking at it's man page, it > didn't look like the right tool to create the devices. > > > kpartx -a /dev/loop0 > > So, I'm supposed to: > > 1. Create the image file. > 2. Run "losetup /dev/loop0 /whatever/path/to/the/imagefile" > 3. Run "fdisk /dev/loop0" to create the partitions. > 4. Run "kpartx -a /dev/loop0" which will create /dev/mapper/* devices for the > partitions on /dev/loop0. > > Have I got that right? > > > On Tue, 2007-03-27 at 15:32 -0600, Lamont Peterson wrote: > > > All, > > > > > > I need to create some images that pygrub can boot (on FC6 & RHEL5). > > > IIUC, that means that the image file must be a disk image complete with > > > partition table. > > > > > > The trouble I'm running into is figuring out how to access the > > > "partition" within the disk image file as a block device. This is > > > necessary in order to format or mount the filesystems and run mkswap for > > > the disk image's swap partition. > > > > > > Here's what I have so far. > > > > > > 1. Create the disk image file, ala "dd if=/dev/zero > > > of=/var/lib/xen/images/someVM/sda bs=1k seek=4608k count=1" > > > > > > 2. Create partitions with fdisk (this requires setting the number of > > > cylinders, but that's easy). > > > > > > 3. losetup /dev/loop0 /var/lib/xen/images/someVM/sda > > > > > > At this point, I can run "fdisk -l /dev/loop0" and get: > > > > > > Disk /dev/loop0: 4831 MB, 4831839232 bytes > > > 255 heads, 63 sectors/track, 587 cylinders > > > Units = cylinders of 16065 * 512 = 8225280 bytes > > > > > > Device Boot Start End Blocks Id System > > > /dev/loop0p1 1 523 4200966 83 Linux > > > /dev/loop0p2 524 588 522112+ 82 Linux swap / > > > Solaris > > > > > > However, there is no /dev/loop0p1 or /dev/loop0p2 devices and I'm not > > > sure what to do to make those accessible. I need to be able > > > to "mke2fs -j /dev/loop0p1" and "mkswap /dev/loop0p2" or equivalent. > > > Then I need to mount /dev/loop0p1 to copy files to it. > > > > > > How can I access partitions inside a disk image as block devices? Should > > > I be using something other than losetup here? > > > -- > > > Fedora-xen mailing list > > > Fedora-xen at redhat.com > > > https://www.redhat.com/mailman/listinfo/fedora-xen > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeevanullas at gmail.com Wed Mar 28 03:41:28 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Wed, 28 Mar 2007 09:11:28 +0530 Subject: [Fedora-xen] installing winxp on rhel5 Message-ID: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> Hello guys, I have RHEL5. I want to install Windows XP on it using Xen. I heard I need PAE enabled processor. So I did the following: [root at server ~]# grep -i pae /proc/cpuinfo And I got this: flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc up pni monitor vmx est tm2 xtpr [root at server ~]# Does this tells that I have PAE enabled processor. One more thing I have 512 MB RAM (physical total RAM). So how much should I give to the Virtual Machine and last thing the installation source in this case can be a CD or ISO image. Thanks in advance Regards Deependra -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From takebe_akio at jp.fujitsu.com Wed Mar 28 05:32:20 2007 From: takebe_akio at jp.fujitsu.com (Akio Takebe) Date: Wed, 28 Mar 2007 14:32:20 +0900 Subject: [Fedora-xen] installing winxp on rhel5 In-Reply-To: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> References: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> Message-ID: Hi, >Does this tells that I have PAE enabled processor. One more thing I have 512 >MB RAM (physical total RAM). So how much should I give to the Virtual >Machine and last thing the installation source in this case can be a CD or >ISO image. Yes, you have the PAE processors. But 512MB RAM is too small on virtualization environment... dom0 and Xen need more than 256MB RAM. (RHEL5 configuration limit say 512MB) On native machine, is 256MB RAM for WindowsXp too small? Best Regards, Akio Takebe From debian at herakles.homelinux.org Wed Mar 28 07:21:51 2007 From: debian at herakles.homelinux.org (John Summerfield) Date: Wed, 28 Mar 2007 15:21:51 +0800 Subject: [Fedora-xen] installing winxp on rhel5 In-Reply-To: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> References: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> Message-ID: <460A178F.8030705@herakles.homelinux.org> Deependra Shekhawat wrote: > Hello guys, > I have RHEL5. I want to install Windows XP on it using Xen. I heard I need > PAE enabled processor. So I did the following: Miss Understood or Miss Informed. PAE gives you support for lotsa RAM, up to 64 Gbytes. What you need is the virtualisation capability in new Intel and AMD processors. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list From takebe_akio at jp.fujitsu.com Wed Mar 28 08:00:32 2007 From: takebe_akio at jp.fujitsu.com (Akio Takebe) Date: Wed, 28 Mar 2007 17:00:32 +0900 Subject: [Fedora-xen] installing winxp on rhel5 In-Reply-To: <460A178F.8030705@herakles.homelinux.org> References: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> <460A178F.8030705@herakles.homelinux.org> Message-ID: <14C7710F28C11Atakebe_akio@jp.fujitsu.com> Hi, >Miss Understood or Miss Informed. > >PAE gives you support for lotsa RAM, up to 64 Gbytes. > >What you need is the virtualisation capability in new Intel and AMD >processors. Ah, you are right. >[root at server ~]# grep -i pae /proc/cpuinfo >And I got this: >flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat clflush dts >acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 >xtpr >flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat clflush dts >acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc up pni monitor vmx est >tm2 xtpr >[root at server ~]# But his cpus have vmx feature. Best Regards, Akio Takebe From acathrow at redhat.com Wed Mar 28 11:19:35 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Wed, 28 Mar 2007 07:19:35 -0400 Subject: [Fedora-xen] installing winxp on rhel5 In-Reply-To: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> References: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> Message-ID: <1175080775.5603.5.camel@desktop.cathrow.org> On Wed, 2007-03-28 at 09:11 +0530, Deependra Shekhawat wrote: > Hello guys, > I have RHEL5. I want to install Windows XP on it using Xen. I heard I > need PAE enabled processor. So I did the following: > You need a PAE enabled processor for Xen, and VMX or SVM (intel and AMD respectively) for full virtualization - so looking at the output below you're covered for both. > [root at server ~]# grep -i pae /proc/cpuinfo > And I got this: > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat > clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni > monitor vmx est tm2 xtpr > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat > clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc up pni > monitor vmx est tm2 xtpr > [root at server ~]# > > Does this tells that I have PAE enabled processor. One more thing I > have 512 MB RAM (physical total RAM). So how much should I give to the > Virtual Machine and last thing the installation source in this case > can be a CD or ISO image. 256 should be enough for an XP installation. You can use either CD or ISO - I prefer to use ISO as it's simplier. > Thanks in advance > Regards > Deependra > > > -- > Enjoy Life ! > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Wed Mar 28 11:22:38 2007 From: acathrow at redhat.com (Andrew Cathrow) Date: Wed, 28 Mar 2007 07:22:38 -0400 Subject: [Fedora-xen] installing winxp on rhel5 In-Reply-To: References: <57127b5f0703272041q118485ecy5ee1739fc612efa7@mail.gmail.com> Message-ID: <1175080958.5603.8.camel@desktop.cathrow.org> On Wed, 2007-03-28 at 14:32 +0900, Akio Takebe wrote: > Hi, > > >Does this tells that I have PAE enabled processor. One more thing I have 512 > >MB RAM (physical total RAM). So how much should I give to the Virtual > >Machine and last thing the installation source in this case can be a CD or > >ISO image. > Yes, you have the PAE processors. > But 512MB RAM is too small on virtualization environment... > dom0 and Xen need more than 256MB RAM. > (RHEL5 configuration limit say 512MB) > On native machine, is 256MB RAM for WindowsXp too small? Dom0 is fine with 256mb but cannot go below that limit 256 for the windows guest is pushing it - but it is within XP's requirements. Obviously the more the merrier but if he's only got 512 to work with ........ > > Best Regards, > > Akio Takebe > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -------------- next part -------------- An HTML attachment was scrubbed... URL: From noisilysilent at nerdshack.com Wed Mar 28 18:31:49 2007 From: noisilysilent at nerdshack.com (NoisilySilent) Date: Wed, 28 Mar 2007 20:31:49 +0200 Subject: [Fedora-xen] Re: Windows XP install failed on FC6-Xen In-Reply-To: Message-ID: <008701c77167$5a6977a0$162e0259@2M9MV1J> OK, I finally made it!! So for those willing to install Win XP on Dell Latitude D620, these are the steps: 1) Press F5 at the very beginning of Win XP installation, just when it asks to press F5 for additional RAID support. 2) This pops up a new selection caption where you can choose your hardware architecture: do not choose ACPI architecture. I took "Standard PC" 3) Don't forget to add a cdrom device to your xen WinXP conf file, else it will reboot but won't find the source disc Win XP installs and reboots perfectly. Needless to say mouse management is a bit crappie ;-) but TSE access to the Windows system is simply great (using rdesktop)!! Thanks for your help and replies Cheers charles -----Message d'origine----- De?: fedora-xen-bounces at redhat.com [mailto:fedora-xen-bounces at redhat.com] De la part de Alexei Envoy??: lundi 26 mars 2007 09:18 ??: fedora-xen at redhat.com Objet?: [Fedora-xen] Re: Windows XP install failed on FC6-Xen NoisilySilent nerdshack.com> writes: > > Installation hangs after first reboot during Windows > XP installation procedure. > I installed windows on fc6 x64 as follows: 1. first stage of installation ( just to when winsp tried to re-ipl) I run on qemu. Actually qemu and xen use the same format of disk emulations. 2. After when winxp asked to re-boot, I constructed .hvc file with disk from first stage and it worked OK since then. Hope this helps. -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen From jeevanullas at gmail.com Thu Mar 29 05:23:04 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Thu, 29 Mar 2007 10:53:04 +0530 Subject: [Fedora-xen] Re: Windows XP install failed on FC6-Xen In-Reply-To: <008701c77167$5a6977a0$162e0259@2M9MV1J> References: <008701c77167$5a6977a0$162e0259@2M9MV1J> Message-ID: <57127b5f0703282223u51493652v6aab3bb01ea1695e@mail.gmail.com> Thanks for the steps. They really worked. Using them I have installed Windows XP Professional on my Redhat Enterprise 5. Here's a screenshot after I was able to successfully install it. http://img404.imageshack.us/img404/457/screenshot1zl8.jpg Thanks once again. Regards On 3/29/07, NoisilySilent wrote: > > OK, I finally made it!! > > So for those willing to install Win XP on Dell Latitude D620, these are > the > steps: > > 1) Press F5 at the very beginning of Win XP installation, just when it > asks > to press F5 for additional RAID support. > 2) This pops up a new selection caption where you can choose your hardware > architecture: do not choose ACPI architecture. I took "Standard PC" > 3) Don't forget to add a cdrom device to your xen WinXP conf file, else it > will reboot but won't find the source disc > > Win XP installs and reboots perfectly. Needless to say mouse management is > a > bit crappie ;-) but TSE access to the Windows system is simply great > (using > rdesktop)!! > > Thanks for your help and replies > > Cheers > > charles > > -----Message d'origine----- > De: fedora-xen-bounces at redhat.com [mailto:fedora-xen-bounces at redhat.com] > De > la part de Alexei > Envoy?: lundi 26 mars 2007 09:18 > ?: fedora-xen at redhat.com > Objet: [Fedora-xen] Re: Windows XP install failed on FC6-Xen > > NoisilySilent nerdshack.com> writes: > > > > > > Installation hangs after first reboot during Windows > > XP installation procedure. > > > > I installed windows on fc6 x64 as follows: > > 1. first stage of installation ( just to when winsp tried to re-ipl) > I run on qemu. Actually qemu and xen use the same format of disk > emulations. > > 2. After when winxp asked to re-boot, I constructed .hvc file with disk > from > first stage and it worked OK since then. > > Hope this helps. > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pradeep.nani at gmail.com Thu Mar 29 08:30:50 2007 From: pradeep.nani at gmail.com (pradeep ratnala) Date: Thu, 29 Mar 2007 14:00:50 +0530 Subject: [Fedora-xen] xen aware guest os Message-ID: <4d9b7f620703290130q54fdc7afl736698e62e232317@mail.gmail.com> Hi I am trying to build a xen aware guest kernel ....I have 2.6.16 as the host kernel over which I built a fc5-xen kernel..Now I am trying to build a custom xen aware kernel over this. Can someone help me in this...Is there any step by step procedure for doing this?...To my knowledge I may have to remove all the direct hardware driver links in the custom kernel.... Thanx Pradeep -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeevanullas at gmail.com Thu Mar 29 11:45:30 2007 From: jeevanullas at gmail.com (Deependra Shekhawat) Date: Thu, 29 Mar 2007 17:15:30 +0530 Subject: [Fedora-xen] installing vista using xen Message-ID: <57127b5f0703290445u27c189cpb4dda55f958c484c@mail.gmail.com> Hello, Can I install windows vista using Xen. If possible how much RAM and disk space should I allocate for windows vista (minimum) and if there are some other precautionary measures to be taken. Thanks in advance. -- Enjoy Life ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pasik at iki.fi Thu Mar 29 12:42:54 2007 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Thu, 29 Mar 2007 15:42:54 +0300 Subject: [Fedora-xen] fedora kernel-xen-2.6.20 unusable, freezes/crashes for many Message-ID: <20070329124254.GA21247@edu.joroinen.fi> Hi list! Any information about this bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234008 It seems to affect many people.. latest 2.6.19 kernel-xen runs fine on the same hardware/dom0.. but 2.6.20 crashes/freezes quite immediately. -- Pasi From s.jahangir at qut.edu.au Fri Mar 30 05:43:39 2007 From: s.jahangir at qut.edu.au (M S Jahangir) Date: Fri, 30 Mar 2007 15:43:39 +1000 Subject: [Fedora-xen] install xen rpm In-Reply-To: <57127b5f0703282223u51493652v6aab3bb01ea1695e@mail.gmail.com> References: <008701c77167$5a6977a0$162e0259@2M9MV1J> <57127b5f0703282223u51493652v6aab3bb01ea1695e@mail.gmail.com> Message-ID: <1175233419.3525.4.camel@s913cso.bee.qut.edu.au> Hi guys I am really in trouble now with installing xen rpm on RHEL5 Client. I have installed RHEL5 Desktop first and then I was trying to install xen-3.0 rpm from cdrom and it says lots of dependency error. If i try to install by typing yum install xen , it says no matching found. What can I do to install xen please come forward with your experience not theory Regards selim On Thu, 2007-03-29 at 10:53 +0530, Deependra Shekhawat wrote: > Thanks for the steps. They really worked. Using them I have installed > Windows XP Professional on my Redhat Enterprise 5. > Here's a screenshot after I was able to successfully install it. > http://img404.imageshack.us/img404/457/screenshot1zl8.jpg > > Thanks once again. > Regards > > > On 3/29/07, NoisilySilent wrote: > OK, I finally made it!! > > So for those willing to install Win XP on Dell Latitude D620, > these are the > steps: > > 1) Press F5 at the very beginning of Win XP installation, just > when it asks > to press F5 for additional RAID support. > 2) This pops up a new selection caption where you can choose > your hardware > architecture: do not choose ACPI architecture. I took > "Standard PC" > 3) Don't forget to add a cdrom device to your xen WinXP conf > file, else it > will reboot but won't find the source disc > > Win XP installs and reboots perfectly. Needless to say mouse > management is a > bit crappie ;-) but TSE access to the Windows system is simply > great (using > rdesktop)!! > > Thanks for your help and replies > > Cheers > > charles > > -----Message d'origine----- > De: fedora-xen-bounces at redhat.com > [mailto:fedora-xen-bounces at redhat.com] De > la part de Alexei > Envoy?: lundi 26 mars 2007 09:18 > ?: fedora-xen at redhat.com > Objet: [Fedora-xen] Re: Windows XP install failed on FC6-Xen > > NoisilySilent nerdshack.com> writes: > > > > > > Installation hangs after first reboot during Windows > > XP installation procedure. > > > > I installed windows on fc6 x64 as follows: > > 1. first stage of installation ( just to when winsp tried to > re-ipl) > I run on qemu. Actually qemu and xen use the same format of > disk emulations. > > 2. After when winxp asked to re-boot, I constructed .hvc file > with disk from > first stage and it worked OK since then. > > Hope this helps. > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > > > -- > Enjoy Life ! > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen From asraikhn at gmail.com Fri Mar 30 17:04:24 2007 From: asraikhn at gmail.com (Asrai khn) Date: Fri, 30 Mar 2007 22:04:24 +0500 Subject: [Fedora-xen] install xen rpm In-Reply-To: <1175233419.3525.4.camel@s913cso.bee.qut.edu.au> References: <008701c77167$5a6977a0$162e0259@2M9MV1J> <57127b5f0703282223u51493652v6aab3bb01ea1695e@mail.gmail.com> <1175233419.3525.4.camel@s913cso.bee.qut.edu.au> Message-ID: <5f0f8dba0703301004r7bdd55cdqd9d79d1f1406fb3f@mail.gmail.com> On 3/30/07, M S Jahangir wrote: > > Hi guys > I am really in trouble now with installing xen rpm on RHEL5 Client. > I have installed RHEL5 Desktop first and then I was trying to install > xen-3.0 rpm from cdrom and it says lots of dependency error. If i try to > install by typing > > yum install xen , it says no matching found. yum install kernel-xen Regards. Askar -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Sanabria at ece.uprm.edu Fri Mar 30 18:26:21 2007 From: John.Sanabria at ece.uprm.edu (John Sanabria) Date: Fri, 30 Mar 2007 14:26:21 -0400 (AST) Subject: [Fedora-xen] Re: [et-mgmt-tools] what happen? :( In-Reply-To: <460D4760.8070002@redhat.com> References: <50745.136.145.116.114.1175268447.squirrel@ece.uprm.edu> <460D4760.8070002@redhat.com> Message-ID: <56299.136.145.116.114.1175279181.squirrel@ece.uprm.edu> Hi Michael, i'm sending your response to fedora-xen mailing list for any comments from them. About your answer, the machine where i want to create a new virtual node is the 136.145.116.76. This machine has two virtual nodes up and running, so i think that message is not a hypervisor problem, the hypervisor is working. The other hand, last week i create two additional virtual nodes, in that machine (116.76), the problem appear today. Asides, the distro and profile configuration keep the same. I can't understand why today, provisioning with cobbler stop to work. Thanks a lot to fedora-xen mailing list for your comments and thanks Michael. > John Sanabria wrote: >> Hi, >> >> the last week i had executed the next line command to create a virtual >> nodes in 136.145.116.76 host: >> >> cobbler enchant --virt=yes --address=136.145.116.76 >> --profile="xentemplate-profile" >> >> and it work. >> >> Today, i try again to execute the command and appear that message: >> >> running: ssh -o 'StrictHostKeyChecking=no' -o 'HostKeyAlias >> nocobblerhostkey' root at 136.145.116.76 wget >> http://136.145.116.114/cobbler/koan-0.2.8-1.noarch.rpm >> Warning: Permanently added 'nocobblerhostkey' (RSA) to the list of known >> hosts. >> --11:18:07-- http://136.145.116.114/cobbler/koan-0.2.8-1.noarch.rpm >> Connecting to 136.145.116.114:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 93410 (91K) [application/x-rpm] >> Saving to: `koan-0.2.8-1.noarch.rpm' >> >> 0K .......... .......... .......... .......... .......... 54% 4.08M >> 0s >> 50K .......... .......... .......... .......... . 100% >> 14.1M=0.01s >> >> 11:18:08 (6.00 MB/s) - `koan-0.2.8-1.noarch.rpm' saved [93410/93410] >> >> returns: 0 >> running: ssh -o 'StrictHostKeyChecking=no' -o 'HostKeyAlias >> nocobblerhostkey' root at 136.145.116.76 up2date install syslinux >> libvirt-python libvirt >> bash: up2date: command not found >> returns: 127 >> running: ssh -o 'StrictHostKeyChecking=no' -o 'HostKeyAlias >> nocobblerhostkey' root at 136.145.116.76 yum -y install syslinux >> libvirt-python libvirt >> Loading "installonlyn" plugin >> Setting up Install Process >> Setting up repositories >> Reading repository metadata in from local files >> Parsing package install arguments >> Nothing to do >> returns: 0 >> running: ssh -o 'StrictHostKeyChecking=no' -o 'HostKeyAlias >> nocobblerhostkey' root at 136.145.116.76 rpm -Uvh koan-0.2.8-1.noarch.rpm >> --force --nodeps >> Preparing... >> ################################################## >> koan >> ################################################## >> returns: 0 >> running: ssh -o 'StrictHostKeyChecking=no' -o 'HostKeyAlias >> nocobblerhostkey' root at 136.145.116.76 koan --virt >> --profile=xentemplate-profile --server=136.145.116.114 >> - processing profile: xentemplate-profile >> - fetching configuration for profile: xentemplate-profile >> - url=http://136.145.116.114/cobbler/profiles/xentemplate-profile >> - {'kickstart': >> 'http://136.145.116.114/cobbler_track/kickstarts/xentemplate-profile/ks.cfg', >> 'name': 'xentemplate-profile', 'virt_ram': 256, 'repos': '', >> 'kernel_options': 'lang= ksdevice=eth0 text syslog=136.145.116.114:25150 >> devfs=nomount ramdisk_size=16438 append ', 'virt_name': 'xentemplate', >> 'virt_file_size': 6, 'distro': 'xentemplate', 'virt_paravirt': 'True', >> 'ks_meta': ''} >> - fetching configuration for distro: xentemplate >> - url=http://136.145.116.114/cobbler/distros/xentemplate >> - {'kernel': '/root/vmlinuz', 'ks_meta': '', 'breed': 'redhat', >> 'kernel_options': 'lang= ksdevice=eth0 text syslog=136.145.116.114:25150 >> devfs=nomount ramdisk_size=16438 append ', 'initrd': '/root/initrd.img', >> 'arch': 'x86', 'name': 'xentemplate'} >> - downloading initrd initrd.img to /tmp/initrd.img >> - url=http://136.145.116.114/cobbler/images/xentemplate/initrd.img >> -libvir: error : no support for hypervisor >> Traceback (most recent call last): >> File "/usr/lib/python2.4/site-packages/koan/app.py", line 97, in main >> k.run() >> File "/usr/lib/python2.4/site-packages/koan/app.py", line 152, in run >> self.do_virt() >> File "/usr/lib/python2.4/site-packages/koan/app.py", line 297, in >> do_virt >> return self.do_net_install("/tmp",after_download) >> File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in >> do_net_install >> after_download(self, distro_data, profile_data) >> File "/usr/lib/python2.4/site-packages/koan/app.py", line 296, in >> after_download >> self.do_virt_net_install(profile_data, distro_data) >> File "/usr/lib/python2.4/site-packages/koan/app.py", line 600, in >> do_virt_net_install >> extra=kextra >> File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 84, >> in >> start_paravirt_install >> guest = virtinst.ParaVirtGuest() >> File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", >> line >> 37, in __init__ >> XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI) >> File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line >> 183, >> in __init__ >> self.conn = libvirt.open(hypervisorURI) >> downloading kernel vmlinuz to /tmp/vmlinuz >> - url=http://136.145.116.114/cobbler/images/xentemplate/vmlinuz >> - kernel saved = /tmp/vmlinuz >> - initrd saved = /tmp/initrd.img >> File "/usr/lib/python2.4/site-packages/libvirt.py", line 95, in open >> if ret is None:raise libvirtError('virConnectOpen() failed') >> libvirtError: virConnectOpen() failed no support for hypervisor >> returns: 3 >> Traceback (most recent call last): >> File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", >> line >> 101, in run >> self.ssh_exec("koan %s --profile=%s --server=%s" % (operation, >> self.profile, self.settings.server)) >> File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", >> line >> 57, in ssh_exec >> raise cexceptions.CobblerException("enchant_failed","ssh failure") >> CobblerException: 'enchant failed (ssh failure)' >> enchant failed (exception) >> >> ---------------------------- >> >> Any suggestions. >> >> the machine where command were submitted has the next configuration: >> >> uname -a : "Linux reboot 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 >> 16:59:41 EST 2007 i686 i686 i386 GNU/Linux" >> koan: 0.2.7-1.fc6 >> cobbler: 0.4.3-0.fc6 >> >> thanks a lot for your answer. >> >> >> >> >> http://ece.uprm.edu/~s047267 >> http://del.icio.us/josanabr >> http://blog-grid.blogspot.com >> >> _______________________________________________ >> et-mgmt-tools mailing list >> et-mgmt-tools at redhat.com >> https://www.redhat.com/mailman/listinfo/et-mgmt-tools >> > > I think the key is... > > "-libvir: error : no support for hypervisor" > > From the above, it looks like you're getting an error from Xen or > libvirt, rather than from something cobbler/koan related. > > Are you sure you are installing a Xen kernel image vs a plain one? Is > xend running? I'm really not super-up on libvirt error messages, so > perhaps Dan/Hugh can field this. You could always ask fedora-xen as > well. > > --Michael > > > > > _______________________________________________ > et-mgmt-tools mailing list > et-mgmt-tools at redhat.com > https://www.redhat.com/mailman/listinfo/et-mgmt-tools > http://ece.uprm.edu/~s047267 http://del.icio.us/josanabr http://blog-grid.blogspot.com From lamont at gurulabs.com Fri Mar 30 18:50:48 2007 From: lamont at gurulabs.com (Lamont Peterson) Date: Fri, 30 Mar 2007 12:50:48 -0600 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <1175043159.4562.1.camel@aic-macbook-fc6.cathrow.org> References: <200703271532.35833.lamont@gurulabs.com> <200703271727.42666.lamont@gurulabs.com> <1175043159.4562.1.camel@aic-macbook-fc6.cathrow.org> Message-ID: <200703301250.56328.lamont@gurulabs.com> On Tuesday 27 March 2007 06:52pm, Andrew Cathrow wrote: > Yep, > > It's referenced in the quickstart > > http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 Doh, I read through that part and didn't register the section that combined losetup & kpartx. At this point, the RHEL5 guests (I'm working on that distro first) won't boot. Here's what I'm getting: ----- Going to boot Red Hat Enterprise Linux Server (2.6.18-8.el5xen) kernel: /boot/vmlinuz-2.6.18-8.el5xen initrd: /boot/initrd-2.6.18-8.el5xen.img Started domain guru1 rtc: IRQ 8 is not free. rtc: IRQ 8 is not free. i8042.c: No controller found. Red Hat nash version 5.1.19.6 starting mount: could not find filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! ----- BTW, the GRUB config was edited to specify /dev/xvda1 as the root partition on the kernel command line. After modifying the initrd image in the guest to not load some drivers, to load the xenblk.ko driver, add the xenblk.ko driver and change the device ID in the resume mkrootdev command, I get this: ----- Going to boot Red Hat Enterprise Linux Server (2.6.18-8.el5xen) kernel: /boot/vmlinuz-2.6.18-8.el5xen initrd: /boot/initrd-2.6.18-8.el5xen.img Started domain guru1 rtc: IRQ 8 is not free. rtc: IRQ 8 is not free. i8042.c: No controller found. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ----- Here is (part of) what the "init" nash script in the initrd looks like after my edits: ----- echo Setting up hotplug. hotplug echo Creating block device nodes. mkblkdevs echo "Loading uhci-hcd.ko module" insmod /lib/uhci-hcd.ko echo "Loading ohci-hcd.ko module" insmod /lib/ohci-hcd.ko echo "Loading ehci-hcd.ko module" insmod /lib/ehci-hcd.ko mount -t usbfs /proc/bus/usb /proc/bus/usb echo "Loading jbd.ko module" insmod /lib/jbd.ko echo "Loading ext3.ko module" insmod /lib/ext3.ko echo "Loading xenblk.ko module" insmod /lib/xenblk.ko mkblkdevs resume /dev/xvda2 echo Creating root device. mkrootdev -t ext3 -o defaults,ro xvda1 echo Mounting root filesystem. mount /sysroot echo Setting up other filesystems. setuproot ----- What do I need to do to create (or edit) a working initrd for the guest? -- Lamont Peterson Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] NOTE: All messages from this email address should be digitally signed with my 0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as well as other keyservers that sync with MIT's. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From lamont at gurulabs.com Fri Mar 30 23:01:55 2007 From: lamont at gurulabs.com (Lamont Peterson) Date: Fri, 30 Mar 2007 17:01:55 -0600 Subject: [Fedora-xen] Createing/working with disk images In-Reply-To: <200703301250.56328.lamont@gurulabs.com> References: <200703271532.35833.lamont@gurulabs.com> <1175043159.4562.1.camel@aic-macbook-fc6.cathrow.org> <200703301250.56328.lamont@gurulabs.com> Message-ID: <200703301702.00652.lamont@gurulabs.com> Apologies for self replying. On Friday 30 March 2007 12:50pm, Lamont Peterson wrote: [snip] > ----- > Going to boot Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > kernel: /boot/vmlinuz-2.6.18-8.el5xen > initrd: /boot/initrd-2.6.18-8.el5xen.img > Started domain guru1 > rtc: IRQ 8 is not free. > rtc: IRQ 8 is not free. > i8042.c: No controller found. > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(0,0) > ----- [snip] OK. With more research, I've identified that the disk device isn't visible in the guest, and that's what's causing the error at boot time. Here's the disk line from the guest config: disk = [ 'tap:aio:/var/lib/xen/images/machinename-xvda,xvda,w' ] I was able to get virt-install to create a working guest after turning off SELinux. I'll turn it back on later and try to find the policy problem, but it must be dontaudit'ed as I'm not seeing any audit messages for startup, though I do see one when it crashes and tries to write a fail log entry. Comparing the differences in the initrd image inside the working guest disk image and the one inside the images I'm creating, I'm not seeing any significant different. Both list the same drivers and the same parameters to things like the "mkrootdev" command. The list of files in the initrd image is identical except for a couple of extra drivers in lib/ on my image's initrd (that are not being loaded). The xvda device is not showing up in the guests, so I get a kernel panic during boot. The same thing was happening trying to use virt-inatll/virt-manager, preventing those installations from working (couldn't get past the partitioning screen without any disks). I've checked file permissions, SELinux contexts, etc. Everything looks good. The only obvious difference between my guest config and the one created by virt-install is that mine do not have uuid lines. Any ideas? -- Lamont Peterson Senior Instructor Guru Labs, L.C. [ http://www.GuruLabs.com/ ] NOTE: All messages from this email address should be digitally signed with my 0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as well as other keyservers that sync with MIT's. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From lists at fathom13.com Sat Mar 31 03:36:56 2007 From: lists at fathom13.com (Daniel) Date: Sat, 31 Mar 2007 11:36:56 +0800 Subject: [Fedora-xen] Xen network problem Message-ID: <460DD758.8060103@fathom13.com> Hi I have a Fedora Core 6 Xen box running two Linux hosts and one Windows Server 2003 host. I am having trouble with the Windows VM network. It was working fine but for some reason it has decided to stop. I can not ping the Windows VM for Domain-0 and I can not ping out from the Windows VM. The Windows VM has and detects the network interfaces no problem. The Windows VM network did work fine but stop for some strange reason. Both Linux hosts work fine. Each VM has two vif. Both don't work in the problem VM. It is the last VM to be started on boot. The other two VMs have two vif each as well. vif0 is bound to eth0 and vif1 is bound to eth1. I notice this machine has only 8 loop devs could this be the problem? Any help greatly appreciated as I am stumped. xen-3.0.3-8.fc6 xen-libs-3.0.3-8.fc6 kernel-xen-2.6.20-1.2933.fc6 I get this in dmesg which I guess is my problem: device vif5.0 entered promiscuous mode ADDRCONF(NETDEV_UP): vif5.0: link is not ready device vif5.1 entered promiscuous mode ADDRCONF(NETDEV_UP): vif5.1: link is not ready Regards Daniel dir /dev/loop* brw-r----- 1 root disk 7, 0 Mar 26 20:10 /dev/loop0 brw-r----- 1 root disk 7, 1 Mar 26 20:10 /dev/loop1 brw-r----- 1 root disk 7, 2 Mar 26 20:10 /dev/loop2 brw-r----- 1 root disk 7, 3 Mar 26 20:10 /dev/loop3 brw-r----- 1 root disk 7, 4 Mar 26 20:10 /dev/loop4 brw-r----- 1 root disk 7, 5 Mar 26 20:10 /dev/loop5 brw-r----- 1 root disk 7, 6 Mar 26 20:10 /dev/loop6 brw-r----- 1 root disk 7, 7 Mar 26 20:10 /dev/loop7 The xen log: [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'w2k3R2-test-002'], ['memory', 768], ['shadow_memory', 8], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['vncpasswd', None]]], ['device', ['vbd', ['uname', 'file:/home/vm/w2k3/w2k3R2-test-002.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]], ['device', ['vif', ['bridge', 'xenbr1'], ['type', 'ioemu']]]]) [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'w2k3R2-test-002'], ['memory', 768], ['shadow_memory', 8], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['vncpasswd', None]]], ['device', ['vbd', ['uname', 'file:/home/vm/w2k3/w2k3R2-test-002.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]], ['device', ['vif', ['bridge', 'xenbr1'], ['type', 'ioemu']]]] [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:397) parseConfig: result is {'shadow_memory': 8, 'start_time': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['vncpasswd', None]], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'w2k3R2-test-002', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 768, 'device': [('vbd', ['vbd', ['uname', 'file:/home/vm/w2k3/w2k3R2-test-002.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]), ('vif', ['vif', ['bridge', 'xenbr1'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 5 1.0 [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: boot, val: c [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: fda, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: fdb, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: soundhw, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: localtime, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: serial, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: std-vga, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: isa, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: vcpus, val: 1 [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: acpi, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: usb, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: usbdevice, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: k, val: None [2007-03-31 10:03:44 xend 3301] DEBUG (balloon:127) Balloon: 810284 KiB free; need 808756; done. [2007-03-31 10:03:44 xend 3301] INFO (image:136) buildDomain os=hvm dom=5 vcpus=1 [2007-03-31 10:03:44 xend 3301] DEBUG (image:282) dom = 5 [2007-03-31 10:03:44 xend 3301] DEBUG (image:283) image = /usr/lib/xen/boot/hvmloader [2007-03-31 10:03:44 xend 3301] DEBUG (image:284) store_evtchn = 1 [2007-03-31 10:03:44 xend 3301] DEBUG (image:285) memsize = 768 [2007-03-31 10:03:44 xend 3301] DEBUG (image:286) vcpus = 1 [2007-03-31 10:03:44 xend 3301] DEBUG (image:287) pae = 0 [2007-03-31 10:03:44 xend 3301] DEBUG (image:288) acpi = 0 [2007-03-31 10:03:44 xend 3301] DEBUG (image:289) apic = 0 [2007-03-31 10:03:44 xend 3301] DEBUG (image:435) hvm shutdown watch registered [2007-03-31 10:03:44 xend 3301] DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda' [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/768'} to /local/domain/5/device/vbd/768. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:112) DevController: writing {'domain': 'w2k3R2-test-002', 'frontend': '/local/domain/5/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/home/vm/w2k3/w2k3R2-test-002.img', 'mode': 'w', 'online': '1', 'frontend-id': '5', 'type': 'file'} to /local/domain/0/backend/vbd/5/768. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'w2k3R2-test-002', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/5/device/vif/0', 'mac': '00:16:3e:7a:5b:2f', 'online': '1', 'frontend-id': '5', 'type': 'ioemu'} to /local/domain/0/backend/vif/5/0. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/5/1'} to /local/domain/5/device/vif/1. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr1', 'domain': 'w2k3R2-test-002', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/5/device/vif/1', 'mac': '00:16:3e:01:59:25', 'online': '1', 'frontend-id': '5', 'type': 'ioemu'} to /local/domain/0/backend/vif/5/1. [2007-03-31 10:03:44 xend 3301] INFO (image:418) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '5', '-m', '768', '-boot', 'c', '-vcpus', '1', '-domain-name', 'w2k3R2-test-002', '-net', 'nic,vlan=1,macaddr=00:16:3e:70:75:72,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-net', 'nic,vlan=2,macaddr=00:16:3e:62:37:fa,model=rtl8139', '-net', 'tap,vlan=2,bridge=xenbr1', '-vncunused', '-vnclisten', '127.0.0.1'] [2007-03-31 10:03:44 xend 3301] INFO (image:420) device model pid: 10671 [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:715) Storing VM details: {'shadow_memory': '8', 'uuid': 'b962192a-ac2f-236a-594a-dc07470c31d8', 'on_reboot': 'restart', 'start_time': '1175306624.64', 'on_poweroff': 'destroy', 'name': 'w2k3R2-test-002', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '768', 'on_crash': 'restart', 'image': "(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1) (boot c) (vnc 1) (vncunused 1) (xauthority /root/.Xauthority) (vncpasswd 'None'))", 'maxmem': '768'} [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:750) Storing domain details: {'console/port': '2', 'name': 'w2k3R2-test-002', 'console/limit': '1048576', 'vm': '/vm/b962192a-ac2f-236a-594a-dc07470c31d8', 'domid': '5', 'cpu/0/availability': 'online', 'memory/target': '786432', 'store/ring-ref': '65356', 'store/port': '1'} [2007-03-31 10:03:44 xend 3301] DEBUG (image:458) hvm_shutdown fired, shutdown reason=None [2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:143) Waiting for devices vif. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:149) Waiting for 0. [2007-03-31 10:03:44 xend 3301] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:149) Waiting for 1. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vif/5/1/hotplug-status. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices usb. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices vbd. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:149) Waiting for 768. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/5/768/hotplug-status. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/5/768/hotplug-status. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices irq. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices vkbd. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices vfb. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices pci. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices ioports. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices tap. [2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for devices vtpm. [2007-03-31 10:03:45 xend 3301] INFO (XendDomain:370) Domain w2k3R2-test-002 (5) unpaused. From ptsekov at gmx.net Sat Mar 31 10:13:38 2007 From: ptsekov at gmx.net (Pavel Tsekov) Date: Sat, 31 Mar 2007 13:13:38 +0300 (EEST) Subject: [Fedora-xen] Using xen to run an already installed OS ? Message-ID: Hello, Is it possible to setup a guest OS using an existing installation of a given OS ? I only seem to find references for creating guests via a fresh install of the guest OS ? Thanks! P.S. Please, CC me since I am not subscribed to the list.