Package Details: linux-clear-headers 5.6.15-3

Git Clone URL: (read-only, click to copy)
Package Base: linux-clear
Description: Headers and scripts for building modules for the Clear Linux kernel
Upstream URL:
Keywords: clear clearlinux intel kernel
Licenses: GPL2
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 45
Popularity: 5.14
First Submitted: 2018-01-18 21:47
Last Updated: 2020-05-30 10:55

Pinned Comments

metak commented on 2018-01-22 01:49

1. Binaries available in my repo:
SigLevel = Never
Server =$arch
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 »

includao commented on 2020-05-30 12:35

If you are having problems installing nvidia 440.84 dkms with CL kernel, read this:

lucasrizzini commented on 2020-05-22 05:29

What are the odds you add the add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch to this baby?

xuanruiqi commented on 2020-05-17 12:10

@metak: also, _gcc_more_v can be bumped to 20200428.

xuanruiqi commented on 2020-05-17 12:09

If you use nvidia-dkms, then you must configure SECTION_MISMATCH_WARN_ONLY (Kernel hacking -> Compile-time checks and compiler options -> Make section mismatch errors non-fatal) because somehow there's a mismatch problem in the NVIDIA driver, somehow.

Also, GCC 10 is missing GCC plugins support for some reason; I guess it would be fixed by upstream soon.

metak commented on 2020-05-15 15:46

@wshuman3 & @tam1m Thank you for chiming in.

@fidasx nvidia issues are nothing new. Here's the latest reported on clear issue tracker.

tam1m commented on 2020-05-15 15:11

@fidasx That's because gcc10 is now default in arch.

I wasn't able to get nvidia-dkms working with linux-clear and gcc10. As a quick workaround, dowgrading to gcc9 and rebuilding linux-clear AND nvidia-dkms works. This however makes nvidia-dkms incompatible with every linux package compiled with gcc10 (default arch kernel for example). So keep that in mind

fidasx commented on 2020-05-15 15:04


getting errors on nvidia-dkms driver for 5.6.13-1

WARNING: /var/lib/dkms/nvidia/440.82/build/nvidia.o(.text.unlikely+0x317): 
Section mismatch in reference from the function nv_module_init() to the 
function .init.text:nvlink_core_init()
The function nv_module_init() references
the function __init nvlink_core_init().
This is often because nv_module_init lacks a __init 
annotation or the annotation of nvlink_core_init is wrong.

FATAL: modpost: Section mismatches detected.
make[2]: *** [scripts/Makefile.modpost:93: __modpost] Error 1
make[1]: *** [Makefile:1603: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.6.13-1-clear/build'
make: *** [Makefile:81: modules] Error 2

any idea? have been using your kernel for a long time never had this problem

Tjuh commented on 2020-05-15 13:22

Great! Much obliged.

wshuman3 commented on 2020-05-15 13:12

@Tjuh the documentation for kernel params can be found here:

Tjuh commented on 2020-05-15 13:09

I think it would be helpful to get some descriptions on those kernel parameters. What do they do and why are they usefull to have. I know some of them like - quiet, rootfstype and rw - but I'm unfamiliar with the rest.