Difference between revisions of "Funtoo Linux Kernels/pt-br"

From Funtoo
Jump to navigation Jump to search
(Updating to match new version of source page)
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Overview of Kernels ==
{{#widget:AddThis}}
<languages/>
{{Announce|To help us translate this documentation, {{CreateAccount}}, log in to the wiki. Then go to Actions -> Translate in the menu, or click the "Translate this page" link, above. You will be able to select small parts of the install docs and translate these parts to your native language.}}


=== {{Package|sys-kernel/vanilla-sources}} ===
This Section will give you an overview of kernels used in funtoo.
Some points of interest:


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 ''<code>genkernel</code>'' support via the ''<code>binary</code>'' USE flag at this time.
* Most Funtoo Linux kernels support the handy {{c|[[#Binary USE|binary]]}} USE flag, described below.
* Funtoo Linux offers quality kernels from other Linux Distributions, like {{c|debian-sources}}.
* Advanced users may want to take a look at [[Additional Kernel Resources]].


=== {{Package|sys-kernel/gentoo-sources}} ===
== Overview of Kernels ==
 
This kernel tree is based on stable kernels from [https://www.kernel.org/ kernel.org] with genpatches applied [http://dev.gentoo.org/~mpagano/genpatches/about.htm genpatches].
Gentoo patchset aims to support the entire range of Gentoo-supported architectures. List of available genpatched kernels: [http://dev.gentoo.org/~mpagano/genpatches/kernels.htm genpatches-kernels]


=== {{Package|sys-kernel/openvz-rhel6-stable}} ===
=== {{Package|sys-kernel/debian-sources-lts}} ===


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 ''<code>gcc-config</code>''. We use this version of gcc since this is the version of gcc used by Red Hat to build this kernel.
This is the Debian kernel, long-term stable edition and the default kernel for Funtoo Linux. '''These ebuilds now support the {{c|binary}} USE flag.'''


=== {{Package|sys-kernel/debian-sources}} ===
=== {{Package|sys-kernel/debian-sources}} ===


This is the Debian kernel. '''These ebuilds now support the ''<code>binary</code>'' USE flag.''' Daniel has added a special <tt>config-extract</tt> 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 <tt>openvz-rhel6-stable</tt> if you want a production-quality OpenVZ installation. For more information about how to use <tt>debian-sources</tt> and <tt>config-extract</tt>, see [[#Using Debian-Sources with Genkernel|Using debian-sources with Genkernel]] below.
This is a more up-to-date version of the Debian kernel but it less suited for server systems.


== Binary USE ==
== Binary USE ==


Many of the kernel ebuilds in Funtoo Linux support the very useful <code>binary</code> 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 <code>/boot</code>. 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:
Many of the kernel ebuilds in Funtoo Linux support the very useful {{c|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 {{c|/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:


<console>
{{console|body=
###i## echo "sys-kernel/openvz-rhel6-stable binary" >> /etc/portage/package.use
###i## echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
###i## emerge openvz-rhel6-stable
###i## emerge debian-sources
###i## nano -w /etc/boot.conf
###i## nano -w /etc/boot.conf
###i## boot-update
###i## ego boot update
</console>
}}


More information can be found in the [[Funtoo Linux Installation]] Guide.
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 <tt>--build-dst</tt> option.
* <code>--build-src</code> is a new option that is equivalent to the <tt>--kerneldir</tt> option.
* <code>--fullname</code> can be used to specify the entire name of the kernel and initramfs images -- everything after <tt>kernel-</tt> and <tt>initramfs-</tt>.
* <code>--firmware-src</code> - a new option that works identically to <tt>--firmware-dir</tt>.
* <code>--firmware-dst</code> - a new capability - you can now define where genkernel installs firmware.
* Genkernel uses Funtoo Linux <code>lvm2</code> rather than building its own.
* Some compile fixes.
== Kernel Features and Stability Overview ==
{{Fancywarning|'''SPARC64''': All kernels beyond 3.9 series and before 3.14-rc8 are subject to a [http://www.spinics.net/lists/sparclinux/msg11805.html 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. }}
{| {{table}}
!Kernel Name
!Version
!USE flags
!Stability
!Extra Features
!Req'd udev
!Notes
|-
|<tt>{{Package|sys-kernel/vanilla-sources}}</tt>
|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: [http://kernelnewbies.org/Linux_3.12 kernelnewbies.org/linux_3.12]  New Drivers: [http://kernelnewbies.org/Linux_3.12-DriversArch kernelnewbies/Linux_3.12-DriversArch]
|-
|<tt>{{Package|sys-kernel/gentoo-sources}}</tt>
|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: [http://kernelnewbies.org/Linux_3.12 kernelnewbies.org/linux_3.12]  New Drivers: [http://kernelnewbies.org/Linux_3.12-DriversArch kernelnewbies/Linux_3.12-DriversArch]
|-
|<tt>{{Package|sys-kernel/openvz-rhel6-stable}}</tt>
|2.6.32.042.092.2
|<tt>binary</tt>
|'''Excellent''' - recommended for production servers
|N/A
|Any
|This kernel is built with gcc-4.4.5. <tt>emerge broadcom-netxtreme2</tt> for reliable BCM5709+ support (integrated NIC)


|-
[[Category:Funtoo features]]
|<tt>{{Package|sys-kernel/debian-sources}}</tt>
[[Category:Kernel]]
|3.16.2, 3.16.7, 3.19.3
[[Category:Official Documentation]]
|<tt>openvz</tt>
|''Good'' - default kernel recommended by Funtoo
|OpenVZ (optional)
|Any
|See [[#Using debian-sources with Genkernel]], below.
|-
|}

Revision as of 04:58, April 14, 2019

Other languages:
English • ‎Türkçe • ‎español • ‎português do Brasil • ‎中文(中国大陆)‎
   {{{title}}}
{{{body}}}

This Section will give you an overview of kernels used in funtoo. Some points of interest:

  • Most Funtoo Linux kernels support the handy binary USE flag, described below.
  • Funtoo Linux offers quality kernels from other Linux Distributions, like debian-sources.
  • Advanced users may want to take a look at Additional Kernel Resources.

Overview of Kernels

No results

This is the Debian kernel, long-term stable edition and the default kernel for Funtoo Linux. These ebuilds now support the binary USE flag.

sys-kernel/debian-sources

This is a more up-to-date version of the Debian kernel but it less suited for server systems.

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/debian-sources binary" >> /etc/portage/package.use
root # emerge debian-sources
root # nano -w /etc/boot.conf
root # ego boot update

More information can be found in the Funtoo Linux Installation Guide.