Package Base Details: linux-clear

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Keywords: clear clearlinux intel kernel
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 70
Popularity: 1.43
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-03-27 17:52 (UTC)

Pinned Comments

metak commented on 2022-03-27 13:44 (UTC) (edited on 2022-04-02 13:20 (UTC) by metak)

The PKGBUILD file supports a few different configurable build-time options:
  • _makenconfig Tweak kernel options prior to a build via nconfig. Pseudo-graphical menu based on ncurses. 1 2
  • _localmodcfg Only compile active modules to VASTLY reduce the number of modules built and the build time.
  • Please read arch wiki page for detailed explanation on how to use it.
  • _subarch Enable additional optimization/tuning for kernel builds by adding more micro-architectures options. Default is Generic-x86-64 number 36 if nothing else is selected.
  • PKGBUILD file with the list of architectures
  • graysky kernel_compiler_patch
  • _use_current Use the current kernel's .config file. Enabling this option will use the .config of the RUNNING kernel rather than the ARCH defaults. Useful when the package gets updated and you already went through the trouble of customizing your config options. NOT recommended when a new kernel is released, but again, convenient for package bumps.
  • _use_llvm_lto Compile the kernel with LLVM/Clang.
  • _debug Enable y some additional debug features present in arch kernel, but not in Clear upstream. n to force disable or leave empty to ignore.
Lastly, build the kernel by setting your environment variable env _subarch=40 _localmodcfg=y.

metak commented on 2018-01-22 01:49 (UTC) (edited on 2021-12-01 12:47 (UTC) by metak)

1. Binaries available in my repo: http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64/
[home_metakcahura_kernel_Arch_Extra_standard]
SigLevel = Never
Server = http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/$arch
THIS IS OPTIONAL:
2. After install adjust your boot cmd line. ClearLinux uses clr-boot-manager which takes care of that. This is upstream default:
quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw 

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 47 Next › Last »

skirmish commented on 2023-03-15 02:13 (UTC)

6.2.6 has a very laggy USB mouse for me. Reverted to 6.2.2, everything is fine again.

Could it be that removing xanmod patches in 6.2.6 affected USB mice? Anyone else experiencing the same?

Foxinatel commented on 2023-03-05 18:26 (UTC)

In the PKGBUILD it looks like the line scripts/config --enable FONT_TER16x32 needs to be replaced with scripts/config --keep-case --enable FONT_TER16x32, otherwise the script will uppercase it to an invalid config option.

Moviuro commented on 2022-08-23 12:28 (UTC)

@Gonzo2028 : rm *patch; makepkg -sriCfc

@Khaithang: it looks like LLVM build is an option passed to makepkg (in the PKGBUILD you can see it adds things to BUILD_FLAGS). Try: _use_llvm_lto=1 makepkg -sriCfc

Gonzo2028 commented on 2022-08-23 12:08 (UTC)

Ideas to this issues? It was building fine before until a couple of days ago.

==> Erstelle Paket: linux-clear 5.19.2-1 (Di 23 Aug 2022 13:06:37 WEST) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> linux-5.19.tar.xz gefunden -> linux-5.19.tar.sign gefunden -> Lade patch-5.19.2.xz herunter... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 464k 100 464k 0 0 461k 0 0:00:01 0:00:01 --:--:-- 461k -> Aktualisiere das linux-clear git Repo... remote: Enumerating objects: 71, done. remote: Counting objects: 100% (71/71), done. remote: Compressing objects: 100% (47/47), done. remote: Total 59 (delta 13), reused 53 (delta 9), pack-reused 0 Entpacke Objekte: 100% (59/59), 78.16 KiB | 684.00 KiB/s, fertig. Von https://github.com/clearlinux-pkgs/linux fd11cf4..b59270d main -> main + 370eebb...92a3337 refs/pull/22/merge -> refs/pull/22/merge (Aktualisierung erzwungen) * [neues Tag] 5.19.1-1176 -> 5.19.1-1176 * [neues Tag] 5.19.2-1178 -> 5.19.2-1178 -> more-uarches-20220315.tar.gz gefunden -> 0001-pci-Enable-overrides-for-missing-ACS-capabilities.patch gefunden -> 0001-sysctl-add-sysctl-to-disallow-unprivileged-CLONE_NEW.patch gefunden ==> Überprüfe source Dateien mit sha256sums... linux-5.19.tar.xz ... Erfolg linux-5.19.tar.sign ... Übersprungen patch-5.19.2.xz ... Erfolg linux-clear ... Übersprungen more-uarches-20220315.tar.gz ... Erfolg 0001-pci-Enable-overrides-for-missing-ACS-capabilities.patch ... FEHLGESCHLAGEN 0001-sysctl-add-sysctl-to-disallow-unprivileged-CLONE_NEW.patch ... FEHLGESCHLAGEN ==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung! :: Unable to build linux-clear - makepkg exited with code: 1

Khaithang commented on 2022-08-22 23:00 (UTC)

Just like it prompt us to select the architecture, it would be good if it prompts for the llvm flag as well. llvm/clang compiler is faster so I think it is it should be the preferred one. Being able to turn it on right before compiling starts would be great.

nutterpc commented on 2022-08-07 22:38 (UTC)

Don't know why (Must be missing something), but when i try to pass the environment variables i want for this kernel, doesn't seem to work. I'm using Garuda Linux, which is still an arch derivative. Odd that something so simple has me stumped atm lol

metak commented on 2022-05-08 16:02 (UTC)

@Aleksana Try initcall_blacklist=kvm_intel to blacklist built-in module?

Aleksana commented on 2022-05-08 14:46 (UTC)

I got the kvm_intel issue again.When I compile on an intel x86_64 targeted at amd zen3 subarch, the kernel loads both kvm_intel and kvm amd,throwing an error

kvm: no hardware support for 'kvm_intel'

Have tried to append kernel parameter modprobe.blacklist=kvm_intel but it didn't help. It looks a bit annoying as I'm using plymouth.

xuanruiqi commented on 2022-04-19 10:16 (UTC)

OK, I figured out the problem is LLVM LTO. It's broken on this version. If you're using it, maybe it's wise to disable for the time being.