Package Details: linux-cachyos-rc 7.1.rc3-1

Git Clone URL: https://aur.archlinux.org/linux-cachyos-rc.git (read-only, click to copy)
Package Base: linux-cachyos-rc
Description: The Linux Clang ThinLTO + AutoFDO + Cachy Sauce Kernel by CachyOS with other patches and improvements - Release Candidate kernel and modules
Upstream URL: https://github.com/CachyOS/linux-cachyos
Licenses: GPL-2.0-only
Provides: ADIOS-MODULE, KSMBD-MODULE, NTSYNC-MODULE, V4L2LOOPBACK-MODULE, VHBA-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: ptr1337
Maintainer: ptr1337 (sir_lucjan)
Last Packager: sir_lucjan
Votes: 11
Popularity: 0.62
First Submitted: 2021-12-08 18:27 (UTC)
Last Updated: 2026-05-13 14:20 (UTC)

Required by (16)

Sources (3)

Latest Comments

sakuk commented on 2026-04-10 10:25 (UTC) (edited on 2026-04-10 11:21 (UTC) by sakuk)

Got error while installing:

Setting config...
Enabling CachyOS config...
==> ERROR: The value cachyos is invalid. Choose the correct one again.
-> Failed to install layer, rolling up to next layer.error:error making: linux-cachyos-rc - exit status 1

But fixed it by modifying PKGBUILD file, changing "cachyos" value to the already default eevdf value.

### Selecting CachyOS config
: "${_cachy_config:=yes}"

### Selecting the CPU scheduler
# ATTENTION - only one of the following values can be selected:
# 'bore' - select 'Burst-Oriented Response Enhancer'
# 'bmq' - select 'BMQ Scheduler'
# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler
# 'cachyos' - select 'CachyOS Default Scheduler (EEVDF)'
# 'eevdf' - select 'EEVDF Scheduler'
# 'rt' - select EEVDF, but includes a series of realtime patches
# 'rt-bore' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches
: "${_cpusched:=eevdf}"

And makepkg -si and it's currently building the kernel.

Edit: Compared from the yay folder linux-cachyos PKGBUILD file to the rc's PKGBUILD file, there's no $_cpusched option for cachyos in linux-cachyos-rc PKGBUILD file

### Selecting the CPU scheduler
    case "$_cpusched" in
        bore|hardened) scripts/config -e SCHED_BORE;;
        bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ;;
        eevdf) ;;
        rt) scripts/config -e PREEMPT_RT;;
        rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_RT;;
        *) _die "The value $_cpusched is invalid. Choose the correct one again.";;
    esac

Used updpkgsums to create new b2sum with scheduler bore selected and now it works.

ajgringo619 commented on 2025-10-24 22:13 (UTC) (edited on 2025-10-24 22:14 (UTC) by ajgringo619)

Getting an error when building Nvidia modules during kernel install:

nvidia-uvm/uvm_va_range_device_p2p.c: In function ‘alloc_device_p2p_mem’:
nvidia-uvm/uvm_va_range_device_p2p.c:363:13: error: too many arguments to function ‘get_dev_pagemap’; expected 1, have 2
  363 |             get_dev_pagemap(page_to_pfn(page), NULL);
      |             ^~~~~~~~~~~~~~~
In file included from /usr/lib/modules/6.18.0-rc2-1-cachyos-rc/build/include/linux/mm.h:33,
                 from ././common/inc/nv-pgprot.h:30,
                 from ././common/inc/nv-linux.h:33,
                 from nvidia-uvm/uvm_linux.h:40,
                 from nvidia-uvm/uvm_common.h:43,
                 from nvidia-uvm/uvm_va_range_device_p2p.c:24:
/usr/lib/modules/6.18.0-rc2-1-cachyos-rc/build/include/linux/memremap.h:214:21: note: declared here
  214 | struct dev_pagemap *get_dev_pagemap(unsigned long pfn);
      |                     ^~~~~~~~~~~~~~~
make[5]: *** [/usr/lib/modules/6.18.0-rc2-1-cachyos-rc/build/scripts/Makefile.build:287: nvidia-uvm/uvm_va_range_device_p2p.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/usr/lib/modules/6.18.0-rc2-1-cachyos-rc/build/Makefile:2015: .] Error 2
make[3]: *** [/usr/lib/modules/6.18.0-rc2-1-cachyos-rc/build/Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/var/lib/dkms/nvidia/580.95.05/build/kernel-open'
make[2]: *** [Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/lib/modules/6.18.0-rc2-1-cachyos-rc/build'
make[1]: *** [Makefile:138: modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia/580.95.05/build/kernel-open'
make: *** [Makefile:59: modules] Error 2

cmhacks commented on 2025-10-13 18:31 (UTC)

Good day!

Waiting for 6.18-rc1

intellq commented on 2025-05-27 11:40 (UTC) (edited on 2025-05-27 11:45 (UTC) by intellq)

0001-cachyos-base-all.patch from v6.15-rc7 failed hash check

==> Validating source files with b2sums...
    v6.15-rc7.tar.gz ... Passed
    config ... Passed
    0001-cachyos-base-all.patch ... FAILED
    dkms-clang.patch ... Passed
    0001-bore-cachy.patch ... Passed

Geo52rey commented on 2024-12-20 16:07 (UTC)

==> Validating source files with b2sums...
    v6.13-rc3.tar.gz ... Passed
    config ... Passed
    auto-cpu-optimization.sh ... Passed
    0001-cachyos-base-all.patch ... FAILED
    dkms-clang.patch ... Passed
    0001-bore-cachy.patch ... FAILED

noitemstoshow commented on 2024-10-20 01:54 (UTC)


:: (0/1) Downloaded PKGBUILD from ABS: linux-cachyos-rc
 -> error fetching linux-cachyos-rc: Cloning into 'linux-cachyos-rc'...
fatal: could not read Username for 'https://gitlab.archlinux.org': terminal prompts disabled 
     context: exit status 128

 -> Unable to find the following packages: linux-cachyos-rc

noitemstoshow commented on 2024-10-08 12:47 (UTC) (edited on 2024-10-08 12:49 (UTC) by noitemstoshow)

enable lto-full will cause this error



GEN     .tmp_initcalls.lds
  LD      vmlinux.o
make[2]: *** [scripts/Makefile.vmlinux_o:65: vmlinux.o] Error 137
make[1]: *** [/home/usery/linux-cachyos-rc/src/linux-6.12-rc2/Makefile:1155: vmlinux_o] Error 2
make: *** [Makefile:224: __sub-make] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

lto-thin works fine.

Also enable build_nvidia will report source intergity error.

ptr1337 commented on 2024-10-02 16:07 (UTC)

Well, either you need to build it on your own from the AUR, or the AUR Manager does that.

CachyOS repos do provide them OOB. As soon my keyring is imported into archlinux, I push it too into archlinux

noitemstoshow commented on 2024-10-02 15:44 (UTC)

The buiding process doesn't seem to fetch and build scx-scheds along with it