Re : Re : Which kernel may I compile ?

David TECHER
Wed, 04 Jan 2012 10:57:48 -0000

Hi Emmanuel,

Sorry not to reply to your last mail.

Jeremy maintains the branch 2.6.32 so you can download the last stable
2.6.32.50.

Do not use git if you are not used to using it.


Two options to download


1) Use Firefox, safari ....go on

http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=refs/heads/xen/next-2.6.32

and click on "snapshot" for 2.6.32.50 to dowload the tar.gz


2) Command line (I think this is the option you will use :) )


wget
"http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=snapshot;h=60b1e4f20a6cf45f07d2aef7eecd7fd58007ff1e;sf=tgz"
-O linux-2.6.32.50.tar.gz

tar xvzf linux-2.6.32.50.tar.gz

cd linux-????

Then


use config or oldconfig as you need (make oldconfig, make menuconfig as you
need....)


then build the kernel. These are the lines I am used to building the kernel -
the old way -  not tested for this kernel but should work :)


make -j4 bzImage modules
make install modules_install
mkinitramfs -o /boot/config-2.6.32.50 2.6.32.50
update-grub




________________________________
 De : Emmanuel COURCELLE <emmanuel.courcelle@toulouse.inra.fr>
À : xen-users@lists.xensource.com
Envoyé le : Mardi 3 Janvier 2012 11h01
Objet : Re: [Xen-users] Re :  Which kernel may I compile ?

Hello guys

I tried the procedure described here:
http://wiki.xen.org/wiki/Compiling_Kernel_2.6.32
but it did not work:


# git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-xen
Cloning into linux-2.6-xen...
remote: Counting objects: 2265273, done.
remote: Compressing objects: 100% (360682/360682), done.
remote: Total 2265273 (delta 1892504), reused 2255753 (delta 1883089)
Receiving objects: 100% (2265273/2265273), 448.49 MiB | 2.45 MiB/s, done.
Resolving deltas: 100% (1892504/1892504), done.

# cd linux-2.6-xen/

# git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout ''origin/xen/stable-2.6.32.x'' which
can not be resolved as commit?


I am not a git-guru, so I do not understand the message...

Thanks for your help !!!

-- Emmanuel COURCELLE                emmanuel.courcelle@toulouse.inra.fr