/[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.6 Revision 1.7
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.6 2004/07/26 09:04:42 dertobi123 Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.7 2004/08/24 00:00:35 pylon Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Timezone</title> 11<title>Timezone</title>
12<body> 12<body>
38available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel 38available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel
39Guide</uri>. 39Guide</uri>.
40</p> 40</p>
41 41
42<p> 42<p>
43For PPC you can choose between <c>ppc-sources</c> (Kernel 2.4), 43For PPC you can choose between the both 2.6 kernel, <c>development-sources</c>
44<c>development-sources</c> and <c>gentoo-dev-sources</c> (both Kernel 2.6). 44and <c>gentoo-dev-sources</c>. The latter is available when you perform a
45The latter is available when you perform a networkless installation. Beside 45networkless installation. Beside those there is special kernel-2.6-patchset for
46those there are special kernel-patchsets for the Pegasos: <c>pegasos-sources</c> 46the Pegasos: <c>pegasos-dev-sources</c>. So let's continue with
47(Kernel 2.4) and <c>pegasos-dev-sources</c> (Kernel 2.6). So let's continue
48with <c>emerge</c>'ing the kernel sources: 47<c>emerge</c>'ing the kernel sources:
49</p> 48</p>
50 49
51<pre caption="Installing a kernel source"> 50<pre caption="Installing a kernel source">
52# <i>emerge gentoo-dev-sources</i> 51# <i>emerge gentoo-dev-sources</i>
53</pre> 52</pre>
153 [*] /proc file system support 152 [*] /proc file system support
154 [*] /dev file system support (OBSOLETE) 153 [*] /dev file system support (OBSOLETE)
155 [*] Automatically mount at boot 154 [*] Automatically mount at boot
156 [*] Virtual memory file system support (former shm fs) 155 [*] Virtual memory file system support (former shm fs)
157 156
158<comment>(With a 2.4.x kernel)</comment>
159File systems ---&gt;
160 [*] Virtual memory file system support (former shm fs)
161 [*] /proc file system support
162 [*] /dev file system support (EXPERIMENTAL)
163 [*] Automatically mount at boot
164 [ ] /dev/pts file system for Unix98 PTYs
165
166<comment>(Select one or more of the following options as needed by your system)</comment> 157<comment>(Select one or more of the following options as needed by your system)</comment>
167 &lt;*&gt; Reiserfs support 158 &lt;*&gt; Reiserfs support
168 &lt;*&gt; Ext3 journalling file system support 159 &lt;*&gt; Ext3 journalling file system support
169 &lt;*&gt; JFS filesystem support 160 &lt;*&gt; JFS filesystem support
170 &lt;*&gt; Second extended fs support 161 &lt;*&gt; Second extended fs support
181Device Drivers ---&gt; 172Device Drivers ---&gt;
182 Networking support ---&gt; 173 Networking support ---&gt;
183 &lt;*&gt; PPP (point-to-point protocol) support 174 &lt;*&gt; PPP (point-to-point protocol) support
184 &lt;*&gt; PPP support for async serial ports 175 &lt;*&gt; PPP support for async serial ports
185 &lt;*&gt; PPP support for sync tty ports 176 &lt;*&gt; PPP support for sync tty ports
186
187<comment>(With a 2.4.x kernel)</comment>
188Network device support ---&gt;
189 &lt;*&gt; PPP (point-to-point protocol) support
190 &lt;*&gt; PPP support for async serial ports
191 &lt;*&gt; PPP support for sync tty ports
192</pre> 177</pre>
193 178
194<p> 179<p>
195The two compression options won't harm but are not definitely needed, neither 180The two compression options won't harm but are not definitely needed, neither
196does the <c>PPP over Ethernet</c> option, that might only be used by 181does the <c>PPP over Ethernet</c> option, that might only be used by
251</p> 236</p>
252 237
253<pre caption="Compiling the kernel"> 238<pre caption="Compiling the kernel">
254<comment>Kernel 2.6</comment> 239<comment>Kernel 2.6</comment>
255(All) # <i>make all &amp;&amp; make modules_install</i> 240(All) # <i>make all &amp;&amp; make modules_install</i>
256<comment>Kernel 2.4</comment>
257(Apple/IBM) # <i>make dep &amp;&amp; make vmlinux modules modules_install</i>
258(Pegasos) # <i>make dep &amp;&amp; make zImage modules modules_install</i>
259</pre> 241</pre>
260 242
261<p> 243<p>
262When the kernel is done compiling, copy over the kernel image to 244When the kernel is done compiling, copy over the kernel image to
263<path>/boot</path>. 245<path>/boot</path>.
312<tr> 294<tr>
313 <th>Ebuild</th> 295 <th>Ebuild</th>
314 <th>Purpose</th> 296 <th>Purpose</th>
315 <th>Command</th> 297 <th>Command</th>
316</tr> 298</tr>
317<tr>
318 <ti>xfree-drm</ti>
319 <ti>
320 Accelerated graphics for ATI Radeon up to 9200, Rage128, Matrox, Voodoo and
321 other cards for xorg-x11. Please check the <c>IUSE_VIDEO_CARDS</c> variable
322 in the <path>/usr/portage/x11-base/xfree-drm</path> ebuilds to see what you
323 need to fill in as <c>yourcard</c>. This module is only available for 2.4
324 kernels.
325 </ti>
326 <ti><c>VIDEO_CARDS="yourcard" emerge xfree-drm</c></ti>
327</tr>
328</table> 299</table>
329 300
330<p> 301<p>
331Beware though, some of these ebuilds might deal with big dependencies. To verify 302Beware though, some of these ebuilds might deal with big dependencies. To verify
332what packages will be installed by emerging an ebuild, use <c>emerge 303what packages will be installed by emerging an ebuild, use <c>emerge
343<title>Configuring the Modules</title> 314<title>Configuring the Modules</title>
344<body> 315<body>
345 316
346<p> 317<p>
347You should list the modules you want automatically loaded in 318You should list the modules you want automatically loaded in
348<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>). 319<path>/etc/modules.autoload.d/kernel-2.6</path>.
349You can add extra options to the modules too if you want. 320You can add extra options to the modules too if you want.
350</p> 321</p>
351 322
352<p> 323<p>
353To view all available modules, run the following <c>find</c> command. Don't 324To view all available modules, run the following <c>find</c> command. Don't
359# <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i> 330# <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i>
360</pre> 331</pre>
361 332
362<p> 333<p>
363For instance, to automatically load the <c>3c59x.o</c> module, edit the 334For instance, to automatically load the <c>3c59x.o</c> module, edit the
364<path>kernel-2.6</path> or <path>kernel-2.4</path> file and enter the module 335<path>kernel-2.6</path> file and enter the module
365name in it. 336name in it.
366</p> 337</p>
367 338
368<pre caption="Editing /etc/modules.autoload.d/kernel-2.6"> 339<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
369<comment>(Example for 2.6 kernels)</comment> 340<comment>(Example for 2.6 kernels)</comment>
370# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i> 341# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
371</pre> 342</pre>
372 343
373<pre caption="/etc/modules.autoload.d/kernel-2.6 or kernel-2.4"> 344<pre caption="/etc/modules.autoload.d/kernel-2.6">
3743c59x 3453c59x
375</pre> 346</pre>
376 347
377<p> 348<p>
378Now run <c>modules-update</c> to commit your changes to the 349Now run <c>modules-update</c> to commit your changes to the

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20