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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com>wrote:> awesome! Thanks alot, i''ll check it out > > > On Mon, Aug 9, 2010 at 3:18 PM, George Shuklin <george.shuklin@gmail.com>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@lists.xensource.com >> > http://lists.xensource.com/xen-users >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > *Groet // Kind regards,* > *Peter den Hartog* >-- *Groet // Kind regards,* *Peter den Hartog* _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com> 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@gmail.com > > wrote: > >> awesome! Thanks alot, i''ll check it out >> >> >> On Mon, Aug 9, 2010 at 3:18 PM, George Shuklin <george.shuklin@gmail.com>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@lists.xensource.com >>> > http://lists.xensource.com/xen-users >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> 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@lists.xensource.com http://lists.xensource.com/xen-users
> 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.Why you use cat for config.gz? You do not need to run menuconfig if you have .configure file. It simple: gzip -dc /proc/config.gz >/usr/src/linux/.config cd /usr/src/linux make _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users