Package Base Details: linux-xanmod

Git Clone URL: (read-only)
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 15
Popularity: 1.12
First Submitted: 2017-02-14 09:40
Last Updated: 2019-11-29 18:56

Pinned Comments

figue commented on 2018-12-14 00:50

Please, check new release. You have now several variables to enable/disable features.


## 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 ${_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 ${_tracers+x} ]; then
## Enable PDS CPU scheduler by default
## Set variable "use_pds" to: n to disable (stock Xanmod)
##                            y to enable
if [ -z ${_pds+x} ]; then

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

env _tracers=0 _numa=0 _pds=1 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 to use this feature
  if [ -f "${startdir}/myconfig" ]; then
    msg2 "Using user CUSTOM config..."
    cp -f "${startdir}"/myconfig .config

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Markospox commented on 2018-12-13 15:35

What should be done if I wish to adjust configuration before building the package? Would replacing make olddefconfig with make menuconfig in PKGBUILD be fine, there's no #info anymore? What's next, makepkg? Or maybe makepkg -> fail, makepkg -e?

Markospox commented on 2018-12-13 13:26

I have: rm: cannot remove '/home/mkl/Downloads/linux-xanmod-419/pkg/linux-xanmod-4.19.6/usr/lib/modules//source': No such file or directory after DEPMOD 4.19.6-xanmod4-1-xanmod-4.19.6MANJARO can you tell why is this?

kyle_dolichev commented on 2018-12-13 01:00

ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x28): undefined reference to `sched_smt_present'
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x40): undefined reference to `sched_smt_present'
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x58): undefined reference to `sched_smt_present'
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x70): undefined reference to `sched_smt_present'

those are the errors in case you're curious. And, can you please leave in an option so that we can have a config file we can adjust? thanks

figue commented on 2018-12-12 23:22

@kyle_dolichev I'll probably drop arch configuration. I think it doesn't have any sense.

kyle_dolichev commented on 2018-12-12 19:02

Is anybody else getting an error about sched_smt or smt_sched when trying to build with the archlinux configuration file? Or is it just me? Perhaps I am enabling something that's causing it, I still have to test whether or not it'll do the error without my edits so maybe its my doing but I don't know.

figue commented on 2018-09-09 21:30

@adrioanocr if you know kernel config you want to change, you can replace config changing PKGBUILD variable _configuration to 2, then instead of use Archlinux config put your own file. It's easy (replace config source and updpkgsums).

Another choice is to add "make menuconfig" at the end of prepare() function and do all the changes manually.

adrioanocr commented on 2018-09-09 21:24

Out of curiosity (I'm new to alternative kernels) is there a way to build this without certain kernel modules? For example if I wanted to compile without wifi support, is that doable? And how...?

adrioanocr commented on 2018-09-09 16:38


That worked thank you!


figue commented on 2018-09-08 23:12


'No space left on device' => if you are compiling the package in /tmp or in other filesystem, probably, you haven't more space left. It's common if you use AUR helpers like yaourt... They use /tmp to compile as default, and /tmp is limited in space.

Please, compile manually in other place like your home:

git clone
cd linux-xanmod
makepkg -sic

adrioanocr commented on 2018-09-08 22:59

I'm getting the following error trying to install:

The compilation apparently gets to a realtek wireless driver and fails. This machine doesn't even have a wireless card, actually. Is there a way to have it skip that part or how do I go about fixing it?