summaryrefslogtreecommitdiff
path: root/metadata/news
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-18 00:01:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-18 00:01:42 +0100
commit075fd1f8cabc5879c6eb42127fb84c3058677fde (patch)
tree8b761e85416656264e041b1954427a58894b3333 /metadata/news
parent6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (diff)
gentoo auto-resync : 18:05:2024 - 00:01:41
Diffstat (limited to 'metadata/news')
-rw-r--r--metadata/news/2024-05-17-dracut-ext-kmods/2024-05-17-dracut-ext-kmods.en.txt106
-rw-r--r--metadata/news/Manifest30
-rw-r--r--metadata/news/Manifest.files.gzbin17832 -> 18017 bytes
-rw-r--r--metadata/news/timestamp.chk2
-rw-r--r--metadata/news/timestamp.commit2
5 files changed, 123 insertions, 17 deletions
diff --git a/metadata/news/2024-05-17-dracut-ext-kmods/2024-05-17-dracut-ext-kmods.en.txt b/metadata/news/2024-05-17-dracut-ext-kmods/2024-05-17-dracut-ext-kmods.en.txt
new file mode 100644
index 000000000000..ff2bdf695241
--- /dev/null
+++ b/metadata/news/2024-05-17-dracut-ext-kmods/2024-05-17-dracut-ext-kmods.en.txt
@@ -0,0 +1,106 @@
+Title: Changes to dracut kernel module/microcode handling
+Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
+Posted: 2024-05-17
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: sys-kernel/dracut
+Display-If-Installed: virtual/dist-kernel
+Display-If-Installed: sys-kernel/linux-firmware
+Display-If-Installed: sys-firmware/intel-microcode
+
+
+Impact
+====================
+
+Several changes were made regarding out-of-tree kernel modules, CPU
+microcode, and how these are handled in initial RAM file systems
+(initramfs) generated by sys-kernel/dracut for distribution kernels.
+Depending on the local Dracut and USE flag configuration, some
+configuration adjustments may be required as a result of these changes.
+
+Background (the problem)
+====================
+
+Previously Dracut implicitly included all out-of-tree kernel modules
+it could find. This leads to several problems:
+- It unnecessarily increases the size of the initramfs
+- It creates a bit of a mess when using distribution kernels, consider
+ the following:
+ 1) Distribution kernel is upgraded
+ 2) Initramfs for the new kernel is generated, it does not include
+ any out-of-tree kernel modules.
+ 3) Portage triggers rebuild of the out-of-tree kernel modules
+ 4) If zfs is installed, its rebuild will trigger an initramfs
+ re-installation. Otherwise no rebuild is triggered.
+ Problem: What is and is not included in the initramfs is now
+ ambiguous. It depends on the emerge order of the kernel modules
+ when zfs is used. And will completely change if at some later stage
+ regeneration of the initramfs is triggered manually via e.g.:
+ emerge --config sys-kernel/gentoo-kernel
+ As a result, Dracut's "--reproducible" setting is not working. And
+ the functionality of the initramfs may change (seemingly) at random.
+
+Background (the fix)
+====================
+
+Several things have been changed:
+- Out-of-tree kernel modules installed by portage are explicitly omitted
+ from the initramfs generated by Dracut by default.
+- Packages that install a kernel module for which it might make sense to
+ have it in the initramfs, have gained the "initramfs" USE flag. When
+ this flag is enabled, Dracut is instructed to include the installed
+ kernel modules. Packages for which it is essential that its kernel
+ modules are included in the initramfs have this new flag enabled
+ by default.
+- When distribution kernels are used (USE=dist-kernel), and a module
+ that should be in the initramfs is installed (USE=initramfs) the
+ initramfs is always re-generated.
+- The packages installing CPU microcode (sys-kernel/linux-firmware
+ and sys-firmware/intel-microcode) have been adjusted to mirror the
+ above changes for out-of-tree kernel modules. Both packages
+ have gained the "dist-kernel" USE flag, and the "initramfs" flag is
+ now enabled by default. When both flags are enabled, Dracut is
+ configured to include the installed microcode in the initramfs, and
+ then the initramfs is regenerated. When the "dist-kernel" flag is
+ disabled, the "initramfs" flag behaves as it previously did.
+
+User Action Required
+====================
+
+Users should double check two things:
+1) Please ensure that you are *not* globally enabling or disabling
+ the "initramfs" USE flag. Enabling it globally might result in an
+ unnecessarily large initramfs. Disabling it globally might result
+ in missing functionality in the initramfs. Which could lead to boot
+ failure if, for example, the zfs module is missing while the root
+ partition is a zfs.
+2) Any add_drivers, or omit_drivers lines in /etc/dracut.conf or
+ /etc/dracut.conf.d/* may override the Dracut configuration snippets
+ installed by the kernel module packages in
+ /usr/lib/dracut/dracut.conf.d. Please review your Dracut
+ configuration files to ensure that you are not unintentionally
+ overriding the settings set by Portage.
+
+Frequently Asked Questions
+====================
+
+A package installing a kernel module I would like in my initramfs has
+not gained the "initramfs" USE flag. How do I proceed?
+
+ Please report a new bug on bugs.gentoo.org, requesting that the
+ package maintainer consider adding support to the package for
+ including the modules in the initramfs. In the meantime you can
+ locally override the configuration provided by the package (see
+ below). Note though that when distribution kernels are used,
+ regeneration of the initramfs must be triggered manually via e.g.:
+ emerge --config sys-kernel/gentoo-kernel
+
+How do I override the provided Dracut configuration snippets to
+include/exclude a custom list of modules?
+
+ To override the provided configuration snippet, create a new file
+ /etc/dracut.conf.d/10-PACKAGENAME.conf, replacing PACKAGENAME with
+ the name of the package providing the module. Add to this file:
+ omit_drivers+=" my list of drivers to omit "
+ and/or
+ add_drivers+=" my list of drivers to include "
diff --git a/metadata/news/Manifest b/metadata/news/Manifest
index 73d3765fb5db..115bdb06dd80 100644
--- a/metadata/news/Manifest
+++ b/metadata/news/Manifest
@@ -1,23 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
-MANIFEST Manifest.files.gz 17832 BLAKE2B 4e831695fbc4aea74cfccef24bbec092bfd0784a1fe989bd352a21fd4b70f3c719ead600407d929ebe70bdbb5e37bf22d0df7b0d0698cbb7d28b0cbb0a7f2818 SHA512 3cc5ae24818e441146a10260955c9c57e5ad4ae892152405c8481b5e1b8553533b0fcba67ef7ccfcfc819291693bd313fb3d9b1a8e14d67aca1a08316f49aaaf
-TIMESTAMP 2024-05-16T22:10:39Z
+MANIFEST Manifest.files.gz 18017 BLAKE2B 8b7204dcbeaa327360d6571d2bcef7a915ec44dd13da98629151434fc1ca4d7d1d2ab7c25844d52defb811fbfb39e8747c3f75b7055fab12e3dfdd058ce0432c SHA512 8f126def80806f194224767d2c95ad19f6a61d0b4b43d23162aa67b1fc68deb3a8626ddf064d90debdf83f0665d2a33abb1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RFUNZSF6nQrQewWRi8CylMMs3HTShZ9
+GitlH0irJlWi0G5QMRR/4vK5ffVEjJcVC7OiYsh5xVSePdlUbFiOPfxAFHeku3Sx
++NEJvvevK24XvN1BRIT6KaKJ7bTslEZeQovtH3x3e61pxTAKud64a9qhFqHJ9IWz
+kaqavAsGeT02DSklp/EdO0pDSXVAfxcDWxhS00/7xhhKYXLvB+hS4i2mVVLX9gby
+LbSG5avEaYWyO0bjRN35seTr84YKHcZepNU0s1qfJUTS5Zc7bG1p63vRibMnXaLf
+/BmCauYsLDWjsXDeQ3nXqZs786oAFMavK6Igxj0ugfzDn2alTQTskEuWnZJ9Er1X
+R0Xvam89t8L9Q2uobJYLSDYqZzdK3Wq9VewiT9R+TWbCK3EcPg2wFAje2pwcsxu7
+27YKx7ePN6A9tQHUK+vX/KIWFjx0ctAEK5pA2akRBg3J30s54Z9Pso1PSkUK328k
+pgRel8UGoiRkWKPPOYfh5YNKFapRZH46+Uc0S5v5SN133KRQyQUyvv+xI3LVTYjd
+SXDUPP1tTaIiTETcomz3cqTgDmuf2Q5jz5PEJGW3r4WC5g+Q0ZZZSz8YT48G+JXG
+wFinRweZxi2uBTRqukxMgHoW3GqWluSmGAz5Eb8pvPMveXq2WZA=
+=AiLM
-----END PGP SIGNATURE-----
diff --git a/metadata/news/Manifest.files.gz b/metadata/news/Manifest.files.gz
index 51b502b0311c..d7ba61268a33 100644
--- a/metadata/news/Manifest.files.gz
+++ b/metadata/news/Manifest.files.gz
Binary files differ
diff --git a/metadata/news/timestamp.chk b/metadata/news/timestamp.chk
index 2d0ba15f9da8..d38c7a26e26a 100644
--- a/metadata/news/timestamp.chk
+++ b/metadata/news/timestamp.chk
@@ -1 +1 @@
-Thu, 16 May 2024 22:10:34 +0000
+Fri, 17 May 2024 22:10:38 +0000
diff --git a/metadata/news/timestamp.commit b/metadata/news/timestamp.commit
index a5352396deeb..caddaf62b82c 100644
--- a/metadata/news/timestamp.commit
+++ b/metadata/news/timestamp.commit
@@ -1 +1 @@
-54a41c87307533fe370c99eb5295f5a638fe8d42 1715226611 2024-05-09T03:50:11Z
+c64a05c51a237c6011b0d57d3739cb27e1927f3d 1715933971 2024-05-17T08:19:31Z