You are not logged in.

#126 2011-02-13 13:23:23

maggie
Member
Registered: 2011-02-12
Posts: 255

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Offline

#127 2011-02-14 09:19:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

New release is out and up.

13-Feb-2011 kernel26-ck 2.6.37-7

Includes ck2 patchset not ck1 patchset. From ck's blog:

"I've put up a small updated -ck version for 2.6.37. There are only 2 changes: 1. The build fix for it not compiling with CPU HOTPLUG disabled, and 2. I've dropped the patch called mm-make_swappiness_really_mean_it.patch . This second patch broke a while back and I never noticed because I had swap disabled, sorry. It works better with it disabled. Note that the ubuntu packages I recently made available include this change which I quietly snuck in, but I will make ck2 packages officially available just to avoid confusion wink If you've built your own 2.6.37-ck1 then I recommend upgrading only if you have swap enabled on your machine (which most people still do). Alternatively if you built it with CPU_HOTPLUG enabled just to make it build, then you _can_ upgrade to this version to build with it disabled but you won't notice a difference with the feature disabled - your kernel will only be slightly smaller. It might be a few nanoseconds faster.."

Last edited by graysky (2011-02-14 09:20:26)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#128 2011-02-15 11:32:00

Mammut
Member
Registered: 2009-12-11
Posts: 23

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

deleted, answer is in the 1 post, sorry.

Last edited by Mammut (2011-02-15 14:38:34)

Offline

#129 2011-02-15 13:04:06

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Mammut wrote:

Hi graysky

I have just been wondering how are your kernel26-ck 2.6.37-x related to the default Kernel26-2.6.37-x.

Do you optimize on the default Kernel and then just add ck eg. (kernel26 2.6.37-3  --> kernel26-ck 2.6.37-3) so the revision numbers are the same ?

or

Are the revision numbers independent of the default Kernel, eg. a new number for every update you do

https://bbs.archlinux.org/viewtopic.php … 61#p878461

Offline

#130 2011-02-18 10:36:30

ngsupb
Member
Registered: 2009-07-29
Posts: 57
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Hi graysky,


Thanks a lot for your work. Arch's community definitely owes you a box of beer smile

Just found ck's repo, it is a very cool idea. It is better then compiling for a few hours a new kernel.
There is a small issue for me. Could we fix the following thing:

:: binutils and binutils-multilib are in conflict. Remove binutils-multilib? [y/N] n

I have binutils from the multilib repo, but the kernel wants to replace it with the usual binutils.

I am trying to install the one for core2.

/hug

Offline

#131 2011-02-18 10:40:22

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

install binutils-multilib-2.21-4 from [multilib-testing] for now. i think it will be moved to multilib repo soon anyway.

Offline

#132 2011-02-18 12:08:26

ngsupb
Member
Registered: 2009-07-29
Posts: 57
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

thanks JokerBoy!

works fine now

Offline

#133 2011-02-18 22:20:11

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

The other thing I can do is to remove the deps for those two packages... technically, they are in stable and Archers keep their systems up-to-date... wait.  Scratch that. make no assumptions.  Upon reflection, I'll keep them in for a month or so.

In case folks are wondering, 2.6.37.1 hit [testing] but the new code doesn't play well with the ck2 patchset.  I email hador who has fixed these in the past.  Stay tuned for an upload once he works his magic!

==> Patching source with ck2 patch set
patching file arch/powerpc/platforms/cell/spufs/sched.c
patching file Documentation/scheduler/sched-BFS.txt
patching file Documentation/sysctl/kernel.txt
patching file fs/proc/base.c
patching file include/linux/init_task.h
patching file include/linux/ioprio.h
patching file include/linux/sched.h
patching file init/Kconfig
patching file init/main.c
patching file kernel/delayacct.c
patching file kernel/exit.c
patching file kernel/kthread.c
patching file kernel/posix-cpu-timers.c
patching file kernel/sched_bfs.c
patching file kernel/sched.c
Hunk #2 succeeded at 9624 (offset 18 lines).
patching file kernel/sysctl.c
Hunk #2 succeeded at 258 (offset 1 line).
Hunk #3 succeeded at 275 (offset 1 line).
Hunk #4 succeeded at 389 (offset 1 line).
Hunk #5 succeeded at 823 (offset 1 line).
patching file lib/Kconfig.debug
patching file include/linux/jiffies.h
patching file mm/vmscan.c
Hunk #7 succeeded at 2493 (offset 2 lines).
Hunk #8 succeeded at 2520 (offset 2 lines).
Hunk #9 FAILED at 2531.
Hunk #10 succeeded at 2640 (offset 3 lines).
1 out of 10 hunks FAILED -- saving rejects to file mm/vmscan.c.rej
patching file include/linux/swap.h
patching file mm/memory.c
patching file mm/swapfile.c
patching file include/linux/mmzone.h
Hunk #4 succeeded at 642 (offset -6 lines).
patching file include/linux/mm_inline.h
patching file mm/filemap.c
patching file mm/swap.c
patching file mm/page-writeback.c
patching file arch/x86/Kconfig
patching file kernel/Kconfig.hz
patching file arch/x86/kernel/cpu/proc.c
patching file arch/x86/kernel/smpboot.c
patching file include/linux/nfsd/stats.h
patching file include/net/inet_timewait_sock.h
patching file init/calibrate.c
patching file kernel/Kconfig.preempt
patching file drivers/cpufreq/cpufreq_ondemand.c
patching file Makefile
    Aborting...

Last edited by graysky (2011-02-18 22:21:31)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#134 2011-02-18 22:37:33

markbabc
Member
Registered: 2010-11-06
Posts: 157

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Sorry to be offtopic but i wasnt able to find out if my Celeron was a P4-based one.

Its an Intel Celeron M processor 900Mhz in an eeepc 900, i assume its not but im just checking.

Offline

#135 2011-02-18 22:40:00

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

try this one: http://ompldr.org/vN2d6cg/patch-2.6.37-ck2.bz2

the changes:

--- patch-2.6.37-ck2.old        2011-02-14 01:29:35.000000000 +0200
+++ patch-2.6.37-ck2    2011-02-19 00:25:49.000000000 +0200
@@ -8321,16 +8321,16 @@
        if (!populated_zone(zone))
                return;
 @@ -2495,7 +2531,9 @@
-       trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, zone_idx(zone), order);
-       if (!cpuset_zone_allowed_hardwall(zone, GFP_KERNEL))
-               return;
+       pgdat = zone->zone_pgdat;
+       if (pgdat->kswapd_max_order < order)
+               pgdat->kswapd_max_order = order;
 -      if (!waitqueue_active(&pgdat->kswapd_wait))
 +      active = waitqueue_active(&pgdat->kswapd_wait);
 +      set_kswapd_nice(pgdat->kswapd, active);
 +      if (!active)
-               return;
-       wake_up_interruptible(&pgdat->kswapd_wait);
- }
+               return;
+       if (zone_watermark_ok_safe(zone, order, low_wmark_pages(zone), 0, 0))
+               return;
 @@ -2601,20 +2639,57 @@
  }
  

also, seems like BFS needs a little "hack" to work on 2.6.37.1: https://aur.archlinux.org/packages/kern … gned.patch

Last edited by JokerBoy (2011-02-18 22:48:33)

Offline

#136 2011-02-19 20:30:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

markbabc wrote:

Sorry to be offtopic but i wasnt able to find out if my Celeron was a P4-based one.

Its an Intel Celeron M processor 900Mhz in an eeepc 900, i assume its not but im just checking.

Not sure, try inspecting the output of "cat /proc/cpuinfo" and google search the family and stepping to find out.

To all - repo populated with the new 2.6.37.1 release.  Sync and enjoy.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#137 2011-02-20 04:22:40

markbabc
Member
Registered: 2010-11-06
Posts: 157

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

Not sure, try inspecting the output of "cat /proc/cpuinfo" and google search the family and stepping to find out.

To all - repo populated with the new 2.6.37.1 release.  Sync and enjoy.

iv checked that and googled on multiple occasions for it but i dont think it is. oh well compiling isnt that bad.

btw thanks for making the ck patches available to us!

Offline

#138 2011-02-20 10:28:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

markbabc wrote:

iv checked that and googled on multiple occasions for it but i dont think it is. oh well compiling isnt that bad.

btw thanks for making the ck patches available to us!

Post the output of these two commands to pastebin and give us the pastebin links here:

$ cat /proc/cpuinfo
$ gcc -c -Q -march=native --help=target


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#139 2011-02-20 20:44:16

markbabc
Member
Registered: 2010-11-06
Posts: 157

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I threw it into one http://pastebin.com/z9M9pcZH

Offline

#140 2011-02-20 21:46:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Hmm... I'm no expert, but according to this:

