Hi Xen list, I had Xen 3.0.2 (from the xensource.com binary packages) running on an Ubuntu 6.06 (with a 2.6 kernel). I made an image of a Redhat Advanced Server 3 that I boot fine; my problem is that the RHAS DomU is booting on the Dom0 2.6 kernel where I would like it to boot on the 2.4 kernel shipped with RHAS3. I understand I need to build a custom 2.4 kernel patched with Xen, but how do I do that? Do I build this from Dom0? Or DomU? I guess that''s a common operation, as a lot of people are running different kernels on their DomUs, but would anyone have pointers or advices on how to proceed? Any help greatly appreciated. Cheers, Quentin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of BB Mailing list Sent: 24 October 2006 11:38 To: xen-users@lists.xensource.com Subject: [Xen-users] Custom DomU kernel Hi Xen list, I had Xen 3.0.2 (from the xensource.com binary packages) running on an Ubuntu 6.06 (with a 2.6 kernel). I made an image of a Redhat Advanced Server 3 that I boot fine; my problem is that the RHAS DomU is booting on the Dom0 2.6 kernel where I would like it to boot on the 2.4 kernel shipped with RHAS3. I understand I need to build a custom 2.4 kernel patched with Xen, but how do I do that? Do I build this from Dom0? Or DomU? I guess that''s a common operation, as a lot of people are running different kernels on their DomUs, but would anyone have pointers or advices on how to proceed? The only way to (without a lot of hard work) get a 2.4 kernel onto a Xen system is to use the HVM feature - but that means that you need a processor with hardware virtualization to do that... -- Mats Any help greatly appreciated. Cheers, Quentin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Hi Xen list, > > I had Xen 3.0.2 (from the xensource.com binary packages) running on an > Ubuntu 6.06 (with a 2.6 kernel). > I made an image of a Redhat Advanced Server 3 that I boot fine; my problem > is that the RHAS DomU is booting on the Dom0 2.6 kernel where I would like > it to boot on the 2.4 kernel shipped with RHAS3. > > I understand I need to build a custom 2.4 kernel patched with Xen, but how > do I do that? Do I build this from Dom0? Or DomU? > I guess that''s a common operation, as a lot of people are running > different kernels on their DomUs, but would anyone have pointers or advices > on how to proceed? > > > The only way to (without a lot of hard work) get a 2.4 kernel onto a Xen > system is to use the HVM feature - but that means that you need a processor > with hardware virtualization to do that... > > -- > Mats > > > > Any help greatly appreciated. > > Cheers, > > Quentin. > >Hi, Thanks for the quick reply - what would a lot of hard work imply? Having this configuration and the RHAS image running was quite a lot of hard work as well, so I''m not scared :) Cheers, Quentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of BB Mailing list Sent: 24 October 2006 14:12 To: xen-users@lists.xensource.com Subject: [Xen-users] Re: Custom DomU kernel Hi Xen list, I had Xen 3.0.2 (from the xensource.com binary packages) running on an Ubuntu 6.06 (with a 2.6 kernel). I made an image of a Redhat Advanced Server 3 that I boot fine; my problem is that the RHAS DomU is booting on the Dom0 2.6 kernel where I would like it to boot on the 2.4 kernel shipped with RHAS3. I understand I need to build a custom 2.4 kernel patched with Xen, but how do I do that? Do I build this from Dom0? Or DomU? I guess that''s a common operation, as a lot of people are running different kernels on their DomUs, but would anyone have pointers or advices on how to proceed? The only way to (without a lot of hard work) get a 2.4 kernel onto a Xen system is to use the HVM feature - but that means that you need a processor with hardware virtualization to do that... -- Mats Any help greatly appreciated. Cheers, Quentin. Hi, Thanks for the quick reply - what would a lot of hard work imply? Having this configuration and the RHAS image running was quite a lot of hard work as well, so I''m not scared :) Figuring out how to apply the patches developed by Xen for 2.6 onto a 2.4 kernel, and fix any problems that arise from the fact that the 2.4 kernel is different from 2.6, so you may need patches in different places than they are for 2.6. The xen 2.0 hypervisor has patches for Linux 2.4 kernels, so you may be able to get an idea of how it works from that - but the Xen 2.0 hypervisor is different from 3.0 in several aspects, which would mean that the patches need to be different - so if you compare the 3.0 patches for 2.6 and 2.0 patches for 2.6, you''d see how different (and I haven''t done this) the patches are for the different Xen versions. Based on that, you should be able to determine what the work needed for 2.4 is... But since there hasn''t been any announcement of such a patch being available, I suspect it''s not trivial... -- Mats Cheers, Quentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Hi, > > Thanks for the quick reply - what would a lot of hard work imply? Having > this configuration and the RHAS image running was quite a lot of hard work > as well, so I''m not scared :) > > > Figuring out how to apply the patches developed by Xen for 2.6 onto a 2.4kernel, and fix any problems that arise from the fact that the > 2.4 kernel is different from 2.6, so you may need patches in different > places than they are for 2.6. The xen 2.0 hypervisor has patches for Linux > 2.4 kernels, so you may be able to get an idea of how it works from that - > but the Xen 2.0 hypervisor is different from 3.0 in several aspects, which > would mean that the patches need to be different - so if you compare the > 3.0 patches for 2.6 and 2.0 patches for 2.6, you''d see how different (and > I haven''t done this) the patches are for the different Xen versions. Based > on that, you should be able to determine what the work needed for 2.4is... But since there hasn''t been any announcement of such a patch being > available, I suspect it''s not trivial... > > -- > Mats >Right - sounds like fun. What if I use Xen 2 on my 2.6 kernel in place of Xen 3? Would that even be possible? Quentin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of BB Mailing list Sent: 24 October 2006 15:05 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Re: Custom DomU kernel Hi, Thanks for the quick reply - what would a lot of hard work imply? Having this configuration and the RHAS image running was quite a lot of hard work as well, so I''m not scared :) Figuring out how to apply the patches developed by Xen for 2.6 onto a 2.4 kernel, and fix any problems that arise from the fact that the 2.4 kernel is different from 2.6, so you may need patches in different places than they are for 2.6. The xen 2.0 hypervisor has patches for Linux 2.4 kernels, so you may be able to get an idea of how it works from that - but the Xen 2.0 hypervisor is different from 3.0 in several aspects, which would mean that the patches need to be different - so if you compare the 3.0 patches for 2.6 and 2.0 patches for 2.6, you''d see how different (and I haven''t done this) the patches are for the different Xen versions. Based on that, you should be able to determine what the work needed for 2.4 is... But since there hasn''t been any announcement of such a patch being available, I suspect it''s not trivial... -- Mats Right - sounds like fun. What if I use Xen 2 on my 2.6 kernel in place of Xen 3? Would that even be possible? I guess that is a possibility - but you''ll be missing some of the new features - which of course may be less important if you don''t need any of them... :-) Since I work on HVM, I sort of can''t choose - it''s 3.0.x that works, and nothing previously... -- Mats Quentin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Hi, > > > > Thanks for the quick reply - what would a lot of hard work imply? Having > > this configuration and the RHAS image running was quite a lot of hard work > > as well, so I''m not scared :) > > > > > > Figuring out how to apply the patches developed by Xen for 2.6 onto a > > 2.4 kernel, and fix any problems that arise from the fact that the 2.4kernel is different from > > 2.6, so you may need patches in different places than they are for 2.6. > > The xen 2.0 hypervisor has patches for Linux 2.4 kernels, so you may be > > able to get an idea of how it works from that - but the Xen 2.0hypervisor is different from > > 3.0 in several aspects, which would mean that the patches need to be > > different - so if you compare the 3.0 patches for 2.6 and 2.0 patches > > for 2.6, you''d see how different (and I haven''t done this) the patches > > are for the different Xen versions. Based on that, you should be able to > > determine what the work needed for 2.4 is... But since there hasn''t been > > any announcement of such a patch being available, I suspect it''s not > > trivial... > > > > -- > > Mats > > > > Right - sounds like fun. What if I use Xen 2 on my 2.6 kernel in place of > Xen 3? Would that even be possible? > > > I guess that is a possibility - but you''ll be missing some of the new > features - which of course may be less important if you don''t need any of > them... :-) > > Since I work on HVM, I sort of can''t choose - it''s 3.0.x that works, and > nothing previously... > > -- > Mats > > > > Quentin. > > > Okay, sounds like I got some options. What if I want to use HVM (which Inever heard about before, sorry I am really not a hardware guy hehe) ? How can I make sure my hardware supports this? Do you have some pointers? Thanks ! Quentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of BB Mailing list Sent: 24 October 2006 16:01 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Re: Custom DomU kernel Hi, Thanks for the quick reply - what would a lot of hard work imply? Having this configuration and the RHAS image running was quite a lot of hard work as well, so I''m not scared :) Figuring out how to apply the patches developed by Xen for 2.6 onto a 2.4 kernel, and fix any problems that arise from the fact that the 2.4 kernel is different from 2.6, so you may need patches in different places than they are for 2.6. The xen 2.0 hypervisor has patches for Linux 2.4 kernels, so you may be able to get an idea of how it works from that - but the Xen 2.0 hypervisor is different from 3.0 in several aspects, which would mean that the patches need to be different - so if you compare the 3.0 patches for 2.6 and 2.0 patches for 2.6, you''d see how different (and I haven''t done this) the patches are for the different Xen versions. Based on that, you should be able to determine what the work needed for 2.4 is... But since there hasn''t been any announcement of such a patch being available, I suspect it''s not trivial... -- Mats Right - sounds like fun. What if I use Xen 2 on my 2.6 kernel in place of Xen 3? Would that even be possible? I guess that is a possibility - but you''ll be missing some of the new features - which of course may be less important if you don''t need any of them... :-) Since I work on HVM, I sort of can''t choose - it''s 3.0.x that works, and nothing previously... -- Mats Quentin. Okay, sounds like I got some options. What if I want to use HVM (which I never heard about before, sorry I am really not a hardware guy hehe) ? How can I make sure my hardware supports this? Do you have some pointers? <Advert> Buy some AMD Opteron in Socket F. </Advert> Otherwise, there are AMD Athlon64 and Intel processors available that support AMD-V and Intel VT respectively. For the AMD parts it''s relatively easy: Don''t buy a Sempron, and as long as it''s got DDR2 memory interface, you''ll have AMD-V. Apparently, the Intel story isn''t so straight-forward, they have a number of conditions that all need to be fulfilled together, including the "right" BIOS and/or motherboard... -- Mats Thanks ! Quentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Hi, > > > > > > Thanks for the quick reply - what would a lot of hard work imply? > > > Having this configuration and the RHAS image running was quite a lot of hard > > > work as well, so I''m not scared :) > > > > > > > > > Figuring out how to apply the patches developed by Xen for 2.6 onto a > > > 2.4 kernel, and fix any problems that arise from the fact that the 2.4kernel is different from > > > 2.6, so you may need patches in different places than they are for 2.6. > > > The xen 2.0 hypervisor has patches for Linux 2.4 kernels, so you may > > > be able to get an idea of how it works from that - but the Xen 2.0hypervisor is different from > > > 3.0 in several aspects, which would mean that the patches need to be > > > different - so if you compare the 3.0 patches for 2.6 and 2.0 patches > > > for 2.6, you''d see how different (and I haven''t done this) the patches > > > are for the different Xen versions. Based on that, you should be able to > > > determine what the work needed for 2.4 is... But since there hasn''t > > > been any announcement of such a patch being available, I suspect it''s not > > > trivial... > > > > > > -- > > > Mats > > > > > > > Right - sounds like fun. What if I use Xen 2 on my 2.6 kernel in place > > of Xen 3? Would that even be possible? > > > > > > I guess that is a possibility - but you''ll be missing some of the new > > features - which of course may be less important if you don''t need any of > > them... :-) > > > > Since I work on HVM, I sort of can''t choose - it''s 3.0.x that works, and > > nothing previously... > > > > -- > > Mats > > > > > > > > Quentin. > > > > > > Okay, sounds like I got some options. What if I want to use HVM (which I > never heard about before, sorry I am really not a hardware guy hehe) ? How > can I make sure my hardware supports this? Do you have some pointers? > > > > > <Advert> Buy some AMD Opteron in Socket F. > </Advert> > > Otherwise, there are AMD Athlon64 and Intel processors available that > support AMD-V and Intel VT respectively. For the AMD parts it''s relatively > easy: Don''t buy a Sempron, and as long as it''s got DDR2 memory interface, > you''ll have AMD-V. Apparently, the Intel story isn''t so straight-forward, > they have a number of conditions that all need to be fulfilled together, > including the "right" BIOS and/or motherboard... > > -- > Mats > Thanks ! > > Quentin >Well I''m afraid I don''t have much choice, we''re setting this up on Dell Poweredge Xeon servers - seems I will have to either run Xen 2 on the Ubuntu 2.6, either start over with the RHAS 3 as Dom0. Thanks for the help, much appreciated. Cheers, Quentin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users