Xu, Anthony
2006-Jul-26 09:30 UTC
[Fedora-xen] RE: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
Hi Akio, Is this merge based on linux-2.6.18-rc2? When I diff linux-2.6-xen-fedora with linux-2.6.18-rc2, There are some modifications which are not marked by #ifdef CONFIG_XEN Thanks, Anthony>-----Original Message----- >From: xen-ia64-devel-bounces@lists.xensource.com >[mailto:xen-ia64-devel-bounces@lists.xensource.com] On Behalf Of Akio Takebe >Sent: 2006年7月25日 17:29 >To: ia64 Fedora Core Development; Aron Griffis; Juan Quintela >Cc: Chris Wright; xen-ia64-devel@lists.xensource.com; fedora-xen@redhat.com >Subject: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could >helpwith xen-ia64 > >Hi, Juan, Aron and all > >I fix Juan''s http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora >to build on ia64. >But I have not booted linux kernel (not xen), >and there are many compile warnings. >I''m fixing the tree now. > >I used the attach config. >Please check them. > >My fix patcheds are the blew. Please comments. >1. build_ia64_add_files.patch > simple import gate.S, gate.ld.S, patch.c into arch/ia64/kernel > (these are from linux-2.6.18-rc2) >2. build_ia64.patch > some fix (resend_irq, ioremap, and so on) > >Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> > >Best Regards, > >Akio Takebe
Akio Takebe
2006-Jul-26 10:20 UTC
[Fedora-xen] RE: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
Hi, Anthony, Juan and Aron Hmm.. I don''t know. I have thought that merge base is linux-2.6.18-rc2, because of reading the following mail. Juan and Aron, am I wrong? If necessary, I''ll update my patches. My patches work good on RHEL4 as native linux. Now I''m updating my fedora system by yum. After update, I''ll try my patches on FC6. ----- Juan''s wrote ------------------------------ It is based on 2.6.18-rc2. It is on: http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora It is public only since Tuesday (I was waiting for a place where to publish it). Tree will not work on ia64, I didn''t forward ported the ia64 changes, noly x86 & x86_64 (and it was painfull enough, time source, smp-alternatives x86_64, irqtrace, vDSO on x86 & friends meaned that I had to go back & re-apply series of patches one at a time to find a coulpe of bugs). ------------------------------------------------- Best Regards, Akio Takebe>Hi Akio, > >Is this merge based on linux-2.6.18-rc2? >When I diff linux-2.6-xen-fedora with linux-2.6.18-rc2, >There are some modifications which are not marked by #ifdef CONFIG_XEN > >Thanks, >Anthony > >>-----Original Message----- >>From: xen-ia64-devel-bounces@lists.xensource.com >>[mailto:xen-ia64-devel-bounces@lists.xensource.com] On Behalf Of Akio Takebe >>Sent: 2006年7月25日 17:29 >>To: ia64 Fedora Core Development; Aron Griffis; Juan Quintela >>Cc: Chris Wright; xen-ia64-devel@lists.xensource.com; fedora-xen@redhat.com >>Subject: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could >>helpwith xen-ia64 >> >>Hi, Juan, Aron and all >> >>I fix Juan''s http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora >>to build on ia64. >>But I have not booted linux kernel (not xen), >>and there are many compile warnings. >>I''m fixing the tree now. >> >>I used the attach config. >>Please check them. >> >>My fix patcheds are the blew. Please comments. >>1. build_ia64_add_files.patch >> simple import gate.S, gate.ld.S, patch.c into arch/ia64/kernel >> (these are from linux-2.6.18-rc2) >>2. build_ia64.patch >> some fix (resend_irq, ioremap, and so on) >> >>Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> >> >>Best Regards, >> >>Akio Takebe
Akio Takebe
2006-Jul-26 10:31 UTC
[Fedora-xen] RE: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
Hi, Anthony I found the base version in Makefile. ----------------------------- VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 18 EXTRAVERSION = -rc2 NAME=Crazed Snow-Weasel # *DOCUMENTATION* # To see a list of typical targets execute "make help" # More info can be located in ./README # Comments in this file are [snip...] ----------------------------- Best Regards, Akio Takebe>Hi, Anthony, Juan and Aron > >Hmm.. I don''t know. >I have thought that merge base is linux-2.6.18-rc2, >because of reading the following mail. >Juan and Aron, am I wrong? >If necessary, I''ll update my patches. > >My patches work good on RHEL4 as native linux. >Now I''m updating my fedora system by yum. >After update, I''ll try my patches on FC6. > >----- Juan''s wrote ------------------------------ >It is based on 2.6.18-rc2. It is on: > >http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora > >It is public only since Tuesday (I was waiting for a place where to >publish it). Tree will not work on ia64, I didn''t forward ported the >ia64 changes, noly x86 & x86_64 (and it was painfull enough, time >source, smp-alternatives x86_64, irqtrace, vDSO on x86 & friends meaned >that I had to go back & re-apply series of patches one at a time to find >a coulpe of bugs). >------------------------------------------------- > >Best Regards, > >Akio Takebe > >>Hi Akio, >> >>Is this merge based on linux-2.6.18-rc2? >>When I diff linux-2.6-xen-fedora with linux-2.6.18-rc2, >>There are some modifications which are not marked by #ifdef CONFIG_XEN >> >>Thanks, >>Anthony >> >>>-----Original Message----- >>>From: xen-ia64-devel-bounces@lists.xensource.com >>>[mailto:xen-ia64-devel-bounces@lists.xensource.com] On Behalf Of Akio >>>Takebe >>>Sent: 2006年7月25日 17:29 >>>To: ia64 Fedora Core Development; Aron Griffis; Juan Quintela >>>Cc: Chris Wright; xen-ia64-devel@lists.xensource.com; fedora-xen@redhat.com >>>Subject: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could >>>helpwith xen-ia64 >>> >>>Hi, Juan, Aron and all >>> >>>I fix Juan''s http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora >>>to build on ia64. >>>But I have not booted linux kernel (not xen), >>>and there are many compile warnings. >>>I''m fixing the tree now. >>> >>>I used the attach config. >>>Please check them. >>> >>>My fix patcheds are the blew. Please comments. >>>1. build_ia64_add_files.patch >>> simple import gate.S, gate.ld.S, patch.c into arch/ia64/kernel >>> (these are from linux-2.6.18-rc2) >>>2. build_ia64.patch >>> some fix (resend_irq, ioremap, and so on) >>> >>>Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> >>> >>>Best Regards, >>> >>>Akio Takebe
Juan Quintela
2006-Jul-26 10:35 UTC
[Fedora-xen] RE: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
On Wed, 2006-07-26 at 17:30 +0800, Xu, Anthony wrote:> Hi Akio, > > Is this merge based on linux-2.6.18-rc2? > When I diff linux-2.6-xen-fedora with linux-2.6.18-rc2, > There are some modifications which are not marked by #ifdef CONFIG_XENHi There are several changes not marked as CONFIG_XEN: * tsc timer -> fixed since them with other solution * TPM -> don''t ask me, tpm code is evil. And to make things more interesting xen code & linux upstream code has diverged so much that it is not funny. * things marked CONFIG_X86_NO_TSS & CONFIG_X86_NO_IDT (already on unstable tree) * anything that touchs a Task segment is disabled by default (already on unstable tree) * HAVE_SHARED_KERNEL_PMD changes, already on unstable tree * some patches to oprofile to make xenoprof work. * __FIXADDR_TOP already on xen unstable, and more things with vDSO integration. I haven''t really examined neither i64 or powerpec bits. If you have any concern about any particular piece of code, please, let me know. Later, Juan.
Prarit Bhargava
2006-Jul-26 11:14 UTC
[Fedora-xen] Re: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
Juan Quintela wrote:> On Wed, 2006-07-26 at 17:30 +0800, Xu, Anthony wrote: > >> Hi Akio, >> >> Is this merge based on linux-2.6.18-rc2? >> When I diff linux-2.6-xen-fedora with linux-2.6.18-rc2, >> There are some modifications which are not marked by #ifdef CONFIG_XEN >> > >Let''s not push this into linux-2.6-xen-fedora. We''ve been working with a patch in BZ 199684 which includes many of these changes. That patch, hopefully, will be submitted today at some point. Status is even after applying the patch the Xen kernels do not boot. The non-Xen kernels do boot. P.> Hi > > There are several changes not marked as CONFIG_XEN: > > * tsc timer -> fixed since them with other solution > * TPM -> don''t ask me, tpm code is evil. And to make things more > interesting xen code & linux upstream code has diverged so much that it > is not funny. > * things marked CONFIG_X86_NO_TSS & CONFIG_X86_NO_IDT (already on > unstable tree) > * anything that touchs a Task segment is disabled by default (already on > unstable tree) > * HAVE_SHARED_KERNEL_PMD changes, already on unstable tree > * some patches to oprofile to make xenoprof work. > * __FIXADDR_TOP already on xen unstable, and more things with vDSO > integration. > > I haven''t really examined neither i64 or powerpec bits. > > If you have any concern about any particular piece of code, please, let > me know. > > Later, Juan. > > -- > Fedora-ia64-list mailing list > Fedora-ia64-list@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-ia64-list > >
Aron Griffis
2006-Jul-26 13:00 UTC
[Fedora-xen] Re: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
Akio Takebe wrote: [Wed Jul 26 2006, 08:12:38AM EDT]> Thank you for your reply. > I''m still a little confused about the way of FC6-xen/IPF contribution.I''m sorry, I know that it''s confusing. There are multiple ways to work on the kernel tree. I''ll try to provide some steps below.> I''d like to make sure the way. > > - Background > > we need to try this tree > http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora > Because #1''s tree is not work on xen-ia64. > we need to try compile and build the tree > with the latest patche of BZ#199684.That''s essentially correct. The tree above is used to generate the linux-2.6-xen.patch which is used in the Fedora rpm. If we make that tree work with the Fedora ia64 config, and the Fedora xen-ia64 config, then everything should work well. Here is another approach, though, which moves us closer to the final product. The Fedora kernel cvs tree is available via instructions from http://people.redhat.com/davej/ I took that tree and imported it to mercurial. The result is http://free.linux.hp.com/~agriffis/kernel-cvs/ Next I cloned that tree, added the bugzilla 199684 patch (which includes your work), plus the minor kernel-2.6.spec modifications and created another mercurial tree which is http://free.linux.hp.com/~agriffis/kernel-cvs-ia64/ So the final result is that you can: hg clone http://free.linux.hp.com/~agriffis/kernel-cvs-ia64/ cd kernel-cvs-ia64/devel make ia64 This will build an ia64 kernel and attempt to build a xen kernel. Watch it break, figure it out, contribute to the patch, send back a diff! I hope that helps. Thanks for your assistance. Regards, Aron
Prarit Bhargava
2006-Jul-26 13:18 UTC
[Fedora-xen] Re: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
> So the final result is that you can: > > hg clone http://free.linux.hp.com/~agriffis/kernel-cvs-ia64/ > cd kernel-cvs-ia64/devel > make ia64 > > This will build an ia64 kernel and attempt to build a xen kernel. > Watch it break, figure it out, contribute to the patch, send back > a diff! > > >Everyone once-in-a-while we will also be updating the BZ with an updated "known good" patch. P.
Akio Takebe
2006-Jul-26 15:28 UTC
[Fedora-xen] Re: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
Hi, Aron and Prarit Thank you for your explanation. I confused bacause there are some tree. But I''m clear now. Thanks again. I''ll work on http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora by using BZ 199684 patch. I have two other question. Where from is the above tree? xen-unstable? xen-ia64-unstble? And which cset is the above tree base on? I don''t know which xen I should use. Best Regards, Akio Takebe>Akio Takebe wrote: [Wed Jul 26 2006, 08:12:38AM EDT] >> Thank you for your reply. >> I''m still a little confused about the way of FC6-xen/IPF contribution. > >I''m sorry, I know that it''s confusing. There are multiple ways to >work on the kernel tree. I''ll try to provide some steps below. > >> I''d like to make sure the way. >> >> - Background >> >> we need to try this tree >> http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora >> Because #1''s tree is not work on xen-ia64. >> we need to try compile and build the tree >> with the latest patche of BZ#199684. > >That''s essentially correct. The tree above is used to generate the >linux-2.6-xen.patch which is used in the Fedora rpm. If we make that >tree work with the Fedora ia64 config, and the Fedora xen-ia64 config, >then everything should work well. > >Here is another approach, though, which moves us closer to the final >product. The Fedora kernel cvs tree is available via instructions >from http://people.redhat.com/davej/ > >I took that tree and imported it to mercurial. The result is >http://free.linux.hp.com/~agriffis/kernel-cvs/ > >Next I cloned that tree, added the bugzilla 199684 patch (which >includes your work), plus the minor kernel-2.6.spec modifications and >created another mercurial tree which is >http://free.linux.hp.com/~agriffis/kernel-cvs-ia64/ > >So the final result is that you can: > > hg clone http://free.linux.hp.com/~agriffis/kernel-cvs-ia64/ > cd kernel-cvs-ia64/devel > make ia64 > >This will build an ia64 kernel and attempt to build a xen kernel. >Watch it break, figure it out, contribute to the patch, send back >a diff! > >I hope that helps. Thanks for your assistance. > >Regards, >Aron
Juan Quintela
2006-Jul-26 16:27 UTC
Re: [Fedora-xen] Re: [Xen-ia64-devel] Re: [Fedora-ia64-list] Re: Four ways RH could helpwith xen-ia64
On Thu, 2006-07-27 at 00:28 +0900, Akio Takebe wrote:> Hi, Aron and Prarit > > Thank you for your explanation. > I confused bacause there are some tree. > > But I''m clear now. Thanks again. > I''ll work on http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora > by using BZ 199684 patch. > > I have two other question. > Where from is the above tree? xen-unstable? xen-ia64-unstble?It comes from linux-2.6-xen (this follows xen-unstable with 1-2 days lag), and linux-2.6 (plain linus 2.6 tree). It gets updated daily. Actual changesets are: [quintela@anano linux-2.6]$ hg tip changeset: 33089:93feac10afde [quintela@anano linux-2.6-xen]$ hg tip -v changeset: 22749:d195197a6bed14f372d4526917d4476a30f299d6 xen-unstable changeset: 10731:77ec02027c17714124935612f1b3cb52fec3f436> And which cset is the above tree base on?It don''t have any ia64 specific bits still. I received a mail from you (i.e. Aiko) with two patches and anther from Prarit telling me to wait before I apply the patches. I am having a _big_ execshield problem on x86, once that is finished (I hope Thrusday/Friday) I will take a look at compiling the tree on ia64 box (already got access to one box, thanks Prarit). Later, Juan.