''make mkpatches'' gives me a patch which, when applied to a pristine 2.6.12 kernel, doesn''t compile. It complains about a missing file ''smp_alt.h''. This is against xen-unstable checked out about 12 hours ago, and I''m trying to make something that debian can use as a patch. Thanks James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
* James Harper (james.harper@bendigoit.com.au) wrote:> ''make mkpatches'' gives me a patch which, when applied to a pristine > 2.6.12 kernel, doesn''t compile. It complains about a missing file > ''smp_alt.h''. > This is against xen-unstable checked out about 12 hours ago, and I''m > trying to make something that debian can use as a patch.Sounds like you''re not picking up the patches that get applied to the base tree from patches/linux-2.6.12/ (btw, the smp_alts.patch won''t compile on plain x86, it''s missing a trivial fix). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > Sounds like you''re not picking up the patches that get applied to the > base tree from patches/linux-2.6.12/ (btw, the smp_alts.patch won''t > compile on plain x86, it''s missing a trivial fix).That sounds plausible. I assumed that mkpatches would do this. Should I apply these patches/linux-2.6.12/* before or after applying the mkpatches-generated patch? Thanks James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
* James Harper (james.harper@bendigoit.com.au) wrote:> > > > Sounds like you''re not picking up the patches that get applied to the > > base tree from patches/linux-2.6.12/ (btw, the smp_alts.patch won''t > > compile on plain x86, it''s missing a trivial fix). > > That sounds plausible. I assumed that mkpatches would do this. Should I > apply these patches/linux-2.6.12/* before or after applying the > mkpatches-generated patch?Apply them before the mkpatches patch. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> -----Original Message----- > From: Chris Wright [mailto:chrisw@osdl.org] > Sent: Friday, 23 September 2005 11:59 > To: James Harper > Cc: Chris Wright; Xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] make mkpatches > > * James Harper (james.harper@bendigoit.com.au) wrote: > > > > > > Sounds like you''re not picking up the patches that get applied tothe> > > base tree from patches/linux-2.6.12/ (btw, the smp_alts.patchwon''t> > > compile on plain x86, it''s missing a trivial fix). > > > > That sounds plausible. I assumed that mkpatches would do this.Should I> > apply these patches/linux-2.6.12/* before or after applying the > > mkpatches-generated patch? > > Apply them before the mkpatches patch.I tried them the other way around and it worked too. I guess the patches don''t tread on each other much. The mkpatches patch said it should be applied to a pristine kernel tree. It seems to be compiling now. Quite a few ''implicit declaration of function ...'' and ''... is deprecated'' warnings, but no errors so far. Thanks. James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> ''make mkpatches'' gives me a patch which, when applied to a pristine > 2.6.12 kernel, doesn''t compile. It complains about a missing > file ''smp_alt.h''. > This is against xen-unstable checked out about 12 hours ago, > and I''m trying to make something that debian can use as a patch.You also need to apply the patches in patches/linux-2.6.12 Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel