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] Kernel Headers for Xen Kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Kernel Headers for Xen Kernel
From: Daniel Hulme <dh286@xxxxxxxxx>
Date: Mon, 1 Aug 2005 14:13:05 +0100
Delivery-date: Tue, 02 Aug 2005 16:11:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <cad2d8fc83fb68e46608c1252273b576@local>
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: <cad2d8fc83fb68e46608c1252273b576@local>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> Some background: I´m trying to compile a few special modules (ibmsmb, 
> for the IBM Director Agent, and zaphfc, for HFC-based ISDN cards, in 
> case anyone is interested) and their Makefiles assume the presence of 
> kernel source header files in case they are build against a 2.6
> kernel.  That is, some meaningful code in /lib/modules/`uname 
> -r`/build/include/linux...
/lib/modules/`uname -r`/build is often just a symlink to wherever you
built the kernel from and this is good enough for most uses, but if the
machine you're compiling on isn't the machine you're going to be running
the kernel from, or if you want to get rid of your kernel sources, you
really do need the kernel_headers package.

> Trying to build a kernel package using
> 
> make-kpkg --added patches=xen --config=menuconfig --arch=xen 
> --subarch=xen --revision=xenserver.0.1 kernel-image
> 
> works just fine
That's a surprise. Shouldn't it be --added-patches instead of --added
patches? I assume this is a typo in copying out the command to the mail,
but if not, it looks like you have other things to worry about :->

Note that make-kpkg has other problems with Xen:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311004

Sorry I couldn't be of more help,
Daniel

-- 
There may come a time                           The open palm of desire,
When I will lose you,  ]http://surreal.istic.org/[  The rose of Jericho,
Lose you as I lose my sight,                     Soil as soft as Summer,
Days falling backward into velvet night;     The strength to let you go.

Attachment: pgpcZ1ngLdgym.pgp
Description: PGP signature

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