Package Details: linux-xanmod 5.7.7-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy)
Package Base: linux-xanmod
Description: The Linux kernel and modules with Xanmod patches
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Conflicts: linux-xanmod-git
Provides: linux, linux-xanmod-git
Replaces: linux-xanmod-git
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figuepluto
Votes: 40
Popularity: 6.01
First Submitted: 2017-02-14 09:40
Last Updated: 2020-07-01 21:10

Required by (205)

Sources (5)

Pinned Comments

figue commented on 2018-12-14 00:50

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

References:

## 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
  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 ${_tracers+x} ]; then
  use_tracers=y
fi
##
## Enable PDS CPU scheduler by default https://gitlab.com/alfredchen/linux-pds
## Set variable "use_pds" to: n to disable (stock Xanmod)
##                            y to enable
if [ -z ${_pds+x} ]; then
  use_pds=n
fi
##
## Enable CONFIG_USER_NS_UNPRIVILEGED flag https://aur.archlinux.org/cgit/aur.git/tree/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch?h=linux-ck
## Set variable "use_ns" to: n to disable (stock Xanmod)
##                           y to enable (stock Archlinux)
if [ -z ${use_ns+x} ]; then
  use_ns=n
fi

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

env use_tracers=n use_numa=n use_pds=y use_ns=y 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 to use this feature
  if [ -f "${startdir}/myconfig" ]; then
    msg2 "Using user CUSTOM config..."
    cp -f "${startdir}"/myconfig .config
  fi

Latest Comments

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

laclica commented on 2020-06-24 16:32

@atxnor try the package nvidia-beta-all. i can confirm that that one properly work on both a gtx 960 and on the RTX 2060 KO and provides nvidia=440.82 and nvidia-beta=440.82. hope that help's.

atxnor commented on 2020-06-23 14:04

can't build NVIDIA prop driver 440.82 with xanmod-5.7

figue commented on 2020-06-11 19:02

@francois072 I have VirtualBox host on my computer, and modules build fine:

figue@pluto ~ % uname -a
Linux pluto 5.7.2-xanmod1-1-xanmod #1 SMP PREEMPT Thu, 11 Jun 2020 12:13:31 +0000 x86_64 GNU/Linux
figue@pluto ~ % lsmod | grep vbox
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxdrv               503808  2 vboxnetadp,vboxnetflt

I'm using virtualbox-host-dkms package.

francois072 commented on 2020-06-11 16:47

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

francois072 commented on 2020-06-11 16:44

@figue yes it does still boot and function normal. Just thought I would inform the maintainer of the error. Also I have the virtualbox modules installed and virtualbox does function with the stock kernel but I get an error when using xanmod.

I used your recommended "env use_tracers=n use_numa=n use_pds=y use_ns=y makepkg -s" when compiling the kernel just now. I would like to let Manjaro's Pamac automatically compile the kernel as you suggested but I'm not sure how to do that. I did see your "Reference"

figue commented on 2020-06-11 16:23

@francois072 does it boot even with the warning? By default, XanMod's config has some configs integrated in kernel image and not as module. mkinitcpio tries to load all modules to boot in the initrd, but it output a warning in that case.

See FS#65725

francois072 commented on 2020-06-11 07:03

==> Starting build: 5.7.1-xanmod1-1-xanmod -> Running build hook: [base] -> Running build hook: [udev] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [keyboard] -> Running build hook: [keymap] -> Running build hook: [filesystems] cp: cannot stat '(builtin)': No such file or directory ==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-xanmod-fallback.img ==> WARNING: errors were encountered during the build. The image may not be complete. Error while configuring Error: command failed to execute correctly Updating Grub-Bootmenu Generating grub configuration file ... Found theme: /usr/share/grub/themes/manjaro/theme.txt Found linux image: /boot/vmlinuz-linux-xanmod Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-xanmod.img Found initrd fallback image: /boot/initramfs-linux-xanmod-fallback.img Found linux image: /boot/vmlinuz-5.7-x86_64 Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.7-x86_64.img Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img Found linux image: /boot/vmlinuz-5.6-x86_64 Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.6-x86_64.img Found initrd fallback image: /boot/initramfs-5.6-x86_64-fallback.img Found memtest86+ image: /boot/memtest86+/memtest.bin done Restore Linux kernel modules

figue commented on 2020-06-05 23:20

@andreao I think CONFIG_SCHED_BMQ is not included in XanMod... Feel free to fork this package if you want to apply more patches. But if upstream will include that scheduler, I'll add an option to enable.

andreao commented on 2020-06-05 17:35

Can we have an option to use BMQ instead of the old PDS?

figue commented on 2020-06-05 16:23

@grumpykev you're welcome... Probably you will end doing a "grep -r autofs4 *" :P