/[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.25 Revision 1.35
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.25 2008/05/19 09:10:06 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.35 2010/07/21 00:13:54 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>6.3</version> 16<version>7.5</version>
17<date>2008-05-19</date> 17<date>2010-07-17</date>
18 18
19<section> 19<section>
20<title>Timezone</title> 20<title>Timezone</title>
21<body> 21<body>
22 22
153strongly recommends users enable MCE features so that they are able to be 153strongly recommends users enable MCE features so that they are able to be
154notified of any hardware problems. On x86_64, these errors are not printed to 154notified of any hardware problems. On x86_64, these errors are not printed to
155<c>dmesg</c> like on other architectures, but to <path>/dev/mcelog</path>. This 155<c>dmesg</c> like on other architectures, but to <path>/dev/mcelog</path>. This
156requires the <c>app-admin/mcelog</c> package. Make sure you select IA32 156requires the <c>app-admin/mcelog</c> package. Make sure you select IA32
157Emulation if you want to be able to run 32-bit programs. Gentoo will install a 157Emulation if you want to be able to run 32-bit programs. Gentoo will install a
158multilib system (mixed 32-bit/64-bit computing) by default, so you probably 158multilib system (mixed 32-bit/64-bit computing) by default, so this option is
159want this option. 159required.
160</p> 160</p>
161
162<note>
163If you plan to use a non-multilib profile (for a pure 64-bit system), then you
164don't have to select IA32 Emulation support. However, you'll also need to follow
165the <uri link="?part=1&amp;chap=6#doc_chap2_sect2">instructions</uri> for
166switching to a <uri link="/doc/en/gentoo-amd64-faq.xml">non-multilib
167profile</uri>, as well as choosing the correct <uri
168link="?part=1&amp;chap=10#doc_chap2_sect2">bootloader</uri>.
169</note>
161 170
162<pre caption="Selecting processor type and features"> 171<pre caption="Selecting processor type and features">
163Processor type and features ---> 172Processor type and features --->
173 [ ] Machine Check / overheating reporting
164 [ ] Intel MCE Features 174 [ ] Intel MCE Features
165 [ ] AMD MCE Features 175 [ ] AMD MCE Features
166 Processor family (AMD-Opteron/Athlon64) ---> 176 Processor family (AMD-Opteron/Athlon64) --->
167 ( ) AMD-Opteron/Athlon64 177 ( ) Opteron/Athlon64/Hammer/K8
178 ( ) Intel P4 / older Netburst based Xeon
179 ( ) Core 2/newer Xeon
168 ( ) Intel EM64T 180 ( ) Intel Atom
169 ( ) Generic-x86-64 181 ( ) Generic-x86-64
170Executable file formats / Emulations ---> 182Executable file formats / Emulations --->
171 [*] IA32 Emulation 183 [*] IA32 Emulation
172</pre> 184</pre>
173 185
261those as well: 273those as well:
262</p> 274</p>
263 275
264<pre caption="Activating USB Support for Input Devices"> 276<pre caption="Activating USB Support for Input Devices">
265Device Drivers ---&gt; 277Device Drivers ---&gt;
266 USB Support ---&gt; 278 [*] HID Devices ---&gt;
267 &lt;*&gt; USB Human Interface Device (full HID) support 279 &lt;*&gt; USB Human Interface Device (full HID) support
268</pre> 280</pre>
269 281
270</body> 282</body>
271<body test="func:keyval('arch')='x86'"> 283<body test="func:keyval('arch')='x86'">
356 368
357<pre caption="Emerging genkernel"> 369<pre caption="Emerging genkernel">
358# <i>emerge genkernel</i> 370# <i>emerge genkernel</i>
359</pre> 371</pre>
360 372
361</body>
362<body test="func:keyval('arch')='x86'">
363
364<p> 373<p>
365Next, copy over the kernel configuration used by the Installation CD to the 374Next, copy over the kernel configuration used by the Installation CD to the
366location where genkernel looks for the default kernel configuration: 375location where genkernel looks for the default kernel configuration:
367</p> 376</p>
368 377
369<pre caption="Copying over the Installation CD kernel config"> 378<pre test="func:keyval('arch')='x86'" caption="Copying over the Installation CD kernel config">
370# <i>zcat /proc/config.gz &gt; /usr/share/genkernel/x86/kernel-config-2.6</i> 379# <i>zcat /proc/config.gz &gt; /usr/share/genkernel/arch/x86/kernel-config</i>
371</pre> 380</pre>
372 381
373</body> 382<pre test="func:keyval('arch')='AMD64'" caption="Copying over the Installation CD kernel config">
374<body> 383# <i>zcat /proc/config.gz &gt; /usr/share/genkernel/arch/x86_64/kernel-config</i>
384</pre>
375 385
376<p> 386<p>
377Now, compile your kernel sources by running <c>genkernel all</c>. Be aware 387Now, compile your kernel sources by running <c>genkernel all</c>. Be aware
378though, as <c>genkernel</c> compiles a kernel that supports almost all 388though, as <c>genkernel</c> compiles a kernel that supports almost all
379hardware, this compilation will take quite a while to finish! 389hardware, this compilation will take quite a while to finish!
382<p> 392<p>
383Note that, if your boot partition doesn't use ext2 or ext3 as filesystem you 393Note that, if your boot partition doesn't use ext2 or ext3 as filesystem you
384might need to manually configure your kernel using <c>genkernel --menuconfig 394might need to manually configure your kernel using <c>genkernel --menuconfig
385all</c> and add support for your filesystem <e>in</e> the kernel (i.e. 395all</c> and add support for your filesystem <e>in</e> the kernel (i.e.
386<e>not</e> as a module). Users of EVMS2 or LVM2 will probably want to add 396<e>not</e> as a module). Users of EVMS2 or LVM2 will probably want to add
387<c>--evms2</c> or <c>--lvm2</c> as argument as well. 397<c>--evms2</c> or <c>--lvm2</c> as arguments as well.
388</p> 398</p>
389 399
390<pre caption="Running genkernel"> 400<pre caption="Running genkernel">
391# <i>genkernel all</i> 401# <i>genkernel all</i>
392</pre> 402</pre>

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20