/[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.26
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.26 2012/03/27 17:46:07 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.2</version> 11<version>16</version>
12<date>2007-07-27</date> 12<date>2012-03-27</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
24GMT+8. 24GMT+8.
25</p> 25</p>
26 26
27<pre caption="Setting the timezone information"> 27<pre caption="Setting the timezone information">
28# <i>ls /usr/share/zoneinfo</i> 28# <i>ls /usr/share/zoneinfo</i>
29<comment>(Suppose you want to use GMT)</comment> 29<comment>(Suppose you want to use Europe/Brussels)</comment>
30# <i>cp /usr/share/zoneinfo/GMT /etc/localtime</i> 30# <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i>
31<comment>(Next set the timezone)</comment>
32# <i>echo "Europe/Brussels" &gt; /etc/timezone</i>
31</pre> 33</pre>
32 34
33</body> 35</body>
34</section> 36</section>
35<section> 37<section>
45available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel 47available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel
46Guide</uri>. 48Guide</uri>.
47</p> 49</p>
48 50
49<p> 51<p>
50For IA64 systems, we will use <c>gentoo-sources</c> (contains additional patches 52For <keyval id="arch"/> systems, we will use <c>gentoo-sources</c> (contains
51for performance and stability). 53additional patches for extra features).
52</p> 54</p>
53 55
54<p> 56<p>
55Now install it using <c>emerge</c>. 57Now install it using <c>emerge</c>.
56</p> 58</p>
133<subsection> 135<subsection>
134<title>Activating Required Options</title> 136<title>Activating Required Options</title>
135<body> 137<body>
136 138
137<p> 139<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 140Make 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, 141SCSI controller, ...) is compiled <e>in</e> the kernel and not as a module,
152otherwise your system will not be able to boot completely. 142otherwise your system will not be able to boot completely.
153</p> 143</p>
154 144
187 &lt;*&gt; JFS filesystem support 177 &lt;*&gt; JFS filesystem support
188 &lt;*&gt; Second extended fs support 178 &lt;*&gt; Second extended fs support
189 &lt;*&gt; XFS filesystem support 179 &lt;*&gt; XFS filesystem support
190 180
191<comment>(Be sure to enable VFAT support for the EFI partition)</comment> 181<comment>(Be sure to enable VFAT support for the EFI partition)</comment>
192DOS/FAT/NT Filesystems ---> 182 DOS/FAT/NT Filesystems ---&gt;
193 &lt;*&gt; VFAT (Windows-95) fs support 183 &lt;*&gt; VFAT (Windows-95) fs support
194</pre>
195 184
196<p> 185<comment>(Enable GPT partition label support if you used that previously</comment>
197Do not forget to enable DMA for your drives: 186 Partition Types ---&gt;
198</p> 187 [*] Advanced partition selection
199 188 ...
200<pre caption="Activating DMA"> 189 [*] EFI GUID Partition support
201Device Drivers ---&gt;
202 ATA/ATAPI/MFM/RLL support ---&gt;
203 [*] Generic PCI bus-master DMA support
204</pre> 190</pre>
205 191
206<p> 192<p>
207If you are using PPPoE to connect to the Internet or you are using a dial-up 193If 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: 194modem, you will need the following options in the kernel:
209</p> 195</p>
210 196
211<pre caption="Selecting PPPoE necessary drivers"> 197<pre caption="Selecting PPPoE necessary drivers">
212Device Drivers ---&gt; 198Device Drivers ---&gt;
213 Networking Support ---&gt; 199 Network device support ---&gt;
214 &lt;*&gt; PPP (point-to-point protocol) support 200 &lt;*&gt; PPP (point-to-point protocol) support
215 &lt;*&gt; PPP support for async serial ports 201 &lt;*&gt; PPP support for async serial ports
216 &lt;*&gt; PPP support for sync tty ports 202 &lt;*&gt; PPP support for sync tty ports
217</pre> 203</pre>
218 204
242those as well: 228those as well:
243</p> 229</p>
244 230
245<pre caption="Activating USB Support for Input Devices"> 231<pre caption="Activating USB Support for Input Devices">
246Device Drivers ---&gt; 232Device Drivers ---&gt;
247 USB Support ---&gt; 233 [*] HID Devices ---&gt;
248 &lt;*&gt; USB Human Interface Device (full HID) support 234 &lt;*&gt; USB Human Interface Device (full HID) support
249</pre> 235</pre>
250 236
251<p> 237<p>
252When you've finished configuring the kernel, continue with <uri 238When you've finished configuring the kernel, continue with <uri
314<pre caption="Emerging genkernel"> 300<pre caption="Emerging genkernel">
315# <i>emerge genkernel</i> 301# <i>emerge genkernel</i>
316</pre> 302</pre>
317 303
318<p> 304<p>
319Now, compile your kernel sources by running <c>genkernel --udev all</c>. 305Now, 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 306though, as <c>genkernel</c> compiles a kernel that supports almost all hardware,
321hardware, this compilation will take quite a while to finish! 307this compilation will take quite a while to finish!
322</p> 308</p>
323 309
324<note> 310<note>
325Users of EVMS2 or LVM2 will probably want to add 311Users of LVM2 will probably want to add <c>--lvm2</c> to the genkernel
326<c>--evms2</c> or <c>--lvm2</c> to the genkernel command-line. 312command-line.
327</note> 313</note>
328 314
329<pre caption="Running genkernel"> 315<pre caption="Running genkernel">
330# <i>genkernel --udev all</i> 316# <i>genkernel all</i>
331</pre> 317</pre>
332 318
333<p> 319<p>
334Once <c>genkernel</c> completes, a kernel, full set of modules and 320Once <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 321<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 322and 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 323down 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 324the bootloader configuration file. The initrd will be started immediately after
339booting to perform hardware autodetection (just like on the Installation CD) 325booting to perform hardware autodetection (just like on the Installation CD)
340before your "real" system starts up. 326before your "real" system starts up.
346 332
347</body> 333</body>
348</section> 334</section>
349<section id="kernel_modules"> 335<section id="kernel_modules">
350<title>Kernel Modules</title> 336<title>Kernel Modules</title>
337
351<subsection> 338<subsection>
352<title>Configuring the Modules</title> 339<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> 340</subsection>
341
391</section> 342</section>
392</sections> 343</sections>

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

  ViewVC Help
Powered by ViewVC 1.1.20