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

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

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

Revision 1.38 Revision 1.39
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-ppc-kernel.xml,v 1.38 2006/01/08 14:05:29 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.39 2006/02/27 00:55:34 fox2mike Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.15</version> 11<version>2.16</version>
12<date>2006-01-06</date> 12<date>2006-02-27</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
57 57
58<pre caption="Installing the kernel source"> 58<pre caption="Installing the kernel source">
59# <i>USE="-doc symlink" emerge gentoo-sources</i> 59# <i>USE="-doc symlink" emerge gentoo-sources</i>
60</pre> 60</pre>
61 61
62<!-- Removed, as we're trying to avoid specific kernel versions to improve HB
63maintainability
64<note>
65The suggested sources at the time of the 2005.1 release are
66<c>gentoo-sources-2.6.12-r4</c> and <c>vanilla-sources-2.6.12.2</c>.
67</note>
68-->
69
70<p> 62<p>
71If you take a look in <path>/usr/src</path> you should see a symlink named 63If you take a look in <path>/usr/src</path> you should see a symlink named
72<path>linux</path> pointing to your current kernel source. In this case, the 64<path>linux</path> pointing to your current kernel source. In this case, the
73installed kernel source points to <c>gentoo-sources-2.6.12-r4</c>. Your version 65installed kernel source points to <c>gentoo-sources-2.6.15</c>. Your version
74may be different, so keep this in mind. 66may be different, so keep this in mind.
75</p> 67</p>
76 68
77<pre caption="Viewing the kernel source symlink"> 69<pre caption="Viewing the kernel source symlink">
78# <i>ls -l /usr/src/linux</i> 70# <i>ls -l /usr/src/linux</i>
79lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -&gt; linux-2.6.12-gentoo-r4 71lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -&gt; linux-2.6.15-gentoo
80</pre> 72</pre>
81 73
82<p> 74<p>
83It is now time to configure and compile your kernel source. You can use 75It is now time to configure and compile your kernel source. You can use
84<c>genkernel</c> to build a generic kernel similar to the one used by the 76<c>genkernel</c> to build a generic kernel similar to the one used by the
301# <i>make &amp;&amp; make modules_install</i> 293# <i>make &amp;&amp; make modules_install</i>
302</pre> 294</pre>
303 295
304<p> 296<p>
305When the kernel has finished compiling, copy the kernel image to 297When the kernel has finished compiling, copy the kernel image to
306<path>/boot</path> (be sure that it is mounted properly on the Pegasos). 298<path>/boot</path> (be sure that it is mounted properly on Pegasos computers).
299If you are using BootX to boot, we'll copy the kernel later.
300</p>
301
302<p>
303Yaboot and BootX expect to use an uncompressed kernel unlike many other
304bootloaders. The uncompressed kernel is called vmlinux and it is placed in
305<path>/usr/src/linux</path> after the kernel has finished compiling. If you
306are using a Pegasos machine, the Pegasos firmware requires a compressed
307kernel called zImage.chrp which can be found in
308<path>/usr/src/linux/arch/ppc/boot/images</path>.
307</p> 309</p>
308 310
309<pre caption="Installing the kernel"> 311<pre caption="Installing the kernel">
312# <i>cd /usr/src/linux</i>
310<comment>replace &lt;kernel-version&gt; with your kernel version</comment> 313<comment>replace &lt;kernel-version&gt; with your kernel version</comment>
314<comment>(Apple/IBM)</comment>
311(Apple/IBM) # <i>cp vmlinux /boot/&lt;kernel-version&gt;</i> 315# <i>cp vmlinux /boot/&lt;kernel-version&gt;</i>
316<comment>(Pegasos)</comment>
312(Pegasos) # <i>cp arch/ppc/boot/images/zImage.chrp /boot/&lt;kernel-version&gt;</i> 317# <i>cp arch/ppc/boot/images/zImage.chrp /boot/&lt;kernel-version&gt;</i>
313</pre> 318</pre>
314 319
315<p> 320<p>
316Now continue with <uri link="#kernel_modules">Installing Separate Kernel 321Now continue with <uri link="#kernel_modules">Installing Separate Kernel
317Modules</uri>. 322Modules</uri>.

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

  ViewVC Help
Powered by ViewVC 1.1.20