Package Base Details: linux-clear

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only)
Keywords: clear clearlinux intel kernel
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 33
Popularity: 4.19
First Submitted: 2018-01-18 21:47
Last Updated: 2019-12-08 12:12

Pinned Comments

metak commented on 2018-01-22 01:49

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]
Server = http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/$arch

Then, import the key:
Key-ID: pacman-key --recv-keys 50AAD02AEB1F61C9
Keyfile: http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64/home_metakcahura_kernel_Arch_Extra_standard.key
Donwload and import the key: pacman-key --add /path/to/downloaded/keyfile

Last, sign the key. pacman-key --lsign-key 50AAD02AEB1F61C9

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 rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs tsc=reliable rw 
3. For loading unsigned modules. (nvidia, virtualbox, etc.)

If secure boot is disabled just add module.sig_unenforce boot parameter. Otherwise, you'll have to build your kernel with CONFIG_MODULE_SIG_FORCE disabled.

4. Once again (as requested) the _subarch is set to native so for anyone who is building the binaries for redistribution should set it to number corresponding to Generic-x86-64.

stephencox commented on 2018-04-22 18:39

@metak, I can't boot linux-clear at all on my hp microserver. The lsmod is from linux-mainline which boots. What is the likelyhood of a combination of the default kernel and linux-clear?

metak commented on 2018-04-22 15:32

@stephencox I'm just packaging this as it is upstream and they are not making this to be a generic kernel, hence many things are not enabled. Like your wifi module.

Have you tried booting in default arch kernel and running lsmod and then compare that to clr kernel? Maybe you need something else that's not enabled in this kernel by default?

stephencox commented on 2018-04-22 14:24

On my HP laptop the WiFi (RTL8723BE) is not working as it's not included in the modules.

My HP microserver doesn't boot at all, stuck at Loading initial ramdisk. lsmod: https://pastebin.com/LwskQXj3

metak commented on 2018-04-20 21:44

Osleg, sorry couldn't be more helpful. If you want you can try this linux-clear-lts-4.14.35 pkgbuild?

Osleg commented on 2018-04-20 21:17

Well something really weird, now I can't boot even to rescue with linux-clear. Logs are clean but laptop seems to get stuck at last stage.

metak commented on 2018-04-19 23:31

@Osleg Yes, the easier choice is to not use initrd /intel-ucode.img (clr default), otherwise the build would fail and require some adjustments/patching.

Osleg commented on 2018-04-19 19:40

Hm, I just realized that linux-clear also has ucode built in so we either should not initrd /intel-ucode.img or should not compile it with clear... I think first option is better to follow intel's kernel as close as possible.

Osleg commented on 2018-04-19 19:32

@metak unfortunately I have no idea. The boot process goes well until the end and it stuck when starting to load graphical.target. I could boot into single user mode but that doesn't help in any way :/

And yay for the module.sig_unenforce, will try that... in recovery mode tho :(

metak commented on 2018-04-12 18:21

@Osleg Do you have any idea what might be the problem? Btw, clr-team introduced new patch in their latest commit called Add boot option to allow unsigned modules so that's why I removed that sed line from pkgbuild.

+Add module.sig_unenforce boot parameter to allow loading unsigned kernel
 +modules. Parameter is only effective if CONFIG_MODULE_SIG_FORCE is
 +enabled and system is *not* SecureBooted.

https://github.com/clearlinux-pkgs/linux/commit/347ebb59a916a6fd112663d68e0b72623f6994f7

Osleg commented on 2018-04-12 07:21

Just to be exact, it stopped working even before update back when it was 4.15.15