ck-patchset team mailing list archive
-
ck-patchset team
-
Mailing list archive
-
Message #00022
Re: first post!
Hi Daniel,
I've tried to use your guide but it didn't work for me. Maybe because I
have 64bit version of ubuntu.
I got errors during the patching. It failed to patch sched.h file, but I've
managed to do it manually.
But then after configuration and other things I couldn't start to build. It
said that I'm missing binary-ck target.
I didn't know how to overcome it, so I've tried to follow steps from:
http://blog.avirtualhome.com/compile-linux-kernel-3-2-for-ubuntu-11-10/ and
applying the patches in steps where the guide mentions about doing
modifications to code.
But it again failed during the compilation, I didn't resolve it.
It was few days ago, and now I've tried again.
I used the guide from: https://help.ubuntu.com/community/Kernel/Compile but
the Alternate Build Method: The Old-Fashioned Debian Way.
Before running performing step: "make oldconfig" I applied the patches.
After first failed build I dug about errors and I found that there were
missing some methods in linux/sched_bfs.c. Based on patch for newer kernel (
http://ck.kolivas.org/patches/3.0/3.5/3.5-ck1/patch-3.5-ck1.bz2, lines:
3709-3731) I saw that those methods are added with empty bodies.
So I've done similar but using the original linux/sched.c as reference I've
added to linux/sched_bfs.c at line 2426 this:
#ifdef CONFIG_NO_HZ
static void update_idle_cpu_load(struct rq *this_rq)
{
}
void update_cpu_load_nohz(void)
{
}
void calc_load_enter_idle(void)
{
}
void calc_load_exit_idle(void)
{
}
#endif /* CONFIG_NO_HZ */
And using "make menuconfig" I've deselected "Compile the kernel with debug
info" under "Kernel hacking" to make modules (*.ko files) much smaller
(when I didn't deselect this option I used all 7GB of free space on my
linux partition during the compilation and it failed because of this).
And then the compilation succeeded and now I'm on ck patched ubuntu kernel
and I'm happy :D.
I'm writing this so it could maybe help somebody to compile ck kernel.
Best regards,
Beniamin Bronisz.
On 28 August 2012 03:29, Daniel Hollocher <danielhollocher@xxxxxxxxx> wrote:
> First off, I really don't have time to maintain the ppa. So I am
> putting my eggs in this guide basket, so to speak.
>
> Here is my first post:
> http://chogydan.blogspot.com/2012/08/pre-draft-build-instructions.html
>
> It is still not ready yet. I still haven't figured out how to
> configure the kernel, and I want to change the suggested flavour name.
>
> Anyway, not very exciting developments, I know.
>
> Dan
>
> --
> 21
> Sensual pleasures are like salty water:
> The deeper you drink, the thirstier you become.
> Any object that you attach to,
> Right away, let it go — this is the practice of a bodhisattva
>
> --
> Mailing list: https://launchpad.net/~ck-patchset
> Post to : ck-patchset@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ck-patchset
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References