From Gentoo Wiki
< Kernel
Jump to:navigation Jump to:search
This page is a translated version of the page Kernel/Overview and the translation is 40% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎русский • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어

Dieses Dokument bietet einen Überblick über alle Kernelquellen, die Gentoo durch Portage bereitstellt.


Wie bei allem anderem in Gentoo Linux, besteht die Philosophie des Gentoo Kernel Teams darin dem Nutzer eine größtmögliche Wahlfreiheit zu überlassen. Wenn man einen Blick auf die Ausgabe von emerge -s sources wirft, erhält man eine große Anzahl von Kernelpaketen, aus denen man den Passenden auswählen kann. Dieses Dokument versucht einen kurzen Überblick über die Ziele jedes einzelnen Patchsets, das von Gentoo angeboten wird zu geben und erklärt auch, welche anderen Kernelquellen verfügbar sind.

Unterstützte Kernelpakete


genkernel ist ein Kernelwerkzeug, das dazu genutzt werden kann die vorhandene Hardware zu erkennen und den Kernel automatisch zu konfigurieren. Dies ist die übliche Empfehlung für Nutzer die ihren Kernel nicht von Hand kompilieren möchten.

Für weitere Informationen Lesen Sie bitte den Gentoo Linux-Genkernel-Guide .

Allgemein einsetzbar: gentoo-sources

Für die meisten Nutzer wird sys-kernel/gentoo-sources als Kernelquelle empfohlen. gentoo-sources ist ein Kernelpaket, welches auf Linux 3.x basiert und mit wenigen Patches, die Sicherheitsprobleme oder Fehler lösen und die Kompatibilität mit weiteren ungebräuchlichen Systemarchitekturen zu erhöhen, erweitert wurde.

Das sys-kernel/gentoo-sources Paket nimmt die meisten Ressourcen des Gentoo Kernel Teams in Anspruch. Diese werden für die Nutzer von einer Gruppe talentierter Entwickler, welche auf die Expertise des bekannten Kernelhackers Greg Kroah-Hartman zählen können, bereitgestellt. Kroah-Hartman betreut udev und ist verantwortlich für die USB und PCI Subsysteme im offiziellen Linuxkernel.


The sys-kernel/gentoo-kernel package maintained by the Distribution Kernel project provides a default configuration that works for most of diverse systems, for users who are not interested in configuring their own kernel from scratch.


The sys-kernel/git-sources package tracks daily snapshots of the upstream development kernel tree. These kernels are good for users interested in kernel development or testing. Bug reports should go to the Linux Kernel Bug Tracker or LKML (Linux Kernel Mailing List).

Architekturspezifische Kernel

sys-kernel/mips-sources is patched to run best on specific architectures. It also contains some of the patches for hardware and features support from the other patch sets mentioned above and below.

Nicht-unterstützte Kernelpakete

