10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: guestoses.html,v 1.169 2006/08/15 15:38:37 debug Exp $ |
$Id: guestoses.html,v 1.187 2006/11/06 05:31:38 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2006 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2006 Anders Gavare. All rights reserved. |
16 |
|
|
48 |
<p> |
<p> |
49 |
<ul> |
<ul> |
50 |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
51 |
<li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.0.1 or 1.6.2</a> |
<li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.1 or 1.6.2</a> |
52 |
<li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a> |
<li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a> |
53 |
<li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.0.1</a> |
<li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.1</a> |
54 |
<li><a href="#netbsdcobaltinstall">NetBSD/cobalt 3.0.1</a> |
<li><a href="#netbsdcobaltinstall">NetBSD/cobalt 3.1</a> |
55 |
<li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 3.0.1</a> |
<li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 3.1</a> |
56 |
<li><a href="#netbsdalgorinstall">NetBSD/algor 3.0.1</a> |
<li><a href="#netbsdalgorinstall">NetBSD/algor 3.1</a> |
57 |
<li><a href="#netbsdsgimips">NetBSD/sgimips 3.0.1</a> |
<li><a href="#netbsdsgimips">NetBSD/sgimips 3.1</a> |
58 |
<li><a href="#netbsdcatsinstall">NetBSD/cats 3.0.1</a> |
<li><a href="#netbsdcatsinstall">NetBSD/cats 3.1</a> |
59 |
<li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a> |
<li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a> |
60 |
<li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 3.0.1</a> |
<li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 3.1</a> |
61 |
<li><a href="#netbsdprepinstall">NetBSD/prep 2.1</a> |
<li><a href="#netbsdprepinstall">NetBSD/prep 2.1</a> |
62 |
|
<li><a href="#netbsddreamcast">NetBSD/dreamcast 3.1</a> |
63 |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
64 |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 3.9</a> |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 4.0</a> |
65 |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
66 |
<li><a href="#sprite">Sprite for DECstation</a> |
<li><a href="#sprite">Sprite for DECstation</a> |
67 |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
101 |
<li><a href="#openbsdsgiinstall">OpenBSD/sgi</a> |
<li><a href="#openbsdsgiinstall">OpenBSD/sgi</a> |
102 |
<li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a> |
<li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a> |
103 |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
104 |
|
<!-- <li><a href="#linux_malta">Linux/Malta</a> --> |
105 |
<li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a> |
<li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a> |
106 |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
107 |
<li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.0</a> |
<li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.0</a> |
130 |
5000/200 is reasonably complete; it should be enough to emulate a |
5000/200 is reasonably complete; it should be enough to emulate a |
131 |
networked X-windows-capable workstation. |
networked X-windows-capable workstation. |
132 |
|
|
133 |
<p>NetBSD/pmax 1.6.2 works perfectly with X out-of-the-box. Unfortunately, |
<p>NetBSD/pmax 1.6.2 works perfectly with X out-of-the-box. Unfortunately, |
134 |
newer NetBSD releases have changed slightly, and nowadays X does not |
newer NetBSD releases have changed slightly, and X does not work straight |
135 |
work straight away. (It seems that this has to do with NetBSD switching |
away with NetBSD 2.x and 3.x. It seems that this has to do with NetBSD |
136 |
console system to "WSCONS" somewhere between 1.6.2 and 2.0. I haven't had |
switching console system to "WSCONS" somewhere between 1.6.2 and 2.0. |
137 |
time to figure out how to make it work; at worst it might require a kernel |
|
138 |
recompilation.) What this means is that if you want to use emulated X11, |
<p>What this means is that if you want to use emulated X11, then you need |
139 |
then you need to run NetBSD 1.6.2. If you feel that you only need |
to run NetBSD 1.6.2. At the time of writing this, 4.0_BETA snapshots work |
140 |
serial-console emulation, then choose the latest NetBSD version available. |
fine too, but 4.0 isn't released yet. If you feel that you only need |
141 |
|
serial-console emulation, then choose 3.1. |
142 |
|
|
143 |
<p> |
<p> |
144 |
<a href="20050317-example.png"><img src="20050317-example_small.png"></a> |
<a href="20050317-example.png"><img src="20050317-example_small.png"></a> |
149 |
<p><ol start="1"> |
<p><ol start="1"> |
150 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
151 |
that NetBSD installs itself onto:<pre> |
that NetBSD installs itself onto:<pre> |
152 |
<b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=1900000</b> |
<b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000</b> |
153 |
|
|
154 |
</pre> |
</pre> |
155 |
</ol> |
</ol> |
166 |
<li>Download a NetBSD CD-ROM iso image:<pre> |
<li>Download a NetBSD CD-ROM iso image:<pre> |
167 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a> |
168 |
or |
or |
169 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/pmaxcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/pmaxcd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmaxcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmaxcd-3.1.iso</a> |
170 |
|
|
171 |
</pre> |
</pre> |
172 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
173 |
<b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.0.1.iso</b> |
<b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.1.iso</b> |
174 |
(or <b>pmaxcd.iso</b>) |
(or <b>pmaxcd.iso</b>) |
175 |
</pre> |
</pre> |
176 |
and proceed like you would do if you were installing NetBSD on a real |
and proceed like you would do if you were installing NetBSD on a real |
185 |
<li>Download a NetBSD pmax INSTALL kernel:<pre> |
<li>Download a NetBSD pmax INSTALL kernel:<pre> |
186 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
187 |
or |
or |
188 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
189 |
|
|
190 |
</pre> |
</pre> |
191 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
219 |
<b>gxemul -e 3max -d nbsd_pmax.img</b> |
<b>gxemul -e 3max -d nbsd_pmax.img</b> |
220 |
</pre> |
</pre> |
221 |
|
|
222 |
<p>If you installed NetBSD/pmax 1.6.2, then try the following to start |
<p>If you installed NetBSD/pmax 1.6.2, or 4.0_BETA, then try the |
223 |
with a framebuffer:<pre> |
following to start with a framebuffer:<pre> |
224 |
<b>gxemul -X -e 3max -d nbsd_pmax.img</b> |
<b>gxemul -X -e 3max -d nbsd_pmax.img</b> |
225 |
</pre> |
</pre> |
226 |
and log in as <tt>root</tt> and type <tt>startx</tt> to start X windows. |
and log in as <tt>root</tt> and type <tt>startx</tt> to start X windows. |
252 |
<ol start="1"> |
<ol start="1"> |
253 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
254 |
that NetBSD installs itself onto:<pre> |
that NetBSD installs itself onto:<pre> |
255 |
<b>dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=900000</b> |
<b>dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=2000000</b> |
256 |
|
|
257 |
</pre> |
</pre> |
258 |
<li>Download a NetBSD/arc 1.6.2 CDROM image, and a generic NetBSD/arc |
<li>Download a NetBSD/arc 1.6.2 CDROM image, and a generic NetBSD/arc |
262 |
|
|
263 |
</pre> |
</pre> |
264 |
<li>Start the emulator using this command line:<pre> |
<li>Start the emulator using this command line:<pre> |
265 |
<b>gxemul -e pica -x -d nbsd_arc.img -d bc:arccd.iso \ |
<b>gxemul -e pica -x -d nbsd_arc.img -d bc:arccd.iso -j arc/binary/kernel/netbsd.RAMDISK.gz</b> |
|
-j arc/binary/kernel/netbsd.RAMDISK.gz</b> |
|
266 |
|
|
267 |
</pre> |
</pre> |
268 |
(Try removing <tt>-x</tt> if you have problems with the xterm.) |
(Try removing <tt>-x</tt> if you have problems with the xterm.) |
309 |
|
|
310 |
It is possible to install <a |
It is possible to install <a |
311 |
href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a> onto a disk |
href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a> onto a disk |
312 |
image, on an an emulated MobilePro 770, 780, 800, or 880. The emulator |
image, on an an emulated MobilePro 770 or 800. (MobilePro 780 and 880 might |
313 |
treats the different machine models as being almost identical; the most |
work too, but I don't test those for every release of the emulator. They |
314 |
important difference is regarding the framebuffer. |
have unaligned framebuffers, and run a bit slower.) |
|
|
|
|
<p><table border="0"> |
|
|
<tr> |
|
|
<td width="80"> </td> |
|
|
<td><u>Model:</u></td> |
|
|
<td> </td> |
|
|
<td><u>Framebuffer size/depth:</u></td> |
|
|
<td> </td> |
|
|
<td><u>Framebuffer address:</u></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td></td> |
|
|
<td>MobilePro 770 (<super>*2</super>)</td> |
|
|
<td></td> |
|
|
<td>640 x 240, 16 bits</td> |
|
|
<td></td> |
|
|
<td>0xa000000</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td></td> |
|
|
<td>MobilePro 780</td> |
|
|
<td></td> |
|
|
<td>640 x 240, 16 bits</td> |
|
|
<td></td> |
|
|
<td>0xa180100 (<super>*</super>)</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td></td> |
|
|
<td>MobilePro 800</td> |
|
|
<td></td> |
|
|
<td>800 x 600, 16 bits</td> |
|
|
<td></td> |
|
|
<td>0xa000000</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td></td> |
|
|
<td>MobilePro 880</td> |
|
|
<td></td> |
|
|
<td>800 x 600, 16 bits</td> |
|
|
<td></td> |
|
|
<td>0xa0ea600 (<super>*</super>)</td> |
|
|
</tr> |
|
|
</table> |
|
|
|
|
|
<p> |
|
|
(<super>*</super>) = not aligned at a page boundary, so it will not work |
|
|
efficiently with the current dyntrans system. Using this mode will still |
|
|
work, but each load and store will be emulated much more slowly than is |
|
|
possible with an aligned framebuffer. |
|
|
|
|
|
<p> |
|
|
(<super>*2</super>) = The MobilePro 770's cursor keys work differently |
|
|
than the other models, for some reason. (This is a known bug.) |
|
315 |
|
|
316 |
<p> |
<p> |
317 |
|
|
327 |
<ol start="1"> |
<ol start="1"> |
328 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
329 |
that you will install NetBSD/hpcmips onto:<pre> |
that you will install NetBSD/hpcmips onto:<pre> |
330 |
<b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=999000</b> |
<b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=3000000</b> |
331 |
|
|
332 |
</pre> |
</pre> |
333 |
<li>Download the NetBSD/hpcmips 3.0.1 ISO image, and a generic kernel:<pre> |
<li>Download the NetBSD/hpcmips 3.1 ISO image, and a generic kernel:<pre> |
334 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/hpcmipscd-3.0.1.iso">hpcmipscd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/hpcmipscd-3.1.iso">hpcmipscd-3.1.iso</a> |
335 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a> |
336 |
|
|
337 |
</pre> |
</pre> |
338 |
<p> |
<p> |
339 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
340 |
<b>gxemul -e mobilepro770 -X -d nbsd_hpcmips.img \ |
<b>gxemul -e mobilepro770 -X -d nbsd_hpcmips.img -d b:hpcmipscd-3.1.iso -j hpcmips/installation/netbsd.gz</b> |
|
-d b:hpcmipscd-3.0.1.iso -j hpcmips/installation/netbsd.gz</b> |
|
341 |
|
|
342 |
</pre> |
</pre> |
343 |
and proceed like you would do if you were installing NetBSD on a real |
and proceed like you would do if you were installing NetBSD on a real |
352 |
|
|
353 |
</pre> |
</pre> |
354 |
|
|
|
<p>If you change your mind at this point regarding which machine type to |
|
|
emulate, you might for example prefer a MobilePro 800, then you can change |
|
|
that at any time. NetBSD/hpcmips is designed to be able to boot on many |
|
|
types, without any need to change the kernel. |
|
|
|
|
355 |
<p>When you have logged in as <tt>root</tt>, you can use <tt>startx</tt> to |
<p>When you have logged in as <tt>root</tt>, you can use <tt>startx</tt> to |
356 |
start X Windows, but there is no mouse support yet so only keyboard input |
start X Windows, but there is no mouse support yet so only keyboard input |
357 |
is available. This makes it a bit akward to use X. |
is available. This makes it a bit akward to use X. |
384 |
<p> |
<p> |
385 |
<ol> |
<ol> |
386 |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
387 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
388 |
</pre> |
</pre> |
389 |
<p> |
<p> |
390 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
392 |
<b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=700000</b> |
<b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=700000</b> |
393 |
|
|
394 |
</pre> |
</pre> |
395 |
<li>Download the generic kernel for Cobalt and the 3.0.1 ISO image:<pre> |
<li>Download the generic kernel for Cobalt and the 3.1 ISO image:<pre> |
396 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cobalt/binary/kernel/netbsd-GENERIC.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cobalt/binary/kernel/netbsd-GENERIC.gz</a> |
397 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/cobaltcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/cobaltcd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/cobaltcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/cobaltcd-3.1.iso</a> |
398 |
|
|
399 |
</pre> |
</pre> |
400 |
<li>Start the emulated DECstation machine like this:<pre> |
<li>Start the emulated DECstation machine like this:<pre> |
401 |
<b>gxemul -e 3max -d nbsd_cobalt.img -d cobaltcd-3.0.1.iso netbsd-INSTALL.gz</b> |
<b>gxemul -e 3max -d nbsd_cobalt.img -d cobaltcd-3.1.iso netbsd-INSTALL.gz</b> |
402 |
|
|
403 |
</pre> |
</pre> |
404 |
<li>Log in as root (on the emulated 3MAX machine), and execute the |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
405 |
following commands: (adjust according to taste) |
to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands: |
406 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
407 |
<b>newfs /dev/sd0c |
<b>newfs /dev/sd0c |
408 |
mount /dev/cd0c /mnt |
mount /dev/cd0c /mnt |
459 |
<p> |
<p> |
460 |
<ol> |
<ol> |
461 |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
462 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
463 |
</pre> |
</pre> |
464 |
<p> |
<p> |
465 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
467 |
<b>dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=700000</b> |
<b>dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=700000</b> |
468 |
|
|
469 |
</pre> |
</pre> |
470 |
<li>Download the Malta kernel and the 3.0.1 ISO image:<pre> |
<li>Download the Malta kernel and the 3.1 ISO image:<pre> |
471 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a> |
472 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/evbmips-mipselcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/evbmips-mipselcd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/evbmips-mipselcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/evbmips-mipselcd-3.1.iso</a> |
473 |
|
|
474 |
</pre> |
</pre> |
475 |
<p> |
<p> |
476 |
<li>Start the emulated DECstation machine like this:<pre> |
<li>Start the emulated DECstation machine like this:<pre> |
477 |
<b>gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.0.1.iso netbsd-INSTALL.gz</b> |
<b>gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.1.iso netbsd-INSTALL.gz</b> |
478 |
|
|
479 |
</pre> |
</pre> |
480 |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
499 |
|
|
500 |
<p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc |
<p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc |
501 |
(MIPS64) CPU, add <tt><b>-C 4Kc</b></tt> to the command line. With NetBSD |
(MIPS64) CPU, add <tt><b>-C 4Kc</b></tt> to the command line. With NetBSD |
502 |
3.0.1, however, there will be little or no difference in functionality, as |
3.1, however, there will be little or no difference in functionality, as |
503 |
NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things |
NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things |
504 |
that differ:<ol> |
that differ:<ol> |
505 |
<li>The dynamic translation core runs faster when emulating 32-bit |
<li>The dynamic translation core runs faster when emulating 32-bit |
550 |
<p> |
<p> |
551 |
<ol> |
<ol> |
552 |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
553 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
554 |
</pre> |
</pre> |
555 |
<p> |
<p> |
556 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
558 |
<b>dd if=/dev/zero of=nbsd_algor.img bs=1024 count=1 seek=700000</b> |
<b>dd if=/dev/zero of=nbsd_algor.img bs=1024 count=1 seek=700000</b> |
559 |
|
|
560 |
</pre> |
</pre> |
561 |
<li>Download the P5064 Algor kernel and the 3.0.1 ISO image:<pre> |
<li>Download the P5064 Algor kernel and the 3.1 ISO image:<pre> |
562 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/algor/binary/kernel/netbsd-P5064.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/algor/binary/kernel/netbsd-P5064.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/algor/binary/kernel/netbsd-P5064.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/algor/binary/kernel/netbsd-P5064.gz</a> |
563 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/algorcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/algorcd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/algorcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/algorcd-3.1.iso</a> |
564 |
|
|
565 |
</pre> |
</pre> |
566 |
<p> |
<p> |
567 |
<li>Start the emulated DECstation machine like this:<pre> |
<li>Start the emulated DECstation machine like this:<pre> |
568 |
<b>gxemul -e 3max -d nbsd_algor.img -d algorcd-3.0.1.iso netbsd-INSTALL.gz</b> |
<b>gxemul -e 3max -d nbsd_algor.img -d algorcd-3.1.iso netbsd-INSTALL.gz</b> |
569 |
|
|
570 |
</pre> |
</pre> |
571 |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
625 |
|
|
626 |
<p>For a simple test with the ramdisk/install kernel, try |
<p>For a simple test with the ramdisk/install kernel, try |
627 |
dowloading<pre> |
dowloading<pre> |
628 |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
629 |
|
|
630 |
</pre>and run <b><tt>gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>. |
</pre>and run <b><tt>gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>. |
631 |
|
|
637 |
<ol> |
<ol> |
638 |
<li>First of all, the "<tt>nfs server</tt>" machine must be set up. |
<li>First of all, the "<tt>nfs server</tt>" machine must be set up. |
639 |
This needs to have a 750 MB <tt>/tftpboot</tt> partition. |
This needs to have a 750 MB <tt>/tftpboot</tt> partition. |
640 |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0.1 from CDROM</a>. |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>. |
641 |
(Don't forget to add the extra partition!) |
(Don't forget to add the extra partition!) |
642 |
<p> |
<p> |
643 |
<li>Configure the nfs server machine to act as an nfs server. |
<li>Configure the nfs server machine to act as an nfs server. |
645 |
<b>gxemul -e 3max -d nbsd_pmax.img</b> |
<b>gxemul -e 3max -d nbsd_pmax.img</b> |
646 |
</pre>and enter the following commands as <tt>root</tt> |
</pre>and enter the following commands as <tt>root</tt> |
647 |
inside the emulator: |
inside the emulator: |
648 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
649 |
<b>echo hostname=server >> /etc/rc.conf |
<b>echo hostname=server >> /etc/rc.conf |
650 |
echo ifconfig_le0=\"inet 10.0.0.2\" >> /etc/rc.conf |
echo ifconfig_le0=\"inet 10.0.0.2\" >> /etc/rc.conf |
651 |
echo nameserver 10.0.0.254 >> /etc/resolv.conf |
echo nameserver 10.0.0.254 >> /etc/resolv.conf |
670 |
echo 10.0.0.1 client > /etc/hosts |
echo 10.0.0.1 client > /etc/hosts |
671 |
reboot</b> |
reboot</b> |
672 |
</pre></td></tr></table> |
</pre></td></tr></table> |
673 |
<li>Start the DECstation emulation again, and download the |
<p> |
674 |
NetBSD/sgimips distribution sets:<br>(NOTE: This |
<li>Download the NetBSD/sgimips CD-ROM iso image, and the |
675 |
takes quite some time, even if you have a fast network connection.) |
GENERIC and INSTALL kernels:<pre> |
676 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/sgimipscd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/sgimipscd-3.1.iso</a> |
677 |
<b>cd /tftpboot; ftp -i ftp.se.netbsd.org</b> |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a> |
678 |
(log in as anonymous...) |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
679 |
<b>cd /pub/NetBSD/NetBSD-3.0.1/sgimips/binary/sets |
|
680 |
mget base.tgz comp.tgz etc.tgz games.tgz man.tgz misc.tgz text.tgz |
</pre> |
681 |
quit |
<li>Start the DECstation emulation again:<pre> |
682 |
sh |
<b>gxemul -e 3max -d nbsd_pmax.img -d sgimipscd-3.1.iso</b> |
683 |
for a in *.tgz; do echo $a; tar zxfp $a; rm -f $a; done |
|
684 |
|
</pre>and extract the files from the sgimips CD-ROM image to the |
685 |
|
DECstation disk image: |
686 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
687 |
|
<b>cd /tftpboot; mount /dev/cd0a /mnt |
688 |
|
for a in /mnt/sgimips/binary/sets/[bcegmt]*; do echo $a; tar zxfp $a; done |
689 |
echo 10.0.0.2:/tftpboot / nfs rw 0 0 > /tftpboot/etc/fstab |
echo 10.0.0.2:/tftpboot / nfs rw 0 0 > /tftpboot/etc/fstab |
690 |
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
691 |
dd if=/dev/zero of=swap bs=1024 count=32768 |
echo 10.0.0.254 >> /tftpboot/etc/mygate |
692 |
halt</b> |
echo nameserver 10.0.0.254 >> /tftpboot/etc/resolv.conf |
693 |
|
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
694 |
|
dd if=/dev/zero of=swap bs=1024 count=65536 |
695 |
|
cd /; umount /mnt; halt</b> |
696 |
</pre></td></tr></table> |
</pre></td></tr></table> |
697 |
<li>Download the NetBSD/sgimips GENERIC and INSTALL kernels:<pre> |
<p> |
|
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a> |
|
|
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
|
|
|
|
|
</pre> |
|
698 |
<li>Create a configuration file called <tt>config_client</tt>: |
<li>Create a configuration file called <tt>config_client</tt>: |
699 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
700 |
<font color="#2020cf">! Configuration file for running NetBSD/sgimips diskless with |
<font color="#2020cf">! Configuration file for running NetBSD/sgimips diskless with |
815 |
<b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000</b> |
<b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000</b> |
816 |
|
|
817 |
</pre> |
</pre> |
818 |
<li>Download the NetBSD/cats 3.0.1 ISO image and the generic and install kernels:<pre> |
<li>Download the NetBSD/cats 3.1 ISO image and the generic and install kernels:<pre> |
819 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/catscd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/catscd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/catscd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/catscd-3.1.iso</a> |
820 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-GENERIC.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-GENERIC.gz</a> |
821 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a> |
822 |
|
|
823 |
</pre> |
</pre> |
824 |
<p> |
<p> |
825 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
826 |
<b>gxemul -XEcats -d nbsd_cats.img -d catscd-3.0.1.iso netbsd.aout-INSTALL.gz</b> |
<b>gxemul -XEcats -d nbsd_cats.img -d catscd-3.1.iso netbsd.aout-INSTALL.gz</b> |
827 |
|
|
828 |
</pre> |
</pre> |
829 |
and proceed like you would do if you were installing NetBSD on a real |
and proceed like you would do if you were installing NetBSD on a real |
831 |
</ol> |
</ol> |
832 |
|
|
833 |
<p>Alternatively, to install from FTP, you can skip downloading the ISO, |
<p>Alternatively, to install from FTP, you can skip downloading the ISO, |
834 |
and start the install without <tt>-d catscd-3.0.1.iso</tt>. Suitable network |
and start the install without <tt>-d catscd-3.1.iso</tt>. Suitable network |
835 |
settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask |
settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask |
836 |
255.0.0.0, nameserver 10.0.0.254. |
255.0.0.0, nameserver 10.0.0.254. |
837 |
|
|
866 |
|
|
867 |
<p> |
<p> |
868 |
<ol> |
<ol> |
869 |
<li>Install NetBSD/cats 3.0.1 according to instructions |
<li>Install NetBSD/cats 3.1 according to instructions |
870 |
<a href="#netbsdcatsinstall">further up on this page</a>. |
<a href="#netbsdcatsinstall">further up on this page</a>. |
871 |
<p> |
<p> |
872 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
880 |
|
|
881 |
</pre> |
</pre> |
882 |
<p> |
<p> |
883 |
<li>The first step is to copy the .tgz files we want onto the CATS |
<li>The first step is to copy the distribution .tgz files onto the CATS |
884 |
machine's harddisk. Start the CATS machine like this:<pre> |
machine's harddisk. Start the CATS machine like this:<pre> |
885 |
<b>gxemul -XEcats -d nbsd_cats.img -d evbarmcd.iso netbsd.aout-GENERIC.gz</b> |
<b>gxemul -XEcats -d nbsd_cats.img -d evbarmcd.iso netbsd.aout-GENERIC.gz</b> |
886 |
|
|
943 |
<p> |
<p> |
944 |
<ol> |
<ol> |
945 |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
946 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
947 |
</pre> |
</pre> |
948 |
<p> |
<p> |
949 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
951 |
<b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b> |
<b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b> |
952 |
|
|
953 |
</pre> |
</pre> |
954 |
<li>Download the generic kernel and the 3.0.1 ISO image:<pre> |
<li>Download the generic kernel and the 3.1 ISO image:<pre> |
955 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/netwinder/binary/kernel/netbsd-GENERIC.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/netwinder/binary/kernel/netbsd-GENERIC.gz</a> |
956 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/netwindercd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/netwindercd-3.0.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/netwindercd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/netwindercd-3.1.iso</a> |
957 |
|
|
958 |
</pre> |
</pre> |
959 |
<p> |
<p> |
960 |
<li>Start the emulated DECstation machine like this:<pre> |
<li>Start the emulated DECstation machine like this:<pre> |
961 |
<b>gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.0.1.iso netbsd-INSTALL.gz</b> |
<b>gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.1.iso netbsd-INSTALL.gz</b> |
962 |
|
|
963 |
</pre> |
</pre> |
964 |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
1121 |
|
|
1122 |
|
|
1123 |
|
|
1124 |
|
<p><br> |
1125 |
|
<a name="netbsddreamcast"></a> |
1126 |
|
<h3>NetBSD/dreamcast:</h3> |
1127 |
|
|
1128 |
|
<font color="#000095">SuperH emulation is very new in GXemul. This is |
1129 |
|
still highly experimental.</font> |
1130 |
|
|
1131 |
|
<p>It is possible to run <a href="http://www.netbsd.org/Ports/dreamcast/">NetBSD/dreamcast</a> |
1132 |
|
3.1 in GXemul. Only enough of the Dreamcast is emulated to let a NetBSD |
1133 |
|
ramdisk kernel reach userland; no network interface is emulated yet, so |
1134 |
|
root-on-nfs is not possible. |
1135 |
|
|
1136 |
|
<p> |
1137 |
|
<a href="20061029-netbsd-dreamcast.png"><img src="20061029-netbsd-dreamcast_small.png"></a> |
1138 |
|
|
1139 |
|
<p>Download the 3.1 kernel and symbols here:<pre> |
1140 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/dreamcast/binary/kernel/netbsd-GENERIC_MD.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/dreamcast/binary/kernel/netbsd-GENERIC_MD.gz</a> |
1141 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/dreamcast/binary/kernel/netbsd-GENERIC_MD.symbols.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/dreamcast/binary/kernel/netbsd-GENERIC_MD.symbols.gz</a> |
1142 |
|
</pre> |
1143 |
|
|
1144 |
|
<p>Start NetBSD/dreamcast using the following command line:<pre> |
1145 |
|
<b>gxemul -XEdreamcast netbsd-GENERIC_MD.*</b> |
1146 |
|
|
1147 |
|
</pre> |
1148 |
|
|
1149 |
|
|
1150 |
|
|
1151 |
|
|
1152 |
|
|
1153 |
|
|
1154 |
|
|
1155 |
|
|
1156 |
|
|
1157 |
|
|
1158 |
|
|
1159 |
|
|
1160 |
|
|
1161 |
|
|
1162 |
|
|
1163 |
|
|
1164 |
<p><br> |
<p><br> |
1165 |
<a name="openbsdpmaxinstall"></a> |
<a name="openbsdpmaxinstall"></a> |
1311 |
|
|
1312 |
It is possible to install and run |
It is possible to install and run |
1313 |
<a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a> |
<a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a> |
1314 |
in GXemul. |
in GXemul. Unfortunately, "The OpenBSD/cats port has been discontinued |
1315 |
|
after the 4.0 release." according to |
1316 |
|
<a href="http://www.openbsd.org/cats.html">http://www.openbsd.org/cats.html</a>, |
1317 |
|
but 4.0 should run fine. |
1318 |
|
|
1319 |
<p> |
<p> |
1320 |
<a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a> |
<a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a> |
1330 |
|
|
1331 |
</pre> |
</pre> |
1332 |
<li>Download the entire cats directory from the ftp server:<pre> |
<li>Download the entire cats directory from the ftp server:<pre> |
1333 |
<b>wget -np -l 0 -r <a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.9/cats/">ftp://ftp.openbsd.org/pub/OpenBSD/3.9/cats/</a></b> |
<b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/</a></b> |
1334 |
<b>cp ftp.openbsd.org/pub/OpenBSD/3.9/cats/bsd .</b> |
<b>cp ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/bsd .</b> |
1335 |
<b>cp ftp.openbsd.org/pub/OpenBSD/3.9/cats/bsd.rd .</b> |
<b>cp ftp.se.openbsd.org/pub/OpenBSD/4.0/cats/bsd.rd .</b> |
1336 |
|
|
1337 |
</pre> |
</pre> |
1338 |
(Replace ftp.openbsd.org with a server closer to you, for |
(Replace ftp.se.openbsd.org with a server closer to you, for |
1339 |
increased download speed.) |
increased download speed.) |
1340 |
<p> |
<p> |
1341 |
<li>You now need to make an ISO image of the entire directory you downloaded. |
<li>You now need to make an ISO image of the entire directory you downloaded. |
1342 |
(I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
(I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
1343 |
already have <tt>mkisofs</tt> installed on your system, you need |
already have <tt>mkisofs</tt> installed on your system, you need |
1344 |
to install it in order to do this.)<pre> |
to install it in order to do this.)<pre> |
1345 |
<b>mkisofs -allow-lowercase -o openbsd_cats_3.9.iso ftp.openbsd.org/pub/OpenBSD/</b> |
<b>mkisofs -allow-lowercase -o openbsd_cats_4.0.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
1346 |
<b>rm -rf ftp.openbsd.org</b> <i>(this directory is not needed anymore)</i> |
<b>rm -rf ftp.se.openbsd.org</b> <i>(this directory is not needed anymore)</i> |
1347 |
|
|
1348 |
</pre> |
</pre> |
1349 |
<li>Start the emulator using this command line:<pre> |
<li>Start the emulator using this command line:<pre> |
1350 |
<b>gxemul -XEcats -d obsd_cats.img -d openbsd_cats_3.9.iso bsd.rd</b> |
<b>gxemul -XEcats -d obsd_cats.img -d openbsd_cats_4.0.iso bsd.rd</b> |
1351 |
|
|
1352 |
</pre> |
</pre> |
1353 |
and proceed like you would do if you were installing OpenBSD |
and proceed like you would do if you were installing OpenBSD |
1429 |
triggered when the emulation goes faster than any real DECstation machine |
triggered when the emulation goes faster than any real DECstation machine |
1430 |
was capable of running. A temporary workaround is to add |
was capable of running. A temporary workaround is to add |
1431 |
<b><tt>-I33000000</tt></b> to fix the emulated clock speed to 33 million |
<b><tt>-I33000000</tt></b> to fix the emulated clock speed to 33 million |
1432 |
instructions per emulated second. (When using <tt><b>-CR4400</b></tt>, |
instructions per emulated second. |
|
<b><tt>-I16000000</tt></b> should be used instead.) |
|
1433 |
|
|
1434 |
<p> |
<p>If the workaround above doesn't work, you can also start up other |
1435 |
You can experiment with adding <b><tt>-Z2</tt></b> (for emulating a |
processes on the host, apart from the emulator, so that the emulator runs |
1436 |
|
more slowly. This is an ugly workaround, but seems to work. Once you have |
1437 |
|
logged in into Ultrix, you can kill the extra processes. |
1438 |
|
|
1439 |
|
<p>You can experiment with adding <b><tt>-Z2</tt></b> (for emulating a |
1440 |
dual-headed workstation) or even <b><tt>-Z3</tt></b> (tripple-headed), and |
dual-headed workstation) or even <b><tt>-Z3</tt></b> (tripple-headed), and |
1441 |
also the <b><tt>-Y2</tt></b> option for scaling down the framebuffer |
also the <b><tt>-Y2</tt></b> option for scaling down the framebuffer |
1442 |
windows by a factor 2x2. |
windows by a factor 2x2. |
1448 |
-XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0</b> |
-XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0</b> |
1449 |
</pre> |
</pre> |
1450 |
|
|
1451 |
<p> |
<p>The photo below shows a single Ultrix session running tripple-headed in |
|
The photo below shows a single Ultrix session running tripple-headed in |
|
1452 |
GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left), |
GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left), |
1453 |
on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit |
on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit |
1454 |
color depth, running off the Alpha) to the right. |
color depth, running off the Alpha) to the right. |
1455 |
|
|
1456 |
<p> |
<p> |
|
|
|
1457 |
<a href="20041209-ultrix-tripplehead.jpg"><img src="20041209-ultrix-tripplehead_small.jpg"></a> |
<a href="20041209-ultrix-tripplehead.jpg"><img src="20041209-ultrix-tripplehead_small.jpg"></a> |
1458 |
|
|
1459 |
<p> |
<p>The X11 displays may differ in bit depth and endianness. Unfortunately, |
|
The X11 displays may differ in bit depth and endianness. Unfortunately, |
|
1460 |
there is no way yet to set the scaledown factor on a per-window basis, so |
there is no way yet to set the scaledown factor on a per-window basis, so |
1461 |
the scaledown factor affects all windows. |
the scaledown factor affects all windows. |
1462 |
|
|
1463 |
<p> |
<p>(If you didn't use <tt><b>-Z<i>n</i></b></tt> during the installation, and |
|
(If you didn't use <tt><b>-Z<i>n</i></b></tt> during the installation, and |
|
1464 |
compiled your own <tt>/vmunix</tt>, then it will not contain support for |
compiled your own <tt>/vmunix</tt>, then it will not contain support for |
1465 |
multiple graphics cards. To overcome this problem, use the generic kernel, |
multiple graphics cards. To overcome this problem, use the generic kernel, |
1466 |
<tt><b>-j genvmunix</b></tt>, whenever you are running the emulator with a |
<tt><b>-j genvmunix</b></tt>, whenever you are running the emulator with a |
1467 |
different setup than the one you used when Ultrix was installed.) |
different setup than the one you used when Ultrix was installed.) |
1468 |
|
|
1469 |
<p> |
<p>A note for the historically interested: OSF/1 for MIPS was quite similar |
|
A note for the historically interested: OSF/1 for MIPS was quite similar |
|
1470 |
to Ultrix, so that is possible to run as well. If you are unsuccessful |
to Ultrix, so that is possible to run as well. If you are unsuccessful |
1471 |
in installing Ultrix or OSF/1 directly in the emulator, you can always |
in installing Ultrix or OSF/1 directly in the emulator, you can always |
1472 |
install it on your real machine onto a real SCSI disk, and then copy the |
install it on your real machine onto a real SCSI disk, and then copy the |
1547 |
<h3>Debian GNU/Linux for DECstation:</h3> |
<h3>Debian GNU/Linux for DECstation:</h3> |
1548 |
|
|
1549 |
It is possible to run Debian GNU/Linux for DECstation in the emulator, |
It is possible to run Debian GNU/Linux for DECstation in the emulator, |
1550 |
on an emulated 5000/200 ("3max"). Although the Debian project has released |
on an emulated 5000/200 ("3max"). However, just choosing any |
1551 |
install ramdisk kernels for this purpose, these do not always work: |
Linux/DECstation kernel at random for the installation will not work. |
1552 |
<ul> |
|
1553 |
<li>Serial console output doesn't work too well in GXemul. Linux |
<p><ul> |
1554 |
oopses randomly, which may be due to bugs in GXemul, but may |
<li>Linux 2.4/DECstation DZ serial console output doesn't work too well in |
1555 |
also be due to bugs in the serial controller code in Linux. |
GXemul. Linux oopses randomly, which may be due to bugs in GXemul, |
1556 |
|
but may also be due to bugs in the serial controller code in Linux. |
1557 |
(The speed at which serial interrupts are generated can be |
(The speed at which serial interrupts are generated can be |
1558 |
lowered with the <tt>-U</tt> command line option, but it only |
lowered with the <tt>-U</tt> command line option, but it only |
1559 |
reduces the risk, it doesn't take away the oopses completely.) |
reduces the risk, it doesn't take away the oopses completely.) |
1560 |
<li>Old install kernels supported the graphical framebuffer on the |
<li>The Linux 2.6/DECstation DZ serial console driver doesn't work at |
1561 |
3max, but not the keyboard. |
all in the emulator, and I'm not really sure it would work on a |
1562 |
<li>For quite some time, the MIPS linux cvs tree had support for the |
real 5000/200 either. Hopefully this will be fixed in Linux in |
1563 |
keyboard, but it did <i>not</i> include Debian's patches for |
the future. |
1564 |
networking. (Perhaps this has been fixed now, I don't know.) |
<li>To get around the serial console problem, the obvious solution is to |
1565 |
|
use a graphical framebuffer instead. Old Debian install kernels |
1566 |
|
supported the graphical framebuffer on the 3max, but not the |
1567 |
|
keyboard. (This has been fixed now, it seems.) |
1568 |
|
<li>For quite some time, the MIPS linux cvs tree has had support for the |
1569 |
|
framebuffer and keyboard, but it did not include Debian's |
1570 |
|
patches for networking, which made it unusable for network |
1571 |
|
installs. (Possibly fixed now.) |
1572 |
|
<li>The kernel has to be for 5000/200. This rules out using |
1573 |
|
the default kernel on netinst ISO images provided by Debian. |
1574 |
|
These ISO images boot directly into a kernel which is meant |
1575 |
|
for a different DECstation model. |
1576 |
|
<li>The kernel has to have an initrd which more or less matches the |
1577 |
|
version of Debian that will be installed. |
1578 |
</ul> |
</ul> |
1579 |
|
|
1580 |
<p>David Muse has made available a precompiled install kernel which |
<p>Luckily, a precompiled install kernel has been made available by David |
1581 |
has support for framebuffer, keyboard, and networking, which works |
Muse, for Debian for R3000 DECstations, which has support for framebuffer, |
1582 |
pretty well. Thanks David. :-) |
keyboard, and networking, which works pretty well. Thanks David. :-) |
1583 |
|
|
1584 |
<p> |
<p>The following steps should let you install Debian GNU/Linux for |
1585 |
The following steps should let you install Debian GNU/Linux for DECstation |
DECstation onto a harddisk image in the emulator: |
|
onto a harddisk image: |
|
1586 |
|
|
1587 |
<p> |
<p> |
1588 |
<ol> |
<ol> |
1589 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
1590 |
that Debian installs itself onto:<pre> |
that Debian installs itself onto:<pre> |
1591 |
<b>dd if=/dev/zero of=debian_pmax.img bs=1024 count=1 seek=3300000</b> |
<b>dd if=/dev/zero of=debian_pmax.img bs=1024 count=1 seek=6000000</b> |
1592 |
|
|
1593 |
</pre> |
</pre> |
1594 |
<li>Download David Muse' install kernel, and a Debian Netinstall CD-ROM:<pre> |
<li>Download David Muse' install kernel, and a Debian Netinstall CD-ROM:<pre> |
1652 |
<p>The post-install step takes quite some time as well. A perfect opportunity |
<p>The post-install step takes quite some time as well. A perfect opportunity |
1653 |
for more coffee. |
for more coffee. |
1654 |
|
|
1655 |
|
<p>When asked about whether the hardware clock is set to GMT or |
1656 |
|
not, answer Yes. |
1657 |
|
|
1658 |
<p>When asked about "Apt configuration", choose <b>http</b> as the method |
<p>When asked about "Apt configuration", choose <b>http</b> as the method |
1659 |
to use for accessing the Debian archive. |
to use for accessing the Debian archive. |
1660 |
|
|
1700 |
|
|
1701 |
</pre> |
</pre> |
1702 |
<li>Download a root filesystem tree:<pre> |
<li>Download a root filesystem tree:<pre> |
1703 |
<a href="ftp://ftp.uni-wuppertal.de/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.uni-wuppertal.de/pub/linux/mips/</a> |
<a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz</a> |
|
<a href="ftp://ftp.uni-wuppertal.de/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">mipsel-linux/root/mipsel-root-20011216.tgz</a> |
|
1704 |
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
1705 |
|
|
1706 |
</pre> |
</pre> |
1857 |
<ol> |
<ol> |
1858 |
<li>First of all, the "<tt>nfs server</tt>" machine must be set up. |
<li>First of all, the "<tt>nfs server</tt>" machine must be set up. |
1859 |
This needs to have a 800 MB <tt>/tftpboot</tt> partition. |
This needs to have a 800 MB <tt>/tftpboot</tt> partition. |
1860 |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0.1 from CDROM</a>. |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>. |
1861 |
(Don't forget to add the extra partition!) |
(Don't forget to add the extra partition!) |
1862 |
<p> |
<p> |
1863 |
<li>Configure the nfs server machine to act as an nfs server. |
<li>Configure the nfs server machine to act as an nfs server. |
2137 |
|
|
2138 |
|
|
2139 |
|
|
2140 |
|
<!-- |
2141 |
|
<p><br> |
2142 |
|
<a name="linux_malta"></a> |
2143 |
|
<h3>Linux/Malta:</h3> |
2144 |
|
|
2145 |
|
<p>The Malta emulation mode is best suited for running <a |
2146 |
|
href="#netbsdevbmipsinstall">NetBSD/evbmips</a>, however, it is possible |
2147 |
|
to experiment with Linux/Malta as well. |
2148 |
|
|
2149 |
|
<p>The general idea behind Linux/Malta seems to be that the end user |
2150 |
|
always compiles his/her own kernel, applies patches, downloads |
2151 |
|
userland separately, etc. For that reason, Linux/Malta support in the |
2152 |
|
emulator is not tested for every release (sometimes it works, sometimes it |
2153 |
|
doesn't work), and these instructions are kind of "fuzzy". |
2154 |
|
|
2155 |
|
<p><ol start="1"> |
2156 |
|
<li>Create an empty harddisk image, which will be the root disk |
2157 |
|
that Linux/Malta will be installed onto:<pre> |
2158 |
|
<b>dd if=/dev/zero of=linux.img bs=1024 count=1 seek=5000000</b> |
2159 |
|
|
2160 |
|
</pre> |
2161 |
|
<li>Download a MIPS root filesystem tree:<pre> |
2162 |
|
<a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz</a> |
2163 |
|
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
2164 |
|
|
2165 |
|
</pre> |
2166 |
|
This is an old Redhat tree from 2001, but it seems to almost work. |
2167 |
|
<p> |
2168 |
|
<li>Download one precompiled Malta kernel, with ramdisk, |
2169 |
|
and one without ramdisk (which will be used later on |
2170 |
|
when booting from disk):<pre> |
2171 |
|
TODO |
2172 |
|
|
2173 |
|
</pre> |
2174 |
|
<li>Start the emulator with the ramdisk kernel, create a MS-DOS style |
2175 |
|
MBR on the disk, create the filesystem, and extract the |
2176 |
|
userland files:<pre> |
2177 |
|
<b>gunzip vmlinux_2.* |
2178 |
|
gunzip mipsel-root-20011216.tar |
2179 |
|
gxemul -xemalta -d linux.img -d mipsel-root-20011216.tar vmlinux_2.4.33.2-ide-pci-ramdisk.elf</b> |
2180 |
|
Inside GXemul: Log in as root and execute the following commands: |
2181 |
|
<b>fdisk /dev/hda</b> |
2182 |
|
(enter suitable commands, e.g. <b>n, p, 1, 1, 9921, w</b>) |
2183 |
|
<b>mkfs /dev/hda1 |
2184 |
|
mount /dev/hda1 /mnt |
2185 |
|
cd /mnt; tar -xf /dev/hdb; cd .. |
2186 |
|
umount /mnt; sync; reboot</b> |
2187 |
|
|
2188 |
|
</pre> |
2189 |
|
</ol> |
2190 |
|
|
2191 |
|
<p>It should now be possible to boot from the disk image, using the |
2192 |
|
following command: |
2193 |
|
|
2194 |
|
<p><pre> |
2195 |
|
<b> gxemul -xemalta -d linux.img -o "root=/dev/hda1 rw" vmlinux_2.6.18-rc4-ide-pci-novty.elf</b> |
2196 |
|
</pre> |
2197 |
|
|
2198 |
|
<p>There's a slight problem with this specific Redhat tree, so when you |
2199 |
|
see the message "Configuring kernel parameters: [ OK ]", press CTRL-C |
2200 |
|
once. |
2201 |
|
--> |
2202 |
|
|
2203 |
|
|
2204 |
|
|
2205 |
|
|
2206 |
|
|
2207 |
|
|
2208 |
<p><br> |
<p><br> |
2209 |
<a name="linux_qemu_mips"></a> |
<a name="linux_qemu_mips"></a> |
2233 |
href="http://fabrice.bellard.free.fr/qemu/qemu-doc.html">http://fabrice.bellard.free.fr/qemu/qemu-doc.html</a>. |
href="http://fabrice.bellard.free.fr/qemu/qemu-doc.html">http://fabrice.bellard.free.fr/qemu/qemu-doc.html</a>. |
2234 |
Sometimes QEMU is faster than GXemul, sometimes it is the other way |
Sometimes QEMU is faster than GXemul, sometimes it is the other way |
2235 |
around. A quick (and quite unfair) test on my laptop (1.8 GHz Turion ML32, |
around. A quick (and quite unfair) test on my laptop (1.8 GHz Turion ML32, |
2236 |
I think, in AMD64 mode) comparing QEMU 0.8.1 installed as a binary package |
in AMD64 mode) comparing QEMU 0.8.2 (installed from FreeBSD ports) |
2237 |
from FreeBSD ports with GXemul gave the following result: |
with GXemul gave the following result: |
2238 |
|
|
2239 |
<p><pre> |
<p><pre> |
2240 |
<b>while true; do ls -l > /dev/null; echo -n .; done</b> |
<b>while true; do ls -l > /dev/null; echo -n .; done</b> |
2241 |
(80 x 36 dots) |
(80 x 36 dots) |
2242 |
QEMU 0.8.1: 13 min 48 sec |
QEMU 0.8.2: 13 min 52 sec |
2243 |
GXemul 0.4.2: 4 min 31 sec |
GXemul 0.4.2: 4 min 31 sec |
2244 |
|
|
2245 |
<b>while true; do /usr/bin/md5sum /usr/bin/* > /dev/null; echo -n .; done</b> |
<b>while true; do /usr/bin/md5sum /usr/bin/* > /dev/null; echo -n .; done</b> |
2246 |
(80 dots) |
(80 dots) |
2247 |
QEMU 0.8.1: 2 min 9 sec |
QEMU 0.8.2: 2 min 8 sec |
2248 |
GXemul 0.4.2: 5 min 18 sec |
GXemul 0.4.2: 5 min 18 sec |
2249 |
|
|
2250 |
<b>while true; do grep hej lib/libtextwrap.so.1 > /dev/null; echo -n .; done</b> |
<b>while true; do grep hej lib/libtextwrap.so.1 > /dev/null; echo -n .; done</b> |
2251 |
(80 dots) |
(80 dots) |
2252 |
QEMU 0.8.1: 10 min 5 sec |
QEMU 0.8.2: 9 min 57 sec |
2253 |
GXemul 0.4.2: 1 min 36 sec |
GXemul 0.4.2: 1 min 36 sec |
2254 |
</pre> |
</pre> |
2255 |
|
|