/[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.36 Revision 1.37
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.36 2005/08/21 17:47:46 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.37 2005/11/21 15:37:12 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.13</version> 11<version>2.14</version>
12<date>2005-08-21</date> 12<date>2005-11-21</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
18<p> 18<p>
19You first need to select your timezone so that your system knows where it is 19You first need to select your timezone so that your system knows where it is
20located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then make 20located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy
21a symlink to <path>/etc/localtime</path> using <c>ln</c>. Please avoid the 21it to <path>/etc/localtime</path>. Please avoid the
22<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not 22<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
23indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8. 23indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
24</p> 24</p>
25 25
26<pre caption="Setting the timezone information"> 26<pre caption="Setting the timezone information">
27# <i>ls /usr/share/zoneinfo</i> 27# <i>ls /usr/share/zoneinfo</i>
28<comment>(Suppose you want to use GMT)</comment> 28<comment>(Suppose you want to use GMT)</comment>
29# <i>ln -sf /usr/share/zoneinfo/GMT /etc/localtime</i> 29# <i>cp /usr/share/zoneinfo/GMT /etc/localtime</i>
30</pre> 30</pre>
31 31
32</body> 32</body>
33</section> 33</section>
34<section> 34<section>
47 47
48<p> 48<p>
49We suggest using either <c>vanilla-sources</c> or <c>gentoo-sources</c> 49We suggest using either <c>vanilla-sources</c> or <c>gentoo-sources</c>
50on PPC, which are both 2.6 kernels. The latter is available when you 50on PPC, which are both 2.6 kernels. The latter is available when you
51perform a networkless installation. So let's continue with <c>emerge</c>'ing 51perform a networkless installation. So let's continue with <c>emerge</c>'ing
52the kernel sources: 52the kernel sources.
53The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other
54dependencies at this point:
53</p> 55</p>
54 56
55<pre caption="Installing the kernel source"> 57<pre caption="Installing the kernel source">
56# <i>emerge gentoo-sources</i> 58# <i>USE="-doc" emerge gentoo-sources</i>
57</pre> 59</pre>
58 60
59<note> 61<note>
60The suggested sources at the time of the 2005.1 release are 62The suggested sources at the time of the 2005.1 release are
61<c>gentoo-sources-2.6.12-r4</c> and <c>vanilla-sources-2.6.12.2</c>. 63<c>gentoo-sources-2.6.12-r4</c> and <c>vanilla-sources-2.6.12.2</c>.
112Linux user ever has to perform. Nothing is less true, after configuring a 114Linux user ever has to perform. Nothing is less true, after configuring a
113couple of kernels you won't even remember it being that difficult ;) 115couple of kernels you won't even remember it being that difficult ;)
114</p> 116</p>
115 117
116<p> 118<p>
117Building a successful you must know what is in your system when 119However, one thing <e>is</e> true: you must know your system when you start
118you start configuring a kernel manually. Most information can be gathered by 120configuring a kernel manually. Most information can be gathered by emerging
119emerging pciutils <c>emerge pciutils</c> which contains <c>lspci</c>. You 121pciutils (<c>emerge pciutils</c>) which contains <c>lspci</c>. You will now
120can
121be able to use <c>lspci</c> within the chrooted environment. You may safely 122be able to use <c>lspci</c> within the chrooted environment. You may safely
122ignore any <e>pcilib</e> warnings (like pcilib: cannot open 123ignore any <e>pcilib</e> warnings (like pcilib: cannot open
123/sys/bus/pci/devices) that <c>lspci</c> throws out. Alternatively, you can run 124/sys/bus/pci/devices) that <c>lspci</c> throws out. Alternatively, you can run
124<c>lspci</c> from a <e>non-chrooted</e> environment. The results are the same. 125<c>lspci</c> from a <e>non-chrooted</e> environment. The results are the same.
125You can also run <c>lsmod</c> to see what kernel modules the Installation CD 126You can also run <c>lsmod</c> to see what kernel modules the Installation CD
128message logs from the successful boot that got you this far. Type <c>dmesg</c> 129message logs from the successful boot that got you this far. Type <c>dmesg</c>
129to see the kernel messages. 130to see the kernel messages.
130</p> 131</p>
131 132
132<p> 133<p>
133Now go to your kernel source directory and execute <c>make menuconfig</c>. This 134Now go to your kernel source directory, it's time to configure your kernel. It
134will fire up an ncurses-based configuration menu. 135is recommended that you add the default settings to your configuration by first
136running <c>make defconfig</c>. After the default configuration has been
137generated, run <c>make menuconfig</c> which will fire up an ncurses-based
138configuration menu.
135</p> 139</p>
136 140
137<pre caption="Invoking menuconfig"> 141<pre caption="Invoking menuconfig">
138# <i>cd /usr/src/linux</i> 142# <i>cd /usr/src/linux</i>
143# <i>make defconfig</i>
139# <i>make menuconfig</i> 144# <i>make menuconfig</i>
140</pre> 145</pre>
141 146
142<p> 147<p>
143You will be greeted with several configuration sections. We'll first list some 148You will be greeted with several configuration sections. We'll first list some

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20