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: 0.48
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-05-17 16:36 (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 .. 37 38 39 40 41 42 43 44 45 46 47 Next › Last »

metak commented on 2018-06-25 23:11 (UTC) (edited on 2018-06-25 23:12 (UTC) by metak)

@ltsdw Thank you for reporting back. I don't use bluetooth at all so I never paid too much attention to it, but it seems that quite a few people do use it so I'll enable the crypto_user module in next update.

ltsdw commented on 2018-06-25 22:56 (UTC)

@metak yeah, exactly, bluetooth working like a charm after enabling CONFIG_CRYPTO_USER. I also enabled CONFIG_BT_ATH3K for precaution, but I'm actually using btusb. It's only needed set CONFIG_CRYPTO_USER to get bluetooth working.

metak commented on 2018-06-25 22:10 (UTC) (edited on 2018-06-25 22:30 (UTC) by metak)

@ltsdw Sorry, I'm a bit busy right now. After checking again I'll have to enable user_crypto with next update to comply with arch packaging.

bluez package in arch /usr/lib/modules-load.d/bluez.conf needs this module crypto_user at boot time.

Edit: can you build this kernel with CONFIG_CRYPTO_USER option enabled and check if bluetooth is working properly?

ltsdw commented on 2018-06-25 21:23 (UTC) (edited on 2018-06-25 21:24 (UTC) by ltsdw)

I'll try CONFIG_BT_ATH3K

ltsdw commented on 2018-06-25 20:02 (UTC)

@metak really is in the comments, thanks. One more thing, it's directly linked with the fact if bluetooth works or not?

metak commented on 2018-06-25 19:34 (UTC) (edited on 2018-06-25 19:35 (UTC) by metak)

@ltsdw If you need user_crypto module then you'll have to enable it CONFIG_CRYPTO_USER since this .config doesn't. I mentioned this somewhere in comments bellow.

This module is built in stock arch kernel though.

ltsdw commented on 2018-06-25 18:05 (UTC)

Having problem with bluez, if I uncomment user_crypto line in /usr/lib/modules-load.d/bluez.conf will fail to load systemd-modules-load at boot, basicly journalctl acuses not finding user_crypto module. Works well in arch's kernel, some idea?

metak commented on 2018-06-18 04:36 (UTC) (edited on 2018-06-18 04:41 (UTC) by metak)

@enihcam I will probably enable it by default with next update.

@E5ten No, but the kernel has to be packaged differently if you want to use clr-boot-manager.

E5ten commented on 2018-06-18 03:54 (UTC)

Is it required to use clr-boot-manager with the clear kernel?

enihcam commented on 2018-06-18 02:01 (UTC)

linux-clear is going to be the most popular kernel package in AUR. Keep it up!

Also, I think it is safe to unlock additional gcc CPU optimizatons by default. It does not change any kernel logics. It just provides some more compiler options.