Hey guys, is this meant to be built skipping pgp verification? As i'm currently getting an error with that
Search Criteria
Package Details: linux-xanmod 7.0.9-1
Package Actions
| 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: | GPL-2.0-only |
| Provides: | KSMBD-MODULE, NTFS3-MODULE, NTSYNC-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
| Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
| Submitter: | Yoshi2889 |
| Maintainer: | figue (figuepluto, jfigueras) |
| Last Packager: | figue |
| Votes: | 131 |
| Popularity: | 0.192693 |
| First Submitted: | 2017-02-14 09:40 (UTC) |
| Last Updated: | 2026-05-17 23:27 (UTC) |
Dependencies (18)
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, uutils-coreutils-gitAUR, uutils-coreutils-git-binAUR)
- initramfs (booster-wip-gitAUR, mkinitcpio-gitAUR, ariane-gitAUR, dracut-gitAUR, ugrdAUR, ugrd-gitAUR, booster-gitAUR, booster, dracut, mkinitcpio)
- kmod (kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR, gettext-gitAUR) (make)
- libelf (elfutils-gitAUR, elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (make)
- rust (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rustup) (make)
- rust-bindgen (rust-bindgen-gitAUR) (make)
- rust-src (rustup-gitAUR, rust-src-gitAUR, rustup) (make)
- tar (tar-gitAUR, uutils-tar-gitAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-gitAUR, linux-firmware-uncompressedAUR) (optional) – firmware images needed for some devices
- scx-scheds (scx-scheds-gitAUR) (optional) – to use sched-ext schedulers
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (11)
- mullvad-wg.sh-git (requires WIREGUARD-MODULE) (optional)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- proton-cachyos (requires NTSYNC-MODULE) (optional)
- proton-cachyos-slr (requires NTSYNC-MODULE) (optional)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
- wine-cachyos (requires NTSYNC-MODULE) (optional)
- wine-cachyos-opt (requires NTSYNC-MODULE) (optional)
- wine-osu-spectator (requires NTSYNC-MODULE) (optional)
- wine-osu-spectator-wow64 (requires NTSYNC-MODULE) (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 53 Next › Last »
kingdomkind commented on 2024-06-19 22:09 (UTC)
wustdsh commented on 2024-06-06 08:47 (UTC) (edited on 2024-06-06 09:14 (UTC) by wustdsh)
I configured secure boot using sbctl. When using linux-xanmod, it can boot up normally but nvidia related modules don't load:
systemd-modules-load[143]: Failed to insert module 'nvidia': Key was rejected by service
systemd-modules-load[143]: Failed to insert module 'nvidia_modeset': Key was rejected by service
systemd-modules-load[143]: Failed to insert module 'nvidia_uvm': Key was rejected by service
systemd-modules-load[143]: Failed to insert module 'nvidia_drm': Key was rejected by service
As far as I know dkms automatically generates /var/lib/dkms/mok.key to signs modules, what if I tell dkms to sign nvidia modules using the key that was used to sign the built-in modules when compiling linux-xanmod? It probably doesn't help, in the same case extra/linux-zen is able to load nvidia, and I'm wondering what options the xanmod patch changed to cause this problem.
EDIT:
Maybe CONFIG_IMA_ARCH_POLICY=y. The solution seems to be to use the kernel's built-in signatures as I mentioned, or to use slim? or to recompile to remove this option.
figue commented on 2024-04-07 14:24 (UTC)
@Riedler yeah, I personally use only a reduced myconfig, so I didn't have to maintain a full config:
cat .config/linux-xanmod/myconfig
scripts/config --enable CONFIG_IWLWIFI_DEBUG
scripts/config --module CONFIG_MMC_BLOCK
scripts/config --set-val MMC_BLOCK_MINORS 8
scripts/config --module CONFIG_SND_DMAENGINE_PCM
scripts/config --module CONFIG_SND_COMPRESS_OFFLOAD
scripts/config --module CONFIG_AC97_BUS
scripts/config --enable CONFIG_INPUT_TABLET
scripts/config --enable CONFIG_TRACING
scripts/config --enable CONFIG_KPROBE_EVENTS
scripts/config --enable CONFIG_BPF_EVENTS
Riedler commented on 2024-04-07 13:27 (UTC) (edited on 2024-04-07 13:27 (UTC) by Riedler)
@figue nothing too crazy I think. Not even sure if any of this goes through to linux-xanmod.
/etc/makepkg → https://pastebin.com/S5GJqpqZ
as for myconfig - yeah somewhat, see here: https://github.com/RiedleroD/dotfiles/blob/master/linux-xanmod.conf
I should probably stop using the myconfig, I don't have time to maintain the custom one anymore…
figue commented on 2024-04-07 12:14 (UTC)
@Riedler are you using any custom flag?
Riedler commented on 2024-04-07 10:35 (UTC)
I'm sorry I don't have time to debug this rn 😢 I just wanted to mention the error in case it's an obvious problem somewhere…
xiota commented on 2024-04-07 10:08 (UTC)
@Riedler Have you tried building in a clean chroot?
Seems to have built okay here: linux-xanmod.log
Riedler commented on 2024-04-07 10:04 (UTC)
since after 6.7.7 I haven't been able to compile this package. It says: libbpf: failed to find '.BTF' ELF section in /tmp/makepkg/linux-xanmod/src/linux-6.7/vmlinux when I try to compile 6.7.12…
Pinned Comments
anlorsp commented on 2024-07-13 17:07 (UTC) (edited on 2024-07-15 04:53 (UTC) by anlorsp)
Adding
to myconfig does solve the "Failed to insert module 'nvidia': Key was rejected by service" problem.
Anyone who configured secure boot using sbctl and want to load dkms modules can try this solution.
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: