Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: handbook-mips.xml hb-install-alpha-kernel.xml hb-install-mips-kernel.xml
Date: Mon, 19 Mar 2007 09:10:10
Message-Id: E1HTDs4-0005nR-88@stork.gentoo.org
1 nightmorph 07/03/19 09:09:40
2
3 Modified: handbook-mips.xml hb-install-alpha-kernel.xml
4 hb-install-mips-kernel.xml
5 Log:
6 kernel updates, etc.
7
8 Revision Changes Path
9 1.24 xml/htdocs/doc/en/handbook/draft/handbook-mips.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml?rev=1.24&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml?rev=1.24&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml?r1=1.23&r2=1.24
14
15 Index: handbook-mips.xml
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml,v
18 retrieving revision 1.23
19 retrieving revision 1.24
20 diff -u -r1.23 -r1.24
21 --- handbook-mips.xml 14 Mar 2007 06:24:40 -0000 1.23
22 +++ handbook-mips.xml 19 Mar 2007 09:09:40 -0000 1.24
23 @@ -1,7 +1,7 @@
24 <?xml version='1.0' encoding='UTF-8'?>
25 <!DOCTYPE book SYSTEM "/dtd/book.dtd">
26
27 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml,v 1.23 2007/03/14 06:24:40 nightmorph Exp $ -->
28 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-mips.xml,v 1.24 2007/03/19 09:09:40 nightmorph Exp $ -->
29
30 <book link="/doc/en/handbook/handbook-mips.xml">
31 <title>Gentoo Linux/MIPS Handbook</title>
32 @@ -9,6 +9,8 @@
33 <values>
34 <key id="arch">MIPS</key>
35 <key id="/boot">/dev/sda1</key>
36 + <key id="kernel-version">2.6.17.10-mips</key>
37 + <key id="kernel-name">kernel-2.6.17.10-mips</key>
38 </values>
39
40 <author title="Author">
41 @@ -129,7 +131,7 @@
42 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
43 <license/>
44
45 -<version>7.2</version>
46 +<version>8.0</version>
47 <date>2006-10-08</date>
48
49 <part>
50
51
52
53 1.17 xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml?rev=1.17&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml?rev=1.17&content-type=text/plain
57 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml?r1=1.16&r2=1.17
58
59 Index: hb-install-alpha-kernel.xml
60 ===================================================================
61 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml,v
62 retrieving revision 1.16
63 retrieving revision 1.17
64 diff -u -r1.16 -r1.17
65 --- hb-install-alpha-kernel.xml 19 Mar 2007 07:12:37 -0000 1.16
66 +++ hb-install-alpha-kernel.xml 19 Mar 2007 09:09:40 -0000 1.17
67 @@ -4,7 +4,7 @@
68 <!-- The content of this document is licensed under the CC-BY-SA license -->
69 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
70
71 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml,v 1.16 2007/03/19 07:12:37 nightmorph Exp $ -->
72 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-alpha-kernel.xml,v 1.17 2007/03/19 09:09:40 nightmorph Exp $ -->
73
74 <sections>
75
76 @@ -154,21 +154,10 @@
77 Now go to <c>File Systems</c> and select support for the filesystems you use.
78 <e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
79 able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc
80 -file system</c>. If you are using a 2.4 kernel, you should also select the
81 -<c>/dev file system</c> and <c>Automatically mount at boot</c> options, and
82 -you should make sure to <c>emerge devfsd</c>.
83 +file system</c>.
84 </p>
85
86 <pre caption="Selecting necessary file systems">
87 -<comment>(With a 2.4.x kernel)</comment>
88 -File systems ---&gt;
89 - [*] Virtual memory file system support (former shm fs)
90 - [*] /proc file system support
91 - [*] /dev file system support (EXPERIMENTAL)
92 - [*] Automatically mount at boot
93 - [ ] /dev/pts file system for Unix98 PTYs
94 -
95 -<comment>(With a 2.6.x kernel)</comment>
96 File systems ---&gt;
97 Pseudo Filesystems ---&gt;
98 [*] /proc file system support
99 @@ -188,13 +177,6 @@
100 </p>
101
102 <pre caption="Selecting PPPoE necessary drivers">
103 -<comment>(With a 2.4.x kernel)</comment>
104 -Network device support ---&gt;
105 - &lt;*&gt; PPP (point-to-point protocol) support
106 - &lt;*&gt; PPP support for async serial ports
107 - &lt;*&gt; PPP support for sync tty ports
108 -
109 -<comment>(With a 2.6.x kernel)</comment>
110 Device Drivers ---&gt;
111 Networking support ---&gt;
112 &lt;*&gt; PPP (point-to-point protocol) support
113 @@ -288,13 +270,7 @@
114 </p>
115
116 <pre caption="Compiling the kernel">
117 -<comment>(For 2.4 kernel)</comment>
118 -# <i>make dep &amp;&amp; make vmlinux modules modules_install</i>
119 -
120 -<comment>(For 2.6 kernel)</comment>
121 # <i>make &amp;&amp; make modules_install</i>
122 -
123 -<comment>(For all kernels)</comment>
124 # <i>make boot</i>
125 </pre>
126
127 @@ -359,31 +335,6 @@
128
129 <pre caption="Running genkernel">
130 # <i>genkernel all</i>
131 -* Gentoo Linux Genkernel; Version 3.4.0
132 -* Running with options: all
133 -
134 -* Linux Kernel 2.6.16.19 for alpha...
135 -* kernel: >> Running mrproper...
136 -<comment>(Output removed to increase readability)</comment>
137 -* Kernel compiled successfully!
138 -*
139 -* Required Kernel Parameters:
140 -* real_root=/dev/$ROOT
141 -*
142 -* Where $ROOT is the device node for your root partition as the
143 -* one specified in /etc/fstab
144 -*
145 -* If you require Genkernel's hardware detection features; you MUST
146 -* tell your bootloader to use the provided INITRAMFS file. Otherwise;
147 -* substitute the root argument for the real_root argument if you are
148 -* not planning to use the initrd...
149 -
150 -* WARNING... WARNING... WARNING...
151 -* Additional kernel cmdline arguments that *may* be required to boot properly...
152 -* Do NOT report kernel bugs as genkernel bugs unless your bug
153 -* is about the default genkernel configuration...
154 -*
155 -* Make sure you have the latest genkernel before reporting bugs.
156 </pre>
157
158 <p>
159 @@ -451,9 +402,9 @@
160 <body>
161
162 <p>
163 -You should list the modules you want automatically loaded in
164 -<path>/etc/modules.autoload.d/kernel-2.4</path> (or <path>kernel-2.6</path>).
165 -You can add extra options to the modules too if you want.
166 +You should list the modules you want automatically loaded in
167 +<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
168 +the modules too if you want.
169 </p>
170
171 <p>
172 @@ -468,16 +419,14 @@
173
174 <p>
175 For instance, to automatically load the <c>3c59x.o</c> module, edit the
176 -<path>kernel-2.4</path> or <path>kernel-2.6</path> file and enter the module
177 -name in it.
178 +<path>kernel-2.6</path> file and enter the module name in it.
179 </p>
180
181 -<pre caption="Editing /etc/modules.autoload.d/kernel-2.4">
182 -<comment>(Example for 2.4 kernels)</comment>
183 -# <i>nano -w /etc/modules.autoload.d/kernel-2.4</i>
184 +<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
185 +# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
186 </pre>
187
188 -<pre caption="/etc/modules.autoload.d/kernel-2.4 or kernel-2.6">
189 +<pre caption="/etc/modules.autoload.d/kernel-2.6">
190 3c59x
191 </pre>
192
193
194
195
196 1.13 xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml
197
198 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml?rev=1.13&view=markup
199 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml?rev=1.13&content-type=text/plain
200 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml?r1=1.12&r2=1.13
201
202 Index: hb-install-mips-kernel.xml
203 ===================================================================
204 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml,v
205 retrieving revision 1.12
206 retrieving revision 1.13
207 diff -u -r1.12 -r1.13
208 --- hb-install-mips-kernel.xml 14 Mar 2007 06:24:40 -0000 1.12
209 +++ hb-install-mips-kernel.xml 19 Mar 2007 09:09:40 -0000 1.13
210 @@ -4,11 +4,11 @@
211 <!-- The content of this document is licensed under the CC-BY-SA license -->
212 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
213
214 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml,v 1.12 2007/03/14 06:24:40 nightmorph Exp $ -->
215 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-mips-kernel.xml,v 1.13 2007/03/19 09:09:40 nightmorph Exp $ -->
216 <!-- :vim:ts=2:sts=2:et:tw=80: -->
217 <sections>
218
219 -<version>7.1</version>
220 +<version>8.0</version>
221 <date>2007-02-26</date>
222
223 <section>
224 @@ -119,24 +119,13 @@
225 <p>
226 When you take a look in <path>/usr/src</path> you should see a symlink called
227 <path>linux</path> pointing to your kernel source. In this case, the installed
228 -kernel source points to <c>mips-sources-2.6.13.4</c>. Your version may be
229 -different, so keep this in mind.
230 +kernel source points to <c>mips-sources-<keyval id="kernel-version"/></c>. Your
231 +version may be different, so keep this in mind.
232 </p>
233
234 <pre caption="Viewing the kernel source symlink">
235 # <i>ls -l /usr/src/linux</i>
236 -lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.13.4
237 -</pre>
238 -
239 -<p>
240 -If this isn't the case (i.e. the symlink points to a different kernel source)
241 -change the symlink before you continue:
242 -</p>
243 -
244 -<pre caption="Changing the kernel source symlink">
245 -# <i>rm /usr/src/linux</i>
246 -# <i>cd /usr/src</i>
247 -# <i>ln -s linux-2.6.13.4 linux</i>
248 +lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-<keyval id="kernel-version"/>
249 </pre>
250
251 <p>
252 @@ -303,19 +292,16 @@
253 </note>
254
255 <pre caption="Compiling the kernel">
256 -<comment>(For 2.4 kernel only)</comment>
257 -# <i>make dep</i>
258 -
259 -<comment>(2.4 and 2.6 kernels -- compiling natively)</comment>
260 +<comment>(Compiling natively)</comment>
261 # <i>make vmlinux modules modules_install</i>
262
263 -<comment>(2.4 and 2.6 kernels -- cross-compiling on target machine)</comment>
264 -<comment>( Adjust the mips64-unknown-linux-gnu- accordingly )</comment>
265 +<comment>(Cross-compiling on target machine)</comment>
266 +<comment>(Adjust the mips64-unknown-linux-gnu- accordingly)</comment>
267 # <i>make vmlinux modules modules_install CROSS_COMPILE=mips64-unknown-linux-gnu-</i>
268
269 -<comment>(When compiling on another machine, such as an x86 box... use the)</comment>
270 -<comment>( following commands to compile the kernel &amp; install modules into)</comment>
271 -<comment>( a specific directory to be transferred to the target machine. )</comment>
272 +<comment>(When compiling on another machine, such as an x86 box, use the)</comment>
273 +<comment>(following commands to compile the kernel &amp; install modules into)</comment>
274 +<comment>(a specific directory to be transferred to the target machine.)</comment>
275 # <i>make vmlinux modules CROSS_COMPILE=mips64-unknown-linux-gnu-</i>
276 # <i>make modules_install INSTALL_MOD_PATH=/somewhere</i>
277 </pre>
278 @@ -343,10 +329,10 @@
279 </note>
280
281 <pre caption="Installing the kernel">
282 -# <i>cp vmlinux /boot/kernel-2.6.13.4</i>
283 +# <i>cp vmlinux /boot/kernel-<keyval id="kernel-version"/></i>
284
285 <comment>(Cobalt Servers -- Compressing the kernel image)</comment>
286 -# <i>gzip -9v /boot/kernel-2.6.13.4</i>
287 +# <i>gzip -9v /boot/kernel-<keyval id="kernel-version"/></i>
288 </pre>
289
290 </body>
291 @@ -359,21 +345,9 @@
292 <body>
293
294 <p>
295 -You should list the modules you want automatically loaded in one of the
296 -relevant files listed below. You can add extra options to the modules too if
297 -you want.
298 -</p>
299 -
300 -<ul>
301 - <li><path>/etc/modules.autoload.d/kernel-2.4</path> - Kernel 2.4 only</li>
302 - <li><path>/etc/modules.autoload.d/kernel-2.6</path> - Kernel 2.6 only</li>
303 - <li><path>/etc/modules.autoload</path> - All Kernels</li>
304 -</ul>
305 -
306 -<p>
307 -Therefore, if you have a kernel module that you want to load -- which is common
308 -to both 2.4 and 2.6, then place it in <path>/etc/modules.autoload</path>.
309 -Otherwise it can be placed in the appropriate file.
310 +You should list the modules you want automatically loaded in
311 +<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
312 +the modules too if you want.
313 </p>
314
315 <p>
316 @@ -388,27 +362,18 @@
317
318 <p>
319 For instance, to automatically load the <c>3c59x.o</c> module, edit the
320 -appropriate file and enter the module name in it.
321 +<path>kernel-2.6</path> file and enter the module name in it.
322 </p>
323
324 -<pre caption="Editing /etc/modules.autoload.d/kernel-2.4">
325 -# <i>nano -w /etc/modules.autoload.d/kernel-2.4</i>
326 +<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
327 +# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
328 </pre>
329
330 -<pre caption="/etc/modules.autoload.d/kernel-2.4 or kernel-2.6">
331 +<pre caption="/etc/modules.autoload.d/kernel-2.6">
332 3c59x
333 </pre>
334
335 <p>
336 -This can be also done in a one-liner:
337 -</p>
338 -
339 -<pre caption="Adding a module -- the one-liner method">
340 -# <i>echo '3c59x' >> /etc/modules.autoload.d/kernel-2.4</i>
341 -<comment>(or kernel-2.6, or /etc/modules.autoload...)</comment>
342 -</pre>
343 -
344 -<p>
345 Continue the installation with <uri link="?part=1&amp;chap=8">Configuring your
346 System</uri>.
347 </p>
348
349
350
351 --
352 gentoo-doc-cvs@g.o mailing list