/[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.57 Revision 1.58
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.57 2008/01/12 22:51:31 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.58 2008/04/01 08:53:46 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.5</version> 11<version>9.0</version>
12<date>2008-01-12</date> 12<date>2008-04-01</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
135<subsection> 135<subsection>
136<title>Activating Required Options</title> 136<title>Activating Required Options</title>
137<body> 137<body>
138 138
139<p> 139<p>
140First of all, activate the use of development and experimental code/drivers.
141You need this, otherwise some very important code/drivers won't show up:
142</p>
143
144<pre caption="Selecting experimental code/drivers">
145General setup ---&gt;
146 [*] Prompt for development and/or incomplete code/drivers
147</pre>
148
149<p>
150Now go to <c>File Systems</c> and select support for the filesystems you use. 140First go to <c>File Systems</c> and select support for the filesystems you use.
151<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be 141<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
152able to mount your partitions. Also select the <c>/proc file system</c> and 142able to mount your partitions. Also select the <c>/proc file system</c> and
153<c>Virtual memory</c>. Make sure that you also enable support for Amiga 143<c>Virtual memory</c>. Make sure that you also enable support for Amiga
154partitions if you are using a Pegasos, or Macintosh partitions if you are using 144partitions if you are using a Pegasos, or Macintosh partitions if you are using
155an Apple computer. 145an Apple computer.
335<comment>(Pegasos)</comment> 325<comment>(Pegasos)</comment>
336# <i>cp arch/powerpc/boot/images/zImage /boot/&lt;kernel-version&gt;</i> 326# <i>cp arch/powerpc/boot/images/zImage /boot/&lt;kernel-version&gt;</i>
337</pre> 327</pre>
338 328
339<p> 329<p>
340Now continue with <uri link="#kernel_modules">Installing Separate Kernel 330Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
341Modules</uri>.
342</p>
343
344</body>
345</subsection>
346</section>
347<section id="kernel_modules">
348<title>Installing Separate Kernel Modules</title>
349<subsection>
350<title>Configuring the Modules</title>
351<body>
352
353<p>
354You should list the modules you want automatically loaded in
355<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
356the modules if required.
357</p>
358
359<p>
360To view all available modules, run the following <c>find</c> command. Don't
361forget to substitute "&lt;kernel version&gt;" with the version of the kernel you
362just compiled:
363</p>
364
365<pre caption="Viewing all available modules">
366# <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i>
367</pre>
368
369<p>
370For instance, to automatically load the <c>3c59x</c> module, edit the
371<path>kernel-2.6</path> file and add the module to it, one module on a line.
372</p>
373
374<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
375# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
376</pre>
377
378<pre caption="/etc/modules.autoload.d/kernel-2.6">
3793c59x
380</pre>
381
382<p>
383Continue the installation with <uri link="?part=1&amp;chap=8">Configuring
384your System</uri>.
385</p> 331</p>
386 332
387</body> 333</body>
388</subsection> 334</subsection>
389</section> 335</section>
481<comment>Note, your kernel version might be different</comment> 427<comment>Note, your kernel version might be different</comment>
482# <i>ls /boot/kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> /boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/></i> 428# <i>ls /boot/kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> /boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/></i>
483</pre> 429</pre>
484 430
485<p> 431<p>
486Now continue with <uri link="?part=1&amp;chap=8">Configuring your System</uri>. 432Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
487</p> 433</p>
488 434
489</body> 435</body>
436</section>
437<section id="kernel_modules">
438<title>Kernel Modules</title>
439
440<subsection>
441<include href="hb-install-kernelmodules.xml"/>
442</subsection>
443
490</section> 444</section>
491</sections> 445</sections>
492 446

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20