@xuanruiqi solved in 3de884c332a5
Search Criteria
Package Details: linux-xanmod 6.12.8-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: | GPL2 |
Provides: | KSMBD-MODULE, NTFS3-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.84 |
First Submitted: | 2017-02-14 09:40 (UTC) |
Last Updated: | 2025-01-05 16:47 (UTC) |
Dependencies (15)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, dracut-gitAUR, mkinitcpio-gitAUR, booster, dracut, mkinitcpio)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, 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 (6)
- ksmbd-tools (requires KSMBD-MODULE)
- mullvad-wg.sh-git (requires WIREGUARD-MODULE) (optional)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 28 29 .. 52 Next › Last »
figue commented on 2021-03-02 23:24 (UTC)
xuanruiqi commented on 2021-03-02 19:54 (UTC)
FWIW, my config is also quite small.
xuanrui@xuanrui-desktop:~ % zgrep '=y' /proc/config.gz| wc -l
1682
xuanrui@xuanrui-desktop:~ % zgrep '=m' /proc/config.gz| wc -l
303
My vmlinuz is smaller than the Arch default one as well, but still:
xuanrui@xuanrui-desktop:~ % du -sh /usr/lib/modules/*
805M /usr/lib/modules/5.11.1-xanmod2-cacule-2-cacule
272M /usr/lib/modules/5.11.2-arch1-1
Again this is all due to build/vmlinux. Could you do du -sh /usr/lib/modules/*
as well?
I don't think this is a bug or problem, but I'd be interested to know why. I also opened an issue on GitHub and hope the maintainers have some insight.
figue commented on 2021-02-27 09:05 (UTC)
@xuanruiqi probably is an addition of some optimizations and some additional options enabled in XanMod that are not in Arch. Also XanMod bzImage is compressed with lz4 and Arch with zstd. In my case I compile XanMod with modprobed-db and the result is less than Arch:
figue on pluto /tmp ➜ ls -lh vmlinuz-linux.uncompressed vmlinuz-linux-xanmod.uncompressed
-rw-r--r-- 1 figue users 45M feb 27 09:54 vmlinuz-linux-xanmod.uncompressed
-rw-r--r-- 1 figue users 49M feb 27 09:55 vmlinuz-linux.uncompressed
Of course, my configs and modules enabled are less than Arch:
figue on pluto /tmp ✗ zgrep '=y' /proc/config.gz | wc -l
1941
figue on pluto /tmp ➜ zgrep '=m' /proc/config.gz | wc -l
242
figue on pluto /tmp ➜ grep '=y' arch.config | wc -l
2522
figue on pluto /tmp ➜ grep '=m' arch.config | wc -l
5167
If we compare it with XanMod's default config:
figue on pluto /tmp ➜ grep '=y' xanmod.config | wc -l
2637
figue on pluto /tmp ➜ grep '=m' xanmod.config | wc -l
5618
Cheers
xuanruiqi commented on 2021-02-26 10:20 (UTC) (edited on 2021-02-26 10:21 (UTC) by xuanruiqi)
Xanmod kernel is very large for me as well. It's not a problem, but I'm curious why:
$ du -sh /usr/lib/modules/5.11.1-arch1-1
272M /usr/lib/modules/5.11.1-arch1-1
$ du -sh /usr/lib/modules/5.11.1-xanmod2-cacule-2-cacule
805M /usr/lib/modules/5.11.1-xanmod2-cacule-2-cacule
It seems that build/vmlinux (the uncompressed kernel image) is the one guilty. (I'm on the cacule branch but same follows for the main branch)
At first I thought it was related to using -O3 because it performs function inlining, but -O2 didn't make it any better either. I was wondering if some XanMod patch causes this.
cartesius commented on 2021-02-23 16:17 (UTC)
@vpont same here... ~181 modules modprobed and size ~13 M. It's OK.
9,0M vmlinuz-linux
8,9M vmlinuz-linux-lts
13M vmlinuz-linux-xanmod-lts
9,5M vmlinuz-linux-zen
figue commented on 2021-02-08 17:52 (UTC)
@vpont I think it's because XanMod config includes less modules than arch's config.
vpont commented on 2021-02-08 16:59 (UTC) (edited on 2021-02-08 17:00 (UTC) by vpont)
How's it possible that, even with modprobed' compiled kernel, the final xanmod kernel is bigger than the generic one?
9,0M /boot/vmlinuz-linux
6,2M /boot/vmlinuz-linux-lts
13M /boot/vmlinuz-linux-xanmod
figue commented on 2021-02-06 16:07 (UTC)
@sahilbest999 please follow the official wiki page to configure modprobed-db:
https://wiki.archlinux.org/index.php/Modprobed-db
Probably your database is not generated properly.
frostwork commented on 2021-02-06 11:51 (UTC)
@sahilbest999 Probably not a xanmod problem as well. Have you checked if the new initramfs was properly created when you installed the new kernel?
sahilbest999 commented on 2021-02-06 11:08 (UTC)
@frostwork yea, sry didn't read documentation properly
But I've ran into another issue, I've built it and also installed it, so when I try to boot it shows me a error saying -
mount: /new_root: can't find UUID=<SOME UUID CODE> You are now being dropped into an emergency shell. sh: can't access tty;job control turned off
And thank you for quick reply
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: