Annotation of www/vax-simh.html, Revision 1.8
1.1 kettenis 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2: "http://www.w3.org/TR/html4/loose.dtd">
3: <html>
4: <head>
5: <title>OpenBSD/vax on SIMH</title>
6: <link rev="made" href="mailto:www@openbsd.org">
7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8: <meta name="resource-type" content="document">
9: <meta name="description" content="the OpenBSD/vax SIMH page">
10: <meta name="keywords" content="openbsd,vax,simh">
11: <meta name="distribution" content="global">
12: <meta name="copyright" content="This document copyright 2004 by OpenBSD.">
13: </head>
14:
15: <body bgcolor="#ffffff" text="#000000" link="#23238e">
16: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
17: <p>
18:
19: <h2><font color="#e00000">OpenBSD/vax on SIMH</font></h2>
20:
21: <hr>
22:
23: It is very easy to install OpenBSD/vax on the
1.2 henning 24: <a href="http://simh.trailing-edge.com">SIMH</a> VAX simulator. All
1.1 kettenis 25: you need is a reasonably fast machine, enough disk space for a 1.5GB
1.7 pedro 26: disk image and the <i>floppy38.fs</i> from your CD-ROM set.
1.1 kettenis 27:
28: Assuming you're going to run SIMH on an OpenBSD system, install the
29: <i>emulators/simh</i> package from <a href="ports.html">ports</a>.
30: Decide on an appropriate location for your OpenBSD/vax SIMH
31: environment and at that location, create a file <i>openbsd.simh</i>
32: with the following contents:
33:
1.3 saad 34: <blockquote>
35: <pre>
1.1 kettenis 36: <strong>
37: set cpu 64m
38: at nvr openbsd.nvram
39:
1.8 ! kettenis 40: deposit rq qtime 1000000
1.1 kettenis 41:
42: set rq0 ra92
43: at rq0 openbsd.ra0.disk
44:
45: set rq1 cdrom
46: at rq1 /dev/rcd0c
47:
48: set rq2 cdrom
1.7 pedro 49: at rq2 floppy38.fs
1.1 kettenis 50:
51: at xq0 bge0
52:
53: boot cpu
54: exit
55: </strong>
1.3 saad 56: </pre>
57: </blockquote>
1.1 kettenis 58:
59: This configures SIMH to simulate a VAX with a whopping 64 MB of
60: memory, a RA92 1.5GB disk, a CD-ROM unit to hold CD1 of your CD-ROM
61: set, another CD-ROM unit to boot from, and a DELQA Qbus Ethernet
62: controller. You'll need to replace <strong>bge0</strong> with the
63: name of the network interface in your machine. You also might need to
64: replace <strong>/dev/rcd0c</strong> with the name of the raw device
65: corresponding to your real CD-ROM unit. See the SIMH documentation
66: for more details.
67:
68: <p>
69:
1.7 pedro 70: Copy <i>CD1:3.8/vax/floppy38.fs</i> to the location of your
1.1 kettenis 71: OpenBSD/vax SIMH environment. Unmount CD1, but leave it in the CD-ROM
72: unit.
73:
74: Now fire up SIMH. At the boot prompt you should type <strong>boot
75: dua2:</strong>, after which SIMH should boot into the normal OpenBSD
76: installation program:
77:
1.3 saad 78: <blockquote>
79: <pre>
1.1 kettenis 80: # <strong>simh-vax openbsd.simh</strong>
81:
82: VAX simulator V3.0-2
83: NVR: buffering file in memory
84: Eth: opened bge0
85: Loading boot code from /usr/local/lib/simh/vax/ka655.bin
86:
87:
88: KA655-B V5.3, VMB 2.7
89: Performing normal system tests.
90: 40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
91: 24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
92: 08..07..06..05..04..03..
93: Tests completed.
94: >>><strong>boot dua2:</strong>
95: (BOOT/R5:0 DUA2
96:
97:
98:
99: 2..
100: -DUA2
101: 1..0..
102:
103:
1.4 saad 104: >> OpenBSD/vax boot [1.9] [Sep 10 2004] <<
1.1 kettenis 105: >> Press enter to autoboot now, or any other key to abort: 0
106: > boot bsd
1.3 saad 107: </pre>
108: </blockquote>
1.1 kettenis 109:
110: After you've finished the installation, restart SIMH, but now type:
111:
1.3 saad 112: <blockquote>
113: <pre>
1.1 kettenis 114: >>><strong>boot dua0:</strong>
1.3 saad 115: </pre>
116: </blockquote>
1.1 kettenis 117:
118: to boot from your newly installed disk image. You'll need a little
119: patience upon your first boot, since generating the SSH host keys can
120: take quite a bit of time. But it will eventually boot through and
121: present you with a friendly login prompt:
122:
1.3 saad 123: <blockquote>
124: <pre>
1.1 kettenis 125: OpenBSD/vax (noname.my.domain) (console)
126:
127: login:
1.3 saad 128: </pre>
129: </blockquote>
1.1 kettenis 130:
131: When you are done installing any additional packages, you might want
132: to remove the lines referring to your real CD-ROM unit and
1.7 pedro 133: <i>floppy38.fs</i> from your <i>openbsd.simh</i> file.
1.1 kettenis 134:
135: <p>
136:
137: Enjoy!
138:
139: <hr>
140: <a href="vax.html">
141: <img height="24" width="24" src="back.gif" border="0" alt="OpenBSD/vax">
142: </a>
143: <br>
144: <small><a href="mailto:www@openbsd.org">www@openbsd.org</a></small>
145: <br>
146:
1.8 ! kettenis 147: <small>$OpenBSD: vax-simh.html,v 1.7 2005/11/01 21:32:08 pedro Exp $</small>
1.1 kettenis 148:
149: </body>
150: </html>