Next old system that I decided to have a look at is the Digital UNIX (Alpha) predecessor of Tru64 UNIX.
For my test I have used the ISO available from here : https://winworldpc.com/product/digital-unix/40e
This version is supposed to be supported by alphavm_free so I have decide to try it out. Here are my experiment logs.
My network script for alphavm_free is such :
#Setup tap and bridge tunctl -t tap0 -u user ifconfig tap0 up brctl addbr br0 brctl addif br0 eth0 brctl setfd br0 0 ifconfig eth0 10.0.2.1 up ifconfig br0 10.0.2.2 netmask 255.255.255.0 broadcast 10.0.2.255 up brctl addif br0 tap0 ifconfig tap0 0.0.0.0 sysctl net.ipv4.ip_forward=1 iptables -A FORWARD --in-interface eth0 -j ACCEPT iptables --table nat -A POSTROUTING --out-interface wlan0 -j MASQUERADE
Following is the semi-working config.emu file (using the Alpha ds20l)
system { type = ds20l_833; reported_type = default; num_cpus = 1; ssn = 'EmuVM-00-000-001'; interval_clock_freq = 100; memory { size = 512; } cpu { server = basic; jit { async = yes; } } serial com1 { server = socket; port = 3000; } scsi_controller qla0 { } scsi_controller qla1 { } scsi_disk dka0 { scsi_bus = 0; scsi_id = 0; scsi_lun = 0; file = 'disk.dd'; caching = no; write_through = yes; } scsi_cdrom iso { scsi_id = 4 ; file = 'digital.unix.4.0e.iso'; } ether eth0 { type = dec21040; server = dummy; mac_address = 0x08002B000001; } ether eth1 { type = dec21040; server = tap; interface = 'tap0'; mac_address = 0x08002B000002; } }
Standard environment (dka0 as disk.dd and dka400 iso cdrom)
disk.dd created as
dd if=/dev/zero of=disk.dd bs=1024 count=2M
Boot alphavm_free as
./alphavm_free config.emu
Boot the CDROM ISO
>>>> boot dka400
And you end up with this
loaded boot image pa=200000 size=0x2000 Digital UNIX boot - Fri Nov 13 13:15:46 EST 1998 Loading vmunix ... Loading at 0xfffffc0000230000 Current PAL Revision <0x10538> Switching to OSF PALcode Succeeded New PAL Revision <0x10002013e> Sizes: text = 5443120 data = 1671120 bss = 3348992 Starting at 0xfffffc0000433060 Alpha boot: available memory from 0x14a2000 to 0x20000000 Digital UNIX V4.0E (Rev. 1091); Fri Nov 13 14:10:29 EST 1998 physical memory = 512.00 megabytes. available memory = 491.99 megabytes. using 652 buffers containing 5.09 megabytes of memory emx: dynamic addressing enabled Firmware revision: 13.0-0 PALcode: Digital UNIX version 1.62-1 AlphaServer DS20L 833 MHz pci1 at nexus isp0 at pci1 slot 7 isp0: QLOGIC ISP1020B - Differential Mode isp0: Firmware revision 7.63 (loaded by console) scsi0 at isp0 slot 0 rz0 at scsi0 target 0 lun 0 (LID=0) (EmuVM HD image 0001) rz4 at scsi0 target 4 lun 0 (LID=1) (EmuVM CDROM ISO image 0001) tu0: DECchip 21040: Revision: 2.0 tu0 at pci1 slot 8 tu0: DEC TULIP (10Mbps) Ethernet Interface, hardware address: 08-00-2B-00-00-01 tu0: console mode: selecting 10BaseT (UTP) port: full duplex tu1: DECchip 21040: Revision: 2.0 tu1 at pci1 slot 9 tu1: DEC TULIP (10Mbps) Ethernet Interface, hardware address: 08-00-2B-00-00-02 tu1: console mode: selecting 10BaseT (UTP) port: full duplex gpc0 at isa0 pci0 at nexus isa0 at pci0 ace0 at isa0 lp0 at isa0 Created FRU table binary error log packet kernel console: ace0 vm_swap_init: warning /sbin/swapdefault swap device not found vm_swap_init: swap is set to lazy (over commitment) mode INIT: SINGLE-USER MODE Initializing system for Digital UNIX installation. Please wait... *** Performing CDROM Installation Loading installation process and scanning system hardware. Welcome to the DIGITAL UNIX Installation Procedure This procedure installs DIGITAL UNIX onto your system. You will be asked a series of system configuration questions. Until you answer all questions, your system is not changed in any way. During the question and answer session, you can go back to any previous question and change your answer by entering: history You can get more information about a question by entering: help Error: This system appears to have no disk(s). The installation procedure requires at least one disk. If there is a disk in the system, you should confirm that it is properly connected, and then start the installation procedure again from the ">>>" prompt. If you have already done this, contact a customer service representative. The installation procedure failed or was intentionally exited. To restart the installation, halt and reboot the system or enter: restart #
Hmmm… something that the installer script does not like about the disks .. lets check the disk info form the shell we get
# scu show edt CAM Equipment Device Table (EDT) Information: Device: HD image Bus: 0, Target: 0, Lun: 0, Type: Direct Access Device: CDROM ISO image Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct Access
OK so the system sees our disk.dd image as HD image
Checking the /dev for presence of dk0
no rrz0* entries in /dev , so lets create them
# cd /dev # ./MAKEDEV rz0
Now /dev has the rz0 entries as
So we re-run the CDROM installation script, it is sitting in the
# ls -la /isl/.profile -rwxr-xr-x 1 bin bin 39619 Nov 13 20:22 /isl/.profile
# /isl/.profile Initializing system for Digital UNIX installation. Please wait... *** Performing CDROM Installation Loading installation process and scanning system hardware. Welcome to the DIGITAL UNIX Installation Procedure This procedure installs DIGITAL UNIX onto your system. You will be asked a series of system configuration questions. Until you answer all questions, your system is not changed in any way. During the question and answer session, you can go back to any previous question and change your answer by entering: history You can get more information about a question by entering: help Error: This system appears to have no disk(s). The installation procedure requires at least one disk. If there is a disk in the system, you should confirm that it is properly connected, and then start the installation procedure again from the ">>>" prompt. If you have already done this, contact a customer service representative. The installation procedure failed or was intentionally exited. To restart the installation, halt and reboot the system or enter: restart
Same error… digging deeper .. From the .profile script we can see that the local disk gets discovered by the finder command
PrepInst() { # Determine whether this is a lite system or not. LITEFLAG=`sizer -l` # lite = 1 # Invoke discovery phase of finder so the delay to get disk # information to the UI is minimized. Setld discovery is delayed # as it causes disk thrashing on CDROM installs which makes the X # startup incredibly slow. sh -c "2>&1 finder -q > $NUL &" case $TLOAD in REMOTE) echo "\n*** Performing RIS Installation from $NLOAD\n" RISDIR=/ # NFS mounted from RIS server on bootup # Try to set date/time and get timezone for later usage. GetNetInfo SRCLOC=${NLOAD}: ;; CDROM) echo "\n*** Performing CDROM Installation\n" SRCLOC=/ALPHA/BASE ;; esac
Running the finder from the install shell
# finder usage: finder -[irdfwqtb] # finder -d (null) TABLE Selection Device Software Device Controller Controller Name Name Number Name Number ---------------------------------------------------------------------- 1 HD image rz0 0 SCSI 0 ---------------------------------------------------------------------- /dev: file system full /dev: write failed, file system is full Memory fault - core dumped
This will require some more time to debug…lets see if networks is working
# ifconfig tu1 10.0.2.12 up # route add default 10.0.2.1 # ifconfig -a tu0: flags=c22<BROADCAST,NOTRAILERS,MULTICAST,SIMPLEX> tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX> inet 10.0.2.12 netmask ff000000 broadcast 10.255.255.255 ipmtu 1500 lo0: flags=100c88<LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM> # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=58 time=0 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=0 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=90 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=70 ms ^C ----8.8.8.8 PING Statistics---- 4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/40/90 ms
I will try to figure out why the disks dont get detected, as I see some great potential in setting up this system :)