WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: Kernel Source version

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: Kernel Source version
From: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Tue, 8 Nov 2005 12:16:07 +0100
Delivery-date: Tue, 08 Nov 2005 11:16:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <437083A2.3090604@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <437012F2.9030102@xxxxxxxxx> <437083A2.3090604@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.1
On Tuesday 08 November 2005 11:53, Charles Duffy wrote:
> Julius wrote:
> > I am trying to compile a driver once I have booted into Xen. The version
> > of the kernel is 2.6.11.12-xen0. Do I just need the standard Linux
> > kernel with version 2.6.11.12 or do I need a different one?
>
> You should use the Linux source tree which you built your copy of
> Xenolinux from (out of your xen-unstable.hg tree), and compile the
> driver with ARCH=xen.

You also should put a line "ARCH=xen" on top of the kernels toplevel Makefile, 
most 3rd party drivers will then automatically be compiled with the right 
arch, and it can save you lots of trouble later on (the kernel source dir is 
usually foobar'ed if you forget to provide ARCH=xen even once)

/Ernst

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>