From pasik at iki.fi Fri Jul 3 10:16:53 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Fri, 3 Jul 2009 13:16:53 +0300 Subject: [Fedora-xen] Forward-ported Xen dom0 kernel patches for Linux 2.6.29 and 2.6.30 available Message-ID: <20090703101653.GS24960@edu.joroinen.fi> Hello! For reference here are the latest Xenlinux 2.6.18 forward-ported patches to standard/kernel.org Linux 2.6.29 and 2.6.30. Forward-porting has been done by Novell for OpenSUSE. Novell also has a forward-port to 2.6.27 for SLES11. See this thread for the latest patches: http://www.nabble.com/2.6.30-dom0-Xen-patches-td24293721.html Patches for 2.6.29 and 2.6.30 available here: http://code.google.com/p/gentoo-xen-kernel/downloads/list Also available here: http://x17.eu/xen/ Someone interested in building Xen dom0 capable kernel for F11, based on these patches? These patches are still more stable and mature than the pv_ops dom0 code.. Also, these patches have the full Xen feature set (pv_ops still lacks some features). If you have any problems with these patches, please post to xen-devel mailinglist. -- Pasi From naveed007862003 at yahoo.com Sat Jul 4 04:30:17 2009 From: naveed007862003 at yahoo.com (naveed iqbal) Date: Fri, 3 Jul 2009 21:30:17 -0700 (PDT) Subject: [Fedora-xen] kernel compiling problem Message-ID: <113921.82353.qm@web55003.mail.re4.yahoo.com> AOA Everyone, ????????????????????? I am try to compile the linux kernel 2.6.18 with xen-3.4 evrything going fine but when i am trying to run the mkinitrd command to create the .img file then the error comes there is no pata_serverworks module.Please guide me as soon as possible how to resolve this problem. ? Regards, Naveed Iqbal -------------- next part -------------- An HTML attachment was scrubbed... URL: From pasik at iki.fi Sun Jul 5 11:58:56 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Sun, 5 Jul 2009 14:58:56 +0300 Subject: [Fedora-xen] kernel compiling problem In-Reply-To: <113921.82353.qm@web55003.mail.re4.yahoo.com> References: <113921.82353.qm@web55003.mail.re4.yahoo.com> Message-ID: <20090705115856.GX24960@edu.joroinen.fi> On Fri, Jul 03, 2009 at 09:30:17PM -0700, naveed iqbal wrote: > AOA Everyone, > ????????????????????? > I am try to compile the linux kernel 2.6.18 with xen-3.4 evrything going fine > but when i am trying to run the mkinitrd command to create the .img file then > the error comes there is no pata_serverworks module. > Please guide me as soon as possible how to resolve this problem. > ? > Regards, > Naveed Iqbal > Hello. Most probably 2.6.18 is too old to have that pata_serverworks driver/module. Try using RHEL5/CentOS5 2.6.18 kernel with all the latest drivers backported, or then get Linux 2.6.30 and Xen dom0 patches for it. (See the archives of this list, I sent a link to the Xen dom0 patches for 2.6.30 a couple of days ago). -- Pasi From pasik at iki.fi Mon Jul 6 14:32:50 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Mon, 6 Jul 2009 17:32:50 +0300 Subject: [Fedora-xen] Fedora XenPvopsDom0 wiki page updated Message-ID: <20090706143250.GC24960@edu.joroinen.fi> Hello. I just updated Fedora XenPvopsDom0 wiki page: https://fedoraproject.org/wiki/Features/XenPvopsDom0 I added a link to pv_ops dom0 kernel testing RPMs by M A Young, link to upstream XenDom0Kernels wiki page and also a link to recent pv_ops dom0 status email. -- Pasi From walrus at bellsouth.net Thu Jul 9 08:18:38 2009 From: walrus at bellsouth.net (William M. Quarles) Date: Thu, 09 Jul 2009 04:18:38 -0400 Subject: [Fedora-xen] Re: Configuring Xen on FC10 In-Reply-To: <20090419143825.GZ24960@edu.joroinen.fi> References: <25ff87d80904181744l6e17566esa6436ce6975330d9@mail.gmail.com> <20090419143825.GZ24960@edu.joroinen.fi> Message-ID: Pasi K?rkk?inen wrote: > Xen utils/libraries/hypervisor is included in Fedora 9 and 10, and upcoming > 11, but dom0 capable kernel is missing until dom0 support is added/included > into upstream (Linus) kernel. OK, help me out here... what is the point of having those packages in Fedora 9 and 10 if there is no dom0 support? Thanks, William From pasik at iki.fi Thu Jul 9 09:15:12 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Thu, 9 Jul 2009 12:15:12 +0300 Subject: [Fedora-xen] Re: Configuring Xen on FC10 In-Reply-To: References: <25ff87d80904181744l6e17566esa6436ce6975330d9@mail.gmail.com> <20090419143825.GZ24960@edu.joroinen.fi> Message-ID: <20090709091511.GF24960@edu.joroinen.fi> On Thu, Jul 09, 2009 at 04:18:38AM -0400, William M. Quarles wrote: > Pasi K?rkk?inen wrote: > > >Xen utils/libraries/hypervisor is included in Fedora 9 and 10, and upcoming > >11, but dom0 capable kernel is missing until dom0 support is added/included > >into upstream (Linus) kernel. > > > OK, help me out here... what is the point of having those packages in > Fedora 9 and 10 if there is no dom0 support? > They're also in Fedora 11. 1) you can still compile your own custom dom0 kernel (or get the kernel rpm from somewhere else) 2) Having the hypervisor and tools available helps people to _test_ and debug the upcoming pv_ops dom0 kernel easily 3) Fedora will add dom0 support back when it's available in upstream kernel.org kernel, so the hypervisor and tools are ready for that -- Pasi From pasik at iki.fi Thu Jul 9 09:19:25 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Thu, 9 Jul 2009 12:19:25 +0300 Subject: [Fedora-xen] Re: Configuring Xen on FC10 In-Reply-To: <20090709091511.GF24960@edu.joroinen.fi> References: <25ff87d80904181744l6e17566esa6436ce6975330d9@mail.gmail.com> <20090419143825.GZ24960@edu.joroinen.fi> <20090709091511.GF24960@edu.joroinen.fi> Message-ID: <20090709091925.GG24960@edu.joroinen.fi> On Thu, Jul 09, 2009 at 12:15:12PM +0300, Pasi K?rkk?inen wrote: > On Thu, Jul 09, 2009 at 04:18:38AM -0400, William M. Quarles wrote: > > Pasi K?rkk?inen wrote: > > > > >Xen utils/libraries/hypervisor is included in Fedora 9 and 10, and upcoming > > >11, but dom0 capable kernel is missing until dom0 support is added/included > > >into upstream (Linus) kernel. > > > > > > OK, help me out here... what is the point of having those packages in > > Fedora 9 and 10 if there is no dom0 support? > > > > They're also in Fedora 11. > > 1) you can still compile your own custom dom0 kernel (or get the kernel rpm from > somewhere else) > http://wiki.xensource.com/xenwiki/XenDom0Kernels -- Pasi From walrus at bellsouth.net Fri Jul 10 03:01:47 2009 From: walrus at bellsouth.net (William M. Quarles) Date: Thu, 09 Jul 2009 23:01:47 -0400 Subject: [Fedora-xen] Re: Forward-ported Xen dom0 kernel patches for Linux 2.6.29 and 2.6.30 available In-Reply-To: <20090703101653.GS24960@edu.joroinen.fi> References: <20090703101653.GS24960@edu.joroinen.fi> Message-ID: Pasi K?rkk?inen wrote: > > Someone interested in building Xen dom0 capable kernel for F11, based on > these patches? These patches are still more stable and mature than the > pv_ops dom0 code.. Also, these patches have the full Xen feature set > (pv_ops still lacks some features). I'd like to build a custom xen dom0-capable kernel from the latest Planet CCRMA 2.6.29 experimental kernel for F10, which seems to be pretty stable at this point; however, I don't know how to modify the spec file to include these patches you listed found at: http://code.google.com/p/gentoo-xen-kernel/downloads/list The SRPM for for the Planet CCRMA kernel can be found at: http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/testing/10/SRPMS/ Any guidance would be appreciated. Thanks, William From m.a.young at durham.ac.uk Fri Jul 10 23:11:08 2009 From: m.a.young at durham.ac.uk (M A Young) Date: Sat, 11 Jul 2009 00:11:08 +0100 (BST) Subject: [Fedora-xen] Dom0 kernels In-Reply-To: References: <20090328163545.GM31725@salstar.sk> <20090414143618.GH351@redhat.com> Message-ID: Here is another update (kernel-2.6.31-0.1.2.40.rc2.git4.xendom0.fc12) at http://koji.fedoraproject.org/koji/taskinfo?taskID=1466158 and the repository http://fedorapeople.org/~myoung/dom0/ . This updates to the latest rawhide source, I don't think there are significant changes on the xen side, so i686 may still be broken, though the x86_64 version works okay for me. Michael Young From pasik at iki.fi Mon Jul 13 11:05:50 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Mon, 13 Jul 2009 14:05:50 +0300 Subject: [fedora-virt] Re: [Fedora-xen] Dom0 kernels In-Reply-To: <2cc75dd80907121859q227e715w2278f37568d73d41@mail.gmail.com> References: <2cc75dd80907121859q227e715w2278f37568d73d41@mail.gmail.com> Message-ID: <20090713110550.GP24960@edu.joroinen.fi> On Sun, Jul 12, 2009 at 09:59:09PM -0400, Lester M. wrote: > On Fri, Jul 10, 2009 at 7:11 PM, M A Young wrote: > > > Here is another update (kernel-2.6.31-0.1.2.40.rc2.git4.xendom0.fc12) at > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1466158 and the > > repository http://fedorapeople.org/~myoung/dom0/. This updates to the latest rawhide source, I don't think there are > > significant changes on the xen side, so i686 may still be broken, though the > > x86_64 version works okay for me. > > > > Michael Young > > > > _______________________________________________ > > Fedora-virt mailing list > > Fedora-virt at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-virt > > > > > Hello Michael, > > I can confirm my same issue is still present. I used your latest updated > kernels (i686), still get a "Blank Screen", unresponsive system, that > require a hard reset. Was not able to get output after xen says "Scrubbing > free memory.......Done." > > I'll keep testing for ya, as you release them. :-) I'm also seeing this same problem with my freshly built rebase/master i686 PAE kernel. I've sent the OOPS/backtrace to Jeremy, let's see what he has to say about it.. -- Pasi From sa212+fcxen at cyconix.com Mon Jul 13 14:40:14 2009 From: sa212+fcxen at cyconix.com (Evan Lavelle) Date: Mon, 13 Jul 2009 15:40:14 +0100 Subject: [Fedora-xen] xenbr0 failure when changing motherboard Message-ID: <4A5B474E.804@cyconix.com> I've just asked this on the xen list, but I suspect it may be an aliasing problem on Fedora 8, so I though I'd ask here. I have a production system (ie. I can't upgrade it) which has an F8 Dom0 with various DomU's (the Dom0 is kernel 2.6.21-2952, with Xen 3.0-x86_64). I needed to change the motherboard, so I just moved the drive to a new motherboard. Amazingly, everything works, apart from one problem. I had to change the guest configs to use virbr0 rather than zenbr0 (in the vif line in the old-style config file). The problem with virbr0 is that I've now got a local subnet; the domU's can see out, but I can't see into the DomU's from the network. The previous (xenbr0) setup was that the DomU's got an IP address from an external hardware router, and everything was on the same 196.168.1 subnet. Now, I could presumably fix this through a libvirt setup, but I want to change as little as possible, and the DomU's don't currently use libvirt configuration files. So, if possible, I'd like to go back to the xenbr0 setup. When I try to boot with a xenbr0 setup, I get: > Error: Device 0 (vif) could not be connected. Could not find bridge device xenbr0. What I think has happened is that the existing fc8-xen on my hard drive is confused about the network hardware on the new motherboard (a Dell R200 server). When the new board originally booted up, networking was disabled, but I fixed this by aliasing eth0 to eth3. The (old) driver seemed to have identified the new NICs at eth3 and eth4, rather than eth0/1. Anyway, that fixed the network on Dom0, but it seems to be giving Xen a headache when it boots any DomU's. I know that F8 had problems in the network-bridge script related to aliasing, but network-bridge runs without producing errors, so I'm not convinced that that's the problem here. Any thoughts? Thanks - Evan From sa212+fcxen at cyconix.com Mon Jul 13 15:48:53 2009 From: sa212+fcxen at cyconix.com (Evan Lavelle) Date: Mon, 13 Jul 2009 16:48:53 +0100 Subject: [Fedora-xen] xenbr0 failure when changing motherboard In-Reply-To: <4A5B474E.804@cyconix.com> References: <4A5B474E.804@cyconix.com> Message-ID: <4A5B5765.7020005@cyconix.com> Evan Lavelle wrote: > I've just asked this on the xen list, but I suspect it may be an > aliasing problem on Fedora 8, so I though I'd ask here. Fixed - I had a suggestion from Simon Hobson on the Xen list to change the udev rules so that the NICs came up as eth0 and eth1 in the Dom0, rather than eth2 and eth3. The xenbr0 boot now comes up properly, with IP addresses coming from the router. -Evan From m.a.young at durham.ac.uk Thu Jul 16 22:50:07 2009 From: m.a.young at durham.ac.uk (M A Young) Date: Thu, 16 Jul 2009 23:50:07 +0100 (BST) Subject: [Fedora-xen] Dom0 kernels In-Reply-To: References: <20090328163545.GM31725@salstar.sk> <20090414143618.GH351@redhat.com> Message-ID: And another update (kernel-2.6.31-0.1.2.43.rc3..xendom0.fc12) at http://koji.fedoraproject.org/koji/taskinfo?taskID=1477549 and the repository http://fedorapeople.org/~myoung/dom0/ . There have been some acpi and xenbus patches, but i686 still doesn't work for me. Michael Young From m.a.young at durham.ac.uk Fri Jul 17 21:32:32 2009 From: m.a.young at durham.ac.uk (M A Young) Date: Fri, 17 Jul 2009 22:32:32 +0100 (BST) Subject: [Fedora-xen] Dom0 kernels In-Reply-To: References: Message-ID: On Fri, 17 Jul 2009, Caz Yokoyama wrote: > Have you ever observed garbled xdm screen like the pictures in > http://www.caztech.com/xen/OnFedora11/*.jpg? I installed your binary rpms on > Fedora 11 x86_64. Everything seems fine except for X server. I copied > console log of xen and x server log the in the same directory of pictures. > How do you debug this problem if you have this problem? I am glad to provide > you more information if you want. Not precisely, but I do get weird X effects which might be essentially the same thing. Have you tried adding nomodeset to the kernel command line? That helps with some X problems, though it is a while since I tried it so I can't remember is it helps in this case. Michael Young From needwork at gmail.com Sat Jul 18 02:47:23 2009 From: needwork at gmail.com (Lester M.) Date: Fri, 17 Jul 2009 22:47:23 -0400 Subject: [Fedora-xen] Xenner, Ok, who has used it and can somebody provide a syntax example / real example? Message-ID: <2cc75dd80907171947s6df04b9by74659e9c36c8e74c@mail.gmail.com> Xenner, yes xenner... Ok, who has used it and can somebody provide a syntax example / real example? Did the google / yahoo / search, I would like to see an example, as well as hear of everyone's experiences using xenner, while we wait for a more stable native dom0 / upstream support for xen. Any takers? :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From needwork at gmail.com Mon Jul 13 01:59:09 2009 From: needwork at gmail.com (Lester M.) Date: Sun, 12 Jul 2009 21:59:09 -0400 Subject: [fedora-virt] Re: [Fedora-xen] Dom0 kernels In-Reply-To: References: Message-ID: <2cc75dd80907121859q227e715w2278f37568d73d41@mail.gmail.com> On Fri, Jul 10, 2009 at 7:11 PM, M A Young wrote: > Here is another update (kernel-2.6.31-0.1.2.40.rc2.git4.xendom0.fc12) at > http://koji.fedoraproject.org/koji/taskinfo?taskID=1466158 and the > repository http://fedorapeople.org/~myoung/dom0/. This updates to the latest rawhide source, I don't think there are > significant changes on the xen side, so i686 may still be broken, though the > x86_64 version works okay for me. > > Michael Young > > _______________________________________________ > Fedora-virt mailing list > Fedora-virt at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-virt > Hello Michael, I can confirm my same issue is still present. I used your latest updated kernels (i686), still get a "Blank Screen", unresponsive system, that require a hard reset. Was not able to get output after xen says "Scrubbing free memory.......Done." I'll keep testing for ya, as you release them. :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cazyokoyama at gmail.com Fri Jul 17 21:25:06 2009 From: cazyokoyama at gmail.com (Caz Yokoyama) Date: Fri, 17 Jul 2009 14:25:06 -0700 Subject: [Fedora-xen] Dom0 kernels Message-ID: Hello Michael, Have you ever observed garbled xdm screen like the pictures in http://www.caztech.com/xen/OnFedora11/*.jpg? I installed your binary rpms on Fedora 11 x86_64. Everything seems fine except for X server. I copied console log of xen and x server log the in the same directory of pictures. How do you debug this problem if you have this problem? I am glad to provide you more information if you want. Thank you. -Caz Yokoyama, caz at caztech dot com. 503-804-1028(m). Date: Thu, 16 Jul 2009 23:50:07 +0100 (BST) From: M A Young Subject: Re: [Fedora-xen] Dom0 kernels To: fedora-xen at redhat.com, fedora-virt at redhat.com Message-ID: Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII And another update (kernel-2.6.31-0.1.2.43.rc3..xendom0.fc12) at http://koji.fedoraproject.org/koji/taskinfo?taskID=1477549 and the repository http://fedorapeople.org/~myoung/dom0/ . There have been some acpi and xenbus patches, but i686 still doesn't work for me. Michael Young -------------- next part -------------- An HTML attachment was scrubbed... URL: From cazyokoyama at gmail.com Fri Jul 17 23:06:33 2009 From: cazyokoyama at gmail.com (Caz Yokoyama) Date: Fri, 17 Jul 2009 16:06:33 -0700 Subject: [Fedora-xen] Dom0 kernels In-Reply-To: References: Message-ID: <6BC49B4C8BB4496E839B14CDE0B1D3A0@xpjpn> Hello Michael, Thank you for the reply. Nomodeset solved the problem. Thank you. However, I found xend did not start. It failed on "connection refused". I'll let you know when I find a root cause. Thank you. -caz -----Original Message----- From: M A Young [mailto:m.a.young at durham.ac.uk] Sent: Friday, July 17, 2009 2:33 PM To: Caz Yokoyama Cc: fedora-xen at redhat.com Subject: Re: [Fedora-xen] Dom0 kernels On Fri, 17 Jul 2009, Caz Yokoyama wrote: > Have you ever observed garbled xdm screen like the pictures in > http://www.caztech.com/xen/OnFedora11/*.jpg? I installed your binary rpms on > Fedora 11 x86_64. Everything seems fine except for X server. I copied > console log of xen and x server log the in the same directory of pictures. > How do you debug this problem if you have this problem? I am glad to provide > you more information if you want. Not precisely, but I do get weird X effects which might be essentially the same thing. Have you tried adding nomodeset to the kernel command line? That helps with some X problems, though it is a while since I tried it so I can't remember is it helps in this case. Michael Young From pasik at iki.fi Mon Jul 27 16:26:12 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Mon, 27 Jul 2009 19:26:12 +0300 Subject: [fedora-virt] Re: [Fedora-xen] Dom0 kernels / i686 kernel crash on boot In-Reply-To: <2cc75dd80907121859q227e715w2278f37568d73d41@mail.gmail.com> References: <2cc75dd80907121859q227e715w2278f37568d73d41@mail.gmail.com> Message-ID: <20090727162612.GW24960@edu.joroinen.fi> On Sun, Jul 12, 2009 at 09:59:09PM -0400, Lester M. wrote: > On Fri, Jul 10, 2009 at 7:11 PM, M A Young wrote: > > > Here is another update (kernel-2.6.31-0.1.2.40.rc2.git4.xendom0.fc12) at > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1466158 and the > > repository http://fedorapeople.org/~myoung/dom0/. This updates to the latest rawhide source, I don't think there are > > significant changes on the xen side, so i686 may still be broken, though the > > x86_64 version works okay for me. > > > > Michael Young > > > > _______________________________________________ > > Fedora-virt mailing list > > Fedora-virt at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-virt > > > > > Hello Michael, > > I can confirm my same issue is still present. I used your latest updated > kernels (i686), still get a "Blank Screen", unresponsive system, that > require a hard reset. Was not able to get output after xen says "Scrubbing > free memory.......Done." > > I'll keep testing for ya, as you release them. :-) It's a known problem.. I've reported the issue to Jeremy, and also sent him the traceback and other info about the problem, but he hasn't had time yet to solve it. -- Pasi From pasik at iki.fi Mon Jul 27 21:39:17 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Tue, 28 Jul 2009 00:39:17 +0300 Subject: [Fedora-xen] Re: [fedora-virt] Success with Fedora 10 Xen pv_ops 2.6.29-rc8 dom0 In-Reply-To: <20090324192846.GN19446@redhat.com> References: <20090324192502.GS5528@edu.joroinen.fi> <20090324192846.GN19446@redhat.com> Message-ID: <20090727213917.GZ24960@edu.joroinen.fi> On Tue, Mar 24, 2009 at 07:28:46PM +0000, Daniel P. Berrange wrote: > On Tue, Mar 24, 2009 at 09:25:02PM +0200, Pasi K?rkk?inen wrote: > > Hello! > > > > I've used a lot of time trying to get my custom Xen pv_ops dom0 kernel working with > > virt-install and/or virt-manager on Fedora 10, and now it seems I got things > > working. > > > > If you want to play with this you need: > > > > 1) New enough pv_ops dom0 kernel (2.6.29-rc8 or newer) so it has /sys/hypervisor support included > > - Compile with CONFIG_HIGHPTE=n since it seems to be broken still > > 2) libvirt 0.6.1 and related packages from Fedora 10 updates-testing > > > > In addition to those I'm using Xen 3.3.1-9 packages from rawhide/F11 rebuilt for F10. > > > > With the older Fedora 10 libvirt packages libvirtd was crashing often for me, and > > I had some other issues with virt-install console window not opening but stalling etc.. > > > > Today I was able to run the following on Fedora 10 32bit PAE pv_ops dom0: > > > > - CentOS 5.3 32bit PAE PV domU > > - Fedora 10 32bit PAE PV domU > > - Use virt-install to install Fedora 10 32bit PAE PV domU (using custom kickstart > > to force PAE kernel installation to avoid the anaconda BUG which installs > > wrong non-PAE kernel as a default). > > > > Fedora 11 (rawhide) installation most probably works too. > > FYI, I've just testing i686 and x86_64 Fedora 11 guest installs on a > RHEL5 Xen host and they both work flawlessly out of the box - including > a sane mouse pointer running in absolute, so no dual-cursor problems, > and installing correect PAE kernels > Replying to old thread.. today I tried installing F11 i386 domU with virt-install on centos 5.3 x86_64 dom0, and it doesn't seem to work.. The graphical VNC console doesn't show up, and it seems the domU kernel crashes. x86_64 domU installation on x86_64 dom0 seems to work though. Are you sure i386 on x86_64 worked for you? -- Pasi From berrange at redhat.com Mon Jul 27 21:45:06 2009 From: berrange at redhat.com (Daniel P. Berrange) Date: Mon, 27 Jul 2009 22:45:06 +0100 Subject: [Fedora-xen] Re: [fedora-virt] Success with Fedora 10 Xen pv_ops 2.6.29-rc8 dom0 In-Reply-To: <20090727213917.GZ24960@edu.joroinen.fi> References: <20090324192502.GS5528@edu.joroinen.fi> <20090324192846.GN19446@redhat.com> <20090727213917.GZ24960@edu.joroinen.fi> Message-ID: <20090727214506.GL15020@redhat.com> On Tue, Jul 28, 2009 at 12:39:17AM +0300, Pasi K?rkk?inen wrote: > On Tue, Mar 24, 2009 at 07:28:46PM +0000, Daniel P. Berrange wrote: > > On Tue, Mar 24, 2009 at 09:25:02PM +0200, Pasi K?rkk?inen wrote: > > > Hello! > > > > > > I've used a lot of time trying to get my custom Xen pv_ops dom0 kernel working with > > > virt-install and/or virt-manager on Fedora 10, and now it seems I got things > > > working. > > > > > > If you want to play with this you need: > > > > > > 1) New enough pv_ops dom0 kernel (2.6.29-rc8 or newer) so it has /sys/hypervisor support included > > > - Compile with CONFIG_HIGHPTE=n since it seems to be broken still > > > 2) libvirt 0.6.1 and related packages from Fedora 10 updates-testing > > > > > > In addition to those I'm using Xen 3.3.1-9 packages from rawhide/F11 rebuilt for F10. > > > > > > With the older Fedora 10 libvirt packages libvirtd was crashing often for me, and > > > I had some other issues with virt-install console window not opening but stalling etc.. > > > > > > Today I was able to run the following on Fedora 10 32bit PAE pv_ops dom0: > > > > > > - CentOS 5.3 32bit PAE PV domU > > > - Fedora 10 32bit PAE PV domU > > > - Use virt-install to install Fedora 10 32bit PAE PV domU (using custom kickstart > > > to force PAE kernel installation to avoid the anaconda BUG which installs > > > wrong non-PAE kernel as a default). > > > > > > Fedora 11 (rawhide) installation most probably works too. > > > > FYI, I've just testing i686 and x86_64 Fedora 11 guest installs on a > > RHEL5 Xen host and they both work flawlessly out of the box - including > > a sane mouse pointer running in absolute, so no dual-cursor problems, > > and installing correect PAE kernels > > > > Replying to old thread.. today I tried installing F11 i386 domU with > virt-install on centos 5.3 x86_64 dom0, and it doesn't seem to work.. > > The graphical VNC console doesn't show up, and it seems the domU kernel > crashes. > > x86_64 domU installation on x86_64 dom0 seems to work though. > Are you sure i386 on x86_64 worked for you? Yep, just checked my RHEL-5 box and it has this config name = "f11i686xen" uuid = "1417ac4b-bd9a-61cc-6faf-8e842cd72cb9" maxmem = 900 memory = 500 vcpus = 1 bootloader = "/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" vfb = [ "type=vnc,vncunused=1" ] disk = [ "tap:aio:/var/lib/xen/images/f11i686.img,xvda,w" ] vif = [ "mac=00:16:3e:71:38:63,bridge=xenbr0" ] And the guest disk is fully instlaled # ls -lhs /var/lib/xen/images/f11i686.img 3.4G -rwxr-xr-x 1 root root 5.1G Jun 4 06:33 /var/lib/xen/images/f11i686.img FWIW, the guest kernel here is 2.6.29-0.258.rc8.git2.fc11.i686.PAE So its possible things have changed since I did my install .... Also my x86_64 host only has 2 GB of RAM, so if there's any bugs with i686 guests at the >4GB phys RAM mark I wouldn't have seen them Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| From pasik at iki.fi Mon Jul 27 22:11:11 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Tue, 28 Jul 2009 01:11:11 +0300 Subject: [Fedora-xen] Re: [fedora-virt] Fedora 10 and Fedora 11 Xen 32b domUs failing on x86_64 el5.3 dom0 In-Reply-To: <20090727214506.GL15020@redhat.com> References: <20090324192502.GS5528@edu.joroinen.fi> <20090324192846.GN19446@redhat.com> <20090727213917.GZ24960@edu.joroinen.fi> <20090727214506.GL15020@redhat.com> Message-ID: <20090727221111.GA24960@edu.joroinen.fi> On Mon, Jul 27, 2009 at 10:45:06PM +0100, Daniel P. Berrange wrote: > On Tue, Jul 28, 2009 at 12:39:17AM +0300, Pasi K?rkk?inen wrote: > > On Tue, Mar 24, 2009 at 07:28:46PM +0000, Daniel P. Berrange wrote: > > > On Tue, Mar 24, 2009 at 09:25:02PM +0200, Pasi K?rkk?inen wrote: > > > > Hello! > > > > > > > > I've used a lot of time trying to get my custom Xen pv_ops dom0 kernel working with > > > > virt-install and/or virt-manager on Fedora 10, and now it seems I got things > > > > working. > > > > > > > > If you want to play with this you need: > > > > > > > > 1) New enough pv_ops dom0 kernel (2.6.29-rc8 or newer) so it has /sys/hypervisor support included > > > > - Compile with CONFIG_HIGHPTE=n since it seems to be broken still > > > > 2) libvirt 0.6.1 and related packages from Fedora 10 updates-testing > > > > > > > > In addition to those I'm using Xen 3.3.1-9 packages from rawhide/F11 rebuilt for F10. > > > > > > > > With the older Fedora 10 libvirt packages libvirtd was crashing often for me, and > > > > I had some other issues with virt-install console window not opening but stalling etc.. > > > > > > > > Today I was able to run the following on Fedora 10 32bit PAE pv_ops dom0: > > > > > > > > - CentOS 5.3 32bit PAE PV domU > > > > - Fedora 10 32bit PAE PV domU > > > > - Use virt-install to install Fedora 10 32bit PAE PV domU (using custom kickstart > > > > to force PAE kernel installation to avoid the anaconda BUG which installs > > > > wrong non-PAE kernel as a default). > > > > > > > > Fedora 11 (rawhide) installation most probably works too. > > > > > > FYI, I've just testing i686 and x86_64 Fedora 11 guest installs on a > > > RHEL5 Xen host and they both work flawlessly out of the box - including > > > a sane mouse pointer running in absolute, so no dual-cursor problems, > > > and installing correect PAE kernels > > > > > > > Replying to old thread.. today I tried installing F11 i386 domU with > > virt-install on centos 5.3 x86_64 dom0, and it doesn't seem to work.. > > > > The graphical VNC console doesn't show up, and it seems the domU kernel > > crashes. > > > > x86_64 domU installation on x86_64 dom0 seems to work though. > > Are you sure i386 on x86_64 worked for you? > > Yep, just checked my RHEL-5 box and it has this config > > name = "f11i686xen" > uuid = "1417ac4b-bd9a-61cc-6faf-8e842cd72cb9" > maxmem = 900 > memory = 500 > vcpus = 1 > bootloader = "/usr/bin/pygrub" > on_poweroff = "destroy" > on_reboot = "restart" > on_crash = "restart" > vfb = [ "type=vnc,vncunused=1" ] > disk = [ "tap:aio:/var/lib/xen/images/f11i686.img,xvda,w" ] > vif = [ "mac=00:16:3e:71:38:63,bridge=xenbr0" ] > > Nothing weird here.. My guest has 1 vcpu aswell, and I'm using vnc. > And the guest disk is fully instlaled > > # ls -lhs /var/lib/xen/images/f11i686.img > 3.4G -rwxr-xr-x 1 root root 5.1G Jun 4 06:33 /var/lib/xen/images/f11i686.img > > > FWIW, the guest kernel here is 2.6.29-0.258.rc8.git2.fc11.i686.PAE > > So its possible things have changed since I did my install .... > Default kernel in Fedora 11 is: kernel-PAE-2.6.29.4-167.fc11.i686.rpm > Also my x86_64 host only has 2 GB of RAM, so if there's any bugs with > i686 guests at the >4GB phys RAM mark I wouldn't have seen them > My guests were using 512 MB and 1024 MB of RAM.. I tried again now, and yes, F10 and F11 i386 guests fail on CentOS 5.3 x86_64 dom0 with domU kernel crashes like this: http://pasik.reaktio.net/fedora/fedora10-32b-xen-domu-on-centos53-64b-dom0-install-crash.txt http://pasik.reaktio.net/fedora/fedora11-32b-xen-domu-on-centos53-64b-dom0-crash2.txt Checking if this processor honours the WP bit even in supervisor mode...Ok. 1 multicall(s) failed: cpu 0 Pid: 0, comm: swapper Not tainted 2.6.29.4-167.fc11.i686.PAE #1 Call Trace: [] ? printk+0x14/0x1d [] xen_mc_flush+0x12d/0x1f9 [] xen_mc_issue+0x19/0x4d [] xen_set_pud_hyper+0x79/0x81 [] xen_set_pud+0x8f/0x95 [] zap_low_mappings+0x2d/0x42 [] mem_init+0x2a0/0x2a8 [] start_kernel+0x264/0x313 [] i386_start_kernel+0x8c/0x97 [] xen_start_kernel+0x7f9/0x802 ------------[ cut here ]------------ kernel BUG at arch/x86/xen/multicalls.c:180! invalid opcode: 0000 [#1] SMP Hmm.. I wonder what's causing this. Can you test if it works for you? I used virt-install like this: virt-install --debug -n testvm -r 512 --vcpus=1 -f /dev/VolGroup00/testvm_disk --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/11/Fedora/i386/os" The graphical VNC console newer shows up, and when I run "xm console testvm" I see that kernel crash. -- Pasi From pasik at iki.fi Mon Jul 27 22:39:26 2009 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Tue, 28 Jul 2009 01:39:26 +0300 Subject: [Fedora-xen] Re: [fedora-virt] Fedora 10 and Fedora 11 Xen 32b domUs failing on x86_64 el5.3 dom0 In-Reply-To: <20090727221111.GA24960@edu.joroinen.fi> References: <20090324192502.GS5528@edu.joroinen.fi> <20090324192846.GN19446@redhat.com> <20090727213917.GZ24960@edu.joroinen.fi> <20090727214506.GL15020@redhat.com> <20090727221111.GA24960@edu.joroinen.fi> Message-ID: <20090727223926.GB24960@edu.joroinen.fi> On Tue, Jul 28, 2009 at 01:11:11AM +0300, Pasi K?rkk?inen wrote: > On Mon, Jul 27, 2009 at 10:45:06PM +0100, Daniel P. Berrange wrote: > > On Tue, Jul 28, 2009 at 12:39:17AM +0300, Pasi K?rkk?inen wrote: > > > On Tue, Mar 24, 2009 at 07:28:46PM +0000, Daniel P. Berrange wrote: > > > > On Tue, Mar 24, 2009 at 09:25:02PM +0200, Pasi K?rkk?inen wrote: > > > > > Hello! > > > > > > > > > > I've used a lot of time trying to get my custom Xen pv_ops dom0 kernel working with > > > > > virt-install and/or virt-manager on Fedora 10, and now it seems I got things > > > > > working. > > > > > > > > > > If you want to play with this you need: > > > > > > > > > > 1) New enough pv_ops dom0 kernel (2.6.29-rc8 or newer) so it has /sys/hypervisor support included > > > > > - Compile with CONFIG_HIGHPTE=n since it seems to be broken still > > > > > 2) libvirt 0.6.1 and related packages from Fedora 10 updates-testing > > > > > > > > > > In addition to those I'm using Xen 3.3.1-9 packages from rawhide/F11 rebuilt for F10. > > > > > > > > > > With the older Fedora 10 libvirt packages libvirtd was crashing often for me, and > > > > > I had some other issues with virt-install console window not opening but stalling etc.. > > > > > > > > > > Today I was able to run the following on Fedora 10 32bit PAE pv_ops dom0: > > > > > > > > > > - CentOS 5.3 32bit PAE PV domU > > > > > - Fedora 10 32bit PAE PV domU > > > > > - Use virt-install to install Fedora 10 32bit PAE PV domU (using custom kickstart > > > > > to force PAE kernel installation to avoid the anaconda BUG which installs > > > > > wrong non-PAE kernel as a default). > > > > > > > > > > Fedora 11 (rawhide) installation most probably works too. > > > > > > > > FYI, I've just testing i686 and x86_64 Fedora 11 guest installs on a > > > > RHEL5 Xen host and they both work flawlessly out of the box - including > > > > a sane mouse pointer running in absolute, so no dual-cursor problems, > > > > and installing correect PAE kernels > > > > > > > > > > Replying to old thread.. today I tried installing F11 i386 domU with > > > virt-install on centos 5.3 x86_64 dom0, and it doesn't seem to work.. > > > > > > The graphical VNC console doesn't show up, and it seems the domU kernel > > > crashes. > > > > > > x86_64 domU installation on x86_64 dom0 seems to work though. > > > Are you sure i386 on x86_64 worked for you? > > > > Yep, just checked my RHEL-5 box and it has this config > > > > name = "f11i686xen" > > uuid = "1417ac4b-bd9a-61cc-6faf-8e842cd72cb9" > > maxmem = 900 > > memory = 500 > > vcpus = 1 > > bootloader = "/usr/bin/pygrub" > > on_poweroff = "destroy" > > on_reboot = "restart" > > on_crash = "restart" > > vfb = [ "type=vnc,vncunused=1" ] > > disk = [ "tap:aio:/var/lib/xen/images/f11i686.img,xvda,w" ] > > vif = [ "mac=00:16:3e:71:38:63,bridge=xenbr0" ] > > > > > > Nothing weird here.. My guest has 1 vcpu aswell, and I'm using vnc. > > > And the guest disk is fully instlaled > > > > # ls -lhs /var/lib/xen/images/f11i686.img > > 3.4G -rwxr-xr-x 1 root root 5.1G Jun 4 06:33 /var/lib/xen/images/f11i686.img > > > > > > FWIW, the guest kernel here is 2.6.29-0.258.rc8.git2.fc11.i686.PAE > > > > So its possible things have changed since I did my install .... > > > > Default kernel in Fedora 11 is: kernel-PAE-2.6.29.4-167.fc11.i686.rpm > > > Also my x86_64 host only has 2 GB of RAM, so if there's any bugs with > > i686 guests at the >4GB phys RAM mark I wouldn't have seen them > > > > My guests were using 512 MB and 1024 MB of RAM.. > > I tried again now, and yes, F10 and F11 i386 guests fail on CentOS 5.3 > x86_64 dom0 with domU kernel crashes like this: > > http://pasik.reaktio.net/fedora/fedora10-32b-xen-domu-on-centos53-64b-dom0-install-crash.txt > http://pasik.reaktio.net/fedora/fedora11-32b-xen-domu-on-centos53-64b-dom0-crash2.txt > > > Checking if this processor honours the WP bit even in supervisor mode...Ok. > 1 multicall(s) failed: cpu 0 > Pid: 0, comm: swapper Not tainted 2.6.29.4-167.fc11.i686.PAE #1 > Call Trace: > [] ? printk+0x14/0x1d > [] xen_mc_flush+0x12d/0x1f9 > [] xen_mc_issue+0x19/0x4d > [] xen_set_pud_hyper+0x79/0x81 > [] xen_set_pud+0x8f/0x95 > [] zap_low_mappings+0x2d/0x42 > [] mem_init+0x2a0/0x2a8 > [] start_kernel+0x264/0x313 > [] i386_start_kernel+0x8c/0x97 > [] xen_start_kernel+0x7f9/0x802 > ------------[ cut here ]------------ > kernel BUG at arch/x86/xen/multicalls.c:180! > invalid opcode: 0000 [#1] SMP > > Hmm.. I wonder what's causing this. > > Can you test if it works for you? > > I used virt-install like this: > virt-install --debug -n testvm -r 512 --vcpus=1 -f /dev/VolGroup00/testvm_disk --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/11/Fedora/i386/os" > > The graphical VNC console newer shows up, and when I run "xm console testvm" > I see that kernel crash. > Actually I think I just figured it out.. It's this RHEL5 bug: https://bugzilla.redhat.com/show_bug.cgi?id=467698 I upgraded kernel+xen to -159.el5 and now both F10 and F11 32b domUs work and install OK on x86_64 host/dom0. -- Pasi From berrange at redhat.com Mon Jul 27 22:46:04 2009 From: berrange at redhat.com (Daniel P. Berrange) Date: Mon, 27 Jul 2009 23:46:04 +0100 Subject: [Fedora-xen] Re: [fedora-virt] Fedora 10 and Fedora 11 Xen 32b domUs failing on x86_64 el5.3 dom0 In-Reply-To: <20090727223926.GB24960@edu.joroinen.fi> References: <20090324192502.GS5528@edu.joroinen.fi> <20090324192846.GN19446@redhat.com> <20090727213917.GZ24960@edu.joroinen.fi> <20090727214506.GL15020@redhat.com> <20090727221111.GA24960@edu.joroinen.fi> <20090727223926.GB24960@edu.joroinen.fi> Message-ID: <20090727224604.GA31783@redhat.com> On Tue, Jul 28, 2009 at 01:39:26AM +0300, Pasi K?rkk?inen wrote: > On Tue, Jul 28, 2009 at 01:11:11AM +0300, Pasi K?rkk?inen wrote: > > On Mon, Jul 27, 2009 at 10:45:06PM +0100, Daniel P. Berrange wrote: > > > On Tue, Jul 28, 2009 at 12:39:17AM +0300, Pasi K?rkk?inen wrote: > > > > x86_64 domU installation on x86_64 dom0 seems to work though. > > > > Are you sure i386 on x86_64 worked for you? > > > > > > Yep, just checked my RHEL-5 box and it has this config > > > > > > name = "f11i686xen" > > > uuid = "1417ac4b-bd9a-61cc-6faf-8e842cd72cb9" > > > maxmem = 900 > > > memory = 500 > > > vcpus = 1 > > > bootloader = "/usr/bin/pygrub" > > > on_poweroff = "destroy" > > > on_reboot = "restart" > > > on_crash = "restart" > > > vfb = [ "type=vnc,vncunused=1" ] > > > disk = [ "tap:aio:/var/lib/xen/images/f11i686.img,xvda,w" ] > > > vif = [ "mac=00:16:3e:71:38:63,bridge=xenbr0" ] > > > > > > > > > > Nothing weird here.. My guest has 1 vcpu aswell, and I'm using vnc. > > > > > And the guest disk is fully instlaled > > > > > > # ls -lhs /var/lib/xen/images/f11i686.img > > > 3.4G -rwxr-xr-x 1 root root 5.1G Jun 4 06:33 /var/lib/xen/images/f11i686.img > > > > > > > > > FWIW, the guest kernel here is 2.6.29-0.258.rc8.git2.fc11.i686.PAE > > > > > > So its possible things have changed since I did my install .... > > > > > > > Default kernel in Fedora 11 is: kernel-PAE-2.6.29.4-167.fc11.i686.rpm > > > > > Also my x86_64 host only has 2 GB of RAM, so if there's any bugs with > > > i686 guests at the >4GB phys RAM mark I wouldn't have seen them > > > > > > > My guests were using 512 MB and 1024 MB of RAM.. > > > > I tried again now, and yes, F10 and F11 i386 guests fail on CentOS 5.3 > > x86_64 dom0 with domU kernel crashes like this: > > > > http://pasik.reaktio.net/fedora/fedora10-32b-xen-domu-on-centos53-64b-dom0-install-crash.txt > > http://pasik.reaktio.net/fedora/fedora11-32b-xen-domu-on-centos53-64b-dom0-crash2.txt > > > > > > Checking if this processor honours the WP bit even in supervisor mode...Ok. > > 1 multicall(s) failed: cpu 0 > > Pid: 0, comm: swapper Not tainted 2.6.29.4-167.fc11.i686.PAE #1 > > Call Trace: > > [] ? printk+0x14/0x1d > > [] xen_mc_flush+0x12d/0x1f9 > > [] xen_mc_issue+0x19/0x4d > > [] xen_set_pud_hyper+0x79/0x81 > > [] xen_set_pud+0x8f/0x95 > > [] zap_low_mappings+0x2d/0x42 > > [] mem_init+0x2a0/0x2a8 > > [] start_kernel+0x264/0x313 > > [] i386_start_kernel+0x8c/0x97 > > [] xen_start_kernel+0x7f9/0x802 > > ------------[ cut here ]------------ > > kernel BUG at arch/x86/xen/multicalls.c:180! > > invalid opcode: 0000 [#1] SMP > > > > Hmm.. I wonder what's causing this. > > > > Can you test if it works for you? > > > > I used virt-install like this: > > virt-install --debug -n testvm -r 512 --vcpus=1 -f /dev/VolGroup00/testvm_disk --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/11/Fedora/i386/os" > > > > The graphical VNC console newer shows up, and when I run "xm console testvm" > > I see that kernel crash. > > > > Actually I think I just figured it out.. > > It's this RHEL5 bug: https://bugzilla.redhat.com/show_bug.cgi?id=467698 Ah yes, I probably had a internal 5.3 snapshot kernel installed which would have that fix Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|