← Back to team overview

ck-patchset team mailing list archive

Re: first post!

 

I was actually working on this today, and I was running into that
issue, specifically the missing function references.

I'm irked by using that fix, since it is ck's work, and who am I to
judge what is the right thing to do.  As I write this, I'm thinking
about just bumping up to quantal's kernel.  I have had great luck
running future kernels on stable versions of Ubuntu in the past.  The
only time it didn't work was the 2.x to 3.x version jump, and I'm sure
that was just due to just that.  This way, I wouldn't have to guess at
a fix, and you get the latest bfs.  The only downside is the
unsupported kernel, but you aren't supported anyway with bfs added.

For configuration, I think you just need to run debian/rules
updateconfig, and then answer the questions.  I think you can just hit
enter for them all.

For the issue with binary-ck, Im thinking of dropping the whole make a
separate flavour thing.  I mean, who cares really.

Thankyou for posting your results!  I'm glad you got it working.

Dan

On Wed, Sep 5, 2012 at 6:11 PM, Beniamin Bronisz
<beniaminbronisz@xxxxxxxxx> wrote:
> 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
>
>



-- 
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


References