1 |
<html> |
<html> |
2 |
<head><title>GXemul documentation: Installing and running "guest OSes"</title> |
<head><title>GXemul documentation: Installing and running "guest OSes"</title> |
3 |
|
<meta name="robots" content="noarchive,nofollow,noindex"> |
4 |
</head> |
</head> |
5 |
<body bgcolor="#ffffff" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
<body bgcolor="#f8f8f8" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
6 |
<p> |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
7 |
<table width="100%"> |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
8 |
<tr><td width="100%" bgcolor="#808070"><font color="#ffffe0" size="6"> |
<td align="left" valign=center bgcolor="#d0efff"><font color="#6060e0" size="6"> |
9 |
<b>GXemul documentation: Installing and running "guest OSes"</b></font></td></tr> |
<b>GXemul documentation:</b></font> |
10 |
</table> |
<font color="#000000" size="6"><b>Installing and running "guest OSes"</b> |
11 |
<p> |
</font></td></tr></table></td></tr></table><p> |
|
<!-- The first 10 lines are cut away by the homepage updating script. --> |
|
|
|
|
12 |
|
|
13 |
<!-- |
<!-- |
14 |
|
|
15 |
$Id: guestoses.html,v 1.29 2005/04/06 21:15:14 debug Exp $ |
$Id: guestoses.html,v 1.50 2005/06/11 11:53:33 debug Exp $ |
16 |
|
|
17 |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
18 |
|
|
49 |
<p> |
<p> |
50 |
<ul> |
<ul> |
51 |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
52 |
<li><a href="#netbsdinstall">How to install NetBSD/pmax in GXemul</a> |
<li><a href="#netbsdinstall">Installing NetBSD/pmax in GXemul</a> |
53 |
<li><a href="#netbsdarcinstall">How to install NetBSD/arc in GXemul</a> |
<li><a href="#netbsdarcinstall">Installing NetBSD/arc in GXemul</a> |
54 |
<li><a href="#netbsdhpcmipsinstall">How to install NetBSD/hpcmips in GXemul</a> |
<li><a href="#netbsdhpcmipsinstall">Installing NetBSD/hpcmips in GXemul</a> |
55 |
|
<li><a href="#netbsdcobaltinstall">Installing NetBSD/cobalt in GXemul</a> |
56 |
<!-- |
<!-- |
57 |
<li><a href="#netbsdsgimips">How to run NetBSD/sgimips in GXemul</a> |
<li><a href="#netbsdsgimips">Running NetBSD/sgimips in GXemul</a> |
58 |
--> |
--> |
59 |
<li><a href="#openbsdinstall">How to install OpenBSD/pmax in GXemul</a> |
<li><a href="#openbsdinstall">Installing OpenBSD/pmax in GXemul</a> |
60 |
<li><a href="#openbsdarcinstall">How to install OpenBSD/arc in GXemul</a> |
<li><a href="#openbsdarcinstall">Installing OpenBSD/arc in GXemul</a> |
61 |
<!-- |
<!-- |
62 |
<li><a href="#openbsdsgiinstall">How to run OpenBSD/sgi in GXemul</a> |
<li><a href="#openbsdsgiinstall">Running OpenBSD/sgi in GXemul</a> |
63 |
--> |
--> |
64 |
<li><a href="#ultrixinstall">How to install Ultrix/RISC in GXemul</a> |
<li><a href="#ultrixinstall">Installing Ultrix/RISC in GXemul</a> |
65 |
<li><a href="#sprite">How to run Sprite for DECstation in GXemul</a> |
<li><a href="#sprite">Running Sprite for DECstation in GXemul</a> |
66 |
<li><a href="#declinux">How to install Debian GNU/Linux for DECstation in GXemul</a> |
<li><a href="#declinux">Installing Debian GNU/Linux for DECstation in GXemul</a> |
67 |
<li><a href="#declinuxredhat">How to run Redhat Linux for DECstation in GXemul</a> |
<li><a href="#declinuxredhat">Running Redhat Linux for DECstation in GXemul</a> |
68 |
<li><a href="#mach">How to run Mach/PMAX in GXemul</a> |
<li><a href="#mach">Running Mach/PMAX in GXemul</a> |
69 |
</ul> |
</ul> |
70 |
|
|
71 |
|
|
96 |
|
|
97 |
<p><br> |
<p><br> |
98 |
<a name="netbsdinstall"></a> |
<a name="netbsdinstall"></a> |
99 |
<h3>How to install NetBSD/pmax in GXemul:</h3> |
<h3>Installing NetBSD/pmax in GXemul:</h3> |
100 |
|
|
101 |
|
<p> |
102 |
|
|
103 |
|
<a href="20050317-example.png"><img src="20050317-example_small.png"></a> |
104 |
|
|
105 |
|
<p> |
106 |
To install NetBSD/pmax onto a harddisk image in the emulator, follow these |
To install NetBSD/pmax onto a harddisk image in the emulator, follow these |
107 |
instructions: |
instructions: |
108 |
|
|
110 |
<ol start="1"> |
<ol start="1"> |
111 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
112 |
that NetBSD installs itself onto:<pre> |
that NetBSD installs itself onto:<pre> |
113 |
$ <b>dd if=/dev/zero of=netbsddisk.img bs=1 count=512 seek=1900000000</b> |
$ <b>dd if=/dev/zero of=nbsd_pmax.img bs=1 count=512 seek=1900000000</b> |
114 |
|
|
115 |
</pre> |
</pre> |
116 |
</ol> |
</ol> |
117 |
|
|
118 |
<p> |
<p> |
119 |
From this point, there are two separate ways to continue the installation. |
From this point, there are two separate ways to continue the installation. |
120 |
You can either download a CD-ROM iso image (and let the installation |
You can either download a CD-ROM iso image (and let the installation |
131 |
|
|
132 |
</pre> |
</pre> |
133 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
134 |
$ <b>gxemul -X -b -E dec -e 3max -d netbsddisk.img -d bc:pmaxcd.iso</b> |
$ <b>gxemul -X -b -E dec -e 3max -d nbsd_pmax.img -d bc:pmaxcd.iso</b> |
135 |
</pre> |
</pre> |
136 |
</ol> |
</ol> |
137 |
<p> |
<p> |
148 |
|
|
149 |
</pre> |
</pre> |
150 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
151 |
$ <b>gxemul -X -b -E dec -e 3max -d netbsddisk.img -O netbsd-INSTALL</b> |
$ <b>gxemul -X -b -E dec -e 3max -d nbsd_pmax.img -O netbsd-INSTALL</b> |
152 |
</pre> |
</pre> |
153 |
</ol> |
</ol> |
154 |
|
|
179 |
<p> |
<p> |
180 |
When the installation is completed, the following command should start |
When the installation is completed, the following command should start |
181 |
NetBSD from the harddisk image:<pre> |
NetBSD from the harddisk image:<pre> |
182 |
$ <b>gxemul -X -b -M64 -E dec -e 3max -d netbsddisk.img</b> |
$ <b>gxemul -X -b -M64 -E dec -e 3max -d nbsd_pmax.img</b> |
183 |
</pre> |
</pre> |
184 |
|
|
185 |
<p> |
<p> |
192 |
|
|
193 |
<p> |
<p> |
194 |
If you want to run without the X framebuffer, use this instead:<pre> |
If you want to run without the X framebuffer, use this instead:<pre> |
195 |
$ <b>gxemul -E dec -e 3max -b -d netbsddisk.img</b> |
$ <b>gxemul -E dec -e 3max -b -d nbsd_pmax.img</b> |
196 |
</pre> |
</pre> |
197 |
|
|
|
<p> |
|
|
NetBSD/pmax seems to work fine with dynamic binary translation (enabled |
|
|
by the <b>-b</b> command line option) in R3000 mode. NetBSD also |
|
|
supports R4000-like CPUs on pmax, but the bintrans support for R4000 in |
|
|
the emulator is less stable than for R3000. |
|
198 |
|
|
199 |
|
|
200 |
|
|
203 |
|
|
204 |
<p><br> |
<p><br> |
205 |
<a name="netbsdarcinstall"></a> |
<a name="netbsdarcinstall"></a> |
206 |
<h3>How to install NetBSD/arc in GXemul:</h3> |
<h3>Installing NetBSD/arc in GXemul:</h3> |
207 |
|
|
208 |
It is possible to run NetBSD/arc on an emulated Acer PICA-61 in the |
It is possible to run NetBSD/arc on an emulated Acer PICA-61 in the emulator. |
209 |
emulator. |
|
210 |
|
<p> |
211 |
|
|
212 |
|
<a href="20041024-netbsd-arc-installed.gif"><img src="20041024-netbsd-arc-installed_small.gif"></a> |
213 |
|
|
214 |
<p> |
<p> |
215 |
To install NetBSD/arc from a CDROM image onto an emulated harddisk image, |
To install NetBSD/arc from a CDROM image onto an emulated harddisk image, |
222 |
$ <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=900000</b> |
223 |
|
|
224 |
</pre> |
</pre> |
225 |
<li>Download a NetBSD/arc CDROM image from ftp:<pre> |
<li>Download a NetBSD/arc 1.6.2 CDROM image from ftp:<pre> |
226 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso</a> |
227 |
|
|
228 |
</pre> |
</pre> |
|
<li>Download a NetBSD/arc installation (ramdisk) kernel, |
|
|
and gunzip it:<pre> |
|
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/arc/binary/kernel/netbsd.RAMDISK.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/arc/binary/kernel/netbsd.RAMDISK.gz</a> |
|
|
|
|
|
</pre> |
|
229 |
<li>Start the emulator using this command line:<pre> |
<li>Start the emulator using this command line:<pre> |
230 |
$ <b>gxemul -E arc -e pica -b -d nbsd_arc.img -d arccd.iso netbsd.RAMDISK</b> |
$ <b>gxemul -E arc -e pica -x -b -d nbsd_arc.img -d bc:arccd.iso \ |
231 |
|
-j arc/binary/kernel/netbsd.RAMDISK.gz</b> |
232 |
|
|
233 |
</pre> |
</pre> |
234 |
|
(Try removing <tt>-x</tt> if you have problems with the xterm.) |
235 |
|
<p> |
236 |
<li>From now on, you have to use your imagination, as there is no |
<li>From now on, you have to use your imagination, as there is no |
237 |
automatic installation program for NetBSD/arc. Here are some tips |
automatic installation program for NetBSD/arc. Here are some tips |
238 |
and hints on how you can proceed with the install:<pre> |
and hints on how you can proceed with the install:<pre> |
242 |
$ <b>newfs /dev/sd0a</b> |
$ <b>newfs /dev/sd0a</b> |
243 |
$ <b>mount /dev/sd0a /mnt</b> |
$ <b>mount /dev/sd0a /mnt</b> |
244 |
$ <b>cd /mnt</b> |
$ <b>cd /mnt</b> |
245 |
$ <b>for a in /mnt2/arc/binary/sets/*.tgz; do tar xvzpf $a; done</b> |
$ <b>for a in /mnt2/arc/binary/sets/*.tgz; do echo $a; tar xzpf $a; done</b> |
246 |
$ <b>cd dev; sh MAKEDEV all</b> |
$ <b>cd dev; sh MAKEDEV all</b> |
247 |
$ <b>cd ../etc; echo "rc_configured=YES" >> rc.conf</b> |
$ <b>cd ../etc; echo "rc_configured=YES" >> rc.conf</b> |
248 |
$ <b>cat > /mnt/etc/fstab</b> |
$ <b>cat > /mnt/etc/fstab</b> |
265 |
image, using the following command: |
image, using the following command: |
266 |
<p> |
<p> |
267 |
<pre> |
<pre> |
268 |
$ <b>gxemul -E arc -e pica -b -d nbsd_arc.img netbsd-GENERIC</b> |
$ <b>gxemul -E arc -e pica -xb -d nbsd_arc.img netbsd-GENERIC</b> |
269 |
|
|
270 |
</pre> |
</pre> |
271 |
|
|
|
<p> |
|
|
Using <b>-b</b> (enabling dynamic binary translation), as in the instructions |
|
|
above, is not 100% stable. If you experiment weird crashes, try removing that |
|
|
option and try again. |
|
272 |
|
|
273 |
|
|
274 |
|
|
278 |
|
|
279 |
<p><br> |
<p><br> |
280 |
<a name="netbsdhpcmipsinstall"></a> |
<a name="netbsdhpcmipsinstall"></a> |
281 |
<h3>How to install NetBSD/hpcmips in GXemul:</h3> |
<h3>Installing NetBSD/hpcmips in GXemul:</h3> |
282 |
|
|
283 |
It is possible to install NetBSD/hpcmips onto a disk image, on an an |
It is possible to install NetBSD/hpcmips onto a disk image, on an an |
284 |
emulated MobilePro 770, 780, 800, or 880. The emulator treats the |
emulated MobilePro 770, 780, 800, or 880. The emulator treats the |
340 |
than the other models, for some reason. (This is a known bug.) |
than the other models, for some reason. (This is a known bug.) |
341 |
|
|
342 |
<p> |
<p> |
343 |
|
|
344 |
|
<a href="20050427-netbsd-hpcmips-1.png"><img src="20050427-netbsd-hpcmips-1_small.png"></a> |
345 |
|
|
346 |
|
<a href="20050427-netbsd-hpcmips-2.png"><img src="20050427-netbsd-hpcmips-2_small.png"></a> |
347 |
|
|
348 |
|
<p> |
349 |
These instructions show an example of how to install |
These instructions show an example of how to install |
350 |
NetBSD/hpcmips on an emulated MobilePro 800: |
NetBSD/hpcmips on an emulated MobilePro 800: |
351 |
|
|
356 |
$ <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000</b> |
$ <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000</b> |
357 |
|
|
358 |
</pre> |
</pre> |
359 |
<li>Download the installation kernel (and gunzip it) and an ISO |
<li>Download the NetBSD 2.0 for hpcmips ISO image:<pre> |
|
image of NetBSD 2.0 for hpcmips:<pre> |
|
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/netbsd.gz">netbsd.gz</a> |
|
360 |
<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/">ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0</a>/<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/hpcmipscd.iso">hpcmipscd.iso</a> |
<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/">ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0</a>/<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/hpcmipscd.iso">hpcmipscd.iso</a> |
361 |
|
|
362 |
</pre>(You may want to choose a mirror closer to you, if .se is slow.) |
</pre>(You may want to choose a mirror closer to you, if .se is slow.) |
363 |
<p> |
<p> |
364 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
365 |
$ <b>gxemul -E hpc -e mobilepro800 -b -X -d nbsd_hpcmips.img -d hpcmipscd.iso netbsd</b> |
$ <b>gxemul -E hpc -e mobilepro800 -b -X -d nbsd_hpcmips.img \ |
366 |
|
-d b:hpcmipscd.iso -j hpcmips/installation/netbsd.gz</b> |
367 |
|
|
368 |
</pre> |
</pre> |
369 |
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 |
397 |
|
|
398 |
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
|
<p><br> |
403 |
|
<a name="netbsdcobaltinstall"></a> |
404 |
|
<h3>Installing NetBSD/cobalt in GXemul:</h3> |
405 |
|
|
406 |
|
<a href="http://www.netbsd.org/Ports/cobalt/">NetBSD/cobalt</a> is tricky |
407 |
|
to install, because the Cobalt machines were designed for Linux, and not |
408 |
|
very flexible. There is no INSTALL kernel for NetBSD/cobalt. One way to |
409 |
|
install the NetBSD/cobalt distribution onto a disk image is to do it from |
410 |
|
another (emulated) machine. |
411 |
|
|
412 |
|
<p> |
413 |
|
|
414 |
|
<a href="20050413-netbsd-cobalt.png"><img src="20050413-netbsd-cobalt_small.png"></a> |
415 |
|
|
416 |
|
<p> |
417 |
|
The following instructions will let you install NetBSD/cobalt onto a disk |
418 |
|
image, from an emulated DECstation 3MAX machine: |
419 |
|
|
420 |
|
<p> |
421 |
|
<ol> |
422 |
|
<li>Create an empty harddisk image, which will be the disk image |
423 |
|
that you will install NetBSD/cobalt onto:<pre> |
424 |
|
$ <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000</b> |
425 |
|
|
426 |
|
</pre> |
427 |
|
<li>Download the generic kernel for Cobalt (and gunzip it) and |
428 |
|
the 2.0 ISO image:<pre> |
429 |
|
<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz</a> |
430 |
|
<a href="ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/cobaltcd.iso">ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/cobaltcd.iso</a> |
431 |
|
|
432 |
|
</pre>(You may want to choose a mirror closer to you, if .se is slow.) |
433 |
|
<p> |
434 |
|
<li>Install NetBSD/pmax 2.0 according to instructions further up |
435 |
|
on this page. |
436 |
|
<p> |
437 |
|
<li>Start NetBSD/pmax like this:<pre> |
438 |
|
$ <b>gxemul -b -Edec -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img</b> |
439 |
|
|
440 |
|
</pre> |
441 |
|
<li>Log in as root (on the emulated 3MAX machine), and execute the |
442 |
|
following commands: (adjust according to taste)<pre> |
443 |
|
# <b>newfs /dev/sd1c</b> |
444 |
|
# <b>mount /dev/cd0c /mnt</b> |
445 |
|
# <b>mkdir /mnt2; mount /dev/sd1c /mnt2</b> |
446 |
|
# <b>cd /mnt2; sh</b> |
447 |
|
# <b>for a in /mnt/cobalt/binary/sets/*.tgz; do echo $a; tar zxfp $a; done</b> |
448 |
|
# <b>exit</b> |
449 |
|
# <b>cd dev; sh ./MAKEDEV all; cd ../etc</b> |
450 |
|
# <b>echo rc_configured=YES >> rc.conf</b> |
451 |
|
# <b>echo "/dev/wd0d / ffs rw 1 1" > fstab</b> |
452 |
|
# <b>cd /; umount /mnt; umount /mnt2; halt</b> |
453 |
|
</pre> |
454 |
|
</ol> |
455 |
|
|
456 |
|
<p> |
457 |
|
You should now be able to boot NetBSD/cobalt like this:<pre> |
458 |
|
$ <b>gxemul -b -M128 -E cobalt -d nbsd_cobalt.img netbsd-GENERIC</b> |
459 |
|
</pre> |
460 |
|
|
461 |
|
Note that the installation instructions above create a filesystem |
462 |
|
<i>without</i> a disklabel, so there is only one ffs partition and no |
463 |
|
swap. You will need to enter the following things when booting with the |
464 |
|
generic kernel:<pre> |
465 |
|
root device (default wd0a): <b>wd0d</b> |
466 |
|
dump device (default wd0b): <b>none</b> |
467 |
|
file system (default generic): <b>ffs</b> |
468 |
|
init path (default /sbin/init): <i>(just press enter here)</i> |
469 |
|
</pre> |
470 |
|
|
471 |
|
|
472 |
|
|
473 |
|
|
474 |
|
|
475 |
|
|
476 |
|
|
477 |
<!-- |
<!-- |
478 |
|
|
479 |
<p><br> |
<p><br> |
480 |
<a name="netbsdsgimips"></a> |
<a name="netbsdsgimips"></a> |
481 |
<h3>How to run NetBSD/sgimips in GXemul:</h3> |
<h3>Running NetBSD/sgimips in GXemul:</h3> |
482 |
|
|
483 |
<a href="http://www.netbsd.org/Ports/sgimips/">NetBSD/sgimips</a> |
<a href="http://www.netbsd.org/Ports/sgimips/">NetBSD/sgimips</a> |
484 |
can theoretically run in GXemul on an emulated O2 (SGI-IP32) with root on nfs. |
can theoretically run in GXemul on an emulated O2 (SGI-IP32) with root on nfs. |
494 |
TODO... |
TODO... |
495 |
|
|
496 |
<pre> |
<pre> |
497 |
cd /x; ftp -i ftp.se.netbsd.org |
cd /tftpboot; ftp -i ftp.se.netbsd.org |
498 |
.. |
.. |
499 |
cd pub/NetBSD/NetBSD-2.0/sgimips/binary/sets |
cd pub/NetBSD/NetBSD-2.0/sgimips/binary/sets |
500 |
mget *.tgz |
mget *.tgz |
514 |
|
|
515 |
<p><br> |
<p><br> |
516 |
<a name="openbsdinstall"></a> |
<a name="openbsdinstall"></a> |
517 |
<h3>How to install OpenBSD/pmax in GXemul:</h3> |
<h3>Installing OpenBSD/pmax in GXemul:</h3> |
518 |
|
|
519 |
Installing OpenBSD/pmax is a bit harder than installing NetBSD/pmax. |
Installing OpenBSD/pmax is a bit harder than installing NetBSD/pmax. |
520 |
You should first read the section above on how to install NetBSD/pmax, |
You should first read the section above on how to install NetBSD/pmax, |
524 |
this should be no problem for you. |
this should be no problem for you. |
525 |
|
|
526 |
<p> |
<p> |
527 |
|
|
528 |
|
<a href="20040710-openbsd-pmax.png"><img src="20040710-openbsd-pmax_small.png"></a> |
529 |
|
|
530 |
|
<a href="openbsd-pmax-20040710.png"><img src="openbsd-pmax-20040710_small.png"></a> |
531 |
|
|
532 |
|
<p> |
533 |
OpenBSD/pmax died at release 2.8 of OpenBSD, so you should be |
OpenBSD/pmax died at release 2.8 of OpenBSD, so you should be |
534 |
aware of the fact that this will not give you an up-to-date OpenBSD |
aware of the fact that this will not give you an up-to-date OpenBSD |
535 |
system. |
system. |
542 |
<ol> |
<ol> |
543 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
544 |
that OpenBSD installs itself onto:<pre> |
that OpenBSD installs itself onto:<pre> |
545 |
$ <b>dd if=/dev/zero of=openbsddisk.img bs=1 count=512 seek=900000000</b> |
$ <b>dd if=/dev/zero of=obsd_pmax.img bs=1 count=512 seek=900000000</b> |
546 |
|
|
547 |
</pre> |
</pre> |
548 |
<li>Download the entire pmax directory from the ftp server: (approx. 99 MB)<pre> |
<li>Download the entire pmax directory from the ftp server: (approx. 99 MB)<pre> |
557 |
|
|
558 |
</pre> |
</pre> |
559 |
<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. |
560 |
I recommend using <b>mkisofs</b> for that purpose. If you don't already |
I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
561 |
have mkisofs installed on your system, you need to install that in |
already have <tt>mkisofs</tt> installed on your system, you need |
562 |
order to do this.<pre> |
to install it in order to do this.<pre> |
563 |
$ <b>mkisofs -o openbsd_pmax_2.8.iso ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax</b> |
$ <b>mkisofs -o openbsd_pmax_2.8.iso ftp.se.openbsd.org/pub/OpenBSD/2.8/pmax</b> |
564 |
|
|
565 |
</pre> |
</pre> |
566 |
<li>Start the emulator with all three (!) disk images:<pre> |
<li>Start the emulator with all three (!) disk images:<pre> |
567 |
$ <b>gxemul -E dec -e 3max -b -d openbsddisk.img -d b:simpleroot28.fs -j bsd -d c:openbsd_pmax_2.8.iso</b> |
$ <b>gxemul -E dec -e 3max -b -d obsd_pmax.img -d b:simpleroot28.fs -j bsd -d c:openbsd_pmax_2.8.iso</b> |
568 |
|
|
569 |
</pre> |
</pre> |
570 |
(If you add -X, you will run with the graphical framebuffer. This is <i>REALLY</i> slow |
(If you add <tt><b>-X</b></tt>, you will run with the graphical |
571 |
because the console has to scroll a lot during the install. I don't recommend it.) |
framebuffer. This is <i>REALLY</i> slow because the console has to |
572 |
|
scroll a lot during the install. I don't recommend it.) |
573 |
<p> |
<p> |
574 |
<li>Go on with the installation as you would do if you were installing on a real machine. |
<li>Go on with the installation as you would do if you were installing on a real machine. |
575 |
If you are not used to the OpenBSD installer, then this will most likely |
If you are not used to the OpenBSD installer, then this will most likely |
601 |
need to go into single user mode and run <b>passwd root</b> to set |
need to go into single user mode and run <b>passwd root</b> to set |
602 |
the root password, or you will not be able to log in at all! |
the root password, or you will not be able to log in at all! |
603 |
<pre> |
<pre> |
604 |
$ <b>gxemul -E dec -e 3max -b -d openbsddisk.img -d 2c:openbsd_pmax_2.8.iso -j bsd -o '-s'</b> |
$ <b>gxemul -E dec -e 3max -b -d obsd_pmax.img -d 2c:openbsd_pmax_2.8.iso -j bsd -o '-s'</b> |
605 |
</pre> |
</pre> |
606 |
While you are at it, you might want to extract the X11 install sets |
While you are at it, you might want to extract the X11 install sets |
607 |
as well, as the installer seems to ignore them too. (Perhaps due to a bug |
as well, as the installer seems to ignore them too. (Perhaps due to a bug |
613 |
# <b>mount /</b> |
# <b>mount /</b> |
614 |
# <b>passwd root</b> |
# <b>passwd root</b> |
615 |
|
|
616 |
# <b>cd /</b> |
# <b>cd /; mount -t cd9660 /dev/rz2c /mnt; sh</b> |
|
# <b>mount -t cd9660 /dev/rz2c /mnt</b> |
|
|
# <b>sh</b> |
|
617 |
# <b>for a in /mnt/[xX]*; do tar zxvf $a; done</b> |
# <b>for a in /mnt/[xX]*; do tar zxvf $a; done</b> |
618 |
# <b>ln -s /usr/X11R6/bin/Xcfbpmax /usr/X11R6/bin/X</b> |
# <b>ln -s /usr/X11R6/bin/Xcfbpmax /usr/X11R6/bin/X</b> |
619 |
# <b>ln -s /dev/fb0 /dev/mouse</b> |
# <b>ln -s /dev/fb0 /dev/mouse</b> |
635 |
Once you have completed the installation procedure, the following command |
Once you have completed the installation procedure, the following command |
636 |
will let you boot from the new rootdisk image: |
will let you boot from the new rootdisk image: |
637 |
<pre> |
<pre> |
638 |
$ <b>gxemul -E dec -e 3max -b -X -M64 -o '-aN' -d openbsddisk.img -j bsd</b> |
$ <b>gxemul -E dec -e 3max -b -X -M64 -o '-aN' -d obsd_pmax.img -j bsd</b> |
639 |
</pre> |
</pre> |
640 |
|
|
641 |
<p> |
<p> |
642 |
OpenBSD/pmax seems to work fine with dynamic binary translation (enabled |
(Normally, you would be asked about which root device to use (<tt>rz0</tt>), |
643 |
by the <b>-b</b> command line option). |
but using <b><tt>-o '-aN'</tt></b> supresses that.) |
644 |
|
|
645 |
<p> |
<p> |
|
(Normally, you would be asked about which root device to use (rz0), but |
|
|
using -o '-aN' supresses that.) |
|
|
<p> |
|
646 |
When asked for which terminal type to use, when logging in as root, |
When asked for which terminal type to use, when logging in as root, |
647 |
enter <b>rcons</b> if you are using the graphical framebuffer, |
enter <b><tt>rcons</tt></b> if you are using the graphical framebuffer, |
648 |
<b>vt100</b> for text-mode. |
<b><tt>vt100</tt></b> for text-mode. |
649 |
<br>Use <b>startx</b> to start X windows. |
<br>Use <b><tt>startx</tt></b> to start X windows. |
650 |
|
|
651 |
|
|
652 |
|
|
655 |
|
|
656 |
<p><br> |
<p><br> |
657 |
<a name="openbsdarcinstall"></a> |
<a name="openbsdarcinstall"></a> |
658 |
<h3>How to install OpenBSD/arc in GXemul:</h3> |
<h3>Installing OpenBSD/arc in GXemul:</h3> |
659 |
|
|
660 |
It is possible to run OpenBSD/arc on an emulated Acer PICA-61 in the |
It is possible to run OpenBSD/arc on an emulated Acer PICA-61 in the |
661 |
emulator. |
emulator. |
662 |
|
|
663 |
<p> |
<p> |
664 |
|
|
665 |
|
<a href="20041024-openbsd-arc-installed.gif"><img src="20041024-openbsd-arc-installed_small.gif"></a> |
666 |
|
|
667 |
|
<p> |
668 |
(You should be aware of the fact that OpenBSD for the ARC platform died at |
(You should be aware of the fact that OpenBSD for the ARC platform died at |
669 |
release 2.3, so this will not give you an up-to-date OpenBSD system. |
release 2.3, so this will not give you an up-to-date OpenBSD system. |
670 |
See |
See |
688 |
</pre> |
</pre> |
689 |
|
|
690 |
<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. |
691 |
I recommend using <b>mkisofs</b> for that purpose. If you don't already |
I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
692 |
have mkisofs installed on your system, you need to install that in |
already have <tt>mkisofs</tt> installed on your system, you need |
693 |
order to do this.<pre> |
to install it in order to do this.<pre> |
694 |
$ <b>mkisofs -o openbsd_arc_2.3.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
$ <b>mkisofs -o openbsd_arc_2.3.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
695 |
|
|
696 |
</pre> |
</pre> |
697 |
<li>Start the emulator using this command line:<pre> |
<li>Start the emulator using this command line:<pre> |
698 |
$ <b>gxemul -X -b -E arc -e pica -d obsd_arc.img -d openbsd_arc_2.3.iso \ |
$ <b>gxemul -X -b -E arc -e pica -d obsd_arc.img -d b:openbsd_arc_2.3.iso -j 2.3/arc/bsd.rd</b> |
|
ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd.rd.elf</b> |
|
699 |
|
|
700 |
</pre> |
</pre> |
701 |
and proceed like you would do if you were installing OpenBSD |
and proceed like you would do if you were installing OpenBSD |
712 |
|
|
713 |
</pre> |
</pre> |
714 |
|
|
|
<p> |
|
|
(The <b>-b</b> command line option enables dynamic binary translation, |
|
|
which isn't always 100% stable, so if things seem buggy you might want |
|
|
to try to remove that from the command line.) |
|
|
|
|
715 |
|
|
716 |
|
|
717 |
|
|
720 |
|
|
721 |
<p><br> |
<p><br> |
722 |
<a name="openbsdsgiinstall"></a> |
<a name="openbsdsgiinstall"></a> |
723 |
<h3>How to run OpenBSD/sgi in GXemul:</h3> |
<h3>Running OpenBSD/sgi in GXemul:</h3> |
724 |
|
|
725 |
<a href="http://www.openbsd.org/sgi.html">OpenBSD/sgi</a> |
<a href="http://www.openbsd.org/sgi.html">OpenBSD/sgi</a> |
726 |
can theoretically run in GXemul on an emulated O2 (SGI-IP32) with root on nfs. |
can theoretically run in GXemul on an emulated O2 (SGI-IP32) with root on nfs. |
729 |
<font color="#ff0000">NOTE: I haven't succeeded with this yet.</font> |
<font color="#ff0000">NOTE: I haven't succeeded with this yet.</font> |
730 |
|
|
731 |
<p> |
<p> |
|
<font color="#0000f0"> |
|
|
[ 2005-02-09: There is no stable release yet of OpenBSD/sgi, but there |
|
|
are -current snapshots available on ftp sites. ]</font> |
|
|
|
|
|
<p> |
|
732 |
GXemul does not yet emulate the AHC PCI SCSI controller in the O2, so |
GXemul does not yet emulate the AHC PCI SCSI controller in the O2, so |
733 |
another emulated machine must be used as the nfs root server, and the |
another emulated machine must be used as the nfs root server, and the |
734 |
emulated O2 machine must boot as a |
emulated O2 machine must boot as a |
737 |
|
|
738 |
<p> |
<p> |
739 |
<ol> |
<ol> |
740 |
<li><a href="#netbsdinstall">Install NetBSD/pmax 1.6.2</a> or some other |
<li><a href="#netbsdinstall">Install NetBSD/pmax 2.0 from CDROM</a> |
741 |
similar OS inside the emulator. This will be the "nfs server" machine. |
(or install some other similar OS) inside the emulator. This will |
742 |
|
be the "nfs server" machine. Create a 600 MB <tt>/tftpboot</tt> |
743 |
|
partition during the installation. |
744 |
<p> |
<p> |
745 |
<li>Configure the nfs server machine to act as an nfs server.<pre> |
<li>Configure the nfs server machine to act as an nfs server.<pre> |
746 |
# <b>echo hostname=blahblah >> /etc/rc.conf</b> |
# <b>echo hostname=server >> /etc/rc.conf</b> |
747 |
# <b>echo ifconfig_le0="inet 10.0.0.2" >> /etc/rc.conf</b> |
# <b>echo ifconfig_le0=\"inet 10.0.0.2\" >> /etc/rc.conf</b> |
748 |
# <b>echo nameserver 10.0.0.254 >> /etc/rc.conf</b> |
# <b>echo nameserver 10.0.0.254 >> /etc/rc.conf</b> |
749 |
# <b>echo 10.0.0.254 > /etc/mygate</b> |
# <b>echo 10.0.0.254 > /etc/mygate</b> |
750 |
# <b>mkdir /x; echo /x -maproot=root 10.0.0.1 > /etc/exports</b> |
# <b>echo /tftpboot -maproot=root 10.0.0.1 > /etc/exports</b> |
751 |
# <b>echo rpcbind=YES >> /etc/rc.conf</b> |
# <b>echo rpcbind=YES >> /etc/rc.conf</b> |
752 |
# <b>echo nfs_server=YES >> /etc/rc.conf</b> |
# <b>echo nfs_server=YES >> /etc/rc.conf</b> |
753 |
# <b>echo mountd=YES >> /etc/rc.conf</b> |
# <b>echo mountd=YES >> /etc/rc.conf</b> |
754 |
# <b>echo bootparamd=YES >> /etc/rc.conf</b> |
# <b>echo bootparamd=YES >> /etc/rc.conf</b> |
755 |
# <b>printf "client root=10.0.0.2:/x \\\n swap=10.0.0.2:/x/swap\n" > /etc/bootparams</b> |
# <b>printf "client root=10.0.0.2:/tftpboot \\\n swap=10.0.0.2:/tftpboot/swap\n" > /etc/bootparams</b> |
756 |
# <b>echo 10.0.0.1 client > /etc/hosts</b> |
# <b>echo 10.0.0.1 client > /etc/hosts</b> |
757 |
|
|
758 |
Reboot. Then download the OpenBSD/sgi distribution: |
Reboot. Then download the OpenBSD/sgi distribution: (NOTE: This |
759 |
|
takes quite some time, even if you have a fast network connection.) |
760 |
|
|
761 |
# <b>cd /x; ftp -i ftp.se.openbsd.org</b> |
# <b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b> |
762 |
... |
... |
763 |
<b>cd pub/OpenBSD/snapshots/sgi</b> |
<b>cd pub/OpenBSD/3.7/sgi</b> |
764 |
<b>mget *</b> |
<b>mget *</b> |
765 |
|
|
766 |
# <b>sh</b> |
# <b>sh</b> |
825 |
|
|
826 |
|
|
827 |
|
|
|
|
|
828 |
<p><br> |
<p><br> |
829 |
<a name="ultrixinstall"></a> |
<a name="ultrixinstall"></a> |
830 |
<h3>How to install Ultrix/RISC in GXemul:</h3> |
<h3>Installing Ultrix/RISC in GXemul:</h3> |
831 |
|
|
832 |
|
Ultrix 4.x can run in GXemul on an emulated DECstation 5000/200. |
833 |
|
|
834 |
The following instructions should guide you through an install of Ultrix |
<p> |
835 |
onto a disk image: |
|
836 |
|
<a href="20040504-ultrix45-boot1.png"><img src="20040504-ultrix45-boot1_small.gif"></a> |
837 |
|
|
838 |
|
<a href="ultrix4.5-20040706.png"><img src="ultrix4.5-20040706_small.gif"></a> |
839 |
|
|
840 |
|
<p> |
841 |
|
The following instructions should let you install Ultrix onto a disk image: |
842 |
|
|
843 |
<ol> |
<ol> |
844 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
846 |
$ <b>dd if=/dev/zero of=rootdisk.img bs=1024 count=1 seek=800000</b> |
$ <b>dd if=/dev/zero of=rootdisk.img bs=1024 count=1 seek=800000</b> |
847 |
|
|
848 |
</pre> |
</pre> |
849 |
<li>Place your Ultrix installation media in your CDROM drive. (I'm assuming |
<li>Place your Ultrix installation media in your CDROM drive. |
850 |
it is called /dev/cd0c here, replace that with the name of your |
(On FreeBSD and similar systems, it is called <tt>/dev/cd0c</tt>. |
851 |
CDROM drive, or the name of a .iso image file.) |
Replace that with the name of your CDROM drive, or the name of a |
852 |
Then, start the emulator like this:<pre> |
.iso image file.) Then, start the emulator like this:<pre> |
853 |
$ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d bc:/dev/cd0c -j vmunix</b> |
$ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d bc:/dev/cd0c -j vmunix</b> |
854 |
|
|
855 |
</pre> |
</pre> |
856 |
<li>Once the first stage of the installation is done (restoring the root |
<li>Once the first stage of the installation is done (restoring the root |
857 |
filesystem), you need to restart the emulator, booting from the |
filesystem), you need to restart the emulator, booting from the |
858 |
new rootdisk, to continue the installation process. |
new rootdisk, to continue the installation process. |
859 |
This is done by removing the bootflag ('b') from the second |
This is done by removing the bootflag ('<tt>b</tt>') from the second |
860 |
diskimage argument:<pre> |
diskimage argument:<pre> |
861 |
$ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d c:/dev/cd0c -j vmunix</b> |
$ <b>gxemul -X -b -M64 -E dec -e 3max -d rootdisk.img -d c:/dev/cd0c -j vmunix</b> |
862 |
|
|
871 |
|
|
872 |
<p> |
<p> |
873 |
Ultrix mostly seems to work with dynamic binary translation (enabled by |
Ultrix mostly seems to work with dynamic binary translation (enabled by |
874 |
the <b>-b</b> command line option). If you have a very fast |
the <b><tt>-b</tt></b> command line option). If you have a very fast |
875 |
host machine, and use bintrans, you might experience a weird timer related |
host machine, and use bintrans, you might experience a weird timer related |
876 |
bug, which makes it impossible to logon to the system. It is triggered |
bug, which makes it impossible to logon to the system. It is triggered |
877 |
when the emulation goes faster than any real DECstation machine was |
when the emulation goes faster than any real DECstation machine was |
878 |
capable of running. A temporary workaround is to add <b>-I33000000</b> |
capable of running. A temporary workaround is to add <b><tt>-I33000000</tt></b> |
879 |
to fix the emulated clock speed to 33 million instructions per emulated |
to fix the emulated clock speed to 33 million instructions per emulated |
880 |
second. (When using -CR4400, -I16000000 should be used instead.) |
second. (When using <tt><b>-CR4400</b></tt>, <b><tt>-I16000000</tt></b> |
881 |
|
should be used instead.) |
882 |
|
|
883 |
<p> |
<p> |
884 |
You can experiment with adding <b>-Z2</b> (for emulating a |
You can experiment with adding <b><tt>-Z2</tt></b> (for emulating a |
885 |
dual-headed workstation) or even <b>-Z3</b> (tripple-headed), and also the |
dual-headed workstation) or even <b><tt>-Z3</tt></b> (tripple-headed), and |
886 |
<b>-Y2</b> option for scaling down the framebuffer windows by a factor 2x2. |
also the <b><tt>-Y2</tt></b> option for scaling down the framebuffer |
887 |
There is also a <b>-z</b> option for supplying names of X11 displays to |
windows by a factor 2x2. |
888 |
use. The following example starts Ultrix on an emulated tripple-headed |
There is also a <b><tt>-z</tt></b> option for supplying names of X11 |
889 |
workstation, on three different displays (remote1:0.0, localhost:0.0, and |
displays to use. The following example starts Ultrix on an emulated |
890 |
remote2:0.0), using no scaledown:<pre> |
tripple-headed workstation, on three different displays (<tt>remote1:0.0</tt>, |
891 |
|
<tt>localhost:0.0</tt>, and <tt>remote2:0.0</tt>), using no scaledown:<pre> |
892 |
$ <b>gxemul -M64 -bN -E dec -e 3max -jgenvmunix -d rootdisk.img \ |
$ <b>gxemul -M64 -bN -E dec -e 3max -jgenvmunix -d rootdisk.img \ |
893 |
-XZ3 -z remote1:0.0 -z localhost -z remote2:0.0</b> |
-XZ3 -z remote1:0.0 -z localhost:0.0 -z remote2:0.0</b> |
894 |
</pre> |
</pre> |
895 |
|
|
896 |
<p> |
<p> |
897 |
|
The photo below shows a single Ultrix session running tripple-headed in |
898 |
|
GXemul on an Alpha 21164PC, with displays on a Sun Ultra1 (to the left), |
899 |
|
on the Alpha itself (in the middle), and on an HP700/RX X-terminal (8-bit |
900 |
|
color depth, running off the Alpha) to the right. |
901 |
|
|
902 |
|
<p> |
903 |
|
|
904 |
|
<a href="20041209-ultrix-tripplehead.jpg"><img src="20041209-ultrix-tripplehead_small.jpg"></a> |
905 |
|
|
906 |
|
<p> |
907 |
The X11 displays may differ in bit depth and endianness. Unfortunately, |
The X11 displays may differ in bit depth and endianness. Unfortunately, |
908 |
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 |
909 |
the scaledown factor affects all windows. |
the scaledown factor affects all windows. |
910 |
|
|
911 |
<p> |
<p> |
912 |
(If you didn't use -Z<i>n</i> during the installation, and |
(If you didn't use <tt><b>-Z<i>n</i></b></tt> during the installation, and |
913 |
compiled your own /vmunix, then it will not contain support for multiple |
compiled your own <tt>/vmunix</tt>, then it will not contain support for |
914 |
graphics cards. To overcome this problem, use the generic kernel, <b>-j |
multiple graphics cards. To overcome this problem, use the generic kernel, |
915 |
genvmunix</b>, whenever you are running the emulator with a different |
<tt><b>-j genvmunix</b></tt>, whenever you are running the emulator with a |
916 |
setup than the one you used when Ultrix was installed.) |
different setup than the one you used when Ultrix was installed.) |
917 |
|
|
918 |
<p> |
<p> |
919 |
A note for the historically interested out there: |
A note for the historically interested: OSF/1 for MIPS was quite similar |
920 |
OSF/1 for MIPS is quite similar to Ultrix, so that is possible to run |
to Ultrix, so that is possible to run as well. If you are unsuccessful |
921 |
as well. If you are unsuccessful in installing Ultrix |
in installing Ultrix or OSF/1 directly in the emulator, you can always |
922 |
or OSF/1 directly in the emulator, you can always install it on your real |
install it on your real machine onto a real SCSI disk, and then copy the |
923 |
machine onto a real SCSI disk, and then copy the contents of that SCSI |
contents of that SCSI disk into a file (using <b><tt>dd(1)</tt></b>), and use |
924 |
disk into a file (using <b>dd(1)</b>), and use that file as a disk image |
that file as a disk image file in the emulator. |
|
file in the emulator. |
|
925 |
|
|
926 |
|
|
927 |
|
|
930 |
|
|
931 |
<p><br> |
<p><br> |
932 |
<a name="sprite"></a> |
<a name="sprite"></a> |
933 |
<h3>How to run Sprite for DECstation in GXemul:</h3> |
<h3>Running Sprite for DECstation in GXemul:</h3> |
934 |
|
|
935 |
Sprite was a research operating system at the University of Berkeley. |
Sprite was a research operating system at the University of Berkeley. |
936 |
The Unix Heritage Society (TUHS, <a href="http://www.tuhs.org">www.tuhs.org</a>) |
The Unix Heritage Society (TUHS, <a href="http://www.tuhs.org">www.tuhs.org</a>) |
940 |
http://www.cs.berkeley.edu/projects/sprite/retrospective.html</a>. |
http://www.cs.berkeley.edu/projects/sprite/retrospective.html</a>. |
941 |
|
|
942 |
<p> |
<p> |
943 |
|
|
944 |
|
<a href="20040711-sprite-1.png"><img src="20040711-sprite-1_small.png"></a> |
945 |
|
|
946 |
|
<a href="sprite-20040711.png"><img src="sprite-20040711_small.png"></a> |
947 |
|
|
948 |
|
<p> |
949 |
The following instructions should let you run Sprite in the emulator: |
The following instructions should let you run Sprite in the emulator: |
950 |
|
|
951 |
<p> |
<p> |
952 |
<ol> |
<ol> |
953 |
<li>Download the Sprite harddisk image using ftp or http:<pre> |
<li>Download the Sprite harddisk image using ftp or http:<pre> |
954 |
<a href="http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite/">http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite</a>/<a href="http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite/ds5000.bt">ds5000.bt</a> |
<a href="http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite/">http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite</a>/<a href="http://www.es.embnet.org/Services/ftp/misc/TUHS/other_os/Sprite/ds5000.bt">ds5000.bt</a> |
955 |
or <a href="ftp://ftp.es.embnet.org/misc/TUHS/other_os/Sprite/ds5000.bt">ftp://ftp.es.embnet.org/misc/TUHS/other_os/Sprite/ds5000.bt</a> |
or <a href="ftp://ftp.es.embnet.org/pub/misc/TUHS/other_os/Sprite/ds5000.bt">ftp://ftp.es.embnet.org/pub/misc/TUHS/other_os/Sprite/ds5000.bt</a> |
956 |
83973120 bytes, MD5 = ec84eeeb20fe77b758370d5e312e4a5e |
83973120 bytes, MD5 = ec84eeeb20fe77b758370d5e312e4a5e |
957 |
|
|
958 |
</pre> |
</pre> |
990 |
Once you are logged in as root, running <b>xinit</b> will start the X11 |
Once you are logged in as root, running <b>xinit</b> will start the X11 |
991 |
environment. |
environment. |
992 |
|
|
|
<p> |
|
|
Sprite works fine with dynamic binary translation (enabled by |
|
|
adding <b>-b</b> to the command line options). |
|
|
|
|
993 |
|
|
994 |
|
|
995 |
|
|
996 |
|
|
997 |
<p><br> |
<p><br> |
998 |
<a name="declinux"></a> |
<a name="declinux"></a> |
999 |
<h3>How to install Debian GNU/Linux for DECstation in GXemul:</h3> |
<h3>Installing Debian GNU/Linux for DECstation in GXemul:</h3> |
1000 |
|
|
1001 |
<p> |
<font color="#ef0000">NOTE: This is experimental, and <i>extremely</i> |
|
<font color="#ff0000">NOTE: This is experimental, and <i>extremely</i> |
|
1002 |
unstable. During my tests, even pressing the wrong key during the install |
unstable. During my tests, even pressing the wrong key during the install |
1003 |
(for example the wrong cursor key) can cause a kernel Oops. |
(for example the wrong cursor key) can cause a kernel Oops. |
1004 |
I <i>think</i> this has to do with interrupts from the serial controller. |
I <i>think</i> this has to do with interrupts from the serial controller. |
1005 |
Hopefully using the -U command line option will reduce the risk for such |
Hopefully using the <tt><b>-U</b></tt> command line option will reduce the |
1006 |
crashes. (I haven't had time to come up with a clean solution to this yet; |
risk for such crashes. (I haven't had time to come up with a clean |
1007 |
it feels like a buffer overflow in Linux' serial driver for the 5000/200, |
solution to this yet; it feels like a buffer overflow in Linux' serial |
1008 |
but it is also likely that it is a bug in GXemul.) |
driver for the 5000/200, but it is also likely that it is a bug in GXemul.) |
1009 |
</font> |
</font> |
1010 |
|
|
1011 |
<p> |
<p> |
1012 |
|
|
1013 |
|
<a href="20041212-debian_1.png"><img src="20041212-debian_1_small.gif"></a> |
1014 |
|
|
1015 |
|
<a href="20041212-debian_2.png"><img src="20041212-debian_2_small.gif"></a> |
1016 |
|
|
1017 |
|
<a href="20041213-debian_3.png"><img src="20041213-debian_3_small.gif"></a> |
1018 |
|
|
1019 |
|
<a href="20041213-debian_4.png"><img src="20041213-debian_4_small.gif"></a> |
1020 |
|
|
1021 |
|
<p> |
1022 |
The following steps should let you install Debian GNU/Linux for DECstation |
The following steps should let you install Debian GNU/Linux for DECstation |
1023 |
onto a harddisk image: |
onto a harddisk image: |
1024 |
|
|
1048 |
|
|
1049 |
<p> |
<p> |
1050 |
Debian GNU/Linux on DECstation works reasonably fine with dynamic |
Debian GNU/Linux on DECstation works reasonably fine with dynamic |
1051 |
binary translation, enabled by the <b>-b</b> command line option. (Without |
binary translation, enabled by the <b><tt>-b</tt></b> command line option. |
1052 |
this option, the emulator might be less buggy, but also too slow to be |
(Without this option, the emulator might be less buggy, but also too slow |
1053 |
useful when running Linux as a guest OS.) |
to be useful when running Linux as a guest OS.) |
1054 |
|
|
1055 |
<p> |
<p> |
1056 |
(If you want to, you can try <b>-X</b> instead of <b>-o 'console=ttyS3'</b> on |
(If you want to, you can try <b>-X</b> instead of <b>-o 'console=ttyS3'</b> on |
1124 |
<a href="http://www.linux-mips.org/">linux-mips</a> has |
<a href="http://www.linux-mips.org/">linux-mips</a> has |
1125 |
support for keyboards now, on DECstation 5000/200, so it is |
support for keyboards now, on DECstation 5000/200, so it is |
1126 |
possible to run Debian GNU/Linux with framebuffer/keyboard. |
possible to run Debian GNU/Linux with framebuffer/keyboard. |
1127 |
(Add -X (or -XY2) and remove the console=ttyS3 option.) |
(Add <b><tt>-X</tt></b> (or <b><tt>-XY2</tt></b>) and remove the |
1128 |
He has made a kernel available here: |
<b><tt>console=ttyS3</tt></b> option.) He has made a kernel available here: |
1129 |
<a href="http://home.tal.org/~milang/o2/patches/vmlinux-2.4.29-rc2-r3k-mipsel-decstation"> |
<a href="http://home.tal.org/~milang/o2/kernels/vmlinux-2.4.29-rc2-r3k-mipsel-decstation"> |
1130 |
http://home.tal.org/~milang/o2/patches/vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a> |
http://home.tal.org/~milang/o2/kernels/vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a> |
1131 |
It has other problems (ethernet doesn't seem to work, for |
It has other problems (ethernet doesn't seem to work, for |
1132 |
example), but at least it doesn't Oops that often. ] |
example), but at least it doesn't Oops that often. ] |
1133 |
|
|
1138 |
|
|
1139 |
<p><br> |
<p><br> |
1140 |
<a name="declinuxredhat"></a> |
<a name="declinuxredhat"></a> |
1141 |
<h3>How to run Redhat Linux for DECstation in GXemul:</h3> |
<h3>Running Redhat Linux for DECstation in GXemul:</h3> |
1142 |
|
|
|
<p> |
|
1143 |
<font color="#ff0000">NOTE: This is experimental, and <i>extremely</i> |
<font color="#ff0000">NOTE: This is experimental, and <i>extremely</i> |
1144 |
unstable. Read the note about '-U' in the section on how to install |
unstable. Read the note about <b><tt>-U</tt></b> in the section on how to |
1145 |
Debian. |
install Debian. |
1146 |
</font> |
</font> |
1147 |
|
|
1148 |
|
<p> |
1149 |
|
|
1150 |
|
<a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a> |
1151 |
|
|
1152 |
<p> |
<p> |
1153 |
The following steps should let you run Redhat Linux for DECstation in GXemul: |
The following steps should let you run Redhat Linux for DECstation in GXemul: |
1224 |
|
|
1225 |
<p><br> |
<p><br> |
1226 |
<a name="mach"></a> |
<a name="mach"></a> |
1227 |
<h3>How to run Mach/PMAX in GXemul:</h3> |
<h3>Running Mach/PMAX in GXemul:</h3> |
1228 |
|
|
|
<p> |
|
1229 |
Read the following link if you want to know more about Mach in general: |
Read the following link if you want to know more about Mach in general: |
1230 |
<a href="http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html"> |
<a href="http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html"> |
1231 |
http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html</a> |
http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html</a> |
1238 |
</font> |
</font> |
1239 |
|
|
1240 |
<p> |
<p> |
1241 |
|
|
1242 |
|
<a href="20041018-mach_pmax.png"><img src="20041018-mach_pmax_small.png"></a> |
1243 |
|
|
1244 |
|
<p> |
1245 |
The following steps should let you experiment with running Mach |
The following steps should let you experiment with running Mach |
1246 |
for DECstation in the emulator: |
for DECstation in the emulator: |
1247 |
|
|