Pentium M-based Mobile Celerons
Dothan-1024
A 90 nm Celeron M with half of the L2 cache of the 90 nm Dothan Pentium Ms (twice the L2 cache of the 130 nm Celeron Ms, though), and, like its predecessor, lacking SpeedStep. The first Celeron Ms that supports the XD bit was released in January 2005, in general any Celeron M released after that supports the XD bit. There is also a 512 KB low voltage version that was used in the early ASUS Eee PC models.
In Intel's "Family/Model/Stepping" scheme, Dothan Celeron Ms and Pentium Ms are family 6, model 13 and their Intel product code is 80536.

Doesn't say anything about being P4 based.  This isn't definitive though.

If you have the standard Arch kernel installed as well as a flavor of kernel26-ck you could download the p4 specific packages and try to boot into them.  If you get a kernel panic, just reboot into the Arch kernel, remove them, and install the generic ones.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#141 2011-02-26 10:02:18

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

For some reason I can't access the x86_64 packages on the repo, neither from pacman nor from the website. The pages just 404.

Offline

#142 2011-02-26 11:24:03

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Runiq wrote:

For some reason I can't access the x86_64 packages on the repo, neither from pacman nor from the website. The pages just 404.

It was working last night...

Ah, it's the ISP for sure.  I hope they'll get their shit together soon.  When I tried to connect via the back-end:

Status:    Connecting to xxx.xxx.xxx.xxx:xxx...
Status:    Connection established, waiting for welcome message...
Command:    USER ************
Response:    331 Password required for ************
Command:    PASS ************
Error:    Connection timed out
Error:    Could not connect to server
Status:    Waiting to retry...
Status:    Connecting to xxx.xxx.xxx.xxx:xxx...
Status:    Connection established, waiting for welcome message...
Response:    521 - We are currently experienced difficulties with our FTP systems.
Error:    Critical error
Error:    Could not connect to server

Last edited by graysky (2011-02-26 11:24:37)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#143 2011-02-26 15:45:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Back online now!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#144 2011-02-26 16:33:04

Hocico
Member
Registered: 2009-11-24
Posts: 8

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

pacman say : nvidia-ck-k8(i686) is broken , pls fix it

thank you, regards

Offline

#145 2011-02-26 18:06:25

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

Back online now!

Awesome, it works. Thank you!

Offline

#146 2011-02-26 22:18:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Hocico wrote:

pacman say : nvidia-ck-k8(i686) is broken , pls fix it

Try it now?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#147 2011-02-27 12:51:40

Hocico
Member
Registered: 2009-11-24
Posts: 8

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

sorry, not working


Installation fortsetzen?  [J/n] j
:: Empfange Pakete von kernel26-ck...
 nvidia-ck-k8-260.19.36-3-i686       3,4M  438,7K/s 00:00:08 [################################] 100%
Prüfe Paketintegrität...
:: Die Datei nvidia-ck-k8-260.19.36-3-i686.pkg.tar.xz ist beschädigt. Möchten Sie sie löschen? [J/n] j
Fehler: Konnte den Vorgang (Ungültiges oder beschädigtes Paket) nicht durchführen
nvidia-ck-k8-260.19.36-3-i686.pkg.tar.xz ist ungültig oder beschädigt
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
[hoci@arch ~]$ 

Offline

#148 2011-02-27 12:57:26

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Hocico wrote:

sorry, not working

Try to resync your syncdb

pacman -Syy
pacman -S nvidia-ck-k8

The repo works for my i686 box:

$ sudo pacman -S nvidia-ck-k8
resolving dependencies...
looking for inter-conflicts...
:: nvidia-ck-k8 and nvidia-ck-k7 are in conflict. Remove nvidia-ck-k7? [y/N] y

Remove (1): nvidia-ck-k7-260.19.36-3

Total Removed Size:   3.49 MB

Targets (1): nvidia-ck-k8-260.19.36-3

Total Download Size:    3.39 MB
Total Installed Size:   3.49 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from kernel26-ck...
 nvidia-ck-k8-260.19.36-3-i686          3.4M  679.1K/s 00:00:05 [##################################] 100%
checking package integrity...
(1/1) checking for file conflicts                               [##################################] 100%
(1/1) removing nvidia-ck-k7                                     [##################################] 100%
(1/1) installing nvidia-ck-k8                                   [##################################] 100%

Note that I forced the install on my old k7 just to see if the repo was working.  Please try that -Syy and report back.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#149 2011-02-27 13:24:24

Hocico
Member
Registered: 2009-11-24
Posts: 8

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

hmm ...

pacman -Syy
pacman -S nvidia-ck-k8

works now , thank you smile

but, pacman -Sy nvidia-ck-k8 was not working, why?^^

regards

Offline

#150 2011-02-27 15:22:50

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,644
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I've never used -Sy for anything... always used two discrete steps:

1) -Syy
2) -Syu


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB