1
1

1148 Commits

Author SHA1 Message Date
0e2b5d275b
pygoscelis: Bump to 6.14.8-t14s, upgrade rustc to 1.85.1 2025-03-26 08:37:47 +01:00
b891e21f5b
pygoscelis: Enable CONFIG_NETFILTER_XT_MATCH_* as module
As far as I can see I'll definietly need xt_comment, enabled
by config entry CONFIG_NETFILTER_XT_MATCH_COMMENT, but let's
just enable the rest as module, too.

The xt_comment module is used by some projects using docker-compose
(with podman-5.4.1 and podman-compose-1.3.0).
2025-03-26 08:37:47 +01:00
9327270ee9
pachyrhynchus: Disable CONFIG_MITIGATION_RFDS
As far as I can see the CPU of this host is not affected:
https://docs.kernel.org/admin-guide/hw-vuln/reg-file-data-sampling.html

The CPU is a Haswell-series i5 while RFDS should only affect Intel Atom CPUs.
2025-03-24 23:11:48 +01:00
75cdf3c1cf
pachyrhynchus: Disable CONFIG_SECURITY_IPE
I do not use it so far.
2025-03-24 23:11:47 +01:00
f07e13d95f
pachyrhynchus: Switch to CONFIG_PROC_MEM_FORCE_PTRACE 2025-03-24 23:11:47 +01:00
d536b0b435
pachyrhynchus: Switch to CONFIG_HZ_300
Decrease the timer frequency, possibly saving a few electrons :]
2025-03-24 23:11:47 +01:00
0a0b9b0b99
pachyrhynchus: Enable ZSWAP 2025-03-24 23:11:47 +01:00
efb3bee24b
pachyrhynchus: Disable 32bit emulation by default
This enables to config flag CONFIG_IA32_EMULATION_DEFAULT_DISABLED.
2025-03-24 23:11:47 +01:00
c9ad631749
pachyrhynchus: Enable CONFIG_CPU_FREQ_GOV_POWERSAVE as module
Enable this governor for evaluation.
2025-03-24 23:11:46 +01:00
bb4e0da78d
pachyrhynchus: Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT 2025-03-24 23:11:46 +01:00
aa9d16fa86
pachyrhynchus: Disable CONFIG_EFI_HANDOVER_PROTOCOL 2025-03-24 23:11:46 +01:00
853905e977
pachyrhynchus: Disable CONFIG_X86_CHECK_BIOS_CORRUPTION
I never ran it on purpose and it looks to me as it was
enabled 'by accident' on an earlier kernel bump in 2021
in commit 20a7ab2a5adaeb42f5cfd25d29d82a1060ac4ccd.
2025-03-24 23:11:46 +01:00
5a38b5d8f6
pachyrhynchus: Disable CONFIG_MEMCG_V1 2025-03-24 23:11:45 +01:00
552fc4f431
pachyrhynchus: Overhaul the audio settings 2025-03-24 23:11:45 +01:00
33bd111b5a
pachyrhynchus: Clean up some unused sensor modules 2025-03-24 23:11:45 +01:00
aeb1ae1e4c
pachyrhynchus: Switch to zstd
For some reference, see the following commits:
4d8812597bfc661bfa4c54ee08e4ce4da4caacc2 aptenodytes, eudyptes: Switch to zstd
672ae7c496ec5b2ac0ff5563991eb98fcdf5311a pygoscelis: Try out zstd for kernel and initramfs
(052d3b965b369b07339ca15ec273d7111ecd222f pygoscelis: Use zstd for panic logs)
2025-03-24 23:11:45 +01:00
c0498e146b
pachyrhynchus: Overhaul, bump to 6.13.8-x240
This is a group of changes, including some toolchain bumps,
the bump to 6.13.y and the new suffix
2025-03-24 23:11:44 +01:00
383e30306e
aptenodytes, eudyptes: Bump to 6.13.8-cloud-hetzner
This is a version bump plus a new suffix.
The latter one is introduced for easier packaging / binpkg building
on my side.
2025-03-24 23:11:44 +01:00
dcf1355be1
pygoscelis: Bump to 6.13.7-T14s 2025-03-16 13:15:10 +01:00
06646c08e5
pygoscelis: Tweak my crypto setup
Part 1, enable AES-NI
  That this was even disabled is weird.

