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

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

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

Revision 1.9 Revision 1.22
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-ia64-kernel.xml,v 1.9 2007/07/27 18:38:09 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml,v 1.22 2011/08/12 19:05:02 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.2</version> 11<version>12</version>
12<date>2007-07-27</date> 12<date>2011-08-12</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 IA64 systems, we will use <c>gentoo-sources</c> (contains additional patches 50For <keyval id="arch"/> systems, we will use <c>gentoo-sources</c> (contains
51for performance and stability). 51additional patches for extra features).
52</p> 52</p>
53 53
54<p> 54<p>
55Now install it using <c>emerge</c>. 55Now install it using <c>emerge</c>.
56</p> 56</p>
133<subsection> 133<subsection>
134<title>Activating Required Options</title> 134<title>Activating Required Options</title>
135<body> 135<body>
136 136
137<p> 137<p>
138First of all, activate the use of development and experimental code/drivers.
139You need this, otherwise some very important code/drivers won't show up:
140</p>
141
142<pre caption="Selecting experimental code/drivers, General setup">
143Code maturity level options ---&gt;
144 [*] Prompt for development and/or incomplete code/drivers
145General setup ---&gt;
146 [*] Support for hot-pluggable devices
147</pre>
148
149<p>
150Make sure that every driver that is vital to the booting of your system (such as 138Make sure that every driver that is vital to the booting of your system (such as
151SCSI controller, ...) is compiled <e>in</e> the kernel and not as a module, 139SCSI controller, ...) is compiled <e>in</e> the kernel and not as a module,
152otherwise your system will not be able to boot completely. 140otherwise your system will not be able to boot completely.
153</p> 141</p>
154 142
192DOS/FAT/NT Filesystems ---> 180DOS/FAT/NT Filesystems --->
193 &lt;*&gt; VFAT (Windows-95) fs support 181 &lt;*&gt; VFAT (Windows-95) fs support
194</pre> 182</pre>
195 183
196<p> 184<p>
197Do not forget to enable DMA for your drives:
198</p>
199
200<pre caption="Activating DMA">
201Device Drivers ---&gt;
202 ATA/ATAPI/MFM/RLL support ---&gt;
203 [*] Generic PCI bus-master DMA support
204</pre>
205
206<p>
207If you are using PPPoE to connect to the Internet or you are using a dial-up 185If you are using PPPoE to connect to the Internet or you are using a dial-up
208modem, you will need the following options in the kernel: 186modem, you will need the following options in the kernel:
209</p> 187</p>
210 188
211<pre caption="Selecting PPPoE necessary drivers"> 189<pre caption="Selecting PPPoE necessary drivers">
242those as well: 220those as well:
243</p> 221</p>
244 222
245<pre caption="Activating USB Support for Input Devices"> 223<pre caption="Activating USB Support for Input Devices">
246Device Drivers ---&gt; 224Device Drivers ---&gt;
247 USB Support ---&gt; 225 [*] HID Devices ---&gt;
248 &lt;*&gt; USB Human Interface Device (full HID) support 226 &lt;*&gt; USB Human Interface Device (full HID) support
249</pre> 227</pre>
250 228
251<p> 229<p>
252When you've finished configuring the kernel, continue with <uri 230When you've finished configuring the kernel, continue with <uri
314<pre caption="Emerging genkernel"> 292<pre caption="Emerging genkernel">
315# <i>emerge genkernel</i> 293# <i>emerge genkernel</i>
316</pre> 294</pre>
317 295
318<p> 296<p>
319Now, compile your kernel sources by running <c>genkernel --udev all</c>. 297Now, compile your kernel sources by running <c>genkernel all</c>. Be aware
320Be aware though, as <c>genkernel</c> compiles a kernel that supports almost all 298though, as <c>genkernel</c> compiles a kernel that supports almost all hardware,
321hardware, this compilation will take quite a while to finish! 299this compilation will take quite a while to finish!
322</p> 300</p>
323 301
324<note> 302<note>
325Users of EVMS2 or LVM2 will probably want to add 303Users of EVMS2 or LVM2 will probably want to add
326<c>--evms2</c> or <c>--lvm2</c> to the genkernel command-line. 304<c>--evms2</c> or <c>--lvm2</c> to the genkernel command-line.
327</note> 305</note>
328 306
329<pre caption="Running genkernel"> 307<pre caption="Running genkernel">
330# <i>genkernel --udev all</i> 308# <i>genkernel all</i>
331</pre> 309</pre>
332 310
333<p> 311<p>
334Once <c>genkernel</c> completes, a kernel, full set of modules and 312Once <c>genkernel</c> completes, a kernel, full set of modules and
335<e>initial root disk</e> (initrd) will be created. We will use the kernel 313<e>initial ram disk</e> (initramfs) will be created. We will use the kernel
336and initrd when configuring a boot loader later in this document. Write 314and initrd when configuring a boot loader later in this document. Write
337down the names of the kernel and initrd as you will need it when writing 315down the names of the kernel and initrd as you will need it when writing
338the bootloader configuration file. The initrd will be started immediately after 316the bootloader configuration file. The initrd will be started immediately after
339booting to perform hardware autodetection (just like on the Installation CD) 317booting to perform hardware autodetection (just like on the Installation CD)
340before your "real" system starts up. 318before your "real" system starts up.
346 324
347</body> 325</body>
348</section> 326</section>
349<section id="kernel_modules"> 327<section id="kernel_modules">
350<title>Kernel Modules</title> 328<title>Kernel Modules</title>
329
351<subsection> 330<subsection>
352<title>Configuring the Modules</title> 331<include href="hb-install-kernelmodules.xml"/>
353<body>
354
355<p>
356You should list the modules you want automatically loaded in
357<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
358the modules too if you want.
359</p>
360
361<p>
362To view all available modules, run the following <c>find</c> command. Don't
363forget to substitute <c><keyval id="kernel-version"/></c> with the version of
364the kernel you just compiled:
365</p>
366
367<pre caption="Viewing all available modules">
368# <i>find /lib/modules/<keyval id="kernel-version"/>/ -type f -iname '*.o' -or -iname '*.ko'</i>
369</pre>
370
371<p>
372For instance, to automatically load the <c>3c59x.o</c> module, edit the
373<path>kernel-2.6</path> file and enter the module name in it.
374</p>
375
376<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
377# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
378</pre>
379
380<pre caption="/etc/modules.autoload.d/kernel-2.6">
3813c59x
382</pre>
383
384<p>
385Continue the installation with <uri link="?part=1&amp;chap=8">Configuring
386your System</uri>.
387</p>
388
389</body>
390</subsection> 332</subsection>
333
391</section> 334</section>
392</sections> 335</sections>

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20