You are not logged in.

#3676 2020-12-17 18:05:00

jooch
Member
Registered: 2010-03-09
Posts: 49

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

V1del wrote:

@jooch

graysky wrote:

When 5.9.2 is released, I plan to drop the older subarchs from my builds.  You can always build whatever on your own.

The following are what will get built and pushed out to [repo-ck]:

buildem=( broadwell generic haswell ivybridge nehalem sandybridge skylake zen zen2 )

Even if that wasn't the case where and why and how are you still trying to pull a 5.7 version rather than 5.9 ? Looks like you aren't syncing your repo.

No clue how that happened, i switched to this mirror: https://mirror.lesviallon.fr/repo-ck/os/x86_64/
and now it works smile

In any case really sucks that the other architectures were dropped. I could understand architectures 10+ years old to be dropped but piledriver would have been nice to have around.
The generic package doesn't do it for me, any way for users to build the optimized kernel themselves?

Offline

#3677 2020-12-17 19:34:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,218

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

https://aur.archlinux.org/packages/linux-ck/ note the PKGBUILD has some options in that direction to set.

Online

#3678 2020-12-19 00:10:57

cowlick
Banned
Registered: 2013-10-13
Posts: 73

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

graysky wrote:

When 5.9.2 is released, I plan to drop the older subarchs from my builds.  You can always build whatever on your own.

How?


DELL Inspiron 14-3452, 32GB emmc, 4 GB RAM

Offline

#3679 2020-12-19 00:33:28

loqs
Member
Registered: 2014-03-06
Posts: 18,047

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

cowlick wrote:
graysky wrote:

When 5.9.2 is released, I plan to drop the older subarchs from my builds.  You can always build whatever on your own.

How?

Did you follow the provided link in post previous to yours by V1del and examine the PKGBUILD?

Offline

#3680 2020-12-19 01:28:44

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

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

I commented these option as mentioned by others.  Just edit the PKGBUILD.  Probably the fastest way is for you to define the _subarch= with the corresponding number of the subarch you want to build.


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

Offline

#3681 2020-12-19 03:32:23

jooch
Member
Registered: 2010-03-09
Posts: 49

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

My complements on the linux-ck package, it works well. But wow, even on my souped up piledriver (760k @4.8ghz), it takes one hour to build, might even become my new stability test smile
In any case, localmodconfig/modprobed-db is definitely the way to go for me in the long run. Just one question, is there any way to whitelist modules or do i just put them manually in '.config/modprobed.db' ?

Offline

#3682 2020-12-19 10:57:05

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

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

That is entirely the purpose of modprobed-db.  Also know that if you need a new module one day, you will need to boot the standard Arch kernel, `modprobed s` to capture it, then rebuild.  I also boot the standard Arch kernel on major bumps to capture any new ones offered by the release/distro defaults.

For example, I booted 5.10.1-arch1-1:

% modprobed-db s
Modprobed-db v2.44

135 modules currently loaded per /proc/modules
364 modules are in /home/facade/.config/modprobed.db

New module(s) detected:
ac97_bus
bpf_preload
snd_compress
snd_pcm_dmaengine
snd_soc_core
soundwire_bus
soundwire_cadence
soundwire_generic_allocation
soundwire_intel

373 modules are now saved in /home/facade/.config/modprobed.db

Last edited by graysky (2020-12-19 10:57:26)


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

Offline

#3683 2020-12-21 23:09:24

cowlick
Banned
Registered: 2013-10-13
Posts: 73

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

loqs wrote:
cowlick wrote:
graysky wrote:

When 5.9.2 is released, I plan to drop the older subarchs from my builds.  You can always build whatever on your own.

How?

Did you follow the provided link in post previous to yours by V1del and examine the PKGBUILD?

Followed the link, Useless.


DELL Inspiron 14-3452, 32GB emmc, 4 GB RAM

Offline

#3684 2020-12-21 23:32:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

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

How was it useless?  Do you know what a PKGBUILD is?  Do you know what comments are?  Can you read?  Where exactly does the problem lie?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3685 2020-12-23 19:07:22

GSMiller
Member
Registered: 2020-11-23
Posts: 75

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

cowlink, please provide the information requested.


A dog is a man's best friend.

Offline

#3686 2020-12-25 04:03:04

jooch
Member
Registered: 2010-03-09
Posts: 49

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

graysky wrote:

That is entirely the purpose of modprobed-db.  Also know that if you need a new module one day, you will need to boot the standard Arch kernel, `modprobed s` to capture it, then rebuild.  I also boot the standard Arch kernel on major bumps to capture any new ones offered by the release/distro defaults.

