注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Additional Kernel Resources/pt-br"

From Funtoo
Jump to navigation Jump to search
Line 13: Line 13:
</pre>
</pre>


=== Other resources of interest related to compiling kernels: ===
=== Outros recursos de interesse relacionados a compilar kernels: ===


* [[Genkernel Quick Start Tutorial]]
* [[Genkernel Quick Start Tutorial]]
* Build your own [[Kernel]] on funtoo with dracut or better-initramfs
* Construa seu próprio [[Kernel]] no funtoo com o dracut ou o better-initramfs
* [http://www.gentoo.org/doc/en/kernel-config.xml The Gentoo Linux Kernel Configuration Guide]
* [http://www.gentoo.org/doc/en/kernel-config.xml The Gentoo Linux Kernel Configuration Guide]
* [http://www.gentoo.org/doc/en/xorg-config.xml#doc_chap2 How to configure Kernel Modesetting aka KMS (The Gentoo X Server Configuration HOWTO)]
* [http://www.gentoo.org/doc/en/xorg-config.xml#doc_chap2 How to configure Kernel Modesetting aka KMS (The Gentoo X Server Configuration HOWTO)]
* [http://swift.siphos.be/linux_sea/kernelbuilding.html Linux Sea] by Sven Vermeulen has a nice kernel configuration section
* [http://swift.siphos.be/linux_sea/kernelbuilding.html Linux Sea] por Sven Vermeulen possui uma ótima seção de configuração do kernel
* '''Pappy McFae offers kernel seeds to help get you started. Visit his website at [http://kernel-seeds.org/ kernel-seeds.org] for more info.'''
* '''Pappy McFae oferece kernel seeds para lhe ajudar a iniciar. Visite seu website em [http://kernel-seeds.org/ kernel-seeds.org] para maiores informações.'''


If you prefer to manually configure and compile a kernel from source code directly, keep these things in mind:
Se você preferir configurar manualmente e compilar um kernel diretamente do código fonte, tenhas essas coisas em mente:


* You are touching the very low level aspects of a system, it is ''absolutely normal'' to have difficulties in properly setting up a kernel (in fact, configuring a Linux Kernel could be considered a bit of an ''art'')
* Você está tocando os aspectos de mais baixo nível de um sistema, é ''absolutamente normal'' ter dificuldades em configurar um kernel devidamente (de fato, configurar um kernel Linux poderia ser considerado um pouco de ''arte'')
* Take your time to investigate, it is a great occasion to Google a bit for some unknown notions (e.g. What is an ''I2C bus'' ? Hey, what is ''token ring'' ? What is a ''kernel module?'').  
* Take your time to investigate, it is a great occasion to Google a bit for some unknown notions (e.g. What is an ''I2C bus'' ? Hey, what is ''token ring'' ? What is a ''kernel module?'').  
* When your first kernel configuration is done, you can reuse it as a basis of configuration
* When your first kernel configuration is done, you can reuse it as a basis of configuration

Revision as of 18:21, March 26, 2015

Recursos adicionais do Kernel

/etc/conf.d/modules

Com o Funtoo, OpenRC carrega os módulos a partir de /etc/conf.d/modules utilizando a linha:

modules_2_6="list of modules"

Com o Funtoo, defina os argumentos de módulo como a seguir:

module_module-name_args_2_6="module arg=value"

Outros recursos de interesse relacionados a compilar kernels:

Se você preferir configurar manualmente e compilar um kernel diretamente do código fonte, tenhas essas coisas em mente:

  • Você está tocando os aspectos de mais baixo nível de um sistema, é absolutamente normal ter dificuldades em configurar um kernel devidamente (de fato, configurar um kernel Linux poderia ser considerado um pouco de arte)
  • Take your time to investigate, it is a great occasion to Google a bit for some unknown notions (e.g. What is an I2C bus ? Hey, what is token ring ? What is a kernel module?).
  • When your first kernel configuration is done, you can reuse it as a basis of configuration
  • In case of doubt, keep the suggested defaults
  • If you want your system to boot, and your are not using an initrd, you'll need to build all boot-related filesystems and drivers into the kernel directly rather than as modules.