From: Jayson Vantuyl Subject: Re: Building Modules Against Xen Sources Date: Sun, 29 Apr 2007 06:39:33 -0500 Message-ID: <29DDFB96-D3CB-4E90-A515-FB652FA761DE@engineyard.com> References: Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/mixed; boundary="===============0190636361==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============0190636361== Content-Type: multipart/alternative; boundary=Apple-Mail-9--176405938 --Apple-Mail-9--176405938 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Mmmmm. I build some of my stuff currently out of Gentoo. I supposed =20= I could hack the ebuild, but in general, I don't think there will =20 ever be a substitute for having just a plain kernel tree. Even if it =20= isn't used by default, would it be possible (not necessarily by =20 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" wrote: > >> I'm currently trying to build modules against the kernels created =20 >> with Xen 3.0.5rc4. >> >> This used to not be such a problem, as Xen created a kernel =20 >> directory and the built in it. Plain Jane, nothing fancy. >> >> I've noticed that somewhere since I did this (which was as recent =20 >> as 3.0.4-1) the kernel build now does things a bit different. =20 >> Apparently there is some sort of build-.... directory where things =20= >> happen now. >> >> This is a problem. I build a number of things against these =20 >> kernels, not the least of which include Coraid's AoE drivers and =20 >> Redhat's CMAN and DLM stuff. > > You should be able to point your external build at the latter and =20 > have it just work: > make =96C /path/to/build-linux-... M=3D$PWD modules > > -- Keir --=20 Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com --Apple-Mail-9--176405938 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252 Mmmmm.=A0 I build some of my = stuff currently out of Gentoo.=A0 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.=A0 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?=A0 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.=A0 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.=A0 = Apparently there is some sort of build-.... directory where things = happen now.

This is a problem.=A0 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:
=A0make =96C = /path/to/build-linux-... M=3D$PWD modules

=A0-- Keir
=

Systems = Architect

=
= --Apple-Mail-9--176405938-- --===============0190636361== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0190636361==--