I was just snooping around 3.05-rc2 and saw that it builds against: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 2.6.18.8 is current, and I see valuable patches in the the later versions. Is it possible (and desirable) to build 3.05-rc2 against 2.6.18.8? If so, what''s the most direct way to do so? -- -- Tom Mornini, CTO -- Engine Yard, Ruby on Rails Hosting -- Support, Scalability, Reliability -- (866) 518-YARD (9273) _______________________________________________ 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 > Tom Mornini > Sent: 24 April 2007 10:26 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Kernel for 3.05-testing > > I was just snooping around 3.05-rc2 and saw that it builds against: > > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 > > 2.6.18.8 is current, and I see valuable patches in the the later > versions. > > Is it possible (and desirable) to build 3.05-rc2 against 2.6.18.8?There may be problems using the standard set of patches.> > If so, what''s the most direct way to do so?You can set which version of Linux kernel that Xen builds with in .../buildconfigs/mk.linux-2.6-xen{,0,u}. -- Mats> > -- > -- Tom Mornini, CTO > -- Engine Yard, Ruby on Rails Hosting > -- Support, Scalability, Reliability > -- (866) 518-YARD (9273) > > > _______________________________________________ > 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
On Apr 24, 2007, at 2:36 AM, Petersson, Mats wrote:>> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >> Tom Mornini >> Sent: 24 April 2007 10:26 >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] Kernel for 3.05-testing >> >> I was just snooping around 3.05-rc2 and saw that it builds against: >> >> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 >> >> 2.6.18.8 is current, and I see valuable patches in the the later >> versions. >> >> Is it possible (and desirable) to build 3.05-rc2 against 2.6.18.8? > > There may be problems using the standard set of patches.OK, I''ll give it a whirl.>> If so, what''s the most direct way to do so? > > You can set which version of Linux kernel that Xen builds with in > .../buildconfigs/mk.linux-2.6-xen{,0,u}.Thank you! -- -- Tom Mornini, CTO -- Engine Yard, Ruby on Rails Hosting -- Support, Scalability, Reliability -- (866) 518-YARD (9273) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Apr 24, 2007, at 2:36 AM, Petersson, Mats wrote:>> Is it possible (and desirable) to build 3.05-rc2 against 2.6.18.8? > > There may be problems using the standard set of patches.I gave it a shot, and this looks like they applied cleanly...> Cannot find linux-2.6.18.8.tar.bz2 in path .:.. > wget http://www.kernel.org/pub/linux/kernel/v2.6/ > linux-2.6.18.8.tar.bz2 -O./linux-2.6.18.8.tar.bz2 > --02:49:56-- http://www.kernel.org/pub/linux/kernel/v2.6/ > linux-2.6.18.8.tar.bz2 > => `./linux-2.6.18.8.tar.bz2'' > Resolving www.kernel.org... 204.152.191.5, 204.152.191.37 > Connecting to www.kernel.org|204.152.191.5|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 41,842,273 (40M) [application/x-bzip2] > > 100% > [===================================================================== > ===================>] 41,842,273 8.56M/s ETA 00:00 > > 02:50:11 (8.68 MB/s) - `./linux-2.6.18.8.tar.bz2'' saved > [41842273/41842273] > > rm -rf tmp-pristine-linux-2.6.18.8 pristine-linux-2.6.18.8 > mkdir -p tmp-pristine-linux-2.6.18.8 > tar -C tmp-pristine-linux-2.6.18.8 -jxf linux-2.6.18.8.tar.bz2 > mv tmp-pristine-linux-2.6.18.8/* pristine-linux-2.6.18.8 > touch pristine-linux-2.6.18.8/.hgskip > touch pristine-linux-2.6.18.8/.valid-pristine # update timestamp to > avoid rebuild > set -e > rm -rf ref-linux-2.6.18.8 > cp -al pristine-linux-2.6.18.8 ref-linux-2.6.18.8 > if [ -d patches/linux-2.6.18.8 ] ; > then \ > echo Applying patches from patches/ > linux-2.6.18.8... ; \ > for i in $(cat patches/linux-2.6.18.8/series) ; > do \ > echo ... > $i ; \ > patch -d ref-linux-2.6.18.8 -p1 --quiet <patches/ > linux-2.6.18.8/$i || exit 1 ; \ > > done ; \ > fiAgreed? This makes me a bit nervous though:> scripts/kconfig/conf -o arch/x86_64/Kconfig > .config:3106:warning: trying to assign nonexistent symbol > XEN_COMPAT_030002 > .config:3107:warning: trying to assign nonexistent symbol > XEN_COMPAT_030004 > .config:3110:warning: trying to assign nonexistent symbol XEN_UTIL > .config:3111:warning: trying to assign nonexistent symbol XEN_BALLOON > .config:3112:warning: trying to assign nonexistent symbol XEN_DEVMEM > .config:3113:warning: trying to assign nonexistent symbol XEN_REBOOTIs this related perhaps? Also, is there any reason why 3.05rc2 *doesn''t* default to 2.6.18.8? If not, should I submit a patch? -- -- Tom Mornini, CTO -- Engine Yard, Ruby on Rails Hosting -- Support, Scalability, Reliability -- (866) 518-YARD (9273) _______________________________________________ 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 > Tom Mornini > Sent: 24 April 2007 10:58 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Kernel for 3.05-testing > > On Apr 24, 2007, at 2:36 AM, Petersson, Mats wrote: > > >> Is it possible (and desirable) to build 3.05-rc2 against 2.6.18.8? > > > > There may be problems using the standard set of patches. > > I gave it a shot, and this looks like they applied cleanly... > > > Cannot find linux-2.6.18.8.tar.bz2 in path .:.. > > wget http://www.kernel.org/pub/linux/kernel/v2.6/ > > linux-2.6.18.8.tar.bz2 -O./linux-2.6.18.8.tar.bz2 > > --02:49:56-- http://www.kernel.org/pub/linux/kernel/v2.6/ > > linux-2.6.18.8.tar.bz2 > > => `./linux-2.6.18.8.tar.bz2'' > > Resolving www.kernel.org... 204.152.191.5, 204.152.191.37 > > Connecting to www.kernel.org|204.152.191.5|:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 41,842,273 (40M) [application/x-bzip2] > > > > 100% > > > [============================================================> ======== > > ===================>] 41,842,273 8.56M/s ETA 00:00 > > > > 02:50:11 (8.68 MB/s) - `./linux-2.6.18.8.tar.bz2'' saved > > [41842273/41842273] > > > > rm -rf tmp-pristine-linux-2.6.18.8 pristine-linux-2.6.18.8 > > mkdir -p tmp-pristine-linux-2.6.18.8 > > tar -C tmp-pristine-linux-2.6.18.8 -jxf linux-2.6.18.8.tar.bz2 > > mv tmp-pristine-linux-2.6.18.8/* pristine-linux-2.6.18.8 > > touch pristine-linux-2.6.18.8/.hgskip > > touch pristine-linux-2.6.18.8/.valid-pristine # update > timestamp to > > avoid rebuild > > set -e > > rm -rf ref-linux-2.6.18.8 > > cp -al pristine-linux-2.6.18.8 ref-linux-2.6.18.8 > > if [ -d patches/linux-2.6.18.8 ] ; > > then \ > > echo Applying patches from patches/ > > linux-2.6.18.8... ; \ > > for i in $(cat patches/linux-2.6.18.8/series) ; > > do \ > > echo ... > > $i ; \ > > patch -d ref-linux-2.6.18.8 -p1 --quiet <patches/ > > linux-2.6.18.8/$i || exit 1 ; \ > > > > done ; \ > > fi > > Agreed? > > This makes me a bit nervous though: > > > scripts/kconfig/conf -o arch/x86_64/Kconfig > > .config:3106:warning: trying to assign nonexistent symbol > > XEN_COMPAT_030002 > > .config:3107:warning: trying to assign nonexistent symbol > > XEN_COMPAT_030004 > > .config:3110:warning: trying to assign nonexistent symbol XEN_UTIL > > .config:3111:warning: trying to assign nonexistent symbol > XEN_BALLOON > > .config:3112:warning: trying to assign nonexistent symbol XEN_DEVMEM > > .config:3113:warning: trying to assign nonexistent symbol XEN_REBOOT > > Is this related perhaps?Don''t know - my machine is still building (probably due to my utterly slow download speed of around 25KB/s vs. your 8.5MB/s)... I''ll give it a try when it''s been built.> > Also, is there any reason why 3.05rc2 *doesn''t* default to 2.6.18.8?Because no one asked for it before? [Most of the major players in Xen development are from SuSE/Novell, RedHat and as such will not really care what version of kernel - as long as it''s not too far off their choice - as they upgrade to whatever kernel their next release will be and back/forward-port the necessary patches as needed].> > If not, should I submit a patch?You could try asking the question on Xen-devel mailing list before submitting a patch. This is really a question for Xen-devel, not xen-users. -- Mats> > -- > -- Tom Mornini, CTO > -- Engine Yard, Ruby on Rails Hosting > -- Support, Scalability, Reliability > -- (866) 518-YARD (9273) > > > _______________________________________________ > 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
The 2.6.x.y patches often apply cleanly since they tend not to conflict with the Xen modifications. Strictly they should be vetted by a human before being applied, to verify that this is the case. I''m not sure what the plan for 3.0.5 is... Maybe this update will be rolled into 3.0.5-1 or something... Folks on xen-devel might know. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users