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
Date: Sun, 12 Feb 2006 14:32:11
Message-Id: 200602121432.k1CEW0wg012776@robin.gentoo.org
1 nightmorph 06/02/12 14:31:58
2
3 Modified: xml/htdocs/doc/en/handbook/draft/2006.0 handbook-mips.xml
4 hb-install-mips-bootloader.xml
5 hb-install-mips-disk.xml hb-install-mips-kernel.xml
6 hb-install-mips-medium.xml index.xml
7 Log:
8 Added patches to the mips stuff as per bug 111652 to bring everything up
9 to date. Also edited index.xml to reflect the now present mips
10 handbook.
11
12 Revision Changes Path
13 1.2 +6 -6 xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml
14
15 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
16 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
17 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo
18
19 Index: handbook-mips.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml,v
22 retrieving revision 1.1
23 retrieving revision 1.2
24 diff -u -r1.1 -r1.2
25 --- handbook-mips.xml 12 Feb 2006 13:54:32 -0000 1.1
26 +++ handbook-mips.xml 12 Feb 2006 14:31:58 -0000 1.2
27 @@ -1,7 +1,7 @@
28 <?xml version='1.0' encoding='UTF-8'?>
29 <!DOCTYPE book SYSTEM "/dtd/book.dtd">
30
31 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml,v 1.1 2006/02/12 13:54:32 nightmorph Exp $ -->
32 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-mips.xml,v 1.2 2006/02/12 14:31:58 nightmorph Exp $ -->
33
34 <book link="handbook-mips.xml">
35 <title>Gentoo Linux/MIPS Handbook</title>
36 @@ -90,7 +90,7 @@
37 <mail link="kumba@g.o">Joshua Kinard</mail>
38 </author>
39 <author title="Editor">
40 - <mail link="stuartl@××××××××××××××××××.org">Stuart Longland</mail>
41 + <mail link="redhatter@g.o">Stuart Longland</mail>
42 </author>
43 <author title="Editor">
44 <mail link="dertobi123@g.o">Tobias Scherbaum</mail>
45 @@ -124,8 +124,8 @@
46 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
47 <license/>
48
49 -<version>4.3</version>
50 -<date>2005-12-19</date>
51 +<version>4.4</version>
52 +<date>2006-01-01</date>
53
54 <part>
55 <title>Installing Gentoo</title>
56 @@ -175,7 +175,7 @@
57 Gentoo installs work through a stage3 archive. In this chapter we
58 describe how you extract the stage3 archive and configure Portage.
59 </abstract>
60 - <include href="hb-install-stage.xml"/>
61 + <include href="hb-install-mips-stage.xml"/>
62 </chapter>
63
64 <chapter>
65 @@ -221,7 +221,7 @@
66 <abstract>
67 On both Silicon Graphics machines, and on Cobalt servers, both require the use
68 of a bootloader to load the kernel. This section covers setting up
69 -arcboot (for SGI machines) and colo for Cobalt servers.
70 +arcboot/arcload (for SGI machines) and colo for Cobalt servers.
71 </abstract>
72 <include href="hb-install-mips-bootloader.xml"/>
73 </chapter>
74
75
76
77 1.2 +379 -66 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml
78
79 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
80 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
81 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo
82
83 Index: hb-install-mips-bootloader.xml
84 ===================================================================
85 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml,v
86 retrieving revision 1.1
87 retrieving revision 1.2
88 diff -u -r1.1 -r1.2
89 --- hb-install-mips-bootloader.xml 12 Feb 2006 13:54:32 -0000 1.1
90 +++ hb-install-mips-bootloader.xml 12 Feb 2006 14:31:58 -0000 1.2
91 @@ -4,15 +4,73 @@
92 <!-- The content of this document is licensed under the CC-BY-SA license -->
93 <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
94
95 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml,v 1.1 2006/02/12 13:54:32 nightmorph Exp $ -->
96 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-bootloader.xml,v 1.2 2006/02/12 14:31:58 nightmorph Exp $ -->
97
98 <sections>
99
100 -<version>1.8</version>
101 -<date>2006-01-19</date>
102 +<version>1.9</version>
103 +<date>2006-02-12</date>
104
105 <section id="sgi">
106 -<title>Silicon Graphics Machines -- Setting Up Arcboot</title>
107 +<title>Silicon Graphics Machines -- Setting Up arcboot/arcload</title>
108 +<subsection>
109 +<title>Which one?</title>
110 +<body>
111 +
112 +<p>
113 +On SGI machines, you have two options for bootloaders. <c>arcboot</c> and
114 +<c>arcload</c>. The table below lists the pros and cons for each bootloader.
115 +</p>
116 +
117 +<table>
118 +<tr>
119 + <th> </th>
120 + <th>arcboot</th>
121 +</tr>
122 +<tr>
123 + <th>+</th>
124 + <ti>
125 + It can load off EXT2 and EXT3 partitions, so no need to store them in the
126 + volume header
127 + </ti>
128 +</tr>
129 +<tr>
130 + <th>-</th>
131 + <ti>
132 + It doesn't work on Octane/Octane2, Origin 200/2000 or
133 + Indigo2 Impact (R10000)
134 + </ti>
135 +</tr>
136 +</table>
137 +
138 +<table>
139 +<tr>
140 + <th> </th>
141 + <th>arcload</th>
142 +</tr>
143 +<tr>
144 + <th>+</th>
145 + <ti>
146 + It boots ALL Linux-compatable SGI systems
147 + </ti>
148 +</tr>
149 +<tr>
150 + <th>-</th>
151 + <ti>
152 + Currently, It cannot read EXT2/EXT3 partitions, and so needs the kernels
153 + and config file to be placed in the volume header
154 + </ti>
155 +</tr>
156 +</table>
157 +
158 +<note>
159 +The SGI volume header filenames are limited to 8 characters, and there may be no
160 +more than 16 files contained in a single volume header.
161 +</note>
162 +
163 +</body>
164 +</subsection>
165 +
166 <subsection>
167 <title>Installing arcboot</title>
168 <body>
169 @@ -45,13 +103,22 @@
170 header and loads kernels for us, and <c>dvhtool</c> which helps us put
171 <c>arcboot</c> into the volume header.
172 </p>
173 +
174 <p>
175 -The magic binary we want, hides in <path>/usr/lib/arcboot</path> -- on IP22
176 -systems (Indy, Indigo 2, Challenge S), it'll be called
177 -<path>arcboot.ip22</path>. Other systems should be similar. We
178 -first copy this file into the volume header.
179 +The <c>arcboot</c> binary lurks in <path>/usr/lib/arcboot</path>. The name of
180 +the binary depends on the machine it's compiled for.
181 </p>
182
183 +<ul>
184 + <li>
185 + <c>arcboot.ip22</c>: The binary for Indy, Indigo2 (R4k) and Challenge S
186 + systems
187 + </li>
188 + <li>
189 + <c>arcboot.ip32</c>: The binary for O2 systems
190 + </li>
191 +</ul>
192 +
193 <pre caption="Installing arcboot into the volume header">
194 # <i>dvhtool --unix-to-vh /usr/lib/arcboot/arcboot.ip?? arcboot</i>
195 </pre>
196 @@ -70,20 +137,12 @@
197 </pre>
198
199 <note>
200 -You'll notice that in my case, I've got two old kernels sitting around there,
201 -<path>linux</path> and <path>newlinux</path>. This is a hangover from before we
202 -started using <c>arcboot</c>. Their presence doesn't matter -- just so long as
203 -<c>arcboot</c> is present, everything is fine.
204 +You'll notice that in the example above, there are two old kernels sitting
205 +around, <path>linux</path> and <path>newlinux</path>. This is a hangover from
206 +before we started using <c>arcboot</c>. Their presence doesn't matter -- just
207 +so long as <c>arcboot</c> is present, everything is fine.
208 </note>
209
210 -</body>
211 -</subsection>
212 -
213 -<subsection>
214 -<title>Configuring arcboot</title>
215 -
216 -<body>
217 -
218 <p>
219 If you've ever set up the Linux Loader (<c>lilo</c>) before, you'll find that
220 <c>arcboot</c> employs a similar syntax in its configuration file. Bear in mind
221 @@ -92,9 +151,14 @@
222 is to make sure <path>/boot</path> is an EXT2/3 partition and that there's a
223 file called <path>arcboot.conf</path> inside the <path>/boot/etc</path>
224 directory. An example config can be found in
225 -<path>/etc/arcboot.conf.sample</path>
226 +<path>/etc/arcboot.conf.sample</path>.
227 </p>
228
229 +<note>
230 +Adjust the paths accordingly if you
231 +don't have a separate <path>/boot</path> partition.
232 +</note>
233 +
234 <pre caption="Putting arcboot.conf in its place">
235 <comment>(Create the /boot/etc directory)</comment>
236 # <i>mkdir /boot/etc</i>
237 @@ -111,9 +175,10 @@
238
239 <p>
240 You can then edit <path>/etc/arcboot.conf</path> to your own preference.
241 -Personally, I prefer to set up two kernel images: <path>new</path>, a freshly built
242 -image that may or may not work; and <path>working</path>, a proven trustworthy
243 -kernel image. My <path>arcboot.conf</path> looks a bit like this.
244 +One possible layout, is to set up two kernel images: <path>new</path>, a
245 +freshly built image that may or may not work; and <path>working</path>, a
246 +proven trustworthy kernel image. The <path>arcboot.conf</path> for that
247 +setup looks a bit like this.
248 </p>
249
250 <pre caption="Example arcboot.conf">
251 @@ -121,11 +186,12 @@
252 <comment>#</comment>
253 <comment># copyright 2002 Guido Guenther &lt;agx@×××××××.org&gt;</comment>
254 <comment>#</comment>
255 +<comment># known working version</comment>
256 label=working
257 image=/vmlinux
258 append="root=/dev/sda3"
259
260 -<comment># backup version</comment>
261 +<comment># fresh "untested" version</comment>
262 label=new
263 image=/vmlinux-new
264 append="root=/dev/sda3"
265 @@ -140,6 +206,129 @@
266
267 </body>
268 </subsection>
269 +
270 +<subsection>
271 +<title>Installing arcload</title>
272 +<body>
273 +
274 +<p>
275 +<c>arcload</c> was written for machines that require 64-bit kernels, and
276 +therefore can't use <c>arcboot</c> (which can't easily be compiled as a 64-bit
277 +binary). It also works around peculiarities that arise when loading kernels
278 +directly from the volume header. So, now you know what this is about, we
279 +can proceed with the installation:
280 +</p>
281 +
282 +<pre caption="Merging arcload and dvhtool">
283 +# <i>emerge arcload dvhtool</i>
284 +</pre>
285 +
286 +<p>
287 +Once this has finished, you should find the <c>arcload</c> binary in
288 +<path>/usr/lib/arcload</path>. Now, two files exist:
289 +</p>
290 +
291 +<ul>
292 + <li>
293 + <c>sashARCS</c>: The 32-bit binary for Indy, Indigo2 (R4k), Challenge S
294 + and O2 systems
295 + </li>
296 + <li>
297 + <c>sash64</c>: The 64-bit binary for Octane/Octane2, Origin 200/2000 and
298 + Indigo2 Impact systems
299 + </li>
300 +</ul>
301 +
302 +<p>
303 +Use <c>dvhtool</c> to install the appropriate binary for your system into the
304 +volume header:
305 +</p>
306 +
307 +<pre caption="Placing arcload in the volume header">
308 +<comment>(Indy/Indigo2/Challenge S/O2 users)</comment>
309 +# <i>dvhtool --unix-to-vh /usr/lib/arcload/sashARCS sashARCS</i>
310 +
311 +<comment>(Indigo2 Impact/Octane/Octane2/Origin 200/Origin 2000 users)</comment>
312 +# <i>dvhtool --unix-to-vh /usr/lib/arcload/sash64 sash64</i>
313 +</pre>
314 +
315 +<note>
316 +You don't have to use the name <c>sashARCS</c> or <c>sash64</c>, unless you are
317 +installing to the volume header of a bootable CD. For normal boot from
318 +hard-disk, you may name them something else if you wish.
319 +</note>
320 +
321 +<p>
322 +Now just use <c>dvhtool</c> to verify they are in the volume header.
323 +</p>
324 +
325 +<pre caption="Checking arcload is present in the volume header">
326 +# <i>dvhtool --print-volume-directory</i>
327 +----- directory entries -----
328 +Entry #0, name "sash64", start 4, bytes 55859
329 +#
330 +</pre>
331 +
332 +<p>
333 +Now, the <c>arc.cf</c> file has a C-like syntax. For the full detail on how
334 +one configures it, see the <uri
335 +link="http://www.linux-mips.org/wiki/Arcload">arcload page on the
336 +Linux/MIPS wiki</uri>. In short, you define a number of options, which you
337 +enable and disable at boot time using the <c>OSLoadFilename</c> variable.
338 +</p>
339 +
340 +<pre caption="An example arc.cf">
341 +<comment># ARCLoad Configuration</comment>
342 +
343 +<comment># Some default settings...</comment>
344 +append "root=/dev/sda3";
345 +append "ro";
346 +append "console=ttyS0,9600";
347 +
348 +<comment># Our main definition. ip28 may be changed if you wish.</comment>
349 +ip28 {
350 + <comment># Definition for a "working" kernel</comment>
351 + <comment># Select this by setting OSLoadFilename="ip28(working)"</comment>
352 + working {
353 + description "SGI Indigo2 Impact R10000\n\r";
354 + image system "/working";
355 + }
356 +
357 + <comment># Definition for a "new" kernel</comment>
358 + <comment># Select this by setting OSLoadFilename="ip28(new)"</comment>
359 + new {
360 + description "SGI Indigo2 Impact R10000 - Testing Kernel\n\r";
361 + image system "/new";
362 + }
363 +
364 + <comment># For debugging a kernel</comment>
365 + <comment># Select this by setting OSLoadFilename="ip28(working,debug)"</comment>
366 + <comment># or OSLoadFilename="ip28(new,debug)"</comment>
367 + debug {
368 + description "Debug console";
369 + append "init=/bin/bash";
370 + }
371 +}
372 +</pre>
373 +
374 +<p>
375 +This is then placed in the volume header with <c>sash64</c> (or
376 +<c>sashARCS</c>) as shown below. Kernels also get placed in the volume header.
377 +</p>
378 +
379 +<pre caption="Placing arc.cf and kernel in the volume header">
380 +# <i>dvhtool --unix-to-vh arc.cf arc.cf</i>
381 +# <i>dvhtool --unix-to-vh /usr/src/linux/vmlinux new</i>
382 +</pre>
383 +
384 +<p>
385 +With this done, now all that's left is to set some options in the PROM. See the
386 +section on <uri link="#reboot">Rebooting the System</uri>.
387 +</p>
388 +
389 +</body>
390 +</subsection>
391 +
392 </section>
393
394 <section id="cobalt">
395 @@ -156,9 +345,9 @@
396
397 <ul>
398 <li>
399 - There's a 675kB limit on kernels. The current size of Linux 2.4 makes it
400 - damn near impossible to make a kernel this size. Linux 2.6 is totally out
401 - of the question.
402 + There's a 675kB (approximate) limit on kernels. The current size of Linux
403 + 2.4 makes it damn near impossible to make a kernel this size. Linux 2.6 is
404 + totally out of the question.
405 </li>
406 <li>
407 64-bit kernels are not supported by the stock firmware (although these are
408 @@ -254,41 +443,40 @@
409
410 <p>
411 It is also possible to ask a question, such as which kernel &amp; configuration
412 -you'd like to boot, with a default timeout. This is the configuration I use on
413 -my Cobalt server:
414 +you'd like to boot, with a default timeout. This configuration does exactly
415 +this, asks the user which kernel they wish to use, and executes the chosen
416 +image. <path>vmlinux.gz.new</path> and <path>vmlinux.gz.working</path> may be
417 +actual kernel images, or just symlinks pointing to the kernel images on that
418 +disk. The <c>50</c> argument to <c>select</c> specifies that it should proceed
419 +with the first option ("Working") after 50/10 seconds.
420 </p>
421
422 -<impo>
423 -Please note that you need to be using CoLo v1.12 or v1.13 to use the <c>menu</c>
424 -command. The following example won't work with v1.11.
425 -</impo>
426 -
427 -<impo>
428 -The <c>menu</c> command was replaced by the <c>select</c> command in CoLo v1.14.
429 -If you've installed a later version by hand, have a look at
430 -<path>menu.colo</path> in the <path>examples</path> subdirectory of the CoLo
431 -distribution.
432 -</impo>
433 -
434 <pre caption="Menu-based configuration">
435 <comment>#:CoLo:#</comment>
436
437 lcd "Mounting hda1"
438 mount hda1
439 -menu "Which Kernel?" 50 Working working New new
440 -lcd "Loading Linux" {menu-option}
441 -load /kernel.gz.{menu-option}
442 +select "Which Kernel?" 50 Working New
443 +
444 +goto {menu-option}
445 +var image-name vmlinux.gz.working
446 +goto 3f
447 +@var image-name vmlinux.gz.working
448 +goto 2f
449 +@var image-name vmlinux.gz.new
450 +
451 +@lcd "Loading Linux" {image-name}
452 +load /{image-name}
453 lcd "Booting..."
454 execute root=/dev/hda5 ro console=ttyS0,115200
455 boot
456 </pre>
457
458 <p>
459 -The above script asks the user which kernel he/she would like to boot (either
460 -New or Working), then loads <path>vmlinux.gz.new</path> or
461 -<path>vmlinux.gz.working</path> depending on the selection. If a selection is
462 -not made within 5 seconds (50/10ths of a second) it boots the first option.
463 +See the documentation in <path>/usr/share/doc/colo-VERSION</path> for more
464 +details.
465 </p>
466 +
467 </body>
468
469 </subsection>
470 @@ -307,7 +495,7 @@
471 </p>
472
473 <note>
474 -Those who do have the luxury of a supported framebuffer may skip this section if
475 +Those who do have the luxury of a supported video chipset may skip this section if
476 they wish.
477 </note>
478
479 @@ -395,10 +583,10 @@
480
481 <note>
482 <e>Cobalt Users:</e> The rest of this section covers the setting up of the SGI
483 -PROM so that it boots <c>arcboot</c> off disk and loads Linux. This is not
484 -applicable to the setup of Cobalt servers. In fact, all your work is done --
485 -there is no configuration needed for the first boot up, you can skip to the next
486 -section: <uri link="?part=1&amp;chap=11">Finalising your Gentoo
487 +PROM so that it boots <c>arcboot</c>/<c>arcload</c> off disk and loads Linux.
488 +This is not applicable to the setup of Cobalt servers. In fact, all your work
489 +is done -- there is no configuration needed for the first boot up, you can skip
490 +to the next section: <uri link="?part=1&amp;chap=11">Finalising your Gentoo
491 Installation</uri>
492 </note>
493
494 @@ -408,14 +596,29 @@
495 <section>
496 <title>Tweaking the SGI PROM</title>
497 <subsection>
498 +<title>Setting generic PROM settings</title>
499 <body>
500
501 <p>
502 +Now that you've installed the bootloader, you're ready to reboot the machine.
503 +</p>
504 +
505 +<pre caption="Rebooting">
506 +<comment>(Exit the chroot environment)</comment>
507 +# <i>exit</i>
508 +
509 +<comment>(Unmount the drives)</comment>
510 +# <i>umount /gentoo/boot</i>
511 +# <i>umount /gentoo</i>
512 +
513 +<comment>(Reboot)</comment>
514 +# <i>reboot</i>
515 +</pre>
516 +
517 +<p>
518 When you are rebooted, go to the <e>System Maintenance Menu</e> and select
519 -<e>Enter Command Monitor</e> (<c>5</c>). If you want to test your new Gentoo
520 -installation, you can just run <c>boot -f &lt;kernel name&gt;</c>. To have your
521 -system permanently boot into the Gentoo installation, you need to set some
522 -variables in the SGI PROM:
523 +<e>Enter Command Monitor</e> (<c>5</c>) like you did when you netbooted the
524 +machine.
525 </p>
526
527 <pre caption="Configuring the PROM to Boot Gentoo">
528 @@ -428,6 +631,46 @@
529 Option? <i>5</i>
530 Command Monitor. Type "exit" to return to the menu.
531
532 +<comment>(Set some options which are common for both arcload and arcboot)</comment>
533 +
534 +<comment>(Provide the location of the Volume Header)</comment>
535 +&gt;&gt; <i>setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)</i>
536 +
537 +<comment>(Automatically boot Gentoo)</comment>
538 +&gt;&gt; <i>setenv AutoLoad Yes</i>
539 +
540 +<comment>(Set the timezone)</comment>
541 +&gt;&gt; <i>setenv TimeZone EST5EDT</i>
542 +
543 +<comment>(Use the serial console - graphic adapter users should have "g" instead of "d1" (one))</comment>
544 +&gt;&gt; <i>setenv console d1</i>
545 +
546 +<comment>(Setting the serial console baud rate. This is optional, 9600 is the )
547 +(default setting, although one may use rates up to 38400 if that is desired. )</comment>
548 +&gt;&gt; <i>setenv dbaud 9600</i>
549 +</pre>
550 +
551 +<p>
552 +Now, the next settings depend on how you are booting the system.
553 +</p>
554 +
555 +</body>
556 +</subsection>
557 +
558 +<subsection>
559 +<title>Settings for direct volume-header booting</title>
560 +<body>
561 +
562 +<p>
563 +This is covered here for completeness. It's recommended that users look into
564 +installing <c>arcboot</c> or <c>arcload</c> instead.
565 +</p>
566 +
567 +<note>
568 +This only works on the Indy, Indigo2 (R4k) and Challenge S.
569 +</note>
570 +
571 +<pre caption="PROM settings for booting off the volume header">
572 <comment>(&lt;root device&gt; = Gentoo's root partition, e.g. /dev/sda3)</comment>
573 &gt;&gt; <i>setenv OSLoadPartition &lt;root device&gt;</i>
574
575 @@ -437,21 +680,91 @@
576
577 <comment>(Declare the kernel parameters you want to pass)</comment>
578 &gt;&gt; <i>setenv OSLoadOptions &lt;kernel parameters&gt;</i>
579 +</pre>
580
581 -<comment>(Provide the location of the Volume Header)</comment>
582 -&gt;&gt; <i>setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)</i>
583 +<p>
584 +If you wish to try a kernel without messing with kernel parameters, you may do
585 +so using the <c>boot -f</c> PROM command:
586 +</p>
587
588 -<comment>(Automatically boot Gentoo)</comment>
589 -&gt;&gt; <i>setenv AutoLoad Yes</i>
590 +<pre caption="Booting without changing environment variables">
591 +<comment>(Booting a kernel, "new", with additional options)</comment>
592 +# <i>boot -f new root=/dev/sda3 ro</i>
593 +</pre>
594
595 -<comment>(Set the timezone)</comment>
596 -&gt;&gt; <i>setenv TimeZone EST5EDT</i>
597 +</body>
598 +</subsection>
599
600 -<comment>(Use the serial console - graphic adapter users should have "g" instead of "d1" (one))</comment>
601 -&gt;&gt; <i>setenv console d1</i>
602 +<subsection>
603 +<title>Settings for arcload</title>
604 +<body>
605 +
606 +<p>
607 +<c>arcload</c> uses the <c>OSLoadFilename</c> option to specify which options to
608 +set from <path>arc.cf</path>. The configuration file is essentially a script,
609 +with the top-level blocks defining boot images for different systems, and inside
610 +that, optional settings. Thus, setting <c>OSLoadFilename=mysys(serial)</c>
611 +pulls in the settings for the <c>mysys</c> block, then sets further options
612 +overridden in <c>serial</c>.
613 +</p>
614 +
615 +<p>
616 +In the example file above, we have one system block defined, <c>ip28</c> with
617 +<c>working</c>, <c>new</c> and <c>debug</c> options available. We define our
618 +PROM variables as so:
619 +</p>
620 +
621 +<pre caption="PROM settings for using arcload">
622 +<comment>(Select arcload as the bootloader:- sash64 or sashARCS)</comment>
623 +&gt;&gt; setenv OSLoader sash64
624 +
625 +<comment>(Use the "working" kernel image, defined in "ip28" section of arc.cf)</comment>
626 +&gt;&gt; setenv OSLoadFilename ip28(working)
627 +</pre>
628 +
629 +</body>
630 +</subsection>
631 +
632 +<subsection>
633 +<title>Settings for arcboot</title>
634 +<body>
635 +
636 +<p>
637 +<c>arcboot</c> loads its configuration file and kernels from your
638 +<path>/boot</path> partition, which needs to be formatted either EXT2 or EXT3.
639 +Thus <c>OSLoadPartition</c> needs to point to that partition. <c>OSLoader</c>
640 +should point to the <c>arcboot</c> binary in the volume header, and
641 +<c>OSLoadFilename</c> is the image name being used.
642 +</p>
643 +
644 +<pre caption="PROM settings for using arcboot">
645 +<comment>(Read configuration and kernels from SCSI ID# 1, partition 0 -- sda1)</comment>
646 +&gt;&gt; <i>setenv OSLoadPartition scsi(0)disk(1)rdisk(0)partition(0)</i>
647 +
648 +<comment>(Use arcboot as the bootloader)</comment>
649 +&gt;&gt; <i>setenv OSLoader arcload</i>
650 +
651 +<comment>(Which boot image in arcboot.conf to load)</comment>
652 +&gt;&gt; <i>setenv OSLoadFilename working</i>
653 </pre>
654
655 <p>
656 +When testing kernels via <c>arcboot</c> you can specify an alternate image like
657 +so (where <c>new</c> is the alternate image):
658 +</p>
659 +
660 +<pre caption="Specifying an alternate image">
661 +# <i>boot new</i>
662 +</pre>
663 +
664 +</body>
665 +</subsection>
666 +
667 +<subsection>
668 +<title>All Done</title>
669 +<body>
670 +
671 +<p>
672 Now you're ready to enjoy Gentoo! Boot in your Gentoo installation and finish
673 up with <uri link="?part=1&amp;chap=11">Finalizing your Gentoo
674 Installation</uri>.
675
676
677
678 1.2 +12 -3 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml
679
680 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
681 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
682 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo
683
684 Index: hb-install-mips-disk.xml
685 ===================================================================
686 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml,v
687 retrieving revision 1.1
688 retrieving revision 1.2
689 diff -u -r1.1 -r1.2
690 --- hb-install-mips-disk.xml 12 Feb 2006 13:54:32 -0000 1.1
691 +++ hb-install-mips-disk.xml 12 Feb 2006 14:31:58 -0000 1.2
692 @@ -4,12 +4,12 @@
693 <!-- The content of this document is licensed under the CC-BY-SA license -->
694 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
695
696 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml,v 1.1 2006/02/12 13:54:32 nightmorph Exp $ -->
697 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-disk.xml,v 1.2 2006/02/12 14:31:58 nightmorph Exp $ -->
698
699 <sections>
700
701 -<version>1.11</version>
702 -<date>2005-10-02</date>
703 +<version>1.12</version>
704 +<date>2006-02-12</date>
705
706 <section>
707 <title>Introduction to Block Devices</title>
708 @@ -223,6 +223,15 @@
709 with each image allowed eight-character names.
710 </p>
711
712 +<note>
713 +On SGI systems, there are two bootloaders available: <c>arcboot</c> and
714 +<c>arcload</c>. Currently, only the Indy, Indigo2 (R4k variety), Challenge S
715 +and O2 are capable of using <c>arcboot</c> as a bootloader, whereas
716 +<c>arcload</c> runs on all the Linux-supported SGI machines. Unlike
717 +<c>arcboot</c> however, <c>arcload</c> cannot presently read EXT2/3 partitions,
718 +and thus, loads its kernels from the volume header.
719 +</note>
720 +
721 <p>
722 The process of making the volume header larger isn't exactly straight-forward;
723 there's a bit of a trick to it. One cannot simply delete and re-add the volume
724
725
726
727 1.2 +215 -73 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml
728
729 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
730 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
731 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo
732
733 Index: hb-install-mips-kernel.xml
734 ===================================================================
735 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml,v
736 retrieving revision 1.1
737 retrieving revision 1.2
738 diff -u -r1.1 -r1.2
739 --- hb-install-mips-kernel.xml 12 Feb 2006 13:54:32 -0000 1.1
740 +++ hb-install-mips-kernel.xml 12 Feb 2006 14:31:58 -0000 1.2
741 @@ -4,12 +4,12 @@
742 <!-- The content of this document is licensed under the CC-BY-SA license -->
743 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
744
745 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml,v 1.1 2006/02/12 13:54:32 nightmorph Exp $ -->
746 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-kernel.xml,v 1.2 2006/02/12 14:31:58 nightmorph Exp $ -->
747
748 <sections>
749
750 <version>1.15</version>
751 -<date>2006-01-06</date>
752 +<date>2006-02-12</date>
753
754 <section>
755 <title>Timezone</title>
756 @@ -44,34 +44,75 @@
757 </p>
758
759 <p>
760 -MIPS-based systems can choose from <c>mips-sources</c> (the default kernel
761 -source for the MIPS architecture) and <c>mips-prepatch-sources</c> (prerelease
762 -kernel tree).
763 +MIPS-based systems have just the one kernel tree to choose from, <c>mips-sources</c>.
764 +Special patches are needed to make certain systems work. The table below
765 +displays the USE flags required to enable the patchsets. Note that Indy,
766 +Indigo2 (R4k) and Challenge S systems do not require any additional patchsets.
767 </p>
768
769 -<p>
770 -Choose your kernel source and install it using <c>emerge</c>. Of course
771 -substitute with your choice of sources, this is merely an example. The
772 -<c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other
773 -dependencies at this point. <c>USE="symlink"</c> is not necessary for a new
774 -install, but ensures proper creation of the <path>/usr/src/linux</path>
775 -symlink.
776 -</p>
777 +<table>
778 +<tr>
779 + <th>USE flag</th>
780 + <th>System</th>
781 +</tr>
782 +<tr>
783 + <ti><c>cobalt</c></ti>
784 + <ti>Cobalt Qube/RaQ support</ti>
785 +</tr>
786 +<tr>
787 + <ti><c>ip27</c></ti>
788 + <ti>SGI Origin 200/2000 support (1)</ti>
789 +</tr>
790 +<tr>
791 + <ti><c>ip28</c></ti>
792 + <ti>SGI Indigo2 Impact (R10000) support (1,2)</ti>
793 +</tr>
794 +<tr>
795 + <ti><c>ip30</c></ti>
796 + <ti>SGI Octane/Octane2 support (1)</ti>
797 +</tr>
798 +</table>
799
800 <note>
801 -Special patches are needed to make a kernel work on Cobalt servers. The
802 -<c>cobalt</c> USE flag must be defined in order to grab the necessary patches
803 -and apply them.
804 +The <c>USE="-doc"</c> disables the generation of kernel API documentation, which
805 +would otherwise pull in numerous dependancies not required for this step.
806 </note>
807
808 -<pre caption="Installing a kernel source">
809 -<comment>(For SGI machines)</comment>
810 -# <i>USE="-doc symlink" emerge mips-sources</i>
811 -
812 -<comment>(For Cobalt machines)</comment>
813 -# <i>mkdir -p /etc/portage</i>
814 +<pre caption="Setting USE flags and merging kernel sources...">
815 +<comment>(Substitute cobalt with the appropriate USE flag for your system if required)</comment>
816 +# <i>mkdir /etc/portage</i>
817 # <i>echo "sys-kernel/mips-sources cobalt" &gt;&gt; /etc/portage/package.use</i>
818 -# <i>USE="-doc symlink" emerge mips-sources</i>
819 +
820 +<comment>(Unpack &amp; install the kernel sources)</comment>
821 +# <i>USE="-doc" emerge mips-sources</i>
822 +</pre>
823 +
824 +<impo>
825 +(1) On the Origin 200/2000, Indigo2 Impact (R10000), Octane/Octane2 and O2, a
826 +64-bit kernel is required to boot these systems. For these machines, you should
827 +switch to the <path>default-linux/mips/mips64/RELEASE</path>
828 +profile by altering the <path>/etc/make.profile</path> symlink. Then you can
829 +<c>emerge gcc-mips64</c> to create a cross-compiler for building 64-bit kernels.
830 +</impo>
831 +
832 +<impo>
833 +(2) The Indigo2 Impact is a special case in that it requires special patch to
834 +be applied to <c>gcc</c> before it will build an IP28 kernel correctly. This
835 +patch adds support for the <c>-mip28-cache-barriers</c> CFLAG, which is used
836 +when building kernels to work around the inherent hardware bug brought on by
837 +speculative execution. This USE flag can be set in
838 +<path>/etc/make.conf</path>. This is done for you by setting your profile to
839 +<path>default-linux/mips/mips64/ip28/RELEASE</path>, which also
840 +takes care of (1).
841 +</impo>
842 +
843 +<pre caption="Changing Profiles and installing gcc-mips64...">
844 +<comment>(This assumes PORTDIR is in the usual location; /usr/portage)</comment>
845 +# <i>rm /etc/make.profile</i>
846 +# <i>ln -s /usr/portage/profiles/default-linux/mips/mips64/2005.0</i> <comment>(or .../mips64/ip28/2005.0)</comment>
847 +
848 +<comment>(Install the 64-bit kernel toolchain)</comment>
849 +# <i>emerge gcc-mips64</i>
850 </pre>
851
852 <p>
853 @@ -83,7 +124,18 @@
854
855 <pre caption="Viewing the kernel source symlink">
856 # <i>ls -l /usr/src/linux</i>
857 -lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.4.24
858 +lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.13.4
859 +</pre>
860 +
861 +<p>
862 +If this isn't the case (i.e. the symlink points to a different kernel source)
863 +change the symlink before you continue:
864 +</p>
865 +
866 +<pre caption="Changing the kernel source symlink">
867 +# <i>rm /usr/src/linux</i>
868 +# <i>cd /usr/src</i>
869 +# <i>ln -s linux-2.6.13.4 linux</i>
870 </pre>
871
872 <p>
873 @@ -101,53 +153,107 @@
874
875 <p>
876 Previously, we went through the manual configuration of how to set up the kernel
877 -sources. Instead, we have uploaded a number of sample configurations which you
878 -can base your configuration upon. Simply click on the closest option that
879 -matches your system and kernel version. You may also find other configuration
880 -samples at the URLs mentioned below.
881 +sources. This has become impractical with the number of systems we now support.
882 +This section details various sources for sample kernel configurations.
883 +</p>
884 +
885 +</body>
886 +</subsection>
887 +<subsection>
888 +<title>Using sample configurations in the kernel source</title>
889 +<body>
890 +
891 +<p>
892 +Many of the systems supported have sample .configs hiding in amongst the kernel
893 +source. Not all systems have configs distributed in this way. Those that do,
894 +can be configured using the commands mentioned in the table below.
895 </p>
896
897 <table>
898 - <tr>
899 - <th>System</th>
900 - <th>Kernel Version</th>
901 - </tr>
902 - <tr>
903 - <ti>SGI IP22 (Indy, Indigo 2, Challenge S)</ti>
904 - <ti>
905 - <uri link="http://www.longlandclan.hopto.org/~stuartl/mips-linux/sgi/ip22/config/2.4.29-mipscvs-20050130.gz">2.4.29</uri>
906 - </ti>
907 - </tr>
908 - <tr>
909 - <ti>Cobalt Qube/Raq 2800</ti>
910 - <ti>
911 - <uri link="http://dev.gentoo.org/~kumba/mips/cobalt/kernel/cobalt-2605.config">2.6.5</uri>
912 - <uri link="http://dev.gentoo.org/~kumba/mips/cobalt/kernel/cobalt-2606.config">2.6.6</uri>
913 - <uri link="http://dev.gentoo.org/~kumba/mips/cobalt/kernel/cobalt-config-2609">2.6.9</uri>
914 - </ti>
915 - </tr>
916 +<tr>
917 + <th>System</th>
918 + <th>Configure command</th>
919 +</tr>
920 +<tr>
921 + <ti>Cobalt Servers</ti>
922 + <ti><c>make cobalt_defconfig</c></ti>
923 +</tr>
924 +<tr>
925 + <ti>Indy, Indigo2 (R4k), Challenge S</ti>
926 + <ti><c>make ip22_defconfig</c></ti>
927 +</tr>
928 +<tr>
929 + <ti>Origin 200/2000</ti>
930 + <ti><c>make ip27_defconfig</c></ti>
931 +</tr>
932 +<tr>
933 + <ti>Indigo2 Impact (R10k)</ti>
934 + <ti>
935 + <c>make ip28_defconfig</c> (requires <c>mips-sources-2.6.14.5</c> or
936 + later)
937 + </ti>
938 +</tr>
939 +<tr>
940 + <ti>O2</ti>
941 + <ti><c>make ip32_defconfig</c></ti>
942 +</tr>
943 </table>
944
945 -<ul>
946 - <li>
947 - IP22 (Indy, Indigo2, Challenge S) Configurations:
948 - <uri link="http://www.longlandclan.hopto.org/~stuartl/mips-linux/sgi/ip22/config">
949 - http://www.longlandclan.hopto.org/~stuartl/mips-linux/sgi/ip22/config
950 - </uri>
951 - </li>
952 - <li>
953 - Cobalt Server Configurations:
954 - <uri link="http://dev.gentoo.org/~kumba/mips">
955 - http://dev.gentoo.org/~kumba/mips
956 - </uri>
957 - </li>
958 -</ul>
959 +</body>
960 +</subsection>
961
962 -<note>
963 -More kernel configuration examples can be found on the Gentoo/MIPS Hardware
964 -Support Database, which is located at
965 +<subsection>
966 +<title>Using the running kernel config from the installation media</title>
967 +<body>
968 +
969 +<p>
970 +All of the Gentoo installation images provide a kernel config option as part of
971 +the image itself, accessible as <path>/proc/config.gz</path>. This may be used
972 +in many cases. It is best though if your kernel source matches closely, the
973 +kernel that is currently running. To extract it, simply run it through
974 +<c>zcat</c> as shown below.
975 +</p>
976 +
977 +<pre caption="Extracting .config from /proc/config.gz">
978 +# <i>zcat /proc/config.gz > .config</i>
979 +</pre>
980 +
981 +<impo>
982 +This kernel config is set up for a netboot image. That
983 +is, it will expect to find a root filesystem image somewhere nearby, either as a
984 +directory for initramfs, or a loopback device for initrd. When you run <c>make
985 +menuconfig</c> below, don't forget to go into General Setup and disable the
986 +options for initramfs.
987 +</impo>
988 +
989 +</body>
990 +</subsection>
991 +
992 +<subsection>
993 +<title>The Hardware Compatability Database</title>
994 +<body>
995 +
996 +<p>
997 +As an aid to users in finding working settings, a hardware compatability
998 +database was set up. This database lists the support for various MIPS devices,
999 +and allows users to contribute kernel configurations that are known to work.
1000 +The address for this site is
1001 <uri>http://stuartl.longlandclan.hopto.org/gentoo/mips</uri>.
1002 -</note>
1003 +</p>
1004 +
1005 +<p>
1006 +If you find this service useful, you're welcome to contribute your notes and
1007 +.config files so that others may benefit from your experience. It should be
1008 +noted however that there is no guarantee that any of the configuration files
1009 +downloaded from this site will work.
1010 +</p>
1011 +
1012 +</body>
1013 +</subsection>
1014 +
1015 +<subsection>
1016 +<title>Customising the configuration for your needs.</title>
1017 +<body>
1018
1019 <p>
1020 Once you have found a configuration, download it into your kernel source
1021 @@ -164,6 +270,15 @@
1022 # <i>make menuconfig</i>
1023 </pre>
1024
1025 +<impo>
1026 +In the Kernel Hacking section, there is an option named "Are You Using A Cross
1027 +Compiler?". This tells the kernel Makefiles to prepend "<c>mips-linux-</c>" (or
1028 +<c>mipsel-linux</c> ... etc) to <c>gcc</c> and <c>as</c> commands when compiling
1029 +the kernel. This should be turned off, even if cross-compiling. Instead, if
1030 +you do need to call a cross-compiler, specify the prefix using the
1031 +<c>CROSS_COMPILE</c> variable as shown in the next section.
1032 +</impo>
1033 +
1034 </body>
1035 </subsection>
1036 <subsection id="compiling">
1037 @@ -175,12 +290,40 @@
1038 the configuration and start the compilation process:
1039 </p>
1040
1041 +<note>
1042 +On 64-bit machines, you need to specify
1043 +<c>CROSS_COMPILE=mips64-unknown-linux-gnu-</c> (or <c>mips64el-...</c> if on
1044 +a little-endian system) to use the 64-bit compiler.
1045 +</note>
1046 +
1047 <pre caption="Compiling the kernel">
1048 -<comment>(For 2.4 kernel)</comment>
1049 -# <i>make dep &amp;&amp; make vmlinux modules modules_install</i>
1050 +<comment>(For 2.4 kernel only)</comment>
1051 +# <i>make dep</i>
1052 +
1053 +<comment>(2.4 and 2.6 kernels -- compiling natively)</comment>
1054 +# <i>make vmlinux modules modules_install</i>
1055
1056 -<comment>(For 2.6 kernel)</comment>
1057 -# <i>make &amp;&amp; make modules_install</i>
1058 +<comment>(2.4 and 2.6 kernels -- cross-compiling on target machine)</comment>
1059 +<comment>( Adjust the mips64-unknown-linux-gnu- accordingly )</comment>
1060 +# <i>make vmlinux modules modules_install CROSS_COMPILE=mips64-unknown-linux-gnu-</i>
1061 +
1062 +<comment>(When compiling on another machine, such as an x86 box... use the)</comment>
1063 +<comment>( following commands to compile the kernel &amp; install modules into)</comment>
1064 +<comment>( a specific directory to be transferred to the target machine. )</comment>
1065 +# <i>make vmlinux modules CROSS_COMPILE=mips64-unknown-linux-gnu-</i>
1066 +# <i>make modules_install INSTALL_MOD_PATH=/somewhere</i>
1067 +</pre>
1068 +
1069 +<impo>
1070 +When compiling a 64-bit kernel for the Indy, Indigo2 (R4k), Challenge S and O2,
1071 +use the <c>vmlinux.32</c> target instead of <c>vmlinux</c>. Otherwise, your
1072 +machine will not be able to boot. This is to work around the PROM not
1073 +understanding the ELF64 format.
1074 +</impo>
1075 +
1076 +<pre caption="Using the vmlinux.32 target">
1077 +# <i>make vmlinux.32</i>
1078 +<comment>(This will create vmlinux.32 -- which is your final kernel)</comment>
1079 </pre>
1080
1081 <p>
1082 @@ -190,15 +333,14 @@
1083
1084 <note>
1085 On Cobalt servers, the bootloader will expect to see a compressed kernel image.
1086 -Remember to <c>gzip -9</c> the file once it is in <path>/boot</path>. In the
1087 -following example, replace <path>&lt;kernel-version&gt;</path> with your kernel
1088 -version.
1089 +Remember to <c>gzip -9</c> the file once it is in <path>/boot</path>.
1090 </note>
1091
1092 <pre caption="Installing the kernel">
1093 -# <i>cp vmlinux /boot/&lt;kernel-version&lt;</i>
1094 +# <i>cp vmlinux /boot/kernel-2.6.13.4</i>
1095 +
1096 <comment>(Cobalt Servers -- Compressing the kernel image)</comment>
1097 -# <i>gzip -9v /boot/&lt;kernel-version&lt;</i>
1098 +# <i>gzip -9v /boot/kernel-2.6.13.4</i>
1099 </pre>
1100
1101 <!--
1102
1103
1104
1105 1.2 +153 -257 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml
1106
1107 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo
1108 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo
1109 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo
1110
1111 Index: hb-install-mips-medium.xml
1112 ===================================================================
1113 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml,v
1114 retrieving revision 1.1
1115 retrieving revision 1.2
1116 diff -u -r1.1 -r1.2
1117 --- hb-install-mips-medium.xml 12 Feb 2006 13:54:32 -0000 1.1
1118 +++ hb-install-mips-medium.xml 12 Feb 2006 14:31:58 -0000 1.2
1119 @@ -4,12 +4,12 @@
1120 <!-- The content of this document is licensed under the CC-BY-SA license -->
1121 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
1122
1123 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml,v 1.1 2006/02/12 13:54:32 nightmorph Exp $ -->
1124 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-mips-medium.xml,v 1.2 2006/02/12 14:31:58 nightmorph Exp $ -->
1125
1126 <sections>
1127
1128 -<version>1.11</version>
1129 -<date>2005-11-11</date>
1130 +<version>1.12</version>
1131 +<date>2006-02-12</date>
1132
1133 <section>
1134 <title>Hardware Requirements</title>
1135 @@ -30,6 +30,14 @@
1136
1137 <table>
1138 <tr>
1139 + <th>CPU <e>(Big Endian port)</e></th>
1140 + <ti>MIPS3, MIPS4, MIPS5 or MIPS64-class CPU</ti>
1141 +</tr>
1142 +<tr>
1143 + <th>CPU <e>(Little Endian port)</e></th>
1144 + <ti>MIPS4, MIPS5 or MIPS64-class CPU</ti>
1145 +</tr>
1146 +<tr>
1147 <th>Memory</th>
1148 <ti>64 MB</ti>
1149 </tr>
1150 @@ -107,6 +115,7 @@
1151 <uri link="http://www.linux-mips.org/wiki/index.php/R5000">RM5000</uri>,
1152 <uri link="http://www.linux-mips.org/wiki/index.php/RM7000">RM7000</uri>
1153 <uri link="http://www.linux-mips.org/wiki/index.php/R8000">R8000</uri>,
1154 + R9000,
1155 <uri link="http://www.linux-mips.org/wiki/index.php/R10000">R10000</uri>,
1156 <uri link="http://www.linux-mips.org/wiki/index.php/R10000">R12000</uri>,
1157 <uri link="http://www.linux-mips.org/wiki/index.php/R10000">R14000</uri>,
1158 @@ -120,8 +129,36 @@
1159 None As Yet
1160 </ti>
1161 </tr>
1162 + <tr>
1163 + <ti>MIPS32</ti>
1164 + <ti>32-bit</ti>
1165 + <ti>
1166 + AMD Alchemy series, 4kc, 4km, many others...
1167 + </ti>
1168 + </tr>
1169 + <tr>
1170 + <ti>MIPS64</ti>
1171 + <ti>64-bit</ti>
1172 + <ti>
1173 + Broadcom SiByte SB1, 5kc ... etc...
1174 + </ti>
1175 + </tr>
1176 </table>
1177
1178 +<note>
1179 +The <c>MIPS5</c> ISA level was designed by Silicon Graphics back in 1994, but
1180 +never actually got used in a real life CPU. It lives on as part of the
1181 +<c>MIPS64</c> ISA.
1182 +</note>
1183 +
1184 +<note>
1185 +The <c>MIPS32</c> and <c>MIPS64</c> ISAs are a common source of confusion. The
1186 +<c>MIPS64</c> ISA level is actually a superset of the <c>MIPS5</c> ISA, so it
1187 +includes all instructions from <c>MIPS5</c> and earlier ISAs. <c>MIPS32</c> is
1188 +the 32-bit subset of <c>MIPS64</c>, it exists because most applications only
1189 +require 32-bit processing.
1190 +</note>
1191 +
1192 <p>
1193 Also, another important concept to grasp is the concept of <b>endianness</b>.
1194 Endianness refers to the way that a CPU reads words from main memory. A word
1195 @@ -222,8 +259,8 @@
1196 <p>
1197 In this section, we'll cover what you need in order to successfully network boot
1198 a Silicon Graphics workstation or Cobalt Server appliance. This is just a brief
1199 -guide, it is not intended to be thorough, for more information, I recommend
1200 -reading the <uri link="/doc/en/diskless-howto.xml">Diskless
1201 +guide, it is not intended to be thorough, for more information, it is
1202 +recommended that you read the <uri link="/doc/en/diskless-howto.xml">Diskless
1203 HOWTO</uri>.
1204 </p>
1205
1206 @@ -268,12 +305,9 @@
1207 SGI machines use a MiniDIN 8 connector for the serial ports. Apparently Apple
1208 modem cables work just fine as serial cables, but with Apple machines being
1209 equipped with USB &amp; internal modems, these are getting harder to
1210 -find. A number of sites describe how to make these cables (Google is your
1211 -friend). The following site describes making such a cable. It's in German,
1212 -but has a reasonably good wiring diagram.
1213 -<uri link="http://www.arbeitsplatzvernichtung-durch-outsourcing.de/marty44/sgihard.html">
1214 - http://www.arbeitsplatzvernichtung-durch-outsourcing.de/marty44/sgihard.html
1215 -</uri>
1216 +find. One wiring diagram is available from the <uri
1217 +link="http://www.linux-mips.org/wiki/Serial_Cable">Linux/MIPS Wiki</uri>, and
1218 +most electronics stores should stock the plugs required.
1219 </note>
1220
1221 <note>
1222 @@ -302,7 +336,7 @@
1223
1224 <p>
1225 Okay, so you've got your bits and pieces together, now to set everything up. As
1226 -I mentioned earlier -- this is not a complete guide, this is a bare-bones config
1227 +mentioned earlier -- this is not a complete guide, this is a bare-bones config
1228 that will just get things rolling. You can either use this when starting a
1229 setup from scratch, or use the suggestions to amend your existing setup to
1230 support netbooting.
1231 @@ -315,6 +349,12 @@
1232 separate machine to the DHCP server if desired.
1233 </p>
1234
1235 +<warn>
1236 +The Gentoo/MIPS Team cannot help you with setting up other operating
1237 +systems as netboot servers. If you choose a different OS, it is assumed you
1238 +know what you're doing.
1239 +</warn>
1240 +
1241 <p>
1242 First Step -- configuring DHCP. In order for the ISC DHCP daemon to respond
1243 to BOOTP requests (as required by the SGI &amp; Cobalt BOOTROM) you need to
1244 @@ -361,10 +401,9 @@
1245 </p>
1246
1247 <p>
1248 -Next Step -- Setting up TFTP server. For the purposes of this guide, I'll
1249 -restrict this to the tftp-hpa TFTP daemon. I use this myself on SGI machines,
1250 -Cobalt servers and PXE clients alike without any hassle. Installation and
1251 -configuration is fairly straightforward:
1252 +Next Step -- Setting up TFTP server. It is recommended that you use
1253 +<c>tftp-hpa</c> as it is the only TFTP daemon known to work correctly. Proceed
1254 +by installing it as shown below.
1255 </p>
1256
1257 <pre caption="Installing tftp-hpa">
1258 @@ -372,15 +411,9 @@
1259 </pre>
1260
1261 <p>
1262 -Now, I personally like to move my <path>/tftpboot</path> directory into
1263 -<path>/home</path> where I have more space. This is totally optional, and can
1264 -be configured through the <path>/etc/conf.d/in.tftpd</path> file. For the
1265 -purposes of this guide, I'll assume you've left it in the default place.
1266 -</p>
1267 -
1268 -<p>
1269 -Now that everything is configured, we're ready to move onto the fun bit --
1270 -tayloring our config to suit the machine we wish to netboot.
1271 +This will create <path>/tftproot</path> for you to store the netboot images.
1272 +You may move this elsewhere if you wish. For the purposes of this guide, it is
1273 +assumed that you have left it in the default location.
1274 </p>
1275
1276 </body>
1277 @@ -458,16 +491,12 @@
1278 <body>
1279
1280 <p>
1281 -Once you have downloaded the file, simply place it in your
1282 -<path>/tftpboot</path> directory. Then edit your
1283 -<path>/etc/dhcp/dhcpd.conf</path> and add the entry for your SGI client.
1284 +Once you have downloaded the file, place the decompressed image file in your
1285 +<path>/tftproot</path> directory. (Use <c>bzip2 -d</c> to decompress)
1286 +Then edit your <path>/etc/dhcp/dhcpd.conf</path> and add the entry for your
1287 +SGI client.
1288 </p>
1289
1290 -<note>
1291 -You may need to create the <path>/tftpboot</path> directory if it isn't
1292 -there already.
1293 -</note>
1294 -
1295 <pre caption="dhcpd.conf snippet for SGI Workstation">
1296 subnet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx {
1297 <comment># ... usual stuff here ...</comment>
1298 @@ -625,25 +654,18 @@
1299
1300 <ul>
1301 <li>
1302 - dhcpd is giving the SGI Machine an IP Address. You should see some
1303 + <c>dhcpd</c> is giving the SGI Machine an IP Address. You should see some
1304 messages about a BOOTP request in the system logs. <c>tcpdump</c> is also
1305 useful here.
1306 </li>
1307 <li>
1308 Permissions are set properly in your tftp folder (typically
1309 - <path>/tftpboot</path> -- should be world readable)
1310 + <path>/tftproot</path> -- should be world readable)
1311 </li>
1312 <li>
1313 Check system logs to see what the tftp server is reporting (errors
1314 perhaps)
1315 </li>
1316 -<!--
1317 - I really think this tip can go...
1318 -
1319 - <li>
1320 - Pray to a Tux plushie (this may or may not work, and is not an officially
1321 - supported troubleshooting technique)
1322 - </li>-->
1323 </ul>
1324
1325 <p>
1326 @@ -664,6 +686,82 @@
1327 </section>
1328
1329 <section>
1330 +<title>Alternative Method: Gentoo/MIPS SGI LiveCD</title>
1331 +<subsection>
1332 +<title>Overview</title>
1333 +<body>
1334 +
1335 +<p>
1336 +On Silicon Graphics machines, it is possible to boot from a CD in order to
1337 +install operating systems. (This is how one installs IRIX for instance)
1338 +Recently, images for such bootable CDs to install Gentoo have been made
1339 +possible. These CDs are designed to work in the same way.
1340 +</p>
1341 +
1342 +<p>
1343 +At the moment the Gentoo/MIPS Live CD will only work on the SGI Indy,
1344 +Indigo 2 and O2 workstations equipped with R4000 and R5000-series CPUs, however
1345 +other platforms may be possible in future.
1346 +</p>
1347 +
1348 +<p>
1349 +You can find the Live CD images for download on your favourite Gentoo Mirror
1350 +under the <path>experimental/mips/livecd</path> directory.
1351 +</p>
1352 +
1353 +<warn>
1354 +These CDs are highly experimental at this time. They may or may not work at
1355 +this time. You can report success or failures either on
1356 +<uri link="http://bugs.gentoo.org">Bugzilla</uri>,
1357 +<uri link="http://forums.gentoo.org/viewtopic.php?t=242518">this forum
1358 +thread</uri> or in the <c>#gentoo-mips</c>
1359 +<uri link="http://www.gentoo.org/main/en/irc.xml">IRC channel</uri>. We would
1360 +love to hear from you.
1361 +</warn>
1362 +
1363 +</body>
1364 +
1365 +</subsection>
1366 +
1367 +<subsection>
1368 +<title>Burning a Live CD</title>
1369 +<body>
1370 +
1371 +<p>
1372 +An important thing to note, the SGI PROM does not understand the ISO9660 format,
1373 +nor does it know anything about the El Torito boot standard. These CD images
1374 +are constructed as a SGI disklabel with the boot image in the volume header like
1375 +a hard drive. Therefore, care must be taken when burning the CD image.
1376 +</p>
1377 +
1378 +<p>
1379 +Below is an example command that assumes 24x burning speed on an IDE burner. If
1380 +you have a SCSI burner for instance, you may want to adjust the <c>dev</c>
1381 +statement as appropriate. Likewise with the <c>speed</c> option - if you
1382 +strike troubles, you might want to try dropping the speed.
1383 +</p>
1384 +
1385 +<pre caption="Burning using cdrecord">
1386 +# <i>bzip2 -d mips-livecd-prototype-rc2-20041027.img.bz2</i>
1387 +# <i>cdrecord -vv -pad speed=24 dev=ATAPI:0,0,0 -tao mips-livecd-prototype-rc2-20041027.img</i>
1388 +</pre>
1389 +
1390 +<note>
1391 +It may be possible to burn these CDs under Windows, assuming your burning
1392 +program just blindly burns the image as is. However, no one has succeeded in
1393 +making a working CD this way to date.
1394 +</note>
1395 +
1396 +<note>
1397 +If you don't know what to put as your <c>dev</c> argument, run <c>cdrecord
1398 +-scanbus</c> as root - this will tell you where your burner is located.
1399 +</note>
1400 +
1401 +</body>
1402 +</subsection>
1403 +</section>
1404 +
1405 +<section>
1406 <title>Netbooting on Cobalt Servers</title>
1407 <subsection>
1408 <body>
1409 @@ -681,17 +779,7 @@
1410 buttons whilst powering the unit on. The machine will then attempt to obtain an
1411 IP number via BOOTP, mount the <path>/nfsroot</path> directory from the server via
1412 NFS, then try to download and boot the file <path>vmlinux_raq-2800.gz</path>
1413 -which it assumes to be a standard ELF binary.
1414 -</p>
1415 -
1416 -<p>
1417 -Unfortunately, the Cobalt BOOTROM does not give us any say in this procedure,
1418 -so the file HAS to reside in <path>/nfsroot</path> directory, and must be less
1419 -than 675kB in size. In this guide, we'll set up
1420 -<uri link="http://www.colonel-panic.org/cobalt-mips/">CoLo</uri> to allow us to
1421 -boot larger kernels than this limit. CoLo also supports embedded ramdisks,
1422 -therefore ridding the need of a full root filesystem sitting in
1423 -<path>/nfsroot</path>.
1424 +(depending on the model) which it assumes to be a standard ELF binary.
1425 </p>
1426
1427 </body>
1428 @@ -703,52 +791,18 @@
1429
1430 <p>
1431 Inside
1432 -<uri link="http://dev.gentoo.org/~kumba/mips/cobalt/netboot/">
1433 -http://dev.gentoo.org/~kumba/mips/cobalt/netboot/</uri>
1434 +<uri link="http://dev.gentoo.org/~redhatter/mips/cobalt/netboots/">
1435 +http://dev.gentoo.org/~redhatter/mips/cobalt/netboots/</uri>
1436 you'll find the necessary boot images for getting a Cobalt up
1437 and running. The files you need will have the name
1438 -<path>cobalt-netboot-YYYYMMDD.img.gz</path> -- select the most recent one and
1439 -place it in your <path>/nfsroot</path> directory. For convenience, rename the
1440 -file to <path>gentoo-cobalt.img.gz</path> -- I'll assume that you have done
1441 -this.
1442 -</p>
1443 -
1444 -<p>
1445 -Once that is done, head over to
1446 -<uri link="http://www.colonel-panic.org/cobalt-mips/">
1447 -http://www.colonel-panic.org/cobalt-mips/</uri> and
1448 -download the latest release of the CoLo bootloader. Untar this somewhere
1449 -convenient. Inside the <path>colo-1.XX/binaries</path> directory created,
1450 -you should find under a file named <path>colo-chain.elf</path>. Gzip this
1451 -file up and place it in <path>/nfsroot</path> calling it
1452 -<path>vmlinux_raq-2800.gz</path>. Also, in some cases, you will need to create a
1453 -symbolic link called <path>boot</path> that points back to
1454 -<path>/nfsroot</path>. You can do this in one hit using these commands:
1455 +<path>nfsroot-KERNEL-COLO-DATE-cobalt.tar</path> -- select the most recent one and
1456 +unpack it to <path>/</path> as shown below:
1457 </p>
1458
1459 -<note>
1460 -Please note, the RaQ1 and Qube 2700 look for <path>vmlinux.gz</path> rather than
1461 -<path>vmlinux_raq-2800.gz</path>.
1462 -</note>
1463 -
1464 -<pre caption="Putting CoLo in the nfsroot">
1465 -# <i>tar -xzvf colo-1.XX.tar.gz</i>
1466 -# <i>cd colo-1.XX/binaries</i>
1467 -
1468 -<comment>(For Qube 2800, RaQ2, etc)</comment>
1469 -# <i>gzip -9vc colo-chain.elf &gt; /nfsroot/vmlinux_raq-2800.gz</i>
1470 -
1471 -<comment>(For RaQ1, Qube 2700)</comment>
1472 -# <i>gzip -9vc colo-chain.elf &gt; /nfsroot/vmlinux.gz</i>
1473 -# <i>cd /nfsroot</i>
1474 -# <i>ln . boot</i>
1475 +<pre caption="Unpacking the nfsroot image">
1476 +# <i>tar -C / -xvf nfsroot-2.6.13.4-1.19-20051122.tar</i>
1477 </pre>
1478
1479 -<note>
1480 -If the latest CoLo release fails to boot, you may wish to try an earlier
1481 -release. Version 1.16 and earlier are known to work.
1482 -</note>
1483 -
1484 </body>
1485 </subsection>
1486
1487 @@ -812,6 +866,7 @@
1488 host <i>qube</i> {
1489 <comment># Path to the nfsroot directory.</comment>
1490 <comment># This is mainly for when using the TFTP boot option on CoLo</comment>
1491 + <comment># You shouldn't need to change this.</comment>
1492 option root-path "/nfsroot";
1493
1494 <comment># Cobalt server's ethernet MAC address</comment>
1495 @@ -823,9 +878,9 @@
1496 <comment># IP address of cobalt server</comment>
1497 fixed-address <i>192.168.10.2</i>;
1498
1499 - <comment># Image to download</comment>
1500 - <comment># Again, this has more to do with CoLo</comment>
1501 - filename "<i>gentoo-cobalt.img.gz</i>";
1502 + <comment># Location of the default.colo file relative to /nfsroot</comment>
1503 + <comment># You shouldn't need to change this.</comment>
1504 + filename "default.colo";
1505 }
1506 }
1507 </pre>
1508 @@ -872,91 +927,11 @@
1509 <p>
1510 If all is well, the back panel should display "Net Booting", you should
1511 see some network activity, closely followed by CoLo kicking in. On the rear
1512 -panel, scroll down the menu until you see "Boot Shell" then press ENTER. On the
1513 -serial console, you should be dropped to a prompt as shown below.
1514 -</p>
1515 -
1516 -<note>
1517 -It has been reported that simply selecting the NFS boot option does all of this
1518 -for you under modern versions of CoLo. If selecting this option does not work,
1519 -then read on.
1520 -</note>
1521 -
1522 -<pre caption="CoLo booting to a prompt">
1523 -[ "CoLo" v1.13 ]
1524 -stage2: 87fb0000-88000000
1525 -pci: unit type &lt;Qube2&gt;
1526 -tulip: {00:10:e0:00:86:3d}
1527 -ide: resetting
1528 -boot: running boot menu
1529 -&gt;
1530 -</pre>
1531 -
1532 -<p>
1533 -First step, tell the machine to fetch an address via DHCP. Type <c>dhcp</c> at
1534 -the prompt.
1535 -</p>
1536 -
1537 -<pre caption="Fetching an address via DHCP">
1538 -&gt; <i>dhcp</i>
1539 -net: interface up
1540 -dhcp: DISCOVER
1541 -dhcp: OFFER 10.0.0.1 &lt;-- 192.168.10.254
1542 -dhcp: REQUEST
1543 -arp: sent request for 192.168.10.254
1544 -udp: no matching socket 192.168.5.1:67 --&gt; 10.0.0.1:68
1545 -arp: resolved 192.168.10.254
1546 -udp: no matching socket 192.168.5.1:67 --&gt; 10.0.0.1:68
1547 -dhcp: DISCOVER
1548 -dhcp: OFFER 10.0.0.1 &lt;-- 192.168.10.254
1549 -dhcp: REQUEST
1550 -udp: no matching socket 192.168.5.1:67 --&gt; 10.0.0.1:68
1551 -dhcp: ACK
1552 -net: interface down
1553 -net: interface up
1554 - address 10.0.0.1
1555 - netmask 255.255.255.0
1556 - gateway 10.0.0.254
1557 - name server 192.168.5.1
1558 -</pre>
1559 -
1560 -<p>
1561 -NOTE: If you have a Windows network you may see messages along the lines of
1562 -<c>udp: no matching socket</c>. These are in response to network broadcasts on
1563 -ports that CoLo doesn't recognise. As annoying as they are, they are perfectly
1564 -harmless.
1565 -</p>
1566 -
1567 -<pre caption="'no matching socket' error messages">
1568 -udp: no matching socket 10.0.0.254:138 --&gt; 10.0.0.255:138
1569 -udp: no matching socket 10.0.0.254:138 --&gt; 10.0.0.255:138
1570 -udp: no matching socket 10.0.0.253:1062 --&gt; 10.0.0.255:137
1571 -udp: no matching socket 10.0.0.253:1062 --&gt; 10.0.0.255:137
1572 -</pre>
1573 -
1574 -<p>
1575 -Okay, the next step is to tell the Cobalt server to download its kernel.
1576 -</p>
1577 -
1578 -<pre caption="Downloading the kernel">
1579 -&gt; <i>nfs 10.0.0.254 /nfsroot gentoo.img.gz</i>
1580 -arp: sent request for 10.0.0.254
1581 -arp: resolved 10.0.0.254
1582 -udp: no matching socket 10.0.0.253:1062 --&gt; 10.0.0.255:137
1583 -nfs: mounted "/nfsroot"
1584 -nfs: lookup "gentoo.img.gz"
1585 -nfs: mode &lt;0100644&gt;
1586 -4651KB loaded (1240KB/sec)
1587 -0048ada0 4763040t
1588 -</pre>
1589 -
1590 -<p>
1591 -And that's it... it has now downloaded its kernel, we now can tell it to start
1592 -booting.
1593 +panel, scroll down the menu until you see "Network (NFS)" then press ENTER.
1594 +You should notice the machine starts booting on the serial console.
1595 </p>
1596
1597 <pre caption="Booting the kernel">
1598 -&gt; <i>execute</i>
1599 elf: 80080000 &lt;-- 00001000 6586368t + 192624t
1600 elf: entry 80328040
1601 net: interface down
1602 @@ -1040,84 +1015,5 @@
1603 </body>
1604 </subsection>
1605 </section>
1606 -<!--
1607 -
1608 - Commented Out Until Further Notice
1609
1610 -<section>
1611 -<title>Gentoo/MIPS LiveCD</title>
1612 -<subsection>
1613 -<title>Overview</title>
1614 -<body>
1615 -
1616 -<p>
1617 -On Silicon Graphics machines, it is possible to boot from a CD in order to
1618 -install operating systems. (This is how one installs IRIX for instance)
1619 -Recently, images for such bootable CDs to install Gentoo have been made
1620 -possible. These CDs are designed to work in the same way.
1621 -</p>
1622 -
1623 -<p>
1624 -At the moment the Gentoo/MIPS Live CD will only work on the SGI Indy,
1625 -Indigo 2 and O2 workstations equipped with R4000 and R5000-series CPUs, however
1626 -other platforms may be possible in future.
1627 -</p>
1628 -
1629 -<p>
1630 -You can find the Live CD images for download on your favourite Gentoo Mirror
1631 -under the <path>experimental/mips/livecd</path> directory.
1632 -</p>
1633 -
1634 -<warn>
1635 -These CDs are highly experimental at this time. They may or may not work at
1636 -this time. You can report success or failures either on
1637 -<uri link="http://bugs.gentoo.org">Bugzilla</uri>,
1638 -<uri link="http://forums.gentoo.org/viewtopic.php?t=242518">this forum
1639 -thread</uri> or in the <c>#gentoo-mips</c>
1640 -<uri link="http://www.gentoo.org/main/en/irc.xml">IRC channel</uri>. We would
1641 -love to hear from you.
1642 -</warn>
1643 -
1644 -</body>
1645 -
1646 -</subsection>
1647 -
1648 -<subsection>
1649 -<title>Burning a Live CD</title>
1650 -<body>
1651 -
1652 -<p>
1653 -An important thing to note, the SGI PROM does not understand the ISO9660 format,
1654 -nor does it know anything about the El Torito boot standard. These CD images
1655 -are constructed as a SGI disklabel with the boot image in the volume header like
1656 -a hard drive. Therefore, care must be taken when burning the CD image.
1657 -</p>
1658 -
1659 -<p>
1660 -Below is an example command that assumes 24x burning speed on an IDE burner. If
1661 -you have a SCSI burner for instance, you may want to adjust the <c>dev</c>
1662 -statement as appropriate. Likewise with the <c>speed</c> option - if you
1663 -strike troubles, you might want to try dropping the speed.
1664 -</p>
1665 -
1666 -<pre caption="Burning using cdrecord">
1667 -# <i>bzip2 -d mips-livecd-prototype-rc2-20041027.img.bz2</i>
1668 -# <i>cdrecord -vv -pad speed=24 dev=ATAPI:0,0,0 -tao mips-livecd-prototype-rc2-20041027.img</i>
1669 -</pre>
1670 -
1671 -<note>
1672 -It may be possible to burn these CDs under Windows, assuming your burning
1673 -program just blindly burns the image as is. However, no one has succeeded in
1674 -making a working CD this way to date.
1675 -</note>
1676 -
1677 -<note>
1678 -If you don't know what to put as your <c>dev</c> argument, run <c>cdrecord
1679 --scanbus</c> as root - this will tell you where your burner is located.
1680 -</note>
1681 -
1682 -</body>
1683 -</subsection>
1684 -</section>
1685 --->
1686 </sections>
1687
1688
1689
1690 1.4 +6 -3 xml/htdocs/doc/en/handbook/draft/2006.0/index.xml
1691
1692 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/index.xml?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=gentoo
1693 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/index.xml?rev=1.4&content-type=text/plain&cvsroot=gentoo
1694 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/index.xml.diff?r1=1.3&r2=1.4&cvsroot=gentoo
1695
1696 Index: index.xml
1697 ===================================================================
1698 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/index.xml,v
1699 retrieving revision 1.3
1700 retrieving revision 1.4
1701 diff -u -r1.3 -r1.4
1702 --- index.xml 9 Feb 2006 20:23:40 -0000 1.3
1703 +++ index.xml 12 Feb 2006 14:31:58 -0000 1.4
1704 @@ -1,7 +1,7 @@
1705 <?xml version='1.0' encoding="UTF-8"?>
1706 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
1707
1708 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/index.xml,v 1.3 2006/02/09 20:23:40 fox2mike Exp $ -->
1709 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/index.xml,v 1.4 2006/02/12 14:31:58 nightmorph Exp $ -->
1710
1711 <guide link="/doc/en/handbook/2006.0/index.xml" disclaimer="draft">
1712 <title>Gentoo 2006.0 Handbook</title>
1713 @@ -18,8 +18,8 @@
1714
1715 <license/>
1716
1717 -<version>6.0</version>
1718 -<date>2006-02-01</date>
1719 +<version>6.1</version>
1720 +<date>2006-02-12</date>
1721
1722 <chapter>
1723 <title>The Gentoo Linux 2006.0 Handbooks</title>
1724 @@ -89,6 +89,7 @@
1725 <uri link="handbook-sparc.xml">sparc</uri>,
1726 <uri link="handbook-alpha.xml">alpha</uri>,
1727 <uri link="handbook-amd64.xml">amd64</uri>,
1728 + <uri link="handbook-mips.xml">mips</uri>,
1729 <uri link="handbook-ppc.xml">ppc</uri>,
1730 <uri link="handbook-ppc64.xml">ppc64</uri>,
1731 <uri link="handbook-hppa.xml">hppa</uri>
1732 @@ -102,6 +103,7 @@
1733 <uri link="handbook-sparc.xml?full=1">sparc</uri>,
1734 <uri link="handbook-alpha.xml?full=1">alpha</uri>,
1735 <uri link="handbook-amd64.xml?full=1">amd64</uri>,
1736 + <uri link="handbook-mips.xml?full=1">mips</uri>,
1737 <uri link="handbook-ppc.xml?full=1">ppc</uri>,
1738 <uri link="handbook-ppc64.xml?full=1">ppc64</uri>,
1739 <uri link="handbook-hppa.xml?full=1">hppa</uri>
1740 @@ -115,6 +117,7 @@
1741 <uri link="handbook-sparc.xml?style=printable&amp;full=1">sparc</uri>,
1742 <uri link="handbook-alpha.xml?style=printable&amp;full=1">alpha</uri>,
1743 <uri link="handbook-amd64.xml?style=printable&amp;full=1">amd64</uri>,
1744 + <uri link="handbook-mips.xml?style=printable&amp;full=1">mips</uri>,
1745 <uri link="handbook-ppc.xml?style=printable&amp;full=1">ppc</uri>,
1746 <uri link="handbook-ppc64.xml?style=printable&amp;full=1">ppc64</uri>,
1747 <uri link="handbook-hppa.xml?style=printable&amp;full=1">hppa</uri>
1748
1749
1750
1751 --
1752 gentoo-doc-cvs@g.o mailing list