@grdgkjrpdihe ok. I also checked it and unflagged :)
Search Criteria
Package Details: linux-xanmod 6.18.5-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy) |
|---|---|
| Package Base: | linux-xanmod |
| Description: | The Linux kernel and modules with Xanmod patches |
| Upstream URL: | http://www.xanmod.org/ |
| Licenses: | GPL-2.0-only |
| Provides: | KSMBD-MODULE, NTFS3-MODULE, NTSYNC-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
| Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
| Submitter: | Yoshi2889 |
| Maintainer: | figue (figuepluto, jfigueras) |
| Last Packager: | figue |
| Votes: | 131 |
| Popularity: | 0.006776 |
| First Submitted: | 2017-02-14 09:40 (UTC) |
| Last Updated: | 2026-01-11 23:27 (UTC) |
Dependencies (18)
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, uutils-coreutils-gitAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, ariane-gitAUR, dracut-nosystemd-gitAUR, dracut-gitAUR, ugrd-gitAUR, ugrdAUR, booster, dracut, mkinitcpio)
- kmod (kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (make)
- rust (rust-gitAUR, rust-beta-binAUR, rustup-gitAUR, rustup) (make)
- rust-bindgen (rust-bindgen-gitAUR) (make)
- rust-src (rust-src-gitAUR, rustup-gitAUR, rustup) (make)
- tar (tar-gitAUR, uutils-tar-gitAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-gitAUR, linux-firmware-uncompressedAUR) (optional) – firmware images needed for some devices
- scx-scheds (scx-scheds-gitAUR) (optional) – to use sched-ext schedulers
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (11)
- mullvad-wg.sh-git (requires WIREGUARD-MODULE) (optional)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- proton-cachyos (requires NTSYNC-MODULE) (optional)
- proton-cachyos-slr (requires NTSYNC-MODULE) (optional)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
- wine-cachyos (requires NTSYNC-MODULE) (optional)
- wine-cachyos-opt (requires NTSYNC-MODULE) (optional)
- wine-osu-spectator (requires NTSYNC-MODULE) (optional)
- wine-osu-spectator-wow64 (requires NTSYNC-MODULE) (optional)
Sources (4)
figue commented on 2025-12-17 08:52 (UTC)
grdgkjrpdihe commented on 2025-12-17 06:47 (UTC)
sorry for wrong flag. 6.18 seems still in edge rather than main
derfehler commented on 2025-11-16 20:18 (UTC)
Here's some information about how people fixed the issue with the script for selecting microarchitecture and the CONFIG_X86_L1_CACHE_SHIFT identifier: https://gitlab.com/xanmod/linux/-/issues/446#note_2729829934
derfehler commented on 2025-08-28 22:02 (UTC) (edited on 2025-08-29 11:16 (UTC) by derfehler)
I'm building this package like this: env _compiler=clang _microarchitecture=99 use_tracers=n use_numa=n _compress_modules=y _localmodcfg=y makepkg -sficC. During the build, an error appears: ./arch/x86/include/asm/tlbflush.h:153:1: error: use of undeclared identifier 'CONFIG_X86_L1_CACHE_SHIFT'. As far as I understand, the identifier 'CONFIG_X86_L1_CACHE_SHIFT' is missing from .config. According to the patch, it modifies src/linux-6.16/CONFIGS/x86_64/config, then this config is copied to src/linux-6.16/.config, and something else happens to this file afterward, after which 'CONFIG_X86_L1_CACHE_SHIFT=6' disappears from it.
The problem occurs only when I select "Native optimizations autodetected" (98, 99) as the microarchitecture. When I specifically choose my processor's architecture (Zen2 - 12), the build proceeds without errors.
figue commented on 2025-02-23 13:34 (UTC)
@derfehler sorry about that. I merged PKGBUILD with -edge yesterday, but I didn't test it. Should be fixed now.
@smn try to delete src directory before building it again
smn commented on 2025-02-23 09:03 (UTC)
Even when pointing cp -vf CONFIGS/xanmod/gcc/${_config} .config to CONFIGS/x86-64/config, the package does not build for me (patches fail to apply).
derfehler commented on 2025-02-22 21:21 (UTC) (edited on 2025-02-22 21:22 (UTC) by derfehler)
when compiling there is an error that there is no file at the path “CONFIGS/xanmod/gcc/config_x86-64-v2”. Now the config is in a different path “CONFIGS/x86-64/config”
BytEvil commented on 2025-02-04 05:16 (UTC)
Hi. Module compression does not work without
scripts/config --enable CONFIG_MODULE_COMPRESS
figue commented on 2025-01-27 13:05 (UTC) (edited on 2025-01-27 13:05 (UTC) by figue)
@murlakatamenka thank you. Will be added in next release.
murlakatamenka commented on 2025-01-26 19:26 (UTC) (edited on 2025-01-26 23:24 (UTC) by murlakatamenka)
@figue localmodconfig part could be updated:
- https://wiki.archlinux.org/index.php?title=Modprobed-db&diff=prev&oldid=810531
- https://wiki.archlinux.org/title/Modprobed-db#Using_the_official_Arch_kernel_PKGBUILD
- https://www.kernel.org/doc/html/latest/admin-guide/quickly-build-trimmed-linux.html (or github permalink)
Could be:
yes '' | make LSMOD="$HOME/.config/modprobed.db" localmodconfig
Pinned Comments
anlorsp commented on 2024-07-13 17:07 (UTC) (edited on 2024-07-15 04:53 (UTC) by anlorsp)
Adding
to myconfig does solve the "Failed to insert module 'nvidia': Key was rejected by service" problem.
Anyone who configured secure boot using sbctl and want to load dkms modules can try this solution.
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: