Annotation of www/vax-simh.html, Revision 1.2
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
26: disk image and the <i>floppy36.fs</i> from your CD-ROM set.
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:
34: <ul><pre>
35: <strong>
36: set cpu 64m
37: at nvr openbsd.nvram
38:
39: deposit rq qtime 100
40:
41: set rq0 ra92
42: at rq0 openbsd.ra0.disk
43:
44: set rq1 cdrom
45: at rq1 /dev/rcd0c
46:
47: set rq2 cdrom
48: at rq2 floppy36.fs
49:
50: at xq0 bge0
51:
52: boot cpu
53: exit
54: </strong>
55: </pre></ul>
56:
57: This configures SIMH to simulate a VAX with a whopping 64 MB of
58: memory, a RA92 1.5GB disk, a CD-ROM unit to hold CD1 of your CD-ROM
59: set, another CD-ROM unit to boot from, and a DELQA Qbus Ethernet
60: controller. You'll need to replace <strong>bge0</strong> with the
61: name of the network interface in your machine. You also might need to
62: replace <strong>/dev/rcd0c</strong> with the name of the raw device
63: corresponding to your real CD-ROM unit. See the SIMH documentation
64: for more details.
65:
66: <p>
67:
68: Copy <i>CD1:3.6/vax/floppy36.fs</i> to the location of your
69: OpenBSD/vax SIMH environment. Unmount CD1, but leave it in the CD-ROM
70: unit.
71:
72: Now fire up SIMH. At the boot prompt you should type <strong>boot
73: dua2:</strong>, after which SIMH should boot into the normal OpenBSD
74: installation program:
75:
76: <ul><pre>
77: # <strong>simh-vax openbsd.simh</strong>
78:
79: VAX simulator V3.0-2
80: NVR: buffering file in memory
81: Eth: opened bge0
82: Loading boot code from /usr/local/lib/simh/vax/ka655.bin
83:
84:
85: KA655-B V5.3, VMB 2.7
86: Performing normal system tests.
87: 40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
88: 24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
89: 08..07..06..05..04..03..
90: Tests completed.
91: >>><strong>boot dua2:</strong>
92: (BOOT/R5:0 DUA2
93:
94:
95:
96: 2..
97: -DUA2
98: 1..0..
99:
100:
101: >> OpenBSD/vax boot [1.9] [Sep 10 2004] <<
102: >> Press enter to autoboot now, or any other key to abort: 0
103: > boot bsd
104: </pre></ul>
105:
106: After you've finished the installation, restart SIMH, but now type:
107:
108: <ul><pre>
109: >>><strong>boot dua0:</strong>
110: </pre></ul>
111:
112: to boot from your newly installed disk image. You'll need a little
113: patience upon your first boot, since generating the SSH host keys can
114: take quite a bit of time. But it will eventually boot through and
115: present you with a friendly login prompt:
116:
117: <ul><pre>
118: OpenBSD/vax (noname.my.domain) (console)
119:
120: login:
121: </pre></ul>
122:
123: When you are done installing any additional packages, you might want
124: to remove the lines referring to your real CD-ROM unit and
125: <i>floppy36.fs</i> from your <i>openbsd.simh</i> file.
126:
127: <p>
128:
129: Enjoy!
130:
131: <hr>
132: <a href="vax.html">
133: <img height="24" width="24" src="back.gif" border="0" alt="OpenBSD/vax">
134: </a>
135: <br>
136: <small><a href="mailto:www@openbsd.org">www@openbsd.org</a></small>
137: <br>
138:
1.2 ! henning 139: <small>$OpenBSD: vax-simh.html,v 1.1 2004/11/15 20:59:14 kettenis Exp $</small>
1.1 kettenis 140:
141: </body>
142: </html>