Package Details: linux-xanmod-headers 5.3.6-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod.git (read-only)
Package Base: linux-xanmod
Description: Header files and scripts for building modules for Xanmod Linux kernel
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Conflicts: linux-xanmod-git-headers
Provides: linux-headers, linux-xanmod-git-headers
Replaces: linux-xanmod-git-headers
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 14
Popularity: 0.522763
First Submitted: 2017-02-14 09:40
Last Updated: 2019-10-12 11:44

Required by (328)

Sources (6)

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

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.

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 »

figue commented on 2019-09-02 19:34

@eliminater74 thanks. Please update your local repo and see if it's ok now.

eliminater74 commented on 2019-09-02 19:08

Please add CPIO as a dependency since its required to build kernel, as its used to process headers and so on.

Please see this link: https://aur.archlinux.org/pkgbase/linux-lqx/#comment-702055

figue commented on 2019-09-01 23:52

@frpenguin error should be before... Try to look upper or change MAKEFLAGS="-j1" in makepkg.conf

frpenguin commented on 2019-09-01 23:31

@figue no error message was produced. The command was: env _microarchitecture=13 use_numa=n use_tracers=n use_pds=n makepkg -sce. Same result.

figue commented on 2019-08-13 21:51

@frpenguin without clearing cache, launch: "makepkg -e" and see if it finishes. Could be a memory issue...

frpenguin commented on 2019-08-11 15:42

Has anybody seen this:

CC [M]  drivers/staging/rtl8723bs/os_dep/osdep_service.o
CC [M]  drivers/staging/rtl8723bs/os_dep/os_intfs.o
CC [M]  drivers/staging/rtl8723bs/os_dep/recv_linux.o
CC [M]  drivers/staging/rtl8723bs/os_dep/rtw_proc.o
CC [M]  drivers/staging/rtl8723bs/os_dep/sdio_intf.o
CC [M]  drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.o
CC [M]  drivers/staging/rtl8723bs/os_dep/wifi_regd.o
CC [M]  drivers/staging/rtl8723bs/os_dep/xmit_linux.o
LD [M]  drivers/staging/rtl8723bs/r8723bs.o
AR      drivers/staging/built-in.a
AR      drivers/built-in.a
==> ERROR: A failure occurred in build().
    Aborting...

figue commented on 2018-12-15 00:12

@Markospox thanks for the tips. Adopted almost all (I think myconfig it's enough). Check fixed comment again.

Apologies for making so many changes in such a short time.

Markospox commented on 2018-12-14 22:15

I'd myself change _numa to use_numa, _tracers to use_tracers, _pds to use_pds and myconfig to custom_config or mycustomconfig. It's also good to change in PKGBUILD teorically to theoretically or to possibly as well as "people that wants" to "people that want". Can you tell, are these CONFIG_FUNCTION_TRACER & CONFIG_FUNCTION_GRAPH_TRACER useful just for doing kernel debugging or are they necessary if I wish to develop software and debug my code too? I think it'd awesome if there was use_production_config parameter which would allow you to choose if you want a kernel that's aimed at most of users in which case kernel debugging would be turned off (1) or for kernel debugging/development (0). I would be also using more modern ifs (if [[ ... ]]). Do you know anything more about this PDS-mq, I don't know much about it and I'm a bit stopped by "currently incompatible" comment?

Besides, I don't know why it's not building for me, gotta check one more time

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

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.

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

figue commented on 2018-12-13 21:06

@Markospox you can change oldefconfig to remove default settings and use menuconfig if it's what you want.

I'm testing a new build process, removing Arch config but adding an option for users that want a custom config. It's simple, but should work... The idea is to replace .config with a file called myconfig on the package folder. People that build this package without this file would compile with xanmod default (as usual). If anyone wants a different config this should be enough. Thoughts?

  # This is intended for the people that wants to build this package with their own config
  # Put the file "myconfig" at the package folder to use this feature
  if [ -f "../myconfig" ]; then
    msg2 "Using user CUSTOM config..."
    cp ../myconfig .config
  fi

Also, thanks to some ideas shared by private by openglfreak, I would add an option to disable NUMA and also disable FUNCTION_TRACER/GRAPH_TRACER.