Ok, this is probably a really dumb question, but how do I compile xen with a different kernel than the one provided with the source? I''ve got the source tarball for xen 3.1.0 and a source tarball for kernel 2.6.20. I don''t see the obvious way to make the xen "make kernels" make invocation build me a kernel and modules for 2.6.20. Thanks! -Dylan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Dylan Martin > Sent: 23 May 2007 17:51 > To: Xen Users > Subject: [Xen-users] Compile Question > > Ok, this is probably a really dumb question, but how do I compile xen > with a different kernel than the one provided with the source?This is not easy, so it''s not a dumb question as such. There was a discussion a few weeks back about moving from 2.6.18 to 2.6.18-8, which you should be able to find in the archive on www.xensource.com (under community, mailing lists, Xen Users [Archive] or something like that). It explains the steps necessary to change the kernel version that Xen uses. I doubt that a 2.6.18 -> 2.6.20 is as trivial as 2.6 .18 to ...-8 is tho'', you''ll probably have to do more than remove one patch and fix one "removed" variable. -- Mats> > I''ve got the source tarball for xen 3.1.0 and a source tarball for > kernel 2.6.20. I don''t see the obvious way to make the xen "make > kernels" make invocation build me a kernel and modules for 2.6.20. > > Thanks! > -Dylan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fedora 7 includes a 2.6.20 kernel with xen 3.1.0. I''m going to look at the source and see what they did. Do you think other people would be interested in what I find? -Dylan> > Ok, this is probably a really dumb question, but how do I compile xen > > with a different kernel than the one provided with the source? > > This is not easy, so it''s not a dumb question as such. > > There was a discussion a few weeks back about moving from 2.6.18 to > 2.6.18-8, which you should be able to find in the archive on > www.xensource.com (under community, mailing lists, Xen Users [Archive] > or something like that). > > It explains the steps necessary to change the kernel version that Xen > uses. I doubt that a 2.6.18 -> 2.6.20 is as trivial as 2.6 .18 to ...-8 > is tho'', you''ll probably have to do more than remove one patch and fix > one "removed" variable. > > -- > Mats > > > > I''ve got the source tarball for xen 3.1.0 and a source tarball for > > kernel 2.6.20. I don''t see the obvious way to make the xen "make > > kernels" make invocation build me a kernel and modules for 2.6.20. > > > > Thanks! > > -Dylan_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Very much. On May 23, 2007, at 11:34 AM, Dylan Martin wrote:> Fedora 7 includes a 2.6.20 kernel with xen 3.1.0. I''m going to look > at the source and see what they did. > > Do you think other people would be interested in what I find? > > -Dylan > >>> Ok, this is probably a really dumb question, but how do I compile >>> xen >>> with a different kernel than the one provided with the source? >> >> This is not easy, so it''s not a dumb question as such. >> >> There was a discussion a few weeks back about moving from 2.6.18 to >> 2.6.18-8, which you should be able to find in the archive on >> www.xensource.com (under community, mailing lists, Xen Users >> [Archive] >> or something like that). >> >> It explains the steps necessary to change the kernel version that Xen >> uses. I doubt that a 2.6.18 -> 2.6.20 is as trivial as 2.6 .18 >> to ...-8 >> is tho'', you''ll probably have to do more than remove one patch and >> fix >> one "removed" variable. >> >> -- >> Mats >>> >>> I''ve got the source tarball for xen 3.1.0 and a source tarball for >>> kernel 2.6.20. I don''t see the obvious way to make the xen "make >>> kernels" make invocation build me a kernel and modules for 2.6.20. >>> >>> Thanks! >>> -Dylan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 23, 2007 at 11:34:57AM -0700, Dylan Martin wrote:> Fedora 7 includes a 2.6.20 kernel with xen 3.1.0. I''m going to look > at the source and see what they did.We''ve done both a 3.0.3 + 2.6.16 tree updated to 3.0.3+2.6.20 and a 3.1.0+2.6.18 tree updated to 2.6.20. There''s no simple patch to apply to move Xen from 2.6.18 -> 2.6.20 - its major coding work that took rather a long time to get even remotely stable. You can see most of the merge history in our mercurial repositories http://hg.et.redhat.com/kernel/linux-2.6.20-xen-3.0.3 But the RPM sources are the most uptodate codebase at the moment. 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 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry for pleading ignorance, but where is the "right place" to get the RPM sources with, say, HTTP? On May 23, 2007, at 2:18 PM, Daniel P. Berrange wrote:> On Wed, May 23, 2007 at 11:34:57AM -0700, Dylan Martin wrote: >> Fedora 7 includes a 2.6.20 kernel with xen 3.1.0. I''m going to look >> at the source and see what they did. > > We''ve done both a 3.0.3 + 2.6.16 tree updated to 3.0.3+2.6.20 > and a 3.1.0+2.6.18 tree updated to 2.6.20. There''s no simple > patch to apply to move Xen from 2.6.18 -> 2.6.20 - its major > coding work that took rather a long time to get even remotely > stable. You can see most of the merge history in our mercurial > repositories > > http://hg.et.redhat.com/kernel/linux-2.6.20-xen-3.0.3 > > But the RPM sources are the most uptodate codebase at the moment. > > > 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 -=| > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 23, 2007 at 02:35:19PM -0700, Jayson Vantuyl wrote:> Sorry for pleading ignorance, but where is the "right place" to get > the RPM sources with, say, HTTP?All the various Fedora releases with binaries & sources are under this tree: http://download.fedora.redhat.com/pub/fedora/linux/core/ Kernel and hypervisor are in either ''kernel'' (FC6) or ''kernel-xen'' (F7), and matching userspace is ''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 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jayson Vantuyl wrote:> Very much. > > On May 23, 2007, at 11:34 AM, Dylan Martin wrote: > >> Fedora 7 includes a 2.6.20 kernel with xen 3.1.0. I''m going to look >> at the source and see what they did. >> >> Do you think other people would be interested in what I find? >> >> -DylanPlease do! The kernels in RHEL 4.5 are.... unfortunately stuck in the stone ages at 2.6.9, and I''m not impressed with what RHEL 5 did to manipulate virt-install and virt-manager into insisting on the /dev/xdv* disk images. The Xensource.com downloadable Xen 3.1.0 kernels are much superior. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users