Package Details: linux-xanmod 5.14.12-1

Git Clone URL: (read-only, click to copy)
Package Base: linux-xanmod
Description: The Linux kernel and modules with Xanmod patches
Upstream URL:
Licenses: GPL2
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 90
Popularity: 5.32
First Submitted: 2017-02-14 09:40
Last Updated: 2021-10-13 18:18

Pinned Comments

figue commented on 2021-07-03 09:51

@qontinuum yes, probably I'll need to make a new package called linux-xanmod-edge and leave this package in the stable branch. Thanks for your suggestion.

Edit: done.

figue commented on 2021-06-10 20:47

Starting from 5.12.10, upstream moved config files to a folder, and it provides a config for gcc or clang. So I added a new variable :)

So you can set $_compiler to "gcc" or "clang" (default is gcc).

figue commented on 2018-12-14 00:50

This package have several variables to enable/disable features.

## The following variables can be customized at build time. Use env or export to change at your wish
##   Example: env _microarchitecture=98 use_numa=n use_tracers=n use_pds=n makepkg -sc
## Look inside '' to choose your microarchitecture
## Valid numbers between: 0 to 99
## Default is: 0 => generic
## Good option if your package is for one machine: 98 (Intel native) or 99 (AMD native)
if [ -z ${_microarchitecture+x} ]; then

## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
## Archlinux and Xanmod enable it by default.
## Set variable "use_numa" to: n to disable (possibly increase performance)
##                             y to enable  (stock default)
if [ -z ${use_numa+x} ]; then

## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
## Stock Archlinux and Xanmod have this enabled. 
## Set variable "use_tracers" to: n to disable (possibly increase performance)
##                                y to enable  (stock default)
if [ -z ${use_tracers+x} ]; then

## Choose between GCC and CLANG config (default is GCC)
if [ -z ${_compiler+x} ]; then

# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
# To keep track of which modules are needed for your specific system/hardware,
# give module_db script a try:
# This PKGBUILD read the database kept if it exists
# More at this wiki page --->
if [ -z ${_localmodcfg} ]; then

Personally I'm running now xanmod kernel compiled with this:

env _microarchitecture=98 use_numa=n use_tracers=n use_ns=y _localmodcfg=y makepkg -sic

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:

  for _myconfig in "${startdir}/myconfig" "${XDG_CONFIG_HOME}/linux-xanmod/myconfig" ; do
    if [ -f "${_myconfig}" ]; then
      if grep -q 'scripts/config' "${_myconfig}"; then
        # myconfig is a partial file. Executing as a script
        msg2 "Applying myconfig..."
        bash -x "${_myconfig}"
        # myconfig is a full config file. Replacing default .config
        msg2 "Using user CUSTOM config..."
        cp -f "${_myconfig}" .config

Latest Comments

1 2 3 4 5 6 ... Next › Last »

ax34 commented on 2021-10-13 13:54

FATAL: modpost: drivers/net/wwan/rpmsg_wwan_ctrl: sizeof(struct rpmsg_device_id)=32 is not a modulo of the size of section __mod_rpmsg__<identifier>_device_table=120.

figue commented on 2021-10-03 20:52

@jvn01 try to add "keyserver hkps://" to your ~/.gnupg/gpg.conf and run "gpg --recv-keys key" again. If it doesn't connect, kill dirmngr and try again.

jvn01 commented on 2021-10-03 09:53

problem when importing keys, how to get over it? Trying some tips from google, still can't fix.

figue commented on 2021-09-21 18:28

@Gonzo2028 what configuration/variables are you using?

Gonzo2028 commented on 2021-09-21 17:44

Does not build for me.

LD [M] drivers/gpu/drm/nouveau/nouveau.o AR drivers/gpu/built-in.a make: *** [Makefile:1868: drivers] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab... :: Unable to build linux-xanmod - makepkg exited with code: 4 =>> Try again? [y/N]:

pmarcelll commented on 2021-09-14 10:45

@figue Ah, sorry, I started to use this kernel very recenty and I didn't realize this distinction. Great kernel BTW, thanks for maintaining the packages.

figue commented on 2021-09-10 20:02

@pmarcelll current STABLE is still 5.13.15-xanmod1

You can install linux-xanmod-edge for the 5.14.x version

figue commented on 2021-09-02 08:36

@GDsouza 5.14.0-xanmod1 is EDGE only for now:

figue commented on 2021-08-27 15:11

@carlmarqs I don't have any system with btrfs to test, but probably some config is missing...

Possibly this could help?

carlmarqs commented on 2021-08-27 14:41

Cannot boot to btrfs root: ERROR: device 'UUID=XXX' not found. Skipping fsck.

OS working on linux-zen, so fstab is correct. Using _localmodcfg: btrfs, ext4 and vfat are present in .config. "lsblk -l" output:

├─sda1 vfat FAT32 /efi ├─sda2
├─sda3 ntfs System ├─sda4 btrfs / ├─sda5 swap 1 [SWAP] ├─sda6 ntfs
├─sdb2 ntfs Data
├─sdb3 btrfs /home └─sdb4 swap 1 [SWAP]