The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Kernels do Funtoo Linux
Overview of Kernels
sys-kernel/vanilla-sources
This will install the "vanilla" (unmodified) Linux kernel sources. Current recommended version is 3.x. Funtoo Linux fully supports Linux 3.x. The advantages of this kernel include recent improvements to Linux Containers, a very modern networking stack with lots of bug fixes, and high reliability for desktops and servers. The downside is that this kernel must be manually configured by the user and does not have built-in genkernel
support via the binary
USE flag at this time.
No results
This kernel tree is based on stable kernels from kernel.org with genpatches applied genpatches. Gentoo patchset aims to support the entire range of Gentoo-supported architectures. List of available genpatched kernels: genpatches-kernels
No results
This is a RHEL6-based kernel with OpenVZ support. This kernel is now the preferred kernel for production OpenVZ deployments. It requires gcc-4.4.5 to build, which it will use automatically without the user needing to use gcc-config
. We use this version of gcc since this is the version of gcc used by Red Hat to build this kernel.
sys-kernel/debian-sources
This is the Debian kernel. These ebuilds now support the binary
USE flag. Daniel has added a special config-extract command which can be used to list all available official Debian kernel configurations, and generate them from the Debian files included with the kernel. This kernel has optional OpenVZ support, but it is much better to use openvz-rhel6-stable if you want a production-quality OpenVZ installation. For more information about how to use debian-sources and config-extract, see Using debian-sources with Genkernel below.
Binary USE
Many of the kernel ebuilds in Funtoo Linux support the very useful binary
USE flag. By enabling this USE flag and emerging the kernel, the ebuild will automatically build a binary kernel image, initramfs and kernel modules and install them to /boot
. The binary kernel image and initramfs can be used to boot your Funtoo Linux system without requiring any additional configuration. This is a great way to get a Funtoo Linux system up and running quickly. Here's how to do it:
root # echo "sys-kernel/openvz-rhel6-stable binary" >> /etc/portage/package.use root # emerge openvz-rhel6-stable root # nano -w /etc/boot.conf root # boot-update
More information can be found in the Funtoo Linux Installation Guide.
Funtoo Linux Genkernel
Funtoo Linux contains a forked/enhanced version of genkernel with the following new capabilities:
- genkernel can use a build directory that is separate from the kernel source directory. This is enabled using the new --build-dst option.
--build-src
is a new option that is equivalent to the --kerneldir option.--fullname
can be used to specify the entire name of the kernel and initramfs images -- everything after kernel- and initramfs-.--firmware-src
- a new option that works identically to --firmware-dir.--firmware-dst
- a new capability - you can now define where genkernel installs firmware.- Genkernel uses Funtoo Linux
lvm2
rather than building its own. - Some compile fixes.
Kernel Features and Stability Overview
SPARC64: All kernels beyond 3.9 series and before 3.14-rc8 are subject to a bug that stalls the kernel on sun4v machines only. Those latter are machines provided with UltraSPARC T1 and later CPUs (e.g. SunFire T1000, SunFire T2000, SunFire T52x0/T54x0 series...), all sun4u machines (UltraSPARC IV and prior CPUs) are not subject to this problem and any kernel version is functional.
Kernel Name | Version | USE flags | Stability | Extra Features | Req'd udev | Notes |
---|---|---|---|---|---|---|
sys-kernel/vanilla-sources | 3.17.0 | N/A | Excellent - recommended for desktops and servers. | N/A | Any | Recommended for modern networking stack, hardware and Linux Containers support. This kernel must be manually configured by the user. New Features: kernelnewbies.org/linux_3.12 New Drivers: kernelnewbies/Linux_3.12-DriversArch |
No results | 3.17.0 | N/A | Excellent - recommended for desktops and workstations | N/A | Any | Recommended for modern networking stack, hardware and Linux Containers support. This kernel must be manually configured by the user. New Features: kernelnewbies.org/linux_3.12 New Drivers: kernelnewbies/Linux_3.12-DriversArch |
No results | 2.6.32.042.092.2 | binary | Excellent - recommended for production servers | N/A | Any | This kernel is built with gcc-4.4.5. emerge broadcom-netxtreme2 for reliable BCM5709+ support (integrated NIC) |
sys-kernel/debian-sources | 3.16.2, 3.16.7, 3.19.3 | openvz | Good - default kernel recommended by Funtoo | OpenVZ (optional) | Any | See #Using debian-sources with Genkernel, below. |