/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml

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

Revision 1.36 Revision 1.37
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-ppc64-kernel.xml,v 1.36 2009/08/05 15:25:23 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml,v 1.37 2010/07/21 01:55:53 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract>
12The Linux kernel is the core of every distribution. This chapter
13explains how to configure your kernel.
14</abstract>
15
11<version>9.1</version> 16<version>10.0</version>
12<date>2009-08-05</date> 17<date>2010-07-20</date>
13 18
14<section> 19<section>
15<title>Timezone</title> 20<title>Timezone</title>
16<body> 21<body>
17 22
37<subsection> 42<subsection>
38<title>Choosing a Kernel</title> 43<title>Choosing a Kernel</title>
39<body> 44<body>
40 45
41<p> 46<p>
42The core around which all distributions are built is the Linux kernel. 47The core around which all distributions are built is the Linux kernel. It is the
43It is the layer between the user programs and your system hardware. 48layer between the user programs and your system hardware. Gentoo provides its
44Gentoo provides its users several possible kernel sources. A full 49users several possible kernel sources. A full listing with description is
45listing with description is available at the <uri 50available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel
46link="/doc/en/gentoo-kernel.xml">Gentoo Kernel Guide</uri>. 51Guide</uri>.
47</p>
48
49<p> 52</p>
50For PPC64 you should use <c>gentoo-sources</c>. 53
54<p>
55For <keyval id="arch"/>-based systems we have <c>gentoo-sources</c>
56(kernel source patched for extra features).
57</p>
58
59<p>
60Choose your kernel source and install it using <c>emerge</c>.
51</p> 61</p>
52 62
53<pre caption="Installing a kernel source"> 63<pre caption="Installing a kernel source">
54# <i>emerge gentoo-sources</i> 64# <i>emerge gentoo-sources</i>
55</pre> 65</pre>
65# <i>ls -l /usr/src/linux</i> 75# <i>ls -l /usr/src/linux</i>
66lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-<keyval id="kernel-version"/> 76lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-<keyval id="kernel-version"/>
67</pre> 77</pre>
68 78
69<p> 79<p>
70Now it is time to configure and compile your kernel source. There is the 80Now it is time to configure and compile your kernel source. There is the ability
71ability to use "genkernel" which would create a generic kernel like the 81to use <c>genkernel</c> which would create a generic kernel like the ones used
72ones used on the installation CDs, but it is not fully functional for PPC64 at 82on the installation CDs, but it is not fully functional for PPC64 at the
73the moment. 83moment.
74</p> 84</p>
75 85
76<p> 86<p>
77Continue now with <uri link="#manual">Manual Configuration</uri>. 87Continue now with <uri link="#manual">Manual Configuration</uri>.
78</p> 88</p>
112make menuconfig or it may result in kernel compilation problems.</comment> 122make menuconfig or it may result in kernel compilation problems.</comment>
113# <i>make menuconfig</i> 123# <i>make menuconfig</i>
114</pre> 124</pre>
115 125
116<p> 126<p>
117You will be greeted with several configuration sections. We'll first 127You will be greeted with several configuration sections. We'll first list some
118list some options you must activate (otherwise Gentoo will not function, 128options you must activate (otherwise Gentoo will not function, or not function
119or not function properly without additional tweaks). 129properly without additional tweaks).
120</p> 130</p>
121 131
122</body> 132</body>
123</subsection> 133</subsection>
124<subsection> 134<subsection>
196(Apple/IBM) # <i>make &amp;&amp; make modules_install</i> 206(Apple/IBM) # <i>make &amp;&amp; make modules_install</i>
197</pre> 207</pre>
198 208
199<p> 209<p>
200When the kernel has finished compiling, copy the kernel image to 210When the kernel has finished compiling, copy the kernel image to
201<path>/boot</path>. Remember to replace <path>&lt;kernel-version&lt;</path> 211<path>/boot</path>.
202with your actual kernel version:
203</p> 212</p>
204 213
205<pre caption="Installing the kernel"> 214<pre caption="Installing the kernel">
206(Apple/IBM) # <i>cp vmlinux /boot/&lt;kernel-version&gt;</i> 215(Apple/IBM) # <i>cp vmlinux /boot/<keyval id="kernel-name"/></i>
207</pre> 216</pre>
208 217
209<p> 218<p>
210Now continue with <uri link="#kernel_modules">Kernel Modules</uri>. 219Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
211</p> 220</p>

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20