Package Details: linux-xanmod-lts 6.6.30-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod-lts.git (read-only, click to copy)
Package Base: linux-xanmod-lts
Description: The Linux kernel and modules with Xanmod patches
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Provides: KSMBD-MODULE, NTFS3-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 13
Popularity: 0.000000
First Submitted: 2017-11-22 02:00 (UTC)
Last Updated: 2024-05-04 08:02 (UTC)

Dependencies (14)

Required by (5)

Sources (4)

Pinned Comments

figue commented on 2018-12-15 22:40 (UTC) (edited on 2021-02-23 18:07 (UTC) by figue)

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

References:

##
## 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 'choose-gcc-optimization.sh' 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
  _microarchitecture=0
fi

## 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
  use_numa=y
fi

## 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
  use_tracers=y
fi

# 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: https://aur.archlinux.org/packages/modprobed-db
# This PKGBUILD read the database kept if it exists
#
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
if [ -z ${_localmodcfg} ]; then
  _localmodcfg=n
fi

# Tweak kernel options prior to a build via nconfig
_makenconfig=

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.

Reference:

  # 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

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

enihcam commented on 2022-10-16 05:57 (UTC)

@figue, xanmod no longer maintains LTS.

figue commented on 2021-10-09 21:22 (UTC)

@gsus use https://wiki.archlinux.org/title/Makepkg#Parallel_compilation

or you can export MAKEFLAGS="-j$(nproc)" in your terminal

gsus commented on 2021-10-09 19:58 (UTC)

For some reason the compilation are with one core only (and take a few hours), not with all cores.

I dont remember when this change happens, but I can force all core just to adding "-j12" to make in build() function?

Thanks

figue commented on 2021-10-07 22:13 (UTC)

@tioguda fixed in 29371a5102f0. I don't know why I merged _compiler option. This branch doesn't have clang config file.

Thanks!

tioguda commented on 2021-10-07 21:19 (UTC)

When trying to compile with clang, I get an error because of line 131 of pkgbuild. I believe it should be gcc instead of ${_compiler}, thanks if you can check it out.

figue commented on 2021-08-17 14:46 (UTC)

@enihcam report to https://github.com/xanmod/linux/issues

It will help!

enihcam commented on 2021-08-16 06:00 (UTC)

Running linux-xanmod 5.13.1x, the igb driver keeps crashing due to RCU panics in which i've investigated for 1+ week with nothing came out.

I finally decided to switch kernel to linux-xanmod-lts. now the stress test has run for 48 hours. ahhhhh, so good, so smooth. :)

nothing but just wanted to appreciate here. keep up the good work!

figue commented on 2021-05-28 22:09 (UTC)

@mabod check https://www.kernel.org/ links, all points to cdn. If you define SRCDEST in /etc/makepkg.conf you can download the main source from a fast link manually in that directory and it will be always there, no need to download every time.

mabod commented on 2021-05-28 20:49 (UTC)

I found https://cdn.kernel.org/pub/linux/kernel/... really slow to download the kernel. Manjaro kernel packages on the other hand use https://www.kernel.org/pub/linux/kernel/... which seems to be a lot faster to me. Can you please check and eventually change the kernel source in the PKGBUILD.

figue commented on 2021-04-02 11:48 (UTC)

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.

https://bbs.archlinux.org/viewtopic.php?pid=1965551