Ideally i would want also want a whitelist and blacklist, for example build all USB modules but skip any wifi module. I'll try to figure out if i can make a bash script for this.
Meanwhile, since i have still quite a few core2 systems i decided to put the latest kernel patched for core2 on my github:
https://github.com/j00ch/ck-kernels

I have tested it on my own systems, so far no problems. Next week I'll add piledriver, it would be nice though to have an unofficial repository for this roll

Offline

#3687 2020-12-25 09:13: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

jooch wrote:

Ideally i would want also want a whitelist and blacklist, for example build all USB modules but skip any wifi module. I'll try to figure out if i can make a bash script for this.

The whitelist is the db.  You are welcome to fork the code and add whatever you wish.

jooch wrote:

I have tested it on my own systems, so far no problems. Next week I'll add piledriver, it would be nice though to have an unofficial repository for this roll

You do realize that [repo-ck] is an unofficial repo, right?  I build these packages and maintain [repo-ck] for the community and have been doing so free of charge since 2011.  No one pays me for my time to do it, no one pay for the electricity I burn to do it, no one pays for my hosting service to make them available.  Sorry if me dropping some older and less popular microarchs to minimize the build time on my personal hardware inconveniences you.


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

Offline

#3688 2020-12-25 23:30:36

jooch
Member
Registered: 2010-03-09
Posts: 49

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

You do realize that [repo-ck] is an unofficial repo, right?  I build these packages and maintain [repo-ck] for the community and have been doing so free of charge since 2011.  No one pays me for my time to do it, no one pay for the electricity I burn to do it, no one pays for my hosting service to make them available.  Sorry if me dropping some older and less popular microarchs to minimize the build time on my personal hardware inconveniences you.

Exactly! we are all (well most of us anyways) here for the same cause. Asking ourselves why we spend so much time on something for which the reward is unknown. I completely understand that sacrifices have to be made somewhere. What i meant with my last post, can i perhaps help out with the kernel builds?
I can build/test k10, piledriver and core2.

Offline

#3689 2020-12-30 08:57:05

jooch
Member
Registered: 2010-03-09
Posts: 49

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

After some testing i found that building kernels separately gets old quickly, so i thought I'd whip up a quick script to aid in that inconvenience...
Well, that quickly escalated: https://aur.archlinux.org/packages/linux-ck-autobuild/ smile

If anyone has some ideas or suggestions, let me know.
For example: Maybe expand the autobuild with an automated local repository?

Offline

#3690 2021-01-04 08:33:53

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 874

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

@graysky: with linux-ck-skylake 5.10.4-1 I'm suffering a variant of this issue, which is not present in linux 5.10.4.arch2-1. If I correctly read the bug report then the fix should be this patch that is included in arch2. Could you please include it in the next rebuild of linux-ck? Thanks.

Offline

#3691 2021-01-04 11:45:29

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

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

@snack - Already included and pushed to the AUR, I just have not yet rebuilt packages for [repo-ck].  Testing another fix before I do so.  You can build it from there if you want it now.

Last edited by graysky (2021-01-04 11:46:03)


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

Offline

#3692 2021-01-06 21:09:34

vinibali
Member
Registered: 2015-06-22
Posts: 7

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

graysky wrote:

You do realize that [repo-ck] is an unofficial repo, right?  I build these packages and maintain [repo-ck] for the community and have been doing so free of charge since 2011.  No one pays me for my time to do it, no one pay for the electricity I burn to do it, no one pays for my hosting service to make them available.  Sorry if me dropping some older and less popular microarchs to minimize the build time on my personal hardware inconveniences you.

I've been using an older machine with Athlon II X4 processor. For some reason I wanted to have a try on the architecture optimized package, but the latest package I found was based on the Linux 5.7. After that I came here to check what happened with them and I saw the bugs and you decision.
I'm personally really thankful for you, because of you have been building the packages for years. I just wanted to mention even though the older processors are rare, those need much more time compile compared to a newer machine, even with modprobed-db. I'm just curious, do you have any stats for number of downloads for each architecture?

Offline

#3693 2021-01-15 02:18:27

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

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

on 2011-01-14 5:37 pm graysky wrote:

Given the popularity of the linux-ck package, I have followed nous' lead and created an unofficial repo containing precompiled binary versions of the linux-ck and related packages for community use.

Wow and holy shit.  Just realized that the repo broke the one decade mark today.  Time flies...

