Difference between revisions of "Additional Kernel Resources"
From Funtoo Linux
| (2 intermediate revisions by one user not shown) | |||
| Line 9: | Line 9: | ||
<pre>module_module-name_args_2_6="module arg=value"</pre> | <pre>module_module-name_args_2_6="module arg=value"</pre> | ||
| − | Other resources of interest related to compiling kernels: | + | ==== Other resources of interest related to compiling kernels: ==== |
* [[Genkernel Quick Start Tutorial]] | * [[Genkernel Quick Start Tutorial]] | ||
| + | * Build your own [[Kernel]] on funtoo with dracut or 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)] | ||
| Line 24: | Line 25: | ||
* In case of doubt, keep the suggested defaults | * 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. | * 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. | ||
| + | |||
| + | [[Category:Kernel]] | ||
Latest revision as of 12:47, 18 November 2012
[edit] Additional Kernel Resources
[edit] /etc/conf.d/modules
With Funtoo, OpenRC loads modules from /etc/conf.d/modules using the line:
modules_2_6="list of modules"
With Funtoo, define module arguments as follows:
module_module-name_args_2_6="module arg=value"
[edit]
- Genkernel Quick Start Tutorial
- Build your own Kernel on funtoo with dracut or better-initramfs
- The Gentoo Linux Kernel Configuration Guide
- How to configure Kernel Modesetting aka KMS (The Gentoo X Server Configuration HOWTO)
- Linux Sea by Sven Vermeulen has a nice kernel configuration section
- Pappy McFae offers kernel seeds to help get you started. Visit his website at kernel-seeds.org for more info.
If you prefer to manually configure and compile a kernel from source code directly, keep these things in mind:
- 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)
- 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.