Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297169 - ck-sources-2.6.32: -ck kernel patches are back
Summary: ck-sources-2.6.32: -ck kernel patches are back
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL: http://www.kernel.org/pub/linux/kerne...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 14:34 UTC by Pablo Hess
Modified: 2010-08-09 15:46 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Draft (but still non-working) ebuild (ck-sources-2.6.32_p2.ebuild,1.18 KB, text/plain)
2010-01-07 00:08 UTC, Pablo Hess
Details
sys-kernel/ck-sources-2.6.32_p2 (ck-sources-2.6.32_p2.ebuild,1015 bytes, text/plain)
2010-02-27 18:54 UTC, jon R-B
Details
sys-kernel/ck-sources-2.6.32_p2 (ck-sources-2.6.32_p2.ebuild,921 bytes, text/plain)
2010-02-27 18:56 UTC, jon R-B
Details
sys-kernel/ck-sources-2.6.33_p1 (ck-sources-2.6.33_p1.ebuild,921 bytes, text/plain)
2010-02-27 19:01 UTC, jon R-B
Details
2.6.35 with ck1 and gentoo basic patches. (ck-sources-2.6.35.ebuild,1.15 KB, text/plain)
2010-08-09 15:46 UTC, Simon Prosser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Hess 2009-12-16 14:34:53 UTC
The desktop- and interactivity-oriented kernel patches contributed by Con Kolivas are back at kernel.org. Starting on 2.6.32, -ck patches include BFS (aka the Brain Fuck Scheduler) and a few other contributions.

Reproducible: Sometimes

Steps to Reproduce:
Visit http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.32/2.6.32-ck1/patches/ and download patches individually, or get them all at once at http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.32/2.6.32-ck1/

Apply patches to vanilla-sources and get (allegedly) significantly better desktop performance.
Actual Results:  
I tried BFS with vanilla-sources-2.6.30 and it worked fine. Haven't tried the new complete patchset, though.

Expected Results:  
Should be as good as -ck was on the 2.4 kernel series.
Comment 1 Pablo Hess 2009-12-18 03:42:50 UTC
I'm using 2.6.32-ck1 on my laptop and my desktop and they actually DO feel a lot more responsive than with gentoo-sources-2.6.32.

Sorry, can't contribute an ebuild though, because ebuild building -- especially the kernel ones -- are too complicated for my skills nowadays. I tried using the proposed ebuild for ck-sources-2.6.22-ck1 (bug #184736) but didn't get too far.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-12-18 20:42:59 UTC
Oh wow, this is good news! -ck was my favorite patchset.
Comment 3 Pablo Hess 2010-01-06 01:30:27 UTC
-ck2 is out already, and it includes BFS v0.313.

Check it out at http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.32/2.6.32-ck2/
Comment 4 Pablo Hess 2010-01-07 00:08:08 UTC
Created attachment 215456 [details]
Draft (but still non-working) ebuild

This ebuild is mostly the same as http://bugs.gentoo.org/attachment.cgi?id=124696 (from bug #184736: "sys-kernel/ck-sources-2.6.22-ck1 version bump").

The problem happens when it tries to "cd ${S}", which points to:
/var/tmp/portage/sys-kernel/ck-sources-2.6.32_p2/work/linux-2.6.32_p2

However, the package creates this folder as:
/var/tmp/portage/portage/sys-kernel/ck-sources-2.6.32_p2/work/linux-2.6.32-ck2

Feel free to point to a solution.
Comment 5 Pablo Hess 2010-01-07 00:11:51 UTC
(In reply to comment #4)

> The problem happens when it tries to "cd ${S}", which points to:
> /var/tmp/portage/sys-kernel/ck-sources-2.6.32_p2/work/linux-2.6.32_p2
> 
> However, the package creates this folder as:
/var/tmp/portage/sys-kernel/ck-sources-2.6.32_p2/work/linux-2.6.32-ck2

Little mistake on this last line. This is what I meant.
Comment 6 jon R-B 2010-02-27 15:55:45 UTC
ebuild doesn't work


>>> Unpacking genpatches-2.6.32-2.base.tar.bz2 to /var/tmp/portage/sys-kernel/ck-sources-2.6.32_p2/work/patches/000001
 * Applying 1000_linux-2.6.32.1.patch (-p0+) ...                                                                 [ !! ]
 * Please attach /var/tmp/portage/sys-kernel/ck-sources-2.6.32_p2/temp/1000_linux-2.6.32.1.err to any bug you may post.
 * ERROR: sys-kernel/ck-sources-2.6.32_p2 failed:
 *   Unable to dry-run patch.
 * 
Comment 7 jon R-B 2010-02-27 18:54:10 UTC
Created attachment 221459 [details]
sys-kernel/ck-sources-2.6.32_p2

ck-sources-2.6.32_p2  ebuild
Comment 8 jon R-B 2010-02-27 18:56:40 UTC
Created attachment 221461 [details]
sys-kernel/ck-sources-2.6.32_p2 

ck-sources-2.6.32_p2  (removed some obsolete comments)
Comment 9 jon R-B 2010-02-27 19:01:23 UTC
Created attachment 221463 [details]
sys-kernel/ck-sources-2.6.33_p1

ck-sources-2.6.33_p1
Comment 10 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-17 23:35:34 UTC
I'm willing to adopt this package.
Comment 11 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-18 00:03:32 UTC
ck-sources 2.6.32 and 2.6.33 added.
Comment 12 nm (RETIRED) gentoo-dev 2010-04-18 04:29:02 UTC
You're missing something, I think. Unless this kernel really is supported by the Security team, you need to stick this in your ebuilds:

K_SECURITY_UNSUPPORTED="1"

The only officially supported kernel patchsets are gentoo-, hardened-, and ${ARCH}-sources.
Comment 13 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-18 10:45:27 UTC
Thank you Josh - added to ck-sources, I'll add this variable to tuxonice-sources too :)
Comment 14 Simon Prosser 2010-08-09 15:46:29 UTC
Created attachment 241995 [details]
2.6.35 with ck1 and gentoo basic patches.