You are not logged in.

#1 2007-05-09 13:08:29

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Updated kernel26ck

After the beyond kernel has been discontinued, I guess the ck kernel is the only logical alternative for most of beyond's users. Since the official kernel26ck is outdated, I have created an updated package. It's based on kernel26-2.6.21.1-8 from current. I've also recompiled a few kernel modules I use (plus a complete set of nvidia drivers). If you use another modules, just tell me and I'll rebuild them as well.

You can install packages by hand with pacman -U <url> or just add the following before any other repository in your /etc/pacman.conf:

[swiergot]
Server = http://www.juvepoland.com/~swiergot/archlinux/os/i686

Enjoy!

Last edited by swiergot (2007-05-15 12:20:39)

Offline

#2 2007-05-09 13:20:43

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Updated kernel26ck

thanks i grabbed the files from your abs instead wink

ive been trying to get a decent kernel compilation for a couple of days now but i think its useless if i dont use my own config also , which is rather a complex task for me to complete due to lack of time mostly.
the most decent documentation ive found on the config options is http://www.gentoo.org/doc/en/handbook/h … #doc_chap3
which is rather incomplete and judging by the arch kernels configs not enough & possibly outdated too.
if anyone could tell me where to find documentation on how to switch the config options depending on hardware used id appreciate it

Last edited by dolby (2007-05-09 13:23:08)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-05-09 13:30:22

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Updated kernel26ck

I stopped using such documents a long time ago. Options' help messages are sufficient in most cases, for the rest there is Google.

Anyway, I think that for desktop there is no point in building a custom kernel if the standard one works.

Offline

#4 2007-05-09 15:21:04

mcover
Member
From: Germany
Registered: 2007-01-25
Posts: 134

Re: Updated kernel26ck

kinda offtopic: kernel26ck might become obsolete/not needed as well once the vanilla kernel introduces the new kernel scheduler.

What do we do then? (Celebrate?!:rolleyes:) If I see correctly then there will be only one extra kernel (suspend2).

Offline

#5 2007-05-09 15:36:27

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Updated kernel26ck

There's a bit more stuff in ck than just a different scheduler. Although it seems swap prefetch could get finally merged too.

Last edited by lucke (2007-05-09 15:38:10)

Offline

#6 2007-05-09 20:11:44

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updated kernel26ck

Custom kernel(s) I build for my boxes bring the pkg.tar.gz down to 8/9 MB, coming from 40 MB i think that is pretty nice smile.

Once you get a decent pkgbuild going, and put in some custom patches, you can as well spend the time on throwing out what you don't need smile.

New kernel is just a matter of making sure patches apply cleanly, diffing the configs, and recompile smile.

As for ck: I don't think ck will be deprecated once CFS gets merged into the vanilla kernel. In fact, It's been around not long enough I guess to make CK completely obsolete. I'm sure Con has more tricks up on his sleeve wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2007-05-09 20:32:11

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Updated kernel26ck

B wrote:

Custom kernel(s) I build for my boxes bring the pkg.tar.gz down to 8/9 MB, coming from 40 MB i think that is pretty nice smile.

Once you get a decent pkgbuild going, and put in some custom patches, you can as well spend the time on throwing out what you don't need smile.

New kernel is just a matter of making sure patches apply cleanly, diffing the configs, and recompile smile.

True but what is 40 MB nowadays smile The important thing is that kernel itself isn't big.

Offline

#8 2007-05-09 20:59:16

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: Updated kernel26ck

Ck patchset has also very nice option which enable lowmem for 1GB+ of RAM.

Offline

#9 2007-05-10 09:54:53

cpu
Member
Registered: 2007-02-22
Posts: 68

Re: Updated kernel26ck

I have a question - where's new scheduler ? (SD) Or SD == deadline for now ?

Offline

#10 2007-05-10 09:56:12

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Updated kernel26ck

Mefju wrote:

Ck patchset has also very nice option which enable lowmem for 1GB+ of RAM.

That very nice option is in vanilla kernel from many months: just a bit hidden in make menuconfig. In General Setup, select "Configure standard kernel features". Now go to processor type and features, turn off High Memory Support and choose "(3G/1G user/kernel split (for full 1G low memory)" in Memory Split.


Mortuus in anima, curam gero cutis

Offline

#11 2007-05-10 15:45:14

cpu
Member
Registered: 2007-02-22
Posts: 68

Re: Updated kernel26ck

Can someone explain me issue with new SD sched ? How can I enable SD ?

Offline

#12 2007-05-10 16:05:45

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Updated kernel26ck

As I have just written you in e-mail, it looks like it's there as modified deadline.

Offline

#13 2007-05-10 16:23:08

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updated kernel26ck

cpu wrote:

Can someone explain me issue with new SD sched ? How can I enable SD ?

SD replaces the default scheduler wink. There's no way back once you patched the kernel tongue.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2007-05-10 16:34:46

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Updated kernel26ck

B wrote:

SD replaces the default scheduler wink. There's no way back once you patched the kernel tongue.

By "default" you mean the scheduler enabled by default (which is CFQ) or the default deadline scheduler?

Offline

#15 2007-05-10 16:43:41

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updated kernel26ck

There is a difference between a CPU and an I/O scheduler. What Con's patches do, amongst others, is replace the CPU scheduler smile. Your question about deathline is referring to the I/O scheduler.

To be honest: I confused them too at first wink. The whole naming thing is confusing:
- CPU - I/O scheduler
- staircase deadline (CPU) / deadline (I/O)
- CFS (CPU) / CFQ (I/O)

When I started applying the ck patches, I switched from CFQ to deadline as the I/O scheduler... Just because I confused I/O and CPU schedulers too roll


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#16 2007-05-10 17:05:24

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Updated kernel26ck

That really explains a lot! Fortunatelly until today I actually always thought it was enabled by default (seeing how my system performed comparing to the standard kernel) and started having doubts only hours ago when found /sys/block/*/queue/scheduler after cpu had asked how to enable SD (and I assumed I was wrong thinking it's about scheduling tasks). Now everything is clear, thanks!

Offline

#17 2007-05-10 18:22:19

cpu
Member
Registered: 2007-02-22
Posts: 68

Re: Updated kernel26ck

So SD is enabled by default in 2.6.21 for CPU and usually CFQ is enabled as default I/O sched...

Offline

#18 2007-05-11 23:36:38

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Updated kernel26ck

Thanks alot smile

Offline

#19 2007-05-12 02:31:12

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Updated kernel26ck

I noticed your PKGBUILD for the kernel itself is ready for both 32 and 64 bit. Has anyone tested the 64 bit build yet?

Offline

#20 2007-05-12 07:04:42

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updated kernel26ck

cpu wrote:

So SD is enabled by default in 2.6.21 for CPU and usually CFQ is enabled as default I/O sched...

The CK patches always replace the CPU scheduler.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#21 2007-05-12 10:31:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Updated kernel26ck

Swap prefetch fix:

http://bhhdoa.org.au/pipermail/ck/2007-May/007706.html

Last edited by lucke (2007-05-12 10:32:06)

Offline

#22 2007-05-12 18:01:42

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Updated kernel26ck

skottish wrote:

I noticed your PKGBUILD for the kernel itself is ready for both 32 and 64 bit.

Actually I have added x86-64 because both kernel26 and kernel26 from official repos have it so I guess it's safe to assume 2.6.21-ck1 also works on x86-64.

lucke wrote:

Swap prefetch fix:

I'm on it. However due to problems with my Internet connection I don't know if I'll be able to upload it as soon as the building is finished. Keep your fingers crossed.

Offline

#23 2007-05-13 12:25:43

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Updated kernel26ck

I'm not 100% sure but I think this kernel is missing support for the 96xx drivers for nvidia.

Offline

#24 2007-05-13 12:40:36

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updated kernel26ck

Izuil wrote:

I'm not 100% sure but I think this kernel is missing support for the 96xx drivers for nvidia.

In what sense?

You should compile nVidia's drivers against this kernel... I don't think the maintainer is gonna provide all add-on drivers you can think of wink.

Last edited by B (2007-05-13 12:44:02)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#25 2007-05-13 17:59:47

pkraw
Member
From: Poland
Registered: 2007-05-07
Posts: 35

Re: Updated kernel26ck

Izuil wrote:

I'm not 100% sure but I think this kernel is missing support for the 96xx drivers for nvidia.

Now, I am 100% sure it doesn't.

piotr@arch ~ pacman -Qs kernel26ck
local/kernel26ck 2.6.21.1.ck1-2
    The Linux Kernel and modules with Con Kolivas' high performance patchset
local/kqemu-ck 1.3.0pre11-3
    QEMU Accelerator Module, which adds virtualization capabilities to qemu. For kernel26ck.
local/nvidia-96xx-ck 1.0.9631-3
    NVIDIA legacy drivers for kernel26ck, 96xx branch
piotr@arch ~

Offline

Board footer

Powered by FluxBB