Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] Building Modules Against Xen Sources

To: Jayson Vantuyl <jvantuyl@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Building Modules Against Xen Sources
From: Jayson Vantuyl <jvantuyl@xxxxxxxxxxxxxx>
Date: Sun, 29 Apr 2007 06:22:35 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 29 Apr 2007 04:21:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <DD4A2D98-A6E8-4930-9126-D84899F38CC0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <DD4A2D98-A6E8-4930-9126-D84899F38CC0@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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


_______________________________________________
Xen-devel mailing list



-- 
Jayson Vantuyl
Systems Architect


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>