Package Details: linux-clear 5.5.5-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: WIREGUARD-MODULE
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 36
Popularity: 2.86
First Submitted: 2018-01-18 21:47
Last Updated: 2020-02-19 19:41

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,f2fs 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.

Latest Comments

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

eca commented on 2020-01-17 17:08

@metak - Oh I see, adding SigLevel = Optional for now. Thanks!

metak commented on 2020-01-16 20:18

@eca Hi, yes OBS (open build service) just recently added support for zstd packages in arch and the part that generates the signatures wasn't yet updated. ISSUE REPORT

But, on the other hand the signatures for pacman in OBS are broken since a long time ago so there's that... if you look a page or two back in the comments you'll find my explanation.

eca commented on 2020-01-16 19:49

@metak - I think your repo is missing pgpsigs. error: linux-clear: missing required signature.

idimitro commented on 2020-01-09 11:27

@metak - the config and compile optimizations will be great addition. Please introduce them. Thanks.

metak commented on 2020-01-09 10:46

@idimitro Well, I can add -j$(nproc) to make command, but _subarch backup is beyond the scope of this package. That's up to user.

idimitro commented on 2020-01-09 10:29

@metak - if possible please extract the config. The kernel config is one part of the customizations. Other things that can be extracted are: arch selection "_subarch=" and "make -j8 bzImage modules" (allow multithread compilation as it currently compiles in single core). The end target is to have the package build automatically + customizations with aurto :)

metak commented on 2020-01-09 09:40

@abdulocracy For i915 module, that's builtin with this kernel.

cat /lib/modules/$(uname -r)/modules.builtin | grep i915

kernel/drivers/gpu/drm/i915/gvt/kvmgt.ko
kernel/drivers/gpu/drm/i915/i915.ko

Edit: let me check some more about that error...

metak commented on 2020-01-09 09:37

@idimitro For now the pkgbuild just copies the .config file for archival purposes and you can't easily reuse it later. If it would be useful I might add support for reusing the old file just like it is in linux-lqx package? Check Here.

abdulocracy commented on 2020-01-09 08:07

I'm getting these errors on a i7-8550U machine, upon sleeping and resuming:

Jan 09 09:05:05 abdulkadir-xps kernel: [drm:intel_power_domains_verify_state] *ERROR* power well DC off state mismatch (refcount 0/enabled 1)
Jan 09 09:05:05 abdulkadir-xps kernel: DMAR: DRHD: handling fault status reg 2
Jan 09 09:05:05 abdulkadir-xps kernel: DMAR: [INTR-REMAP] Request device [f0:1f.0] fault index 0 [fault reason 37] Blocked a compatibility format interrupt request

Also, the second console option in the upstream cmdline causes my machine to boot to a black screen.

Edit: Another peculiarity, modinfo -p i915 states that the module was not found.

idimitro commented on 2020-01-09 07:36

Hi, the PKGBUILD file has options to optimize the kernel for the specific machine it will run. But how are those changes supposed to be preserved after upgrades? I couldn't find an option for the configs to be read from the outside the build directory. Any suggestions?