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: 71
Popularity: 1.28
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-05-02 19:27 (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 .. 25 26 27 28 29 30 31 32 33 34 35 .. 47 Next › Last »

btd1337 commented on 2019-08-18 00:29 (UTC) (edited on 2019-08-18 07:08 (UTC) by btd1337)

@metak I have this error during boot:

Failed to start Load Kernel Modules - systemd-modules-load.service
systemd-modules-load[2218]: Failed to find module 'speakup_soft'
systemd-modules-load[2218]: Failed to insert module 'vboxdrv': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxpci': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxnetadp': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxnetflt': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxdrv': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxnetadp': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxnetflt': Required key not available
systemd-modules-load[2218]: Failed to insert module 'vboxpci': Required key not available
systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Load Kernel Modules.

My /boot/default/grub file contains:

GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200n8 initcall_debug tsc=reliable no_timer_check noreplace-smp kvm-intel.nested=1 rootfstype=ext4,btrfs,xfs intel_iommu=igfx_off cryptomgr.notests rcupdate.rcu_expedited=1 rcu_nocbs=0-64 module.sig_unenforce rw"

module.sig_unenforce is as a second to last parameter. What am I doing wrong that step 3 doesn't work?

Thanks in advance!

UPDATE:

sudo vboxreload                                                                                                                                            ✔
Unloading modules: 
Loading modules: modprobe: ERROR: could not insert 'vboxnetadp': Required key not available
modprobe: ERROR: could not insert 'vboxnetflt': Required key not available
modprobe: ERROR: could not insert 'vboxpci': Required key not available
modprobe: ERROR: could not insert 'vboxdrv': Required key not available

Elanzer commented on 2019-08-17 19:44 (UTC)

SMBIOS messages are gone, thanks.

metak commented on 2019-08-17 19:31 (UTC) (edited on 2019-08-17 19:34 (UTC) by metak)

@btd1337 If you've already created $XDG_CONFIG_HOME/modprobed.db as per WIKI then you only have to set _localmodcfg=y. That's all.

btd1337 commented on 2019-08-17 19:20 (UTC) (edited on 2019-08-17 19:21 (UTC) by btd1337)

What do this variable Pkgbuild, Line 57: _localmodcfg= needs?

Is this?

_localmodcfg=/home/myuser/.config/modprobed.db

metak commented on 2019-08-17 17:40 (UTC)

@btd1337 I've updated the repo instructions in the pinned comment.

@Elanzer I've enabled CONFIG_DELL_SMBIOS_SMM=y, can you try the latest version?

Elanzer commented on 2019-08-17 15:37 (UTC)

I'm getting this message on boot:

dell_smbios: No SMBIOS backends available (wmi: -19, smm: -19) dell_smbios: No dell-smbios drivers are loaded

System is running fine, but still worries me. It's was fixed upstream, according https://github.com/clearlinux/distribution/issues/609

I think dell_smbios is set to user 'smm' but only 'wmi' is available with clear-linux

btd1337 commented on 2019-08-17 15:34 (UTC)

@metak

error: home_metakcahura_kernel_Arch_Extra_standard: Signature of "home: metakcahura OBS Project <home: metakcahura@build.opensuse.org>" has unknown trust
error: failed to update home_metakcahura_kernel_Arch_Extra_standard (invalid or corrupt database (PGP signature))
error: failed to sync all databases
Error installing repo packages

metak commented on 2019-08-16 23:46 (UTC)

@btd1337 Hi. That first line should be [home_metakcahura_kernel_Arch_Extra_standard].

btd1337 commented on 2019-08-16 22:48 (UTC) (edited on 2019-08-16 22:51 (UTC) by btd1337)

@metak how to use your repository in Arch Linux?

I tried this:

[Arch_Extra_standard]
# binaries for Clear Linux kernel
Server = http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64

but this error occurs:

error: failed to get "Arch_Extra_standard.db" file from download.opensuse.org: The requested URL returned error: 404
Error: Failed to update Arch_Extra_standard (unexpected error)
error: failed to sync all databases
Error installing repo packages

Thanks in advance

yw662 commented on 2019-08-04 22:52 (UTC)

I have uploaded some packages to download the kernel from clear linux repo, instead of compiling it from source. linux-clear-bin for the kernel, linux-clear-headers-bin for the headers, and intel-ucode-clear for intel cpu and i915 ucode. Hope it helps.

P.S. It is currently at 5.2.5-813, as in https://download.clearlinux.org/update/30610/.