@Anthony25 -git package indeed disable that module, but maybe a best solution should be blacklisting it:
https://wiki.archlinux.org/index.php/Kernel_module#Blacklisting
blacklist evbug
Git Clone URL: | https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy) |
---|---|
Package Base: | linux-xanmod |
Description: | Headers and scripts for building modules for the Linux Xanmod - Stable Mainline [MAIN] kernel |
Upstream URL: | http://www.xanmod.org/ |
Licenses: | GPL2 |
Submitter: | Yoshi2889 |
Maintainer: | figue (figuepluto, jfigueras) |
Last Packager: | figue |
Votes: | 132 |
Popularity: | 2.20 |
First Submitted: | 2017-02-14 09:40 (UTC) |
Last Updated: | 2024-11-22 21:25 (UTC) |
« First ‹ Previous 1 .. 34 35 36 37 38 39 40 41 42 43 44 .. 52 Next › Last »
@Anthony25 -git package indeed disable that module, but maybe a best solution should be blacklisting it:
https://wiki.archlinux.org/index.php/Kernel_module#Blacklisting
blacklist evbug
Can you disable CONFIG_INPUT_EVBUG (enabled by default) like you do for the -git package? It's a security issue in a way that it logs every input, and flood the kernel logs.
@enihcam I know, maybe I need to low to 1000... I took as example upstream config file, which is greater that 10000
https://github.com/xanmod/linux/blob/5.6/.config
Maybe I can grep myconfig looking for "scripts/config" lines, which would be a partial file.
If you know a smarter way to detect if a file if really a kernel config file, I'll be glad to implement.
if [ $(wc -l < "${startdir}/myconfig") -gt 5000 ]; then
# myconfig is a full config file. Replace it
msg2 "Using user CUSTOM config..."
cp -f "${startdir}"/myconfig .config
I don't understand this part, because my config file is less than 3000 lines in total.
@SilverMight: This nvidia-dkms patch (apply to /usr/src/nvidia-440.64
, with patch -p2 -i file.patch
) works around it for me: https://gitlab.com/snippets/1945940
@ax34 probably you should wait until Nvidia fixes their source for 5.6. Stay in 5.5.x if you need Nvidia.
@Tjuh I have the same failed service long time ago, and it seems related to mono (in my case):
figue@pluto ~ % LC_ALL=C systemctl is-failed systemd-binfmt
failed
figue@pluto ~ % LC_ALL=C pacman -Qo /usr/lib/binfmt.d/mono.conf
/usr/lib/binfmt.d/mono.conf is owned by mono 6.4.0.198-1
figue@pluto ~ % sudo mv /usr/lib/binfmt.d/mono.conf /tmp
figue@pluto ~ % sudo /usr/lib/systemd/systemd-binfmt
figue@pluto ~ % sudo mv /tmp/mono.conf /usr/lib/binfmt.d/mono.conf
figue@pluto ~ % sudo /usr/lib/systemd/systemd-binfmt
Failed to add binary format: No such file or directory
I don't know if it's a real error or not... Try to google it.
Getting these errors during startup;
systemd-binfmt[963]: Failed to add binary format: No such file or directory systemd[1]: Failed to start Set Up Additional Binary Formats.
@SilverMight, it's a problem with linux 5.6 itself.
Anyone getting an issue using nvidia-dkms with this? It fails to build on my side. Here's the make log: https://hastebin.com/gusiqiqogi.coffeescript
iwlwifi-fix.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
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: