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

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

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

Revision 1.45 Revision 1.46
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-hppa-kernel.xml,v 1.45 2008/01/12 22:51:31 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml,v 1.46 2008/04/01 08:53:46 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.4</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
45available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel 45available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel
46Guide</uri>. 46Guide</uri>.
47</p> 47</p>
48 48
49<p> 49<p>
50For HPPA we have <c>hppa-sources</c>. By default, these sources are based on the 50For HPPA we have <c>gentoo-sources</c>.
512.6 kernel sources.
52</p> 51</p>
53 52
54<pre caption="Installing a kernel source"> 53<pre caption="Installing a kernel source">
55# <i>emerge hppa-sources</i> 54# <i>emerge gentoo-sources</i>
56</pre> 55</pre>
57 56
58<p> 57<p>
59When you take a look in <path>/usr/src</path> you should see a symlink called 58When you take a look in <path>/usr/src</path> you should see a symlink called
60<path>linux</path> pointing to your kernel source. In this case, the installed 59<path>linux</path> pointing to your kernel source. In this case, the installed
129<subsection> 128<subsection>
130<title>Activating Required Options</title> 129<title>Activating Required Options</title>
131<body> 130<body>
132 131
133<p> 132<p>
134First of all, activate the use of development and experimental code/drivers.
135You need this, otherwise some very important code/drivers won't show up:
136</p>
137
138<pre caption="Selecting experimental code/drivers">
139General setup ---&gt;
140 [*] Prompt for development and/or incomplete code/drivers
141</pre>
142
143<p>
144Now go to <c>File Systems</c> and select support for the filesystems you use. 133First go to <c>File Systems</c> and select support for the filesystems you use.
145<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be 134<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
146able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc 135able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc
147file system</c>: 136file system</c>:
148</p> 137</p>
149 138
268<pre caption="Installing the kernel"> 257<pre caption="Installing the kernel">
269# <i>cp vmlinux /boot/&lt;kernel-version&gt;</i> 258# <i>cp vmlinux /boot/&lt;kernel-version&gt;</i>
270</pre> 259</pre>
271 260
272<p> 261<p>
273Now continue with <uri link="#kernel_modules">Configuring Kernel 262Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
274Modules</uri>.
275</p> 263</p>
276 264
277</body> 265</body>
278</subsection> 266</subsection>
279</section> 267</section>
338</pre> 326</pre>
339 327
340</body> 328</body>
341</section> 329</section>
342<section id="kernel_modules"> 330<section id="kernel_modules">
343<title>Configuring Kernel Modules</title> 331<title>Kernel Modules</title>
332
344<subsection> 333<subsection>
345<title>Configuring the Modules</title> 334<include href="hb-install-kernelmodules.xml"/>
346<body>
347
348<p>
349You should list the modules you want automatically loaded in
350<path>/etc/modules.autoload.d/kernel-2.6</path>.
351You can add extra options to the modules too if you want.
352</p>
353
354<p>
355To view all available modules, run the following <c>find</c> command. Don't
356forget to substitute "&lt;kernel version&gt;" with the version of the kernel you
357just compiled:
358</p>
359
360<pre caption="Viewing all available modules">
361# <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i>
362</pre>
363
364<p>
365For instance, to automatically load the <c>3c59x.ko</c> module, edit the
366<path>kernel-2.6</path> file and enter the module
367name in it.
368</p>
369
370<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
371# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
372</pre>
373
374<pre caption="/etc/modules.autoload.d/kernel-2.6">
3753c59x
376</pre>
377
378<p>
379Continue the installation with <uri link="?part=1&amp;chap=8">Configuring
380your System</uri>.
381</p>
382
383</body>
384</subsection> 335</subsection>
336
385</section> 337</section>
386</sections> 338</sections>

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20