Part 2, disable the "AMD Secure Processor"

Looks as it's blocking AES-NI and my kernel does not support it:
`modprobe: ERROR: could not insert 'ccp_crypto': No such device`
and
`ccp_crypto: Cannot load: there are no available CCPs`
2025-03-16 13:15:10 +01:00
9732dcbf8b
pygoscelis: Enable hibernation
This disables CONFIG_GENTOO_KERNEL_SELF_PROTECTION_COMMON by itself
and lockdown by choice as my system did not let me hibernate with
enabled lockdown, even though fwupdmgr recognized the encrypted swap.

For the decryption of swap I added a second rd.luks.uuid entry
aswell as resume=UUID=... - first one pointing to the outside LUKS
container, second one to the unlocked swap partition.

For now I have to enter passphrases for / and swap at boot and resume.
2025-03-16 13:15:10 +01:00
dcf3711270
aptenodytes, eudyptes: Bump to 6.13.7 and place key out of build dir
See commit ebbd51811cec3aa6382447db66d0abb8fb68efe0 for reference.
2025-03-14 17:55:43 +01:00
aaba9fffbd
pygoscelis: Bump to 6.13.6-T14s and place key out of build dir
Starting with 6.13.6-T14s, my kernel signing key will be placed outside
the kernel build dir and thus not installed into the world-readable location
`/usr/src/linux/certs`.

It's configured by flags for portage in `/etc/portage/make.conf/MODULES_SIGN`:
  ```
  MDOULES_SIGN_CERT=".../signing_cert.pem"
  MODULES_SIGN_HASH="sha3-512"
  MODULES_SIGN_KEY=".../signing_key.pem"
  ```
generated using this script:
  ```
  #!/bin/bash
  set -uxa pipefail

  __VERSION__="2025-03-09"

  TODAY="$(date --utc +%Y-%m-%d)"
  SIGN_KVER="6.13.y"
  MY_PRIV_KEY_FILE="${TODAY}.signing_key.pem"
  MY_PUB_CERT_FILE="${TODAY}.signing_cert.pem"

  MY_OPENSSL_PARAMS=(
      req
      -new
      -sha512
      -newkey rsa:4096
      # don't encrypt the file
      -noenc
      # validity: 1024 years, given in days
      -days 374016
      -x509
      -keyout "${MY_PRIV_KEY_FILE}"
      -out "${MY_PUB_CERT_FILE}"
      # adopt to usage
      # keep umlauts in mind, the seem to break here...
      -subj "/C=DE/ST=Baden-Wuerttemberg/L=Karlsruhe/O=/OU=/CN=kernel module signing key (${TODAY}, ${SIGN_KVER})/"
  )

  openssl "${MY_OPENSSL_PARAMS[@]}"
  openssl x509 -noout -text -in "${MY_PUB_CERT_FILE}"
  ```

This change brings the benefit that I can use binpkgs on my machine, do
not need to delete my keys from world-readable `/usr/src/linux` anymore
and can even think about distributing my kernel binary packages.

One negative change is that I'll have to remember to roll-over the keys
myself from time to time.
2025-03-13 23:24:21 +01:00
ba47017a37
pygoscelis: Bump to 6.13.5-T14s 2025-03-13 23:24:20 +01:00
679e21f523
pygoscelis, aptenodytes, eudyptes: Bump gcc to 14.2.1_p20250301 p8 2025-03-02 21:32:30 +01:00
f33ead9ec5
aptenodytes, eudyptes: Bump to 6.13.4 2025-02-24 12:13:05 +01:00
ec39e3bb4b
aptenodytes, eudyptes: Disable CONFIG_MEMCG_V1 2025-02-24 12:13:05 +01:00
4d8812597b
aptenodytes, eudyptes: Switch to zstd
See #2
2025-02-24 12:13:04 +01:00
42fd3d76fb
aptenodytes, eudyptes: Disable CONFIG_HOTPLUG_PCI_OCTEONEP 2025-02-24 12:13:04 +01:00
1a8ee015c1
aptenodytes, eudyptes: Disable CONFIG_KVM_HYPERV 2025-02-24 12:13:04 +01:00
20f77054fa
aptenodytes, eudyptes: Enable CONFIG_RANDOM_KMALLOC_CACHES 2025-02-24 12:13:04 +01:00
ce8f6a977c
aptenodytes, eudpytes: Upgrade rustc to 1.85.0, llvm to 19.1.7 2025-02-24 12:13:03 +01:00
9187d9a780
aptenodytes, eudpytes: Bump to 6.13.3, upgrade binutils to 2.44.0 2025-02-24 12:13:03 +01:00
a5993fc4b7
pygoscelis: Bump to 6.13.4-t14s, upgrade rustc to 1.85.0 2025-02-22 12:27:32 +01:00
2caf5cdd13
pygoscelis: Bump to 6.13.3-T14s
Also bump AS/LD to 2.44.0 and enable CONFIG_NETFS as module.
2025-02-17 23:02:51 +01:00
3a7a111954
pygoscelis: Bump to 6.13.2-t14s, upgrade rustc to 1.84.1 2025-02-09 13:36:09 +01:00
80696c26cb
pygoscelis: Move CONFIG_CRYPTO_LZO to module 2025-02-05 12:30:10 +01:00
9d2d2f696a
pygoscelis: Move CONFIG_CRYPTO_DEFLATE to module 2025-02-05 12:30:10 +01:00
aa8f38b03b
pygoscelis: Enable CONFIG_CRYPTO_CHACHA20POLY1305 as module 2025-02-05 12:30:10 +01:00
229a9ed404
pygoscelis: Disable CONFIG_CRYPTO_DES 2025-02-05 12:30:09 +01:00
8d552f3d3a
pygoscelis: Disable CONFIG_SECURITY_SMACK
I never set it up properly and it looks(!) like the root cause
of some weird resets on my machine.
2025-02-05 12:30:09 +01:00
1b24d78b06
pygoscelis: Drop modem support 2025-02-05 12:30:09 +01:00
574f4d59ef
pygoscelis: Disable CONFIG_RPMB
This was enabled by the bump to 6.12.3-T14s on 2024-12-07
in commit 89b8f450bea1375b10effabf6d92efcf157588f8.

I never used it and assume it's save to drop it for my machine.
2025-02-05 10:36:00 +01:00
6870d51063
pygoscelis: Switch to CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD 2025-02-05 10:36:00 +01:00
cbff399052
pygoscelis: Bump to 6.13.1-T14s 2025-02-05 10:35:44 +01:00
d037514cbb
pygoscelis: Bump to 6.12.11 and toolchain partially
pahole to 1.29 via dev-util/pahole
rustc to 1.84.1 via dev-lang/rust-bin
rustc-llvm to 19.1.5 via dev-lang/rust-bin
2025-02-02 20:04:15 +01:00
53cadde849
aptenodytes, eudpytes: Bump to 6.12.10 2025-01-19 14:09:30 +01:00
7a0599a37e
aptenodytes, eudpytes: Enable CONFIG_MODULE_COMPRESS_ALL 2025-01-19 14:09:29 +01:00
672d9d06e3
aptenodytes, eudpytes: Cleanup PHY and MDIO settings 2025-01-19 14:09:29 +01:00
4d4b8e1620
aptenodytes, eudpytes: Switch to CONFIG_PCIE_BUS_PERFORMANCE 2025-01-19 14:09:29 +01:00