Running Ultrix 4.5 (2019)

walrus011 pts0 comments

Running VAX Ultrix 4.5 on simh | Astr0baby's not so random thoughts _____ rand() % 100;

Astr0baby's not so random thoughts _____ rand() % 100;

@astr0baby on Twitter for fresh randomness

Skip to content

Home

← Compiling PrBoom on OpenVMS 8.4 (Alpha)

Metasploit payloads evasion against Linux AV →

Running VAX Ultrix 4.5 on simh

Posted on March 16, 2019 by astr0baby

Not a long entry here, since all the hard work was already done by Darkstar @ http://gunkies.org/wiki/Installing_Ultrix_4.5_on_SIMH

I only wanted to add my additions (tun-tap networking and remote X11 DECwindows via Xephyr)

The main difference is the ultrix.ini configuration file, since we will be using tap0 and bridging and setting up masquerade on our Linux machine, below is my network.sh script that I run before the simh simulator starts

#Setup tap and bridge<br>tunctl -t tap0 -u user<br>ifconfig tap0 up<br>brctl addbr br0<br>brctl setfd br0 0<br>ifconfig br0 10.0.2.2 netmask 255.255.255.0 broadcast 10.0.2.255 up<br>#brctl addif br0 tap0 vboxnet0<br>Next is the ultrix.ini simh configuration file that I have used

; SimH 4.0 Configuration file for MicroVAX 3800<br>; Host System : DEC MicroVAX 3800<br>; Operating System : DEC Ultrix v4.5<br>; Memory : 64mb<br>; Network config : XQ: Ethernet, 08:00:2b:04:14:02<br>; Disks : RQ0: RA90, 1.2gb<br>; RQ1: RA90, 1.2gb<br>; CDROMs : RQ2: iso file<br>; Tape config : TQ0: TK50, 94mb

load -r ka655x.bin

; NVRAM<br>attach NVR nvram.bin

; CPU config<br>set CPU 64m<br>set CPU conhalt<br>set CPU idle=all

; configure console to 7-bit only<br>set TTO 7b<br>set TTI 7b

; Disk drives<br>set RQ0 ra90<br>attach RQ0 disk01.dd<br>set RQ1 ra90<br>attach RQ1 disk02.dd<br>set RQ2 CDROM<br>attach -r RQ2 ultrix.iso<br>set RQ3 dis

; Tape<br>set TQ tk50<br>;attach tq0 filename-to-tape-file<br>set TQ1 dis<br>set TQ2 dis<br>set TQ3 dis

; Disable unused peripherals<br>set CR dis<br>set RL dis<br>set TS dis

; Attach Ethernet to a network interface<br>set xq mac=08-00-2B-AA-BB-CC<br>attach xq tap:tap0

; boot the system<br>boot CPU<br>Explanation:

The ka620.bin is from here  https://github.com/simh/simh/raw/master/VAX/ka620.bin

The ultrix.iso is from here https://musall.de/mirrors/ultrix/ultrix_os/vax/ultrix-vax-4.5-mode1.ufs.bz2  Just bunzip2 and rename to ultrix.iso

The disk01.dd and disk02.dd are made like this

dd if=/dev/zero of=disk01.dd bs=1024 count=1M<br>dd if=/dev/zero of=disk02.dd bs=1024 count=1M<br>Installation

So one can pretty much follow 100% the steps in the http://gunkies.org/wiki/Installing_Ultrix_4.5_on_SIMH except in the following section where I have chosen DECwindows for OSF/Motif (1)

I have used slightly different network config because of the tap setup earlier so we will change this section accordingly

I have used these values

# ifconfig qe0 10.0.2.12 netmask 255.255.255.0 up<br># route add default 10.0.2.2 1<br>Once we reboot and have everything working (network) we move on to configuring the DECwindows part. For this I have changed the following file in order to load DECwindows motif  /usr/lib/X11/xdm/Xsession

#!/bin/sh

exec > $HOME/.xsession-errors 2>&1

case $# in<br>1)<br>case $1 in<br>failsafe)<br>exec xterm -geometry 80x24-0-0<br>;;<br>esac<br>esac

startup=$HOME/.xsession<br>resources=$HOME/.Xresources

if [ -f $startup ]; then<br>exec $startup<br>else<br>if [ -f $resources ]; then<br>xrdb -load $resources<br>fi<br>exec /usr/bin/dxsession<br>fi<br>Then I have created a symlink to xdm so I could call startx from root directly

# ln -s /usr/bin/X11/xdm /startx<br>Then if I wanted to run DECwindows just initiate startx

# ./startx<br>And on my Linux host I run Xephyr as follows

Xephyr -screen 980x640 -ac -query 10.0.2.12 :3<br>Which gives me a nice remote DECwindows environment to work with

There are some interesting VAX Ultrix resources still available online today like

https://musall.de/mirrors/ultrix/freeware/starfish.osfn.org/ultrix/ GCC 3.0.4 is there if you don’t like the DEC C compiler.

References:

http://gunkies.org/wiki/Installing_Ultrix_4.5_on_SIMH<br>Stephen's Machine Room - https://www.youtube.com/watch?v=dwFnzGZBA6E<br>https://musall.de/mirrors/ultrix/freeware/

Share this:

Share on Facebook (Opens in new window)<br>Facebook

Share on X (Opens in new window)

Like Loading...

Related

About astr0baby

Please run Adblock or similar... we have been told to do so since Carl Sagan wrote the Contact .

View all posts by astr0baby &rarr;

This entry was posted in Uncategorized. Bookmark the permalink.

&larr; Compiling PrBoom on OpenVMS 8.4 (Alpha)

Metasploit payloads evasion against Linux AV &rarr;

6 Responses to Running VAX Ultrix 4.5 on simh

Vesselin Kenashkov says:

July 13, 2020 at 8:04 am

Another option is to run Ultrix 4.5 on MIPS in GXEmul:

http://gavare.se/gxemul/

I had it running about 10 years ago.

Also GXemul supports (although not listed in the site) DEC OSF 1 on MIPS (I can confirm v1 works, v2 never tried/didnt have at the time):

https://winworldpc.com/product/dec-osf-1/1x

Reply

Vesselin Kenashkov says:

July 13, 2020 at 8:17 am

And another thing which is a bit offtopic but still DEC related is that VMSSoftware now have...

ultrix simh attach astr0baby decwindows file

Related Articles