Gentoo 5.10.x generic kernel configuration
The 5.10.27 Linux kernel has been marked as stable in Gentoo a few days ago and I've just updated my generic kernel configuration file to support it. As with my previous posts this configuration is based on the Fedora kernel with some Gentoo-specific tweaks. It supports practically every bit of hardware in existence and enables a lot of bleeding-edge kernel functionality.
The only few notable changes compared to the Fedora kernel are the following:
The binfmt_misc module is baked in for convenience
The NVMe core modules are baked in so you can boot from an NVMe drive without having to use an initrd
RTC time based on NTP synchronization is enabled so you don't need the hwclock service (but you can use osclock instead if some other service requires the clock facility)
The CONFIG_ACPI_EXTLOG option is enabled. This is useful if you're using rasdaemon to monitor ECC memory
The boot logo is disabled
Kernel debugging is disabled
Note that this kernel configuration is for use with OpenRC. If you're using
systemd you'll have to remove the CONFIG_GENTOO_LINUX_INIT_SCRIPT=y
line
from the configuration file and add CONFIG_GENTOO_LINUX_INIT_SYSTEMD=y
instead.
To use it install the latest stable sys-kernel/gentoo-sources
package
(5.10.x), copy the configuration file under /usr/src/linux/
and rename it
to .config
then proceed to build and install the kernel as usual.