Last edited by graysky (2021-01-15 02:24:20)


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

Offline

#3694 2021-01-29 07:16:38

lano1106
Member
From: Canada, Montreal
Registered: 2012-11-22
Posts: 95
Website

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

Hi there,

I have started to recompile my own kernel and I have borrowed the patch allowing to optimize compilation of the kernel for specific cpus used by linux-ck package and I have noticed that march switch was set and not mtune (maybe except for Atom).

Why is that?

is it because letting the compiler be artistic with specific instructions set may mess with some low-level kernel code?

Last edited by lano1106 (2021-01-29 17:11:42)

Offline

#3695 2021-01-29 10:52:03

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

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

Not sure what you mean.
Upstream: https://github.com/torvalds/linux/blob/ … #L114-L115
My patch: https://github.com/graysky2/kernel_gcc_ … patch#L538

Last edited by graysky (2021-01-29 12:46:26)


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

Offline

#3696 2021-01-29 11:54:10

progandy
Member
Registered: 2012-05-17
Posts: 5,263

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

lano1106 wrote:

....I have noticed that march switch was and not mtune (maybe except for Atom).

https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html wrote:

-march=cpu-type

    Generate instructions for the machine type cpu-type. In contrast to -mtune=cpu-type, which merely tunes the generated code for the specified cpu-type, -march=cpu-type allows GCC to generate code that may not run at all on processors other than the one indicated. Specifying -march=cpu-type implies -mtune=cpu-type, except where noted otherwise.

Last edited by progandy (2021-01-29 11:54:45)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3697 2021-02-05 06:13:41

digital-_-mystik
Member
Registered: 2019-04-02
Posts: 17

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

Hello,


If anyone is interested, I am building a few of the older architectures not found on repo-ck, using Open Build Service (core2, k10, and excavator).

Link to the project page with PKGBUILDs/sources/logs: https://build.opensuse.org/project/show … mystik:AUR

If you would like to try them out, just add this to pacman.conf:

[home_digital_mystik_AUR_Arch]
Server = https://download.opensuse.org/repositories/home:/digital_mystik:/AUR/Arch/x86_64/ 

OBS signs the packages with a PGP key that is generated automatically upon opening an account. Although pacman might complain about the signatures, it will still install if the key is imported and locally signed (seems they just fixed this recently for Arch-based packages since signing wasn't operational before, so at least there is some validation now). You can also skip the signature check of course in the conf as well. Unfortunately OBS cannot validate PGP keys within the PKGBUILDs at build-time because they are isolated offline for security purposes, but the b2sums match and the sources are pulled from the respective sites using the _service file, and the patches are uploaded directly.

Link to key (don't think it shows up on a keyserver but I could be wrong, but one could import the public key file): https://build.opensuse.org/project/keys … mystik:AUR


Figured there might be a few people out there that will find this useful.. please let me know of any mistakes I have missed.

Offline

#3698 2021-02-05 08:38:06

glitsj16
Member
Registered: 2015-04-26
Posts: 126

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

@digital-_-mystik That's very good news for my old laptop. I've been running the 5.10.13-1 core2 for a bit, so far all good. Thanks for offering that in your repo. I'll be testing the machine over the weekend and will report back if anything weird turns up.

Offline

#3699 2021-02-05 19:27:02

sknd
Member
From: Brzeszcze, Poland
Registered: 2011-01-20
Posts: 62

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

i receive this error while installing nvidia-dkms:

==> dkms install --no-depmod -m nvidia -v 460.39 -k 5.10.13-3-ck-ivybridge
Error! Bad return status for module build on kernel: 5.10.13-3-ck-ivybridge (x86_64)
Consult /var/lib/dkms/nvidia/460.39/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 460.39 -k 5.10.13-3-ck-ivybridge' returned 10

of course, X cannot start:   

2138.951] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[  2138.951] (EE) NVIDIA:     system's kernel log for additional error messages and
[  2138.951] (EE) NVIDIA:     consult the NVIDIA README for details.
[  2138.951] (EE) No devices detected.
[  2138.951] (EE) 
Fatal server error:
[  2138.951] (EE) no screens found(EE) 

what can I do?


Jaki koniec świata.Ziemia to nie cały świat ,a tylko mały Wąchock we wszechświecie.

Offline

#3700 2021-02-05 19:42:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

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

sknd wrote:

what can I do?

sknd wrote:
Consult /var/lib/dkms/nvidia/460.39/build/make.log for more information.

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB