Package Details: linux-xanmod-lts 6.6.63-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: 14
Popularity: 0.180422
First Submitted: 2017-11-22 02:00 (UTC)
Last Updated: 2024-11-22 21:25 (UTC)

Dependencies (14)

Required by (6)

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

1 2 3 4 5 6 7 Next › Last »

archdevlab commented on 2024-07-13 03:22 (UTC)

Hi you should consider fixing tomoyo in the config file like linux-lqx package https://aur.archlinux.org/cgit/aur.git/commit/?h=linux-lqx&id=86bc172b309b60f09b27a6aacc6c0361d57f24de

cyberpunkrocker commented on 2024-03-04 19:15 (UTC)

I get this deprecation warning with the mkinitcpio-38-3

==> WARNING: Deprecated option 'ALL_microcode' found. Update '/etc/mkinitcpio.d/linux-xanmod-lts.preset' to use the 'microcode' hook instead.

enihcam commented on 2024-02-18 23:55 (UTC)

thanks figue. one question: why pahole and python are needed as makedepend?

figue commented on 2024-02-18 21:48 (UTC) (edited on 2024-02-18 21:48 (UTC) by figue)

Thanks @enihcam I pushed the wrong PKGBUILD, because I have adapted the code but forgot to push to aur :|

enihcam commented on 2024-02-18 11:24 (UTC)

-> Setting version... Usage: scripts/setlocalversion [--no-local] [srctree] ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'linux-xanmod-lts-6.6.17-1': error: packages failed to build: linux-xanmod-lts-6.6.17-1

any ideas?

figue commented on 2023-07-05 19:17 (UTC)

Updated script choose-gcc-optimization.sh

Check new microarchitectures supported!

MikeDee commented on 2022-10-24 03:00 (UTC)

Turns out, I needed to have xterm installed. One would think it would have been installed by default.

figue commented on 2022-10-23 09:39 (UTC)

@MikeDee _makenconfig=y opens the ncurses menu interface so you can customize your kernel in the traditional way. It seems you are launching the makepkg from some unknown terminal "Error opening terminal: unknown". If you are using some AUR helper or chroot, probably isn't compatible with nconfig or you are not setting TERM variable in your shell.

MikeDee commented on 2022-10-23 00:44 (UTC)

The package won't build for me:

configuration written to .config

arch/x86/Makefile:179: CONFIG_X86_X32 enabled but no binutils support -> Prepared linux-xanmod-lts version 5.15.72-xanmod1-1-lts UPD scripts/kconfig/nconf-cfg HOSTCC scripts/kconfig/nconf.o HOSTCC scripts/kconfig/nconf.gui.o HOSTLD scripts/kconfig/nconf Error opening terminal: unknown. make[1]: [scripts/kconfig/Makefile:48: nconfig] Error 1 make: [Makefile:619: nconfig] Error 2 ==> ERROR: A failure occurred in prepare(). Aborting...

If _makenconfig=y, then the it fails. If_makenconfig=n, then it works.

enihcam commented on 2022-10-16 15:16 (UTC)

@figue i submitted a request to xanmod owner. it looks like LTS came back for now.