Florian Heigl
2007-Dec-22 19:17 UTC
[Xen-users] Forgot how to rebuild xen tools separate from kernel - any help?
Hi, I want to do a quite major upgrade of my xen host; i have done this a few times before, but it dates back to long and for the last hour i''ve been at a loss.... What I currently run: xen_major : 3 xen_minor : 0 xen_extra : .2-3 xen_caps : xen-3.0-x86_32p platform_params : virt_start=0xf5800000 xen_changeset : Thu Jun 29 10:51:49 2006 +0100 9762:1e225598ce82 cc_compiler : gcc version 3.4.4 (Trustix) cc_compile_by : root cc_compile_domain : (none) cc_compile_date : Sat Aug 5 20:59:55 GMT 2006 The reasons for my update is getting rid of flacky file:/// backends and missing marvell yukon+yukon2+via ACE drivers. And I got my fingers crossed that block-attach during domU creation will be a bit faster, too :) I''ve checked out xen-3.1-testing.hg on my buildhost and prepared dom0 and domU kernels, also already tested the domU one with the current dom0 version. The tricky bits are: - i have to make a custom kernel (done) - i have to patch it before or after configuring to keep EVMS BBR support alive (done) - i have to update the "userland" bits like xm and such (not done) I configured, built and installed with a different DESTDIR make XEN_TARGET_X86_PAE=y KERNELS="linux-2.6-xen0" linux-2.6-xen-build make XEN_TARGET_X86_PAE=y KERNELS="linux-2.6-xen0" DESTDIR=/usr/local/XenDistro/xen0_test_32p linux-2.6-xen-install what I don''t remember is how to properly rebuild the xen tools - or are they actually just copied? Even then a command that follows DESTDIR would save time; I assume it''s really easy and I just don''t come up with it :( Please help me with this :) -- ''Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Dec-23 20:41 UTC
Re: [Xen-users] Forgot how to rebuild xen tools separate from kernel - any help?
> The tricky bits are: > - i have to make a custom kernel (done) > - i have to patch it before or after configuring to keep EVMS BBR > support alive (done) > - i have to update the "userland" bits like xm and such (not done) > > I configured, built and installed with a different DESTDIR > make XEN_TARGET_X86_PAE=y KERNELS="linux-2.6-xen0" linux-2.6-xen-build > make XEN_TARGET_X86_PAE=y KERNELS="linux-2.6-xen0" > DESTDIR=/usr/local/XenDistro/xen0_test_32p linux-2.6-xen-install> what I don''t remember is how to properly rebuild the xen tools - or > are they actually just copied? Even then a command that follows > DESTDIR would save time; I assume it''s really easy and I just don''t > come up with it :(I *think* that most, if not all, tools will honour: DESTDIR=foo make install-tools Don''t worry about not coming up with that: the Xen makefiles are not exactly easy to read :-) I''ve spent lots of time trying to figure out what they''re doing! The alternative would be to do something like "make dist-tools" which will install all the tools into dist/install, and you can then use the install.sh script too initiate an install on the destination machine. I''m not sure if you can set alternate install paths with that - you can''t set DESTDIR meaningfully. But for a "normal" install, the resulting tree should be OK. 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