Package Details: linux-xanmod-lts 5.10.34-1

Git Clone URL: (read-only, click to copy)
Package Base: linux-xanmod-lts
Description: The Linux kernel and modules with Xanmod patches
Upstream URL:
Licenses: GPL2
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 9
Popularity: 0.077905
First Submitted: 2017-11-22 02:00
Last Updated: 2021-05-02 19:02

Pinned Comments

figue commented on 2018-12-15 22:40

Please, check new release. You have now 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=99 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: 99 => 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

# Compile ONLY used modules to VASTLY reduce 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

# Tweak kernel options prior to a build via nconfig

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

env use_numa=n use_tracers=n makepkg -s

Also, you can now put a file in your local repo to build this package with a custom config. You have to call this file myconfig.


  # Put the file "myconfig" at the package folder (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod/myconfig"
  # If we detect partial file with scripts/config commands, we execute as a script
  # If not, it's a full config, will be replaced

Latest Comments

1 2 3 4 Next › Last »

figue commented on 2021-04-02 11:48

It's an issue with the new "file 5.40-1" package. Downgrading to 5.39-1 fix it. For now I'll write the workaround.

figue commented on 2021-03-31 22:56

@cartesius same for me. Something changed in pacman or libarchive, xz is not extracted anymore...

A quick workaround is uncompressing patch with xz and copy to src/ directory, or use "xz -d" inside prepare() (also we should add xz as makedepend)...

cartesius commented on 2021-03-31 21:45

Getting this 31/03/2021 23:44 CET:

$ env _microarchitecture=99 use_numa=n use_tracers=n use_pds=n _localmodcfg=y makepkg -sc
==> Extracting sources...
  -> Extracting linux-5.10.tar.xz with bsdtar
==> Starting prepare()...
patch: **** Can't open patch file ../patch-5.10.27-xanmod1 : No such file or directory
==> ERROR: A failure occurred in prepare().

figue commented on 2021-02-23 18:07

@cartesius thanks. Updated

cartesius commented on 2021-02-23 15:44

Hi, isn't the pinned comment about compiling wrong? (edited on 2019-01-12 00:50 by figue) 22 is not native architecture, 99 is. Couple of days ago the pinned comment about building kernel was right (I hope).

figue commented on 2021-02-19 16:07

@cartesius you can ignore this warning.

cartesius commented on 2021-02-19 16:02

Please, is this the thing to ignore, right? ==> WARNING: Package contains reference to $srcdir usr/lib/modules/5.10.17-xanmod1-1-lts/build/tools/objtool/objtool

figue commented on 2021-02-18 22:47

Updated to 5.10.

There is a new package in branch 5.4:

cartesius commented on 2021-02-18 19:20

@figue Cool, thank you.

figue commented on 2021-02-18 18:36

@cartesius probably Xanmod project will follow upstream, so soon I'll update this package to 5.10.