Now to briefly describe some of the other sys-kernel/*-sources which scrolled by when the emerge -s "%@^sys-kernel/.*-sources" command was run below we discuss each one of them individually. These kernels are provided as a courtesy only — the various patch sets are not supported by the Gentoo kernel team. There is no specific preference to one source or another, so we review the kernel sources in alphabetical order.


The sys-kernel/pf-sources kernel brings together parts of several different kernel patches. It includes the BFS patchset from sys-kernel/ck-sources, the sys-kernel/tuxonice-sources patches, LinuxIMQ, and the BFQ I/O scheduler.


The sys-kernel/rt-sources kernel is based on sys-kernel/vanilla-sources and includes the PREEMPT_RT patch. That patch turns the Linux kernel into a real-time operating system (RTOS). Use this if your system requires real-time guarantees. For more information, see


usermode-sources are the User Mode Linux kernel patches and can be found in the sys-apps/usermode-utilities package. These kernel patches are designed to allow Linux to recursively run within Linux. User Mode Linux is intended for testing and virtual server support. For more information about this amazing tribute to the stability and scalability of Linux, see

For more information on UML and Gentoo, read the Gentoo User-mode Linux Guide


Many Linux users will probably be familiar with the sys-kernel/vanilla-sources package. These kernels are copies of the official kernel sources released on Please note that the Gentoo kernel team does not patch vanilla-sources at all; they are for people who wish to run a completely unmodified Linux kernel. The Gentoo kernel team recommends sys-kernel/gentoo-sources instead.

Versions of the kernel can be found under this package: 3.x, 4.x.


New sys-kernel/vanilla-kernel package whose primary purpose is to provide a zero-effort way of ensuring that your system is running a working distribution kernel that gets cleanly upgraded as part of @world upgrades. The secondary goal is to make it possible to build universal binary packages that can be afterwards installed on variety of systems with different hardware, /boot layouts and bootloaders. For details see Michał Górny - A distribution kernel for Gentoo


The sys-kernel/zen-sources package is designed for desktop systems. It includes code not found in the mainline kernel. The Zen kernel has patches that add new features, support additional hardware, and contains various tweaks for desktops. The Zen 3.8 kernel series is currently masked in the Portage tree. For more information on the Zen kernel please visit Zen Kernel GitHub repository.

Früher bereitgestellte Kernelpakete


aa-sources was a heavily modified kernel with all kinds of patches. The upstream maintainer stopped releasing kernel patchsets and subsequently this package has been removed.


alpha-sources was a 2.4 kernel with patches applied to improve hardware compatibility for the Alpha architecture. These patches have been developed and are now included in the mainline kernel. Alpha users can run any recent kernel with no need for extra patches.

Architekturspezifische Kernel

cell-sources war ein 2.6 Kernel, welcher entworfen wurde, um auf der Sony PlayStation 3 Spielekonsole zu laufen.


The aufs-sources package contains full kernel sources including the official genpatchset (found in gentoo-sources) for the 4.14/4.19 kernel tree and aufs4 support. This kernel is useful when attempting to utilize the aufs4 filesystem. For more information see the aufs page on Sourceforge or the genpatches homepage.


ck-sources is Con Kolivas's kernel patch set. This patchset is primarily designed to improve system responsiveness and interactivity and is configurable for varying workloads (from servers to desktops). The patchset includes a different scheduler, MuQSS, designed to keep systems responsive and smooth even when under heavy load. Support and information is available here and in the #ck channel on


development-sources , der offizielle 2.6 Kernel von Dieser kann jetzt im vanilla-sources Paket gefunden werden.


gentoo-dev-sources , ein 2.6 kernel mit zusätzlichen Fehlerbehebungen, Sicherheits- und Stabilitätsverbesserungen. Dieser kann jetzt im gentoo-sources Paket gefunden werden.


The grsec-sources kernel source used to be patched with the latest grsecurity updates (grsecurity version 2.0 and up) which included, amongst other security-related patches, support for PaX. Grsecurity patches are included in the hardened-sources kernel, so this package is no longer available in Portage.

Für Server: hardened-sources

As of August 27th, 2017, due to grsecurity limiting access to their patches, hardened-sources will be masked and eventually no longer available in Gentoo. See the full enews item here.

The sys-kernel/hardened-sources kernel was based on the official Linux kernel and was targeted at users running Gentoo on server systems. It once provided patches for the various sub-projects of Gentoo Hardened (such as support for SELinux and grsecurity), together with stability and security-enhancements. Check out the Hardened project here on the wiki for more information.

This kernel provides powerful patches for enhanced security. Please read the introduction to Hardened Gentoo article before using it.


hardened-dev-sources can now be found under the hardened-sources package.


hppa-sources was a 2.6 kernel with patches applied to improve hardware compatibility for the HPPA architecture. These patches have been developed and included in the mainline kernel. HPPA users can now run any recent kernel with no need for extra patches.


The mm-sources were based on vanilla-sources and contained Andrew Morton's patch set. They included the experimental and bleeding-edge features that were going to be included in the official kernel (or were going to be rejected because they set systems on fire!). They were known to be always moving at a fast pace and could change radically from one week to the other; kernel hackers often used mm-sources as a testing ground for highly experimental stuff. They have since been removed from the Portage tree.


OpenVZ is a server virtualization solution built on Linux. OpenVZ creates isolated, secure virtual private servers (VPSs) or virtual environments on a single physical server enabling better server utilization and ensuring that applications do not conflict. For more information, see


The rsbac-dev-sources kernels could be found under the sys-kernel/rsbac-sources package.


Back in the days of 2.6-based kernels sys-kernel/rsbac-sources contained patches to use Rule Set Based Access Controls (RSBAC). It was removed due to lack of maintainers, but has has magically reappeared with the 3.10 kernel series. Use hardened-sources if additional security features are needed.


selinux-sources, a 2.4 kernel including lots of security enhancements, has been obsoleted by security development in the 2.6 kernel tree. SELinux functionality can be found in the hardened-sources package.


sh-sources was a 2.6 kernel with patches applied to improve hardware compatibility for the SuperH architecture. These patches have been developed and included in the mainline kernel. SuperH users can now run any recent kernel with no need for extra patches.


sparc-sources was a 2.4 kernel with patches applied to improve hardware compatibility for the SPARC architecture. These patches have been developed and included in the mainline kernel. SPARC users can now run any recent kernel with no need for extra patches.


tuxonice-sources has been last-rited, see bug #627924.

The sys-kernel/tuxonice-sources (formerly sys-kernel/suspend2-sources) are patched with both genpatches which includes the patches found in gentoo-sources, and the patches found in TuxOnIce which are an improved implementation of suspend-to-disk for the Linux kernel, formerly known as suspend2.


The uclinux-sources are meant for CPUs without MMUs as well as embedded devices. For more information, see Lack of security patches as well as hardware to test on were the reasons this package is no longer found in the Portage tree.


win4lin-sources were patched to support the userland win4lin tools that allowed Linux users to run many Microsoft Windows (TM) applications at almost native speeds. These kernel sources were removed due to security issues.

xbox-sources sources for the Xbox Linux kernel


xen-sources was a 2.6-based kernel that allowed running multiple operating systems on a single physical system. A user could create virtual environments in which one or more guest operating systems could run on a Xen-powered host operating system.

The xen-sources patches were incorporated into the mainline Linux kernel as of version 3.0.

For more information on working with Xen and Gentoo, read the Xen article here on the wiki.

See also

  • Kernel upgrade guide
  • The Gentoo Handbook
    This page is based on a document formerly found on our main website
    The following people contributed to the original document: Brandon Low, Daniel Drake, Carl Anderson, Jorge Paulo, Benny Chuang, Gregorio Guidi, Shyam Mani, Joshua Saddler
    They are listed here because wiki history does not allow for any external attribution. If you edit the wiki article, please do not add yourself here; your contributions are recorded on each article's associated history page.