simhでNetBSD/vax使ってみる
- 2015/07/23
NetBSD SIMH HOW-TOを参考にして、simhでNetBSD/vaxを使ってみる。
設定ファイルの作成
simhのための設定ファイルを以下の様に作成する。
- netbsd-boot
$ cat netbsd-boot load -r /usr/local/lib/simh/vax/ka655x.bin set cpu 64m set rq0 ra92 at rq0 netbsd.dsk set rq1 cdrom at rq1 /home/mutoh/NetBSD/vax/NetBSD-7.0_RC1-vax.iso at xq0 en0 boot cpu
simhの起動
simhを動かす。 dua1でbootすると、ISOイメージから起動される。
mutoubushinokonpyuta [ ~/tmp/NetBSD-vax ] % simh-vax netbsd-boot
(snip)
>>>boot dua1:
(snip)
You are using a serial console, we do not know your terminal emulation.
Please select one, typical values are:
vt100
ansi
xterm
Terminal type (just hit ENTER for 'vt220'):
dmesgは、mutoh_20150723.files/dmesg.txtの通り。
NetBSD/vaxのインストール
ISOイメージから起動すると、インストーラが立ち上がる。
以下の手順でインストールを行うことができる。
- a: Installation messages in English
- a: Install NetBSD to hard disk
- NetBSD-7.0_RC1 Install System
- b: Yes
- a: ra0
- Available disks
- a: Set sizes of NetBSD partitions
- Choose your installation
- x: Accept partition sizes. Free space 1076 MB, 9 free partitions.
- x: Partition sizes ok
- Please enter a name for your NetBSD disk [RA92]:
- b: Yes
- a: Full installation
- Select your distribution
- a: CD-ROM / DVD
- Install from
ネットワークの設定
後日作業する。
$ sudo ifconfig tun0 create $ sudo ifconfig tun0 link0 $ sudo ifconfig tun0 up $ sudo ifconfig bridge0 create $ sudo ifconfig bridge0 fwddelay 4 $ sudo ifconfig bridge0 add run0 add tun0 $ sudo ifconfig bridge0 up
$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
enc0: flags=20000<NOINET6>
priority: 0
groups: enc
status: active
run0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NOINET6> mtu 1500
lladdr 00:25:d3:40:19:f4
priority: 4
groups: wlan egress
media: IEEE802.11 autoselect (DS2 mode 11g)
status: active
ieee80211: nwid MUTOH_HOME chan 11 bssid 00:25:bc:8b:f7:c1 17dB wpakey <not displayed> wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
inet 192.168.24.5 netmask 0xffffff00 broadcast 192.168.24.255
axe0: flags=28802<BROADCAST,SIMPLEX,MULTICAST,NOINET6> mtu 1500
lladdr 00:1e:33:18:af:64
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
tun0: flags=29903<UP,BROADCAST,PROMISC,SIMPLEX,LINK0,MULTICAST,NOINET6> mtu 1500
lladdr fe:e1:ba:d2:94:be
priority: 0
groups: tun
status: no carrier
bridge0: flags=20041<UP,RUNNING,NOINET6>
groups: bridge
priority 32768 hellotime 2 fwddelay 4 maxage 20 holdcnt 6 proto rstp
run0 flags=3<LEARNING,DISCOVER>
port 3 ifpriority 0 ifcost 0
tun0 flags=3<LEARNING,DISCOVER>
port 7 ifpriority 0 ifcost 0
Last modified: 2015-07-24
Post-it: New Post-it (help)
