Package Details: linux-clear 6.3.1-1

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Package Base: linux-clear
Description: The Clear Linux kernel and modules
Upstream URL: https://github.com/clearlinux-pkgs/linux
Keywords: clear clearlinux intel kernel
Licenses: GPL2
Provides: KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 64
Popularity: 0.65
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2023-05-06 17:03 (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

1 2 3 4 5 6 .. 43 Next › Last »

Moviuro commented on 2023-05-07 09:43 (UTC)

Launching makepkg with the following options: _subarch=13 _localmodcfg=1 makepkg -sriCfc will consistently bug me about modules that I don't want, and this has been going on for at least a dozen releases, e.g.:

BT8XX GPIO abuser (GPIO_BT8XX) [N/m/y/?] (NEW)

I really just want to answer always NO to those, how do I do that?

metak commented on 2023-04-22 10:23 (UTC)

@Gonzo2028 The compiler patch 20230105 already has znver4, but you need gcc-13 or llvm-16 which are not available in repos. If you're building them yourself you should seen znver4 available for you to choose when it asks you for processor family.

Gonzo2028 commented on 2023-04-21 21:47 (UTC)

can you please add znver4? Thank you.

metak commented on 2023-04-21 19:50 (UTC)

@tydynrain NO_HZ section section of config file is the same as the default in arch kernel. Have you tried building it in clean chroot?

tydynrain commented on 2023-04-16 21:52 (UTC) (edited on 2023-04-16 21:53 (UTC) by tydynrain)

I was finally able to get 6.2.10-1 to build successfully, after many tries and lots of experimentation. By disabling CONFIG_NO_HZ in the timer subsystem section the error that I posted in my previous comment no longer appears and the kernel builds fine.

tydynrain commented on 2023-04-08 21:23 (UTC)

This kernel usually builds fine, now it's failing with the following error:

CC arch/x86/kernel/cpu/intel_epb.o

arch/x86/kernel/cpu/intel_epb.c:171:2: error: call to undeclared function 'sched_set_itmt_power_ratio'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] sched_set_itmt_power_ratio(256 - val * 2, cpu); ^ arch/x86/kernel/cpu/intel_epb.c:171:2: note: did you mean 'sched_set_itmt_core_prio'?

./arch/x86/include/asm/topology.h:189:20: note: 'sched_set_itmt_core_prio' declared here static inline void sched_set_itmt_core_prio(int prio, int core_cpu) ^ 1 error generated.

make[4]: *** [scripts/Makefile.build:252: arch/x86/kernel/cpu/intel_epb.o] Error 1

make[3]: *** [scripts/Makefile.build:504: arch/x86/kernel/cpu] Error 2

make[2]: *** [scripts/Makefile.build:504: arch/x86/kernel] Error 2

make[1]: *** [scripts/Makefile.build:504: arch/x86] Error 2

make: *** [Makefile:2021: .] Error 2

==> ERROR: A failure occurred in build().

Aborting...

metak commented on 2023-03-31 15:49 (UTC)

@shanti The xanmod-patches repo seems outdated and patches don't apply cleanly, that's why I removed them. You can get the updated acs patch from linux-vfio package. Link to patch.

shanti commented on 2023-03-30 15:44 (UTC) (edited on 2023-03-30 17:52 (UTC) by shanti)

Edit: Ok it doesn't seem to work. Anybody for some help? thanks.

Any reason why the ACS patch has be removed?

In case someone needs it, I got it from "https://github.com/xanmod/linux-patches/blob/master/linux-6.2.y-xanmod/pci_acso/0001-pci-Enable-overrides-for-missing-ACS-capabilities.patch"

csts commented on 2023-03-23 19:14 (UTC)

Just checked, works fine, thank you.

csts commented on 2023-03-23 08:09 (UTC)

Your repo seems to be down for several hours.
It's ok, I'll wait.