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] xen headers xcp kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen headers xcp kernel
From: Peter den Hartog <peterdenhartog@xxxxxxxxx>
Date: Tue, 10 Aug 2010 22:01:06 +0200
Delivery-date: Tue, 10 Aug 2010 13:03:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=a2TJFXky4y+TtLr+K8lCfsza56Rl4RB35X4ZlF9S9rc=; b=rGlidDmH41Vb3SNm27O2mfxaMDOH/j067UcVG+hlDoGk27X0vdKZu4ZMCz9Df3DafK +OYuiqJwEvIYfiflNPqFXsrmHTQcBbqdT3rg02MftL07mjOVP76LReSTJ9LQKIM4s4Uh CaG1terw3FW2UgTbAadQvifMesG4ptIAdXD58=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Y/McCroGtuz7eOhAUReSWyRhRrO3QjsRmakPgHipEw7SDo/Pfn+I5KzthdavUbp79e EBe2CAX5YguFIKWzKhmHVY5j/c4bXMM0IAkWHSE+rxdlImKpEPnMkmu2ISZug0sD9RJz 6GEfZ4aWfrJchGnKl9CSVe0ia7i4OZaPfqcL0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik9bE1UTS5Y8x8i+pBKsS24S_YNayu9c4JAVVOF@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=TkLqNUHuwFeM6RzpGT-CRTeRZCrUZDuSPNvRF@xxxxxxxxxxxxxx> <1281359890.1098.5.camel@shuklin-selectel> <AANLkTikG-BXZVc7eLVsiVQssjvxGmg8+nxPycO6DvHpN@xxxxxxxxxxxxxx> <AANLkTik9bE1UTS5Y8x8i+pBKsS24S_YNayu9c4JAVVOF@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Fixed :) 

Did it like this ->

1) Download source ISO:
http://www.xen.org/files/XenCloud/Software/0.5/sources/source-1.iso 
2) Mount the iso unpack kernel source (src.rpm) for needed kernel prop dom0 folder.
3) Copy it to /usr/src/linux to target XCP host
4) remove citrix broken repo and enable centos repos.
5) install gcc, make, binutils, etc.
6) compile kernel sources ->
cat /proc/config.gz /usr/src/linux/.config
make menuconfig
make sure to load the .config file, then save & exit
make (now get some coffee, this will take forever :D)
now your done! you can compile any software you would like.

Thanks for helping me out

On Tue, Aug 10, 2010 at 11:40 AM, Peter den Hartog <peterdenhartog@xxxxxxxxx> wrote:
Ok i've downloaded that file and unpacked it, but i can't seem to locate the headers. 
I'll try to clarify what i'm trying to do here.
I got Dahdi drivers (for Asterisk) that i need to compile. It fails after 2 seconds with the message that they can't find my kernel headers.

The method you descripe doesn't work for me, or i'm doing something wrong!

Can you give me some more advice,
thanks!

Peter

On Mon, Aug 9, 2010 at 3:32 PM, Peter den Hartog <peterdenhartog@xxxxxxxxx> wrote:
awesome! Thanks alot, i'll check it out


On Mon, Aug 9, 2010 at 3:18 PM, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
Good day.

Just few days ago I was solve this problem with outdates e1000 drivers.

My solution:
1) Download source ISO:
http://www.xen.org/files/XenCloud/Software/0.5/sources/source-1.iso
2) Unpack kernel source (src.rpm) for needed kernel.
3) Copy it to /usr/src/linux to target XCP host
4) remove citrix broken repo and enable centos repos.
5) install gcc, make, binutils, etc.
6) compile kernel sources (modprep usually enough), configuration for
compilation avaible from /proc/config.gz.
6) use ./configure option to specify path (most of scripts will search
in /usr/src/linux).

В Пнд, 09/08/2010 в 15:08 +0200, Peter den Hartog пишет:
> hello guys,
>
>
> i was wondering where and if i can find the xen kernel headers for the
> latest stable XCP (0.5)
> i need these because i have to compile a kernel module.
>
>
> Thanks!
> Peter
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



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



--
Groet // Kind regards,
Peter den Hartog



--
Groet // Kind regards,
Peter den Hartog



--
Groet // Kind regards,
Peter den Hartog
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>