Package Details: linux-clear 6.8.7-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: GPL-2.0-only
Provides: KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 71
Popularity: 1.57
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-04-18 17:48 (UTC)

Dependencies (12)

Required by (5)

Sources (5)

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 .. 47 Next › Last »

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.

metak commented on 2023-03-18 15:29 (UTC)

@hzy199411 Enabled in 6.2.7-2.

hzy199411 commented on 2023-03-18 09:41 (UTC) (edited on 2023-03-18 09:41 (UTC) by hzy199411)

when running QEMU guest with enable UEFI boot, I meet this error: qemu-system-x86_64: System Management Mode not supported by this hypervisor.

after debug this issue, I found from linux kernel 6.2, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.2&id=31e83e21cf00fe5b669eb352ff3ed70e74b40fad CONFIG_KVM_SMM is need enable to support smm when run qemu kvm.

@metak can you please help enable this kernel config? BTW, CONFIG_KVM_SMM is default enabled in archlinux linux kernel: https://github.com/archlinux/svntogit-packages/commit/cdaf0e561be0e1c6f3d2d155595b86a16a0c7745

skirmish commented on 2023-03-15 19:51 (UTC) (edited on 2023-03-16 00:55 (UTC) by skirmish)

@metak Stock kernel works fine at 6.2.6, linux-zen does too. I just rebuilt and reinstalled linux-clear-6.2.6, and now it works fine too.

Update: And now it is back, looks that the mouse lag happens when there is heavy I/O traffic, such as transferring large files over the network. Will try the same test with linux-6.2.2 and linux-zen-6.2.2 kernels and update here.

Update 2: After more reboots, no lag with either linux-6.2.2 or linux-clear-6.2.2 kernels again.

No idea what is happening.

metak commented on 2023-03-15 15:16 (UTC)

@skirmish Removing those patches shouldn't cause any problems. Can you replicate your issue on stock arch kernel?