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] Custom kernel XEN

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Custom kernel XEN
From: Karol Chmurzyński <chmuri@xxxxxxxxx>
Date: Thu, 26 May 2011 08:40:51 +0200
Delivery-date: Wed, 25 May 2011 23:42:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=DmrE4YSbM+6io6F/zQXLyPoHhr6Lypz8r2qAhfvQPCw=; b=pNhuBNqHxKryq9oHZY5TJW6C4QkjQGPIV7Nyhme6ZgfeqtS39HwIQxGi1mBkd+ofa6 IN2CdfOqKzVwiSFXmK5njGqJQR2puOhFL2bweJqK5XLDG75297eMXQ53vferYTsUiR4e dpB33aMvnvIsF/4AZQwLld0d1d/y+zXTVue/8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UnQV1tTpQbT4IBJhaM+cSZuhKglk5LNzK0u15OKn3lpKV86PrpH4EhY7TBg56/oPLi +CmRNe0GT0vrE6GKoQD5HRnlFzTJ8QFtdAyWW3ReYXqkpIul8WHb2RWbz7W9SJZdqbAN bb6qS+oqlqBUxN5FOaTq6V/+/epUpZlRTIOi4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <537F43C6-BE49-43DB-8F45-32D92548FDA6@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/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: <BANLkTikYOzzO-kwBTNHesANx-wP95i3LRg@xxxxxxxxxxxxxx> <537F43C6-BE49-43DB-8F45-32D92548FDA6@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


2011/5/25 Christian Motschke <christian@xxxxxxxxxxx>
Install the kernel sources and debian patches with apt-get or aptitude and apply the debian patches and the XEN feature patch. And all the patches you need.
Commands to configure and compile the kernel:

cd /usr/src
tar xvjf linux-source-2.6.32.tar.bz2

cd linux-source-2.6.32
../kernel-patches/all/2.6.32/apply/debian -f xen -a x86_64
patch -p1 < /root/your-special.patch
cp /boot/config-2.6.32-5-xen-amd64 .config
make-kpkg --config menuconfig
make-kpkg --revision 1.0 --append_to_version -my-own-xen-amd64 --bzImage --arch-in-name --initrd kernel_image -j 4

After compilation is complete, install the .deb with dpkg -i.

HTH
Christian

Am 25.05.2011 um 16:54 schrieb Karol Chmurzyński:

Hi there.

For First i just wanted to say hello to all mega minds XEN experts:).
I have a little problem with XEN kernel. I have cloud computing and in this architecture we use XEN wirtualization.I wanted to have a custom debian based kernel witch fallowing modules   tun imq ipv6 qos ipip iptables (full). Its there a way to download a Kernel patched XEN on debian and then make the coustom one? Or i have to make a normal one and then patch it? Sorry for maybe noob question but i know that here are experts who could help me. Thanks in advance.

--
Pozdrawiam Karol Chmurzyński
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

Thank all the kind users  for help but hmm its could be difficult to engage the whole operation. It's there a way to patch a kernel in deb package? The best thing its to get current version form my distribution and customize it, but how the Christian sa'ys apply the "debian patches" but i don't see them in repository. On official Xen site i saw the third way to customize kernel by editing the .config file and add some extra options.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
Pozdrawiam Karol Chmurzyński
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>