/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.21 2008/01/14 03:23:13 rane Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.22 2008/04/01 08:53:46 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12The Linux kernel is the core of every distribution. This chapter 12The Linux kernel is the core of every distribution. This chapter
13explains how to configure your kernel. 13explains how to configure your kernel.
14</abstract> 14</abstract>
15 15
16<version>5.8</version> 16<version>6.0</version>
17<date>2008-01-14</date> 17<date>2008-04-01</date>
18 18
19<section> 19<section>
20<title>Timezone</title> 20<title>Timezone</title>
21<body> 21<body>
22 22
49users several possible kernel sources. A full listing with description is 49users several possible kernel sources. A full listing with description is
50available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel 50available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel
51Guide</uri>. 51Guide</uri>.
52</p> 52</p>
53 53
54<p test="func:keyval('arch')='x86'"> 54<p>
55For x86-based systems we have, amongst other kernels, <c>gentoo-sources</c> 55For <keyval id="arch"/>-based systems we have <c>gentoo-sources</c>
56(kernel source patched for extra features). 56(kernel source patched for extra features).
57</p>
58
59<p test="func:keyval('arch')='AMD64'">
60For AMD64-based systems we have <c>gentoo-sources</c> (kernel source patched
61for extra features).
62</p> 57</p>
63 58
64<p> 59<p>
65Choose your kernel source and install it using <c>emerge</c>. 60Choose your kernel source and install it using <c>emerge</c>.
66</p> 61</p>
141</body> 136</body>
142</subsection> 137</subsection>
143<subsection> 138<subsection>
144<title>Activating Required Options</title> 139<title>Activating Required Options</title>
145<body> 140<body>
146
147<p>
148First of all, activate the use of development and experimental code/drivers.
149You need this, otherwise some very important code/drivers won't show up:
150</p>
151
152<pre caption="Selecting experimental code/drivers">
153General setup ---&gt;
154 [*] Prompt for development and/or incomplete code/drivers
155</pre>
156 141
157<p> 142<p>
158Make sure that every driver that is vital to the booting of your system (such as 143Make sure that every driver that is vital to the booting of your system (such as
159SCSI controller, ...) is compiled <e>in</e> the kernel and not as a module, 144SCSI controller, ...) is compiled <e>in</e> the kernel and not as a module,
160otherwise your system will not be able to boot completely. 145otherwise your system will not be able to boot completely.
312those as well: 297those as well:
313</p> 298</p>
314 299
315<pre caption="Activating USB Support for Input Devices"> 300<pre caption="Activating USB Support for Input Devices">
316Device Drivers ---&gt; 301Device Drivers ---&gt;
317 HID Devices ---> 302 USB Support ---&gt;
318 &lt;*&gt; USB Human Interface Device (full HID) support 303 &lt;*&gt; USB Human Interface Device (full HID) support
319</pre> 304</pre>
320 305
321</body> 306</body>
322<body test="func:keyval('arch')='x86'"> 307<body test="func:keyval('arch')='x86'">
458 443
459</body> 444</body>
460</section> 445</section>
461<section id="kernel_modules"> 446<section id="kernel_modules">
462<title>Kernel Modules</title> 447<title>Kernel Modules</title>
448
463<subsection> 449<subsection>
464<title>Configuring the Modules</title> 450<include href="hb-install-kernelmodules.xml"/>
465<body>
466
467<p>
468You should list the modules you want automatically loaded in
469<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
470the modules too if you want.
471</p>
472
473<p>
474To view all available modules, run the following <c>find</c> command. Don't
475forget to substitute "&lt;kernel version&gt;" with the version of the kernel you
476just compiled:
477</p>
478
479<pre caption="Viewing all available modules">
480# <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i>
481</pre>
482
483<p>
484For instance, to automatically load the <c>3c59x.ko</c> module, edit the
485<path>kernel-2.6</path> file and enter the module name in it.
486</p>
487
488<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
489# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
490</pre>
491
492<pre caption="/etc/modules.autoload.d/kernel-2.6">
4933c59x
494</pre>
495
496<p>
497Continue the installation with <uri link="?part=1&amp;chap=8">Configuring
498your System</uri>.
499</p>
500
501</body>
502</subsection> 451</subsection>
452
503</section> 453</section>
504</sections> 454</sections>

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20