1 |
nightmorph 07/04/02 00:49:18 |
2 |
|
3 |
Modified: hb-install-ppc-kernel.xml |
4 |
Log: |
5 |
conditionals, other fixes |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: hb-install-ppc-kernel.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- hb-install-ppc-kernel.xml 19 Mar 2007 20:37:28 -0000 1.1 |
21 |
+++ hb-install-ppc-kernel.xml 2 Apr 2007 00:49:18 -0000 1.2 |
22 |
@@ -4,11 +4,11 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml,v 1.1 2007/03/19 20:37:28 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml,v 1.2 2007/04/02 00:49:18 nightmorph Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
-<version>7.5</version> |
32 |
+<version>8.0</version> |
33 |
<date>2007-03-12</date> |
34 |
|
35 |
<section> |
36 |
@@ -17,8 +17,8 @@ |
37 |
|
38 |
<p> |
39 |
You first need to select your timezone so that your system knows where it is |
40 |
-located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy |
41 |
-it to <path>/etc/localtime</path>. Please avoid the |
42 |
+located. Look for your timezone in <path>/usr/share/zoneinfo</path>. You then |
43 |
+set your timezone in <path>/etc/conf.d/clock</path>. Please avoid the |
44 |
<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not |
45 |
indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8. |
46 |
</p> |
47 |
@@ -26,7 +26,8 @@ |
48 |
<pre caption="Setting the timezone information"> |
49 |
# <i>ls /usr/share/zoneinfo</i> |
50 |
<comment>(Suppose you want to use GMT)</comment> |
51 |
-# <i>cp /usr/share/zoneinfo/GMT /etc/localtime</i> |
52 |
+# <i>nano -w /etc/conf.d/clock</i> |
53 |
+TIMEZONE="GMT" |
54 |
</pre> |
55 |
|
56 |
</body> |
57 |
@@ -56,13 +57,13 @@ |
58 |
<p> |
59 |
If you take a look in <path>/usr/src</path> you should see a symlink named |
60 |
<path>linux</path> pointing to your current kernel source. In this case, the |
61 |
-installed kernel source points to <c>gentoo-sources-2.6.15</c>. Your version |
62 |
-may be different, so keep this in mind. |
63 |
+installed kernel source points to <c>gentoo-sources-<keyval |
64 |
+id="kernel-version"/></c>. Your version may be different, so keep this in mind. |
65 |
</p> |
66 |
|
67 |
<pre caption="Viewing the kernel source symlink"> |
68 |
# <i>ls -l /usr/src/linux</i> |
69 |
-lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-2.6.15 |
70 |
+lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-<keyval id="kernel-version"/> |
71 |
</pre> |
72 |
|
73 |
<p> |
74 |
@@ -171,6 +172,17 @@ |
75 |
</pre> |
76 |
|
77 |
<p> |
78 |
+Users of NewWorld and OldWorld machines will want HFS support as well. OldWorld |
79 |
+users require it for copying compiled kernels to the MacOS partition. NewWorld |
80 |
+users require it for configuring the special Apple_Bootstrap partition: |
81 |
+</p> |
82 |
+ |
83 |
+<pre caption="Activating HFS support"> |
84 |
+File Systems ---> |
85 |
+ [*] HFS Support |
86 |
+</pre> |
87 |
+ |
88 |
+<p> |
89 |
If you are using PPPoE to connect to the Internet or you are using a dial-up |
90 |
modem, you will need the following options in the kernel: |
91 |
</p> |
92 |
@@ -190,21 +202,11 @@ |
93 |
</p> |
94 |
|
95 |
<p> |
96 |
-If you require it, don't forget to include support in the kernel for your |
97 |
-ethernet card. |
98 |
-</p> |
99 |
- |
100 |
-<p> |
101 |
-Users of NewWorld and OldWorld machines will want HFS support as well. OldWorld |
102 |
-users require it for copying compiled kernels to the MacOS partition. NewWorld |
103 |
-users require it for configuring the special Apple_Bootstrap partition: |
104 |
+Don't forget to include support in the kernel for your ethernet card! Most |
105 |
+newer Apple computers use the SunGEM ethernet driver. Older iMacs commonly use |
106 |
+the BMAC driver. |
107 |
</p> |
108 |
|
109 |
-<pre caption="Activating HFS support"> |
110 |
-File Systems ---> |
111 |
- [*] HFS Support |
112 |
-</pre> |
113 |
- |
114 |
<p> |
115 |
At this time, kernel preemption is still unstable on PPC and may cause |
116 |
compilation failures and random segfaults. It is <e>strongly</e> suggested |
117 |
@@ -292,16 +294,17 @@ |
118 |
|
119 |
<p> |
120 |
When the kernel has finished compiling, copy the kernel image to |
121 |
-<path>/boot</path> (be sure that it is mounted properly on Pegasos computers). |
122 |
-If you are using BootX to boot, we'll copy the kernel later. |
123 |
+<path>/boot</path> as shown below. If you have a separate boot partition, as |
124 |
+on Pegasos computers, be sure that it is mounted properly. If you are using |
125 |
+BootX to boot, we'll copy the kernel later. |
126 |
</p> |
127 |
|
128 |
<p> |
129 |
-Yaboot and BootX expect to use an uncompressed kernel unlike many other |
130 |
+Yaboot and BootX expect to use an uncompressed kernel unlike many other |
131 |
bootloaders. The uncompressed kernel is called vmlinux and it is placed in |
132 |
-<path>/usr/src/linux</path> after the kernel has finished compiling. If you |
133 |
-are using a Pegasos machine, the Pegasos firmware requires a compressed |
134 |
-kernel called zImage.chrp which can be found in |
135 |
+<path>/usr/src/linux</path> after the kernel has finished compiling. If you are |
136 |
+using a Pegasos machine, the Pegasos firmware requires a compressed kernel |
137 |
+called zImage.chrp which can be found in |
138 |
<path>/usr/src/linux/arch/ppc/boot/images</path>. |
139 |
</p> |
140 |
|
141 |
@@ -329,9 +332,9 @@ |
142 |
<body> |
143 |
|
144 |
<p> |
145 |
-You should list the modules you want automatically loaded in |
146 |
-<path>/etc/modules.autoload.d/kernel-2.6</path>. |
147 |
-You can add extra options to the modules too if you want. |
148 |
+You should list the modules you want automatically loaded in |
149 |
+<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to |
150 |
+the modules too if you want. |
151 |
</p> |
152 |
|
153 |
<p> |
154 |
@@ -346,8 +349,7 @@ |
155 |
|
156 |
<p> |
157 |
For instance, to automatically load the <c>3c59x.o</c> module, edit the |
158 |
-<path>kernel-2.6</path> file and enter the module |
159 |
-name in it. |
160 |
+<path>kernel-2.6</path> file and enter the module name in it. |
161 |
</p> |
162 |
|
163 |
<pre caption="Editing /etc/modules.autoload.d/kernel-2.6"> |
164 |
@@ -371,19 +373,15 @@ |
165 |
<body> |
166 |
|
167 |
<p> |
168 |
-If you are reading this section, you have chosen to use our <c>genkernel</c> |
169 |
-script to configure your kernel for you. |
170 |
-</p> |
171 |
- |
172 |
-<p> |
173 |
-Now that your kernel source tree is installed, it's now time to compile your |
174 |
-kernel by using our <c>genkernel</c> script to automatically build a kernel for |
175 |
-you. <c>genkernel</c> works by configuring a kernel nearly identically to the |
176 |
-way our Installation CD kernel is configured. This means that when you use |
177 |
-<c>genkernel</c> to build your kernel, your system will generally detect all |
178 |
-your hardware at boot-time, just like our Installation CD does. Because genkernel |
179 |
-doesn't require any manual kernel configuration, it is an ideal solution for |
180 |
-those users who may not be comfortable compiling their own kernels. |
181 |
+Now that your kernel source tree is installed, it's now time to compile your |
182 |
+kernel by using our <c>genkernel</c> script to automatically build a kernel for |
183 |
+you. <c>genkernel</c> works by configuring a kernel nearly identically to the |
184 |
+way our Installation CD kernel is configured. This means that when you use |
185 |
+<c>genkernel</c> to build your kernel, your system will generally detect all |
186 |
+your hardware at boot-time, just like our Installation CD does. Because |
187 |
+genkernel doesn't require any manual kernel configuration, it is an ideal |
188 |
+solution for those users who may not be comfortable compiling their own |
189 |
+kernels. |
190 |
</p> |
191 |
|
192 |
<p> |
193 |
@@ -391,7 +389,7 @@ |
194 |
</p> |
195 |
|
196 |
<pre caption="Emerging genkernel"> |
197 |
-# <i>emerge genkernel</i> |
198 |
+# <i>emerge --usepkg genkernel</i> |
199 |
</pre> |
200 |
|
201 |
<p> |
202 |
@@ -465,16 +463,6 @@ |
203 |
</pre> |
204 |
|
205 |
<p> |
206 |
-If you want your system to react to hotplugging events, you will need to install |
207 |
-and setup <c>hotplug</c>: |
208 |
-</p> |
209 |
- |
210 |
-<pre caption="Emerging and enabling hotplug"> |
211 |
-# <i>emerge hotplug</i> |
212 |
-# <i>rc-update add hotplug default</i> |
213 |
-</pre> |
214 |
- |
215 |
-<p> |
216 |
Now continue with <uri link="?part=1&chap=8">Configuring your System</uri>. |
217 |
</p> |
218 |
|
219 |
|
220 |
|
221 |
|
222 |
-- |
223 |
gentoo-doc-cvs@g.o mailing list |