I''m currently trying to build modules against the kernels created with Xen 3.0.5rc4. This used to not be such a problem, as Xen created a kernel directory and the built in it. Plain Jane, nothing fancy. I''ve noticed that somewhere since I did this (which was as recent as 3.0.4-1) the kernel build now does things a bit different. Apparently there is some sort of build-.... directory where things happen now. This is a problem. I build a number of things against these kernels, not the least of which include Coraid''s AoE drivers and Redhat''s CMAN and DLM stuff. I was able to get kernel source directories by adjusting buildconfigs/ mk.linux-2.6-xen. I changed the line that read: LINUXSRC_DIR=.... to: LINU This still requires me to build my kernels a second time to get a good build directory. Is there a better way to do this? Can we make this easier? -- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 29/4/07 09:54, "Jayson Vantuyl" <jvantuyl@engineyard.com> wrote:> I''m currently trying to build modules against the kernels created with Xen > 3.0.5rc4. > > This used to not be such a problem, as Xen created a kernel directory and the > built in it. Plain Jane, nothing fancy. > > I''ve noticed that somewhere since I did this (which was as recent as 3.0.4-1) > the kernel build now does things a bit different. Apparently there is some > sort of build-.... directory where things happen now. > > This is a problem. I build a number of things against these kernels, not the > least of which include Coraid''s AoE drivers and Redhat''s CMAN and DLM stuff.You should be able to point your external build at the latter and have it just work: make C /path/to/build-linux-... M=$PWD modules -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ooops, accidentally hit send too early. Let me try this again: I changed the line in buildconfigs/mk.linux-2.6-xen that read: LINUX_SRCDIR = linux-$(LINUX_VER)-xen To: LINUX_SRCDIR = linux-$(LINUX_VER)-$(EXTRAVERSION) Rest of e-mail still applies. On Apr 29, 2007, at 3:54 AM, Jayson Vantuyl wrote:> I''m currently trying to build modules against the kernels created > with Xen 3.0.5rc4. > > This used to not be such a problem, as Xen created a kernel > directory and the built in it. Plain Jane, nothing fancy. > > I''ve noticed that somewhere since I did this (which was as recent > as 3.0.4-1) the kernel build now does things a bit different. > Apparently there is some sort of build-.... directory where things > happen now. > > This is a problem. I build a number of things against these > kernels, not the least of which include Coraid''s AoE drivers and > Redhat''s CMAN and DLM stuff. > > I was able to get kernel source directories by adjusting > buildconfigs/mk.linux-2.6-xen. I changed the line that read: > > LINUXSRC_DIR=.... > > to: > > LINU > > This still requires me to build my kernels a second time to get a > good build directory. Is there a better way to do this? Can we > make this easier? > > -- > Jayson Vantuyl > Systems Architect > Engine Yard > jvantuyl@engineyard.com > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mmmmm. I build some of my stuff currently out of Gentoo. I supposed I could hack the ebuild, but in general, I don''t think there will ever be a substitute for having just a plain kernel tree. Even if it isn''t used by default, would it be possible (not necessarily by 3.0.5) to get a make target to make them? Pretty please? On Apr 29, 2007, at 4:27 AM, Keir Fraser wrote:> On 29/4/07 09:54, "Jayson Vantuyl" <jvantuyl@engineyard.com> wrote: > >> I''m currently trying to build modules against the kernels created >> with Xen 3.0.5rc4. >> >> This used to not be such a problem, as Xen created a kernel >> directory and the built in it. Plain Jane, nothing fancy. >> >> I''ve noticed that somewhere since I did this (which was as recent >> as 3.0.4-1) the kernel build now does things a bit different. >> Apparently there is some sort of build-.... directory where things >> happen now. >> >> This is a problem. I build a number of things against these >> kernels, not the least of which include Coraid''s AoE drivers and >> Redhat''s CMAN and DLM stuff. > > You should be able to point your external build at the latter and > have it just work: > make –C /path/to/build-linux-... M=$PWD modules > > -- Keir-- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Maybe Matching Threads
- Is XVD live resize possible?
- Does XEN support crash carts?
- Still un-answered: How-To build Xen (3.2) to override XenSource''s linux-kernel (2.6.18) with a xenified kernel (your own or distribution)
- Make world problem compiling Xen 4.0.1 from source
- Call Queue Manager and DID Digits