You are not logged in.
@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
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
https://aur.archlinux.org/packages/linux-ck/ note the PKGBUILD has some options in that direction to set.
Online
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
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
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 packages • Zsh and other configs
Offline
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
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
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 packages • Zsh and other configs
Offline
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
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
cowlink, please provide the information requested.
A dog is a man's best friend.
Offline
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
Offline
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.
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
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 packages • Zsh and other configs
Offline
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
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/
If anyone has some ideas or suggestions, let me know.
For example: Maybe expand the autobuild with an automated local repository?
Offline
@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
@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 packages • Zsh and other configs
Offline
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
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 packages • Zsh and other configs
Offline
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
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 packages • Zsh and other configs
Offline
....I have noticed that march switch was and not mtune (maybe except for Atom).
-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
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
@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
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
what can I do?
Consult /var/lib/dkms/nvidia/460.39/build/make.log for more information.
Offline