You are not logged in.

#226 2011-05-27 19:52:01

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

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

@dr-kart - Not sure which CPU that maps to but we can figure it out easy enough.

1) Post the output of

$ cat /proc/cpuinfo

2) Post the output of

$ gcc -c -Q -march=native --help=target

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

Offline

#227 2011-05-27 20:19:22

dr-kart
Member
Registered: 2011-01-09
Posts: 50

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

vendor_id    : GenuineIntel
cpu family    : 6
model        : 15
model name    : Intel(R) Celeron(R) M CPU        520  @ 1.60GHz
stepping    : 6
cpu MHz        : 1599.996
cache size    : 1024 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe lm constant_tsc up arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm dts
bogomips    : 3193.74
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
-m128bit-long-double                [off]
  -m32                                [on]
  -m3dnow                             [off]
  -m3dnowa                            [off]
  -m64                                [off]
  -m80387                             [on]
  -m8bit-idiv                         [off]
  -m96bit-long-double                 [on]
  -mabi=                              
  -mabm                               [off]
  -maccumulate-outgoing-args          [off]
  -maes                               [off]
  -malign-double                      [off]
  -malign-functions=                  
  -malign-jumps=                      
  -malign-loops=                      
  -malign-stringops                   [on]
  -mandroid                           [off]
  -march=                             core2
  -masm=                              
  -mavx                               [off]
  -mbionic                            [off]
  -mbmi                               [off]
  -mbranch-cost=                      
  -mcld                               [off]
  -mcmodel=                           
  -mcpu=                              
  -mcrc32                             [off]
  -mcx16                              [on]
  -mdispatch-scheduler                [off]
  -mf16c                              [off]
  -mfancy-math-387                    [on]
  -mfentry                            [on]
  -mfma                               [off]
  -mfma4                              [off]
  -mforce-drap                        [off]
  -mfp-ret-in-387                     [on]
  -mfpmath=                           
  -mfsgsbase                          [off]
  -mfused-madd                        
  -mglibc                             [on]
  -mhard-float                        [on]
  -mieee-fp                           [on]
  -mincoming-stack-boundary=          
  -minline-all-stringops              [off]
  -minline-stringops-dynamically     [off]
  -mintel-syntax                      
  -mlarge-data-threshold=             
  -mlwp                               [off]
  -mmmx                               [off]
  -mmovbe                             [off]
  -mms-bitfields                      [off]
  -mno-align-stringops                [off]
  -mno-fancy-math-387                 [off]
  -mno-push-args                      [off]
  -mno-red-zone                       [off]
  -mno-sse4                           [on]
  -momit-leaf-frame-pointer           [off]
  -mpc                                
  -mpclmul                            [off]
  -mpopcnt                            [off]
  -mprefer-avx128                     [off]
  -mpreferred-stack-boundary=         
  -mpush-args                         [on]
  -mrdrnd                             [off]
  -mrecip                             [off]
  -mred-zone                          [on]
  -mregparm=                          
  -mrtd                               [off]
  -msahf                              [on]
  -msoft-float                        [off]
  -msse                               [off]
  -msse2                              [off]
  -msse2avx                           [off]
  -msse3                              [off]
  -msse4                              [off]
  -msse4.1                            [off]
  -msse4.2                            [off]
  -msse4a                             [off]
  -msse5                              
  -msseregparm                        [off]
  -mssse3                             [off]
  -mstack-arg-probe                   [off]
  -mstackrealign                      [on]
  -mstringop-strategy=                
  -mtbm                               [off]
  -mtls-dialect=                      
  -mtls-direct-seg-refs               [on]
  -mtune=                             core2
  -muclibc                            [off]
  -mveclibabi=                        
  -mvect8-ret-in-mem                  [off]
  -mvzeroupper                        [off]
  -mxop                               [off]

Offline

#228 2011-05-27 20:24:39

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

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

@dr-kart - CPU Family 6 is definitely Core2 and your -march= and -mtune= both point to that as well.  Therefore you should be able to safely use the core2 optimized packages for this processor.

Note that I am in the process or building the 2.6.38.7-1 version of kernel26-ck for all arches and CPU flavors now.  If you install from the repo you will get the "unstable" 2.6.39-1 version.  The build just started to it'll take a good 2-3 h before all 11 kernels, nvidia-ck's, and broadcom ck's are built and uploaded.


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

Offline

#229 2011-05-28 10:30:09

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

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

Thanks for downgrading to 2.6.38 version I think its a bit more mature, plus I have some weird modules I dont like to compile again.


Proud Arch Linux user since 2007.

Offline

#230 2011-05-28 10:35:28

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

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

@twilight - you're welcome.  Guess I should have posted here as well.  I put it on the AUR page and in the changelog on the wiki.

graysky wrote:

Retro-bump to 2.6.38.7-1

Following a great discussion that took place in the AUR, and after considerable thought, I felt that providing the community with a stable kernel was the most important factor and have downgraded the PKG to the 2.6.38 series but patched the PKG to uses the latest and greatest version of BFS which is v0.404. In CK's own words, "It [BFS 404] should be perfectly fine. Only 2.6.39 is unstable, not BFS 404."  The repo is now populated with 2.6.38.7-1 and the matching nvidia-ck and broadcom-wl-ck packages as well.  I build the kernel PKG with the epoch=1 setting in the PKGBUILD so pacman should automatically grab it even though it is numerically less than 2.6.39 with no fuss.

http://ck-hack.blogspot.com/2011/05/263 … table.html

As soon as this flush plugging bullshit gets sorted out, I will of course update the PKG.

Note: you may still build 2.6.39-1 if you wish. Find the needed files on the AUR.git for this package: http://pkgbuild.com/git/aur.git/log/kernel26-ck

Last edited by graysky (2011-05-28 10:37:44)


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

Offline

#231 2011-05-28 12:33:17

Lothium
Member
Registered: 2009-10-10
Posts: 192

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

Thank you very much! Downgrade worked fine for me!

Offline

#232 2011-05-29 01:33:44

hume's doona
Member
Registered: 2009-12-11
Posts: 206

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

Is there any chance of getting architecture specific lts versions? I'm after a core2 version and an AMD k10 version. I currently compile from AUR, but just came across this.

Also with the broadcom-wl & nvidia modules [for core2]

Thanks for putting in the hard work on this!

Last edited by hume's doona (2011-05-29 01:34:38)

Offline

#233 2011-05-29 11:23:20

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

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

@hd - sorry dude, space limitations on the server cause me to be frugal about the number of packages I can host at a given time and I'm nearing the limit with the current set of offerings.  I would love to add an archive for example that would contain the last 3 or 4 versions of all the packages as well as to add cpu-specific archs for the lts package family.


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

Offline

#234 2011-05-31 07:27:43

dgr48
Member
Registered: 2009-04-13
Posts: 15

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

Hi,

The nvidia-ck-core2 package is corrupted:

mario@O2:~$ yaourt -S kernel26-ck-core2 kernel26-ck-core2-headers nvidia-ck-core2
resolving dependencies...
looking for inter-conflicts...

Targets (3): kernel26-ck-core2-1:2.6.38.7-1
             kernel26-ck-core2-headers-1:2.6.38.7-1
             nvidia-ck-core2-270.41.19-2

Total Download Size:    41.98 MB
Total Installed Size:   84.51 MB

Proceed with installation? [Y/n]
:: Retrieving packages from kernel26-ck...
kernel26-ck-core2-...    34.2M  293.7K/s 00:01:59 [######################] 100%
kernel26-ck-core2-...     4.2M  358.6K/s 00:00:12 [######################] 100%
nvidia-ck-core2-27...     3.6M  457.6K/s 00:00:08 [######################] 100%
:: File nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n]
(3/3) checking package integrity                   [######################] 100%
error: failed to commit transaction (invalid or corrupted package)
nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.

Thanks,
./mario

Offline

#235 2011-05-31 07:45:56

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

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

@dgr48 - I think you found a bug in pacman 3.5.2?  The md5sum for the file is identical in all three places: file on my local disk, inside kernel26-ck.db.tar.gz, and in the downloaded file.

Short answer is don't delete it and do this:

$ sudo pacman -U  /var/cache/pacman/pkg/nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz

EDIT: I opened a flyspray on this.  Thanks for pointing it out!

On my local disk:

$ md5sum nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz
da24306220bda05db5a2ca2fe1d9fc6d  nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz

In kernel26-ck.db.tar.gz for i686:

%MD5SUM%
da24306220bda05db5a2ca2fe1d9fc6d

When I download it from the repo:

$ sudo pacman -S nvidia-ck-core2
warning: nvidia-ck-core2-270.41.19-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): nvidia-ck-core2-270.41.19-2

Total Download Size:    3.60 MB
Total Installed Size:   3.71 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from kernel26-ck...
 nvidia-ck-core2-270.41.19-2-i686                3.6M  835.1K/s 00:00:04 [########################################] 100%
:: File nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n---------------]   0%
(1/1) checking package integrity                                         [########################################] 100%
error: failed to commit transaction (invalid or corrupted package)
nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.

But the md5sum of the freshly downloaded package IS correct in cache:

$ md5sum /var/cache/pacman/pkg/nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz 
da24306220bda05db5a2ca2fe1d9fc6d  /var/cache/pacman/pkg/nvidia-ck-core2-270.41.19-2-i686.pkg.tar.xz

Last edited by graysky (2011-05-31 07:56:07)


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

Offline

#236 2011-05-31 08:44:21

dgr48
Member
Registered: 2009-04-13
Posts: 15

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

Hi graysky,

I've found something missing from the wiki page (https://wiki.archlinux.org/index.php/Kernel26-ck).
On   

does not have the configuration of the mkinitcpio.conf/modules, so the append "elevator=bfq" can work.

Regards,

./mario

Offline

#237 2011-05-31 20:39:50

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

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

@dgr - go ahead and update the page please.  I actually don't use bfq so I can't comment.


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

Offline

#238 2011-05-31 20:54:43

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

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

@drg48: Thanks for bringing it to my attention, I ll tell you guys once I boot back to ck kernel if my problem is solved.

@graysky: Page updated already by me! wink


Proud Arch Linux user since 2007.

Offline

#239 2011-05-31 21:15:04

dgr48
Member
Registered: 2009-04-13
Posts: 15

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

Hi,

@graysky: already installed from the repo, and it's all good.

@twilight0: Thank you.

Congrats for all the work.

Kind regards,

./mario

Offline

#240 2011-06-01 00:18:49

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

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

@dgr48 - can you remove the package and try to install it from the repo again?  It now works for me?!  If it doesn't work for you, please post to the flyspray ticket https://bugs.archlinux.org/task/24518 following Dan's step.

Thanks for helping to troubleshoot!


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

Offline

#241 2011-06-01 09:16:31

dgr48
Member
Registered: 2009-04-13
Posts: 15

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

@graysky: as I stated before, its all ok now, installed from the repo.

One suggestion, in the package of the kernel, couldn't be added the file /etc/mkinitcpio-ck.conf (for the CK kernels) so we can have one mkinit configuration different of the kernel26 (Arch Kernels).

/etc/mkinitcpio.d/kernel26-ck.preset :
ALL_config="/etc/mkinitcpio-ck.conf"

/etc/mkinitcpio-ck.conf:
MODULES="bfq-iosched"


Kind regards,

./mario

Offline

#242 2011-06-01 19:05:48

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

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

@dgr48 - I could make that edit but I'm afraid that it would cause more trouble than it's worth.  I think I'll keep it as KISS as possible since it is after all an Arch package smile


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

Offline

#243 2011-06-01 20:17:24

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

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

Plus, we who don't use it might not want unnecessary modules cluttering our initrd. Not that I think it'd make any significant difference, but still.

Offline

#244 2011-06-02 07:17:11

Shanto
Member
From: Dhaka, Bangladesh
Registered: 2011-06-02
Posts: 11

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

@graysky Great job so far - I (actually represent a bunch of machines here) have been a long-time user of your repo with almost no issues.

Can we hope to see catalyst-ck package (https://aur.archlinux.org/packages.php?ID=29111) on your repo? It would make kernel updates perfectly pain-free. Hopefully this kmod only package won't take much space. smile

(I know, I know, Catalyst is bad, just in case. It's no good for GNOME3. But still, it keeps those laptops cool - often a basic requirement for mobile computing.)


“Never regard study as a duty, but as the enviable opportunity to learn to know the liberating influence of beauty in the realm of the spirit for your own personal joy and to the profit of the community to which your later work belongs.”

Offline

#245 2011-06-02 19:54:26

ilusi0n
Member
Registered: 2010-06-09
Posts: 187

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

Shanto wrote:

@graysky Great job so far - I (actually represent a bunch of machines here) have been a long-time user of your repo with almost no issues.

Can we hope to see catalyst-ck package (https://aur.archlinux.org/packages.php?ID=29111) on your repo? It would make kernel updates perfectly pain-free. Hopefully this kmod only package won't take much space. smile

(I know, I know, Catalyst is bad, just in case. It's no good for GNOME3. But still, it keeps those laptops cool - often a basic requirement for mobile computing.)

I don't think that's necessary. There is catalyst versions that you can compile the fglrx for the various kernels you want to use. So is completely pain-free. At least  I always recompiled my fglrx module without any problem.

Offline

#246 2011-06-02 19:56:58

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

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

@shanto - I would but I only have nvidia machines here so I wouldn't be able to properly test the packages.


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

Offline

#247 2011-06-06 03:55:22

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

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

EDIT:  Back up with 2.6.39-10 online!

Last edited by graysky (2011-06-06 05:51:28)


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

Offline

#248 2011-06-07 12:51:25

franz1789
Member
Registered: 2008-04-22
Posts: 56

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

excuse me but broadcom-wl-ck-core2 is still compiled with 2.6.38-ck kernel..

Offline

#249 2011-06-07 20:07:15

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

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

@franz - are you sure?  This is from the .PKGINFO from that package:

# Generated by makepkg 3.5.2
# using fakeroot version 1.15.1
# Sun Jun  5 22:54:23 UTC 2011
pkgname = broadcom-wl-ck-core2
pkgver = 5.100.82.38-4
pkgdesc = Broadcom 802.11abgn hybrid Linux networking device driver for kernel26-ck. Intel Core2/Newer Xeon and Intel Core i3/i5/i7 optimized.
url = http://www.broadcom.com/support/802.11/linux_sta.php
builddate = 1307314463
packager = graysky <graysky AT archlinux dot us>
size = 3170304
arch = x86_64
license = custom
depend = kernel26-ck>=2.6.39
depend = kernel26-ck<2.6.40
conflict = broadcom-wl-ck
conflict = broadcom-wl-ck-atom
conflict = broadcom-wl-ck-k7
conflict = broadcom-wl-ck-k8
conflict = broadcom-wl-ck-p4
conflict = broadcom-wl-ck-pentm
makepkgopt = strip
makepkgopt = docs
makepkgopt = libtool
makepkgopt = emptydirs
makepkgopt = zipman
makepkgopt = purge

Which PKG version does your machine indicate as current?  It should be the -4 release.

$ pacman -Sl kernel26-ck | grep broadcom

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

Offline

#250 2011-06-08 08:13:11

franz1789
Member
Registered: 2008-04-22
Posts: 56

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

I got this error when installing broadcom-wl-ck-core2:

WARNING: Couldn't open directory /lib/modules/2.6.38-ck: No such file or directory FATAL: Could not open /lib/modules/2.6.38-ck/modules.dep.temp for writing: No such file or directory 

and here's the output you asked for:

$ pacman -Sl kernel26-ck | grep broadcom
kernel26-ck broadcom-wl-ck 5.100.82.38-4
kernel26-ck broadcom-wl-ck-atom 5.100.82.38-4
kernel26-ck broadcom-wl-ck-core2 5.100.82.38-4 [installato]
kernel26-ck broadcom-wl-ck-k8 5.100.82.38-4

Offline

Board footer

Powered by FluxBB