====== Installation und Einrichtung von Ultrix 4.5 einer emulierten (Micro-) VAX unter SIMH ====== ===== Voraussetzungen ===== * Es sollte sichergestellt werden, dass die Funktionalität für den Ethernet-Support gegeben ist (aktivierte Funktionalität in SIMH, sow eine Bridge auf dem Host-Computer). * Ein ISO-Image von DECs Installationsmedium Ultrix 4.5 für VAX. * ISO-Image mit zusätzlicher Open Source GNU-Programme für die VAX/Ultrix-Plattform. ===== Konfigurationsdatei start.txt für die MicroVAX mit Ultrix unter SIMH ===== echo echo SimH 4.0 Configuration file for MicroVAX 3900 echo echo Host System : DEC MicroVAX 3900 echo Operating System : DEC Ultrix v4.5 echo Memory : 64 MiB echo Network config : XQ: Ethernet, 08:00:2b:04:14:04 echo Disks : RQ0: RA92, 1.5 GB echo : RQ1: RA92, 1,5 GB echo CDROMs : RQ2: iso file echo : ultrix-vax-4.5-mode1.ufs = DEC Usltrix Installation Disc echo : ultrix-freeware-vax-sept-2002-mode1.iso = Ultrix Freeware CD-ROM Version 2.0 Sept. 2002 echo load -r ka655x.bin ; NVRAM attach NVR nvram.bin ; CPU config set CPU 64m set CPU conhalt set CPU idle ; configure console to 7-bit only ;set TTO 7b ;set TTI 7b ; Disk drives set RQ0 ra92 attach RQ0 rq0-ra92.dsk set RQ1 ra92 attach RQ1 rq1-ra92.dsk set RQ2 CDROM attach -r RQ2 ../install-images/ultrix-vax-4.5-mode1.ufs ;attach -r RQ2 ../install-images/ultrix-freeware-vax-sept-2002-mode1.iso set RQ3 disable ; Tape set TQ0 disable set TQ1 disable set TQ2 disable set TQ3 disable ; serial port, simulated by Telnet to port 1005 set DZ disable ; printer ;set LPT enable ;attach LPT printer_output.txt ; Disable unused peripherals set CR disable set RL disable set TS disable ; Network interface (08-00-2b is the DEC prefix, the 04-14-02 part is arbitrary) set XQ MAC=08-00-2b-04-14-04 attach xq tap:tap0 ; serial console (launch directly after booting CPU) ;set console telnet=1001 ; experimental ;set QVSS en ; boot the system boot CPU ; Uncomment the line below to enable auto-boot dep bdr 0 ===== Der erste Start des SIMH Emulators ===== Beim ersten Start kann es einige Zeit dauern, da SimH die Disk-Images erstellen muss (insgesamt ~ 3 GB).\\ Folgende Ausgabe erscheint auf der Konsole.: simh@debian:~/MicroVAX3900-Ultrix$ ./../simh-Beta4/BIN/vax start-vax.txt MicroVAX 3900 simulator V4.0-0 Current git commit id: 0d6f1ce3 /home/simh/MicroVAX3900-Ultrix/start-vax.txt-20> attach NVR nvram.bin NVR: creating new file NVR: buffering file in memory /home/simh/MicroVAX3900-Ultrix/start-vax.txt-33> attach RQ0 rq0-ra92.dsk RQ0: creating new file: rq0-ra92.dsk /home/simh/MicroVAX3900-Ultrix/start-vax.txt-35> attach RQ1 rq1-ra92.dsk RQ1: creating new file: rq1-ra92.dsk /home/simh/MicroVAX3900-Ultrix/start-vax.txt-38> attach -r RQ2 ../install-images/ultrix-freeware-vax-sept-2002-mode1.iso RQ2: unit is read only /home/simh/MicroVAX3900-Ultrix/start-vax.txt-61> attach xq tap:tap0 Eth: opened OS device tap0 KA655-B V5.3, VMB 2.7 1) Dansk 2) Deutsch (Deutschland/�sterreich) 3) Deutsch (Schweiz) 4) English (United Kingdom) 5) English (United States/Canada) 6) Espa�ol 7) Fran�ais (Canada) 8) Fran�ais (France/Belgique) 9) Fran�ais (Suisse) 10) Italiano 11) Nederlands 12) Norsk 13) Portugu�s 14) Suomi 15) Svenska (1..15): 5 Performing normal system tests. 40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25.. 24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09.. 08..07..06..05..04..03.. Tests completed. >>> Um von der CD-ROM booten zu können, muss die Laufwerkseinheit 2 angegeben werden: >>>boot DUA2 ===== Boot-Vorgang von Ultrix von der Installations-CD ===== >>>boot dua2 (BOOT/R5:0 DUA2 2.. -DUA2 1..0.. Ultrixboot - V4.5 Sun Sep 17 13:03:13 EDT 1995 Loading (a)vmunix ... Sizes: text = 945424 data = 1290240 bss = 757940 Starting at 0x5219 ULTRIX V4.5 (Rev. 47) System #2: Wed Oct 18 12:06:55 EDT 1995 real mem = 67043328 avail mem = 61517824 Buffer configuration adjusted to run with small system page table using 123 buffers containing 1007616 bytes of memory KA655 processor with an FPU CPU microcode rev = 6, processor firmware rev = 83 Q22 bus uda0 at uba0 uq0 at uda0 csr 172150 vec 774, ipl 17 klesiu0 at uba0 uq16 at klesiu0 csr 174500 vec 770, ipl 17 ra1 at uq0 slave 1 (RA92) ra2 at uq0 slave 2 (RRD40) ra0 at uq0 slave 0 (RA92) WARNING: clock gained 15 days -- CHECK AND RESET THE DATE! *** STANDALONE ULTRIX ENVIRONMENT *** If you select the BASIC Installation option from the list that follows, the installation software creates file systems on default partitions on your system disk and loads the mandatory ULTRIX software subsets. If you require additional installation choices, select the ADVANCED Installation option. Select one of the following options: 1) BASIC Installation 2) ADVANCED Installation 3) System management Enter your choice: Ich bevorzuge die fortgeschrittene Installation. Wenn dies versucht wird, wird das Installationsprogramm nach einiger Zeit eine Eingabeaufforderung zur Verfügung stellen. Derselbe Effekt würde natürlich aber auch bei der Wahl der Basisinstallation auftreten. Grund ist, dass die von SIMH emulierte Hardware von Ultrix nicht vollständig unterstützt wird. Ultrix sieht RQ0 als /dev/ra0, RQ1 als /dev/ra1, usw, nur stehen die Gerätebezeichnungen in dem Installationsprogramm, welches nichts weiter als ein Shellsript ist. Demzufolge lässt sich dies im Script auch korrigieren. Letztlich hätte es gereicht, im Menü für die Auswahl der Installationsart direkt Option 3 zu wählen. Diese stellt direkt die Shell zur Eingabeaufforderung zur Verfügung. Da das Basissystem von Ultrix weder den Texteditor vi und cat zur Ausgabe von Dateiinhalten existiert, muss auf den zeilenorientierten Texteditor ed zurückgegriffen werden.: # ed install.1 Es erscheint erst einmal 16763 als Ausgabe. Diese Zahl gibt die Anzahl der in der Datei enthaltenen Zeilen an. Der gesamte Inhalt der Datei kann wie folgt ausgegeben werden: 1,$l Um letztendlich das Problem beheben zu können, sollten nun folgende Befehle verwendet werden. Die fett dargestellten Zeilen sind als Benutzer einzugeben. Die anderen Zeilen die Antworten des ed.: # ed install.1 16763 173l BTD=`btd` 173s/`btd`/ra2/ 173l BTD=ra2 193l rz* ) 193s/rz/ra/ 193l ra* ) w 16761 q # Zuerst wird der Inhalt von Zeile 173 ausgegeben, dann wird sie von BTD='btd' in BTD='ra2' abgeändert. Dies ist zufällig das CD-ROM Laufwerk und die Einheitenbezeichnung von der installiert wird. Wenn diese Einheitenbezeichnung in der Konfigurationsdatei für den SIMH-Emulator anders lautet, so muss er hier entsprechend übereinstimmen. Dann wird Zeile 193 von rz*) in ra*) geändert, da versucht wird, auf ein Festplattenlaufwerk vom Typ RA zu installieren, die in Ultrix anscheinend nicht sofort unterstützt wurden. Wird eine andere Version des Installationsprogramms verwendet, so kann es sein, dass die zu ändernden Einträge sich in anderen Zeilen befinden. Dann muss man danach stöbern, in welchen Zeilen sie sich befinden. Nachdem die Datei mit w geschrieben und mit q beendet wurde, befindet man sich wieder in der Eingabeaufforderung. Letztendlich hätte man in der mit dem ed geöffneten Datei verkürzt auch nur die Befehlsfolge 173s/`btd`/ra2/ 193s/rz/ra/ w q eingeben brauchen. Um nun die Installation erneut versuchen zu können, muss die Tastenkombination CTRL + D gedrückt werden. # ^D *** STANDALONE ULTRIX ENVIRONMENT *** If you select the BASIC Installation option from the list that follows, the installation software creates file systems on default partitions on your system disk and loads the mandatory ULTRIX software subsets. If you require additional installation choices, select the ADVANCED Installation option. Select one of the following options: 1) BASIC Installation 2) ADVANCED Installation 3) System management Enter your choice: 2 *** SYSTEM DISK SELECTION *** The 'Guide to Installing ULTRIX' explains the following table of system disk drives. Select one of the devices below to contain the root file system: SYSTEM DISK TABLE Selection Device ULTRIX Device Controller Controller Name Name Number Name Number ---------------------------------------------------------------------- 1 RA92 ra0 0 RQDX3 0 2 RA92 ra1 1 RQDX3 0 ---------------------------------------------------------------------- Enter your choice: 1 You selected RA92, device number 0. Make sure this disk drive is on line and write-enabled (if applicable to your disk drive), then confirm your choice. Use RA92, ra0, for your system disk? (y/n) []: y The installation procedure now allocates the root file system on partition 'a' of the system disk, ra0 RA92. Making the root file system on ra0 RA92. The installation procedure is now restoring the root file system to partition 'a' of the system disk, ra0 RA92. The installation procedure now checks the root file system on partition 'a' of the system disk, ra0 RA92. ** /dev/rra0a ** Last Mounted on /mnt ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 226 files, 4547 used, 11004 free (20 frags, 1373 blocks, 0.1% fragmentation) *** BOOTSTRAP COMMAND SEQUENCE *** Enter the following boot sequence at the console mode prompt after the installation software halts the processor: >>> b dua0 syncing disks... done ?06 HLT INST PC = 8007F799 >>> Jetzt befindet sich das System wieder an der Startaufforderung. Sollte in der SIMH-Konfiguration nicht der Eintrag "set cpu conhalt" vorhanden sein (die Standardeinstellung ist "set cpu simhalt"), so befindet man sich an der SIMH-Emulator-Eingabeaufforderung und es muss erst einmal "boot CPU" ausgeführt werden. ===== Erster Boot ===== Jetzt wird das System zum ersten Mal von der Festplatte gebootet.\\ Also wird nun von DUA0 gebootet. >>>boot dua0 (BOOT/R5:0 DUA0 2.. -DUA0 1..0.. Ultrixboot - V4.5 Sun Sep 17 13:03:13 EDT 1995 Loading (a)vmunix ... Sizes: text = 1153664 data = 281088 bss = 1043548 Starting at 0x5219 ULTRIX V4.5 (Rev. 47) System #3: Wed Oct 18 11:49:00 EDT 1995 real mem = 67043328 avail mem = 62008320 Buffer configuration adjusted to run with small system page table using 121 buffers containing 991232 bytes of memory KA655 processor with an FPU CPU microcode rev = 6, processor firmware rev = 83 Q22 bus uda0 at uba0 uq0 at uda0 csr 172150 vec 774, ipl 17 klesiu0 at uba0 uq16 at klesiu0 csr 174500 vec 770, ipl 17 qe0 at uba0 csr 174440 vec 764, ipl 17 qe0: DEC DELQA Ethernet Interface DEQNA-lock Mode, hardware address 08:00:2b:04:14:04 lp0 at uba0 csr 177514 vec 200, ipl 17 An dieser Stelle wird der Boot-Vorgang eine Zeit lang verweilen, da vermutlich nach Geräten gesucht wird, die nicht vorhanden sind. Schließlich muss der Hostname eingegeben werden. Sollte das System mit DECnet in ein Netzwerk eingebunden werden, so darf der Hostname nicht mehr als 6 Zeichen haben. Ich entscheide mich dennoch erst einmal für einen Namen der mehr als 6 Zeichen besitzt, da ich unter das Ultrix erstmal mit TCP/IP konfiguriere. ra1 at uq0 slave 1 (RA92) ra2 at uq0 slave 2 (RRD40) ra0 at uq0 slave 0 (RA92) *** SYSTEM NAME SPECIFICATION *** Select the name of your system using alphanumeric characters. The first character must be a letter. For example, tinker. Enter your system name: MicroVAX3900 You selected MicroVAX3900 as the name of your system. Is this correct? (y/n) [y]: y Als nächstes steht die Zeitkonfiguration an. Da auch die letzte Ultrix-Version 4.5 nicht Jahr 2000 kompatibel ist, habe ich beschlossen, die Uhr um 25 Jahre zurückzustellen. Bitte beachten, dass die Einstellungen für Zeitzone und Sommerzeit für meinen Standort (Deutschland) gelten und wahrscheinlich je nach Standort variieren können. *** DATE AND TIME SPECIFICATION *** The current date and time should be specified using the following format: yymmddhhmm Use two digits for year (yy), month (mm), day (dd), hour (hh), and minute (mm). Enter the time in 24-hour format. For example, 02:54 p.m. on Feb 2, 1993 would be entered as: 9302021454 Enter the date and time: 9511030215 *** TIME ZONE SELECTION *** Select the time zone for your area, using the options listed in the table below. You can also enter the number of hours (-12 to 12) in time east of Greenwich. Selection Time Zone --------------------------------- e Eastern c Central m Mountain p Pacific g Greenwich --------------------------------- Enter your choice: 1 Does your area alternate between Daylight Savings and Standard time? (y/n) [y]: y Select your geographic area for Daylight Savings Time, using the options in the table below. Selection Geographic Area -------------------------------- u USA a Australia e Eastern Europe c Central Europe w Western Europe -------------------------------- Enter your choice [u]: c The current date and time is Fri Nov 3 02:15:25 EST 1995 Als Nächstes wird nach dem Passwort für den User gebeten. Das Passwort muss aus mindestens sechs Zeichen bestehen. Ultrix gibt hier aber kein Echo für die eingetippten Zeichen aus. Die Sternchen habe ich nur für diese Anleitung hinzugefügt. *** SPECIFY THE SUPERUSER PASSWORD *** The Guide to Installing ULTRIX instructs you on how to enter the superuser password. Changing password for root Enter new password:********** Warning, only the first 8 characters of the password are significant. Verify:********** Als Nächstes kommt das Dateisystem-Layout, das etwas komplizierter ist als das, was man von seinerzeit schon moderneren Systemen wie MS DOS kannte. In Ultrix werden Partitionen für jeden Festplattentyp in einer Datei mit dem Namen /etc/disktab definiert. Es ist zu beachten, dass sich die Partitionen überlappen, sodass sie nicht alle gleichzeitig verwendet werden sollten. Das Setup-Skript erledigt das tatsächlich für einem, aber wenn später händisch ein neues Dateisystem auf der falschen Partition erstellt wird, gehen Daten verloren! In der Regel ist Partition c die gesamte Festplatte, was beispielsweise für Add-On-Festplatten nützlich ist. Die Partitionen a und b sind immer verfügbar und werden traditionell für das System bzw. den Swap-Space verwendet. Die Swap-Partition wird auch für Crash-Dumps verwendet, wenn keine separate Crash-Dump-Partition erstellt wird. Der Rest der Festplatte kann entweder als einzelne Partition (normalerweise g) oder als 3 einzelne Partitionen (d bis f) verwendet werden. Wenn die Festplatte größer als 1 Gigabyte ist, erhalten Sie nach der g-Partition eine weitere Partition h, wahrscheinlich weil das Dateisystem Partitionen von mehr als 1 Gigabyte nicht verarbeiten kann. In diesem Fall sind folgende Partitionen auf der ersten Festplatte (RA0): * Partition a von 32 MB für /root * Partition b von 64 MB für Swap + Crashdump * Partition c von 1,5 GB (ganze Festplatte, wird in diesem Setup nicht verwendet) * Partition d und e von jeweils 200 MB (nicht verwendet) * Partition f von 400 MB (wird nicht verwendet) * Partition g von 800 MB (Überlappungen mit d, e und f; wird /usr) * Partition h von 256 MB (wird nicht verwendet) Es steht immer noch die gesamte zweite Festplatte zur späteren Verwendung zur Verfügung. Ja, es werden die Standardeinstellungen verwendet. *** FILE SYSTEM DEFAULT OPTION *** The following table shows the default file system layout on RA92, ra0: partition bottom top size overlap default a 0 32767 32768 c root b 32768 159839 127072 c swap, dump g 159840 1840626 1680787 c,d,e,f /usr If you choose the defaults, the var area will be allocated to /usr/var. Do you want to choose the default file system layout? (y/n): y Making the new file system for /usr on /dev/rra0g RA92 ===== Installation der Distributionsdaten ===== Jetzt steht die Entscheidung an, welche Pakete installiert werden sollen. Ultrix hatte bereits ein eigenes Paketformat und das entsprechende Installationsprogramm **setld** dazu. Es ist sehr einfach, wahrscheinlich am ähnlichsten zu pkg_add unter NetBSD. This distribution media includes subsets for ULTRIX Worksystem Software (UWS). A UWS license (on a workstation) or a UWS Server License (on a timesharing machine or server) is required to install these subsets. Do you want to install ULTRIX Worksystem Software? y/n []: y *** SUPPORTED SOFTWARE INSTALLATION *** *** Select the DECwindows User Interface *** 1) DECwindows for OSF/Motif 2) X11/DECwindows (XUI) Enter your choice [1]: 1 *** Enter Subset Selections *** The following subsets are mandatory and will be installed automatically: * Base System * Kernel Config Files * TCP/IP Networking Utilities * Network File System Utilities * Extended (Berkeley) Mailer * OSF/Motif User Environment * X11/DECwindows Servers * X11/DECwindows 75dpi Fonts The subsets listed below are optional: 1) Printer Support Environment 2) RAND Mail Handler 3) Sys. Config. Mgmt. Program (SCAMP) 4) Communications Utilities 5) Unix-to-Unix Copy Facility 6) Maintenance Operations Protocol 7) Accounting Software 8) Kerberos Network Authentication 9) Enhanced Security Features 10) Prestoserve Utilities 11) System Exerciser Package 12) Bisynchronous Communications 13) Doc. Preparation for Ref. Pages 14) Doc. Preparation Extensions 15) Adobe Font Metric Files 16) Software Development Utilities 17) Source Code Control System 18) Internationalization Runtime Env. 19) Internationalization Dev. Env. 20) CDA Base System 21) CDA Software Dev Libraries 22) RPC Runtime Environment 23) RPC Development Environment 24) Pascal Development Package 25) VAX C/ULTRIX 26) Ref. Pages for Sys. Admin. & Users 27) Reference Pages for Programers 28) Programming Examples 29) Ultrix SPDS 30) Additional OSF/Motif Apps. 31) DECwindows OSF/Motif Mail 32) OSF/Motif Development Env. 33) OSF/Motif Reference Pages 34) OSF/Motif System Management Tools 35) X11/DECwindows 100dpi Fonts 36) VS35XX X11/DECwindows Fonts 37) All mandatory and all optional subsets 38) Mandatory subsets only 39) Exit without installing subsets Enter your choice(s): 37 Working....Sat Nov 4 19:52:32 EST 1995 You are installing the following subsets: Base System Kernel Config Files TCP/IP Networking Utilities Network File System Utilities Extended (Berkeley) Mailer OSF/Motif User Environment X11/DECwindows Servers X11/DECwindows 75dpi Fonts Printer Support Environment RAND Mail Handler Sys. Config. Mgmt. Program (SCAMP) Communications Utilities Unix-to-Unix Copy Facility Maintenance Operations Protocol Accounting Software Kerberos Network Authentication Enhanced Security Features Prestoserve Utilities System Exerciser Package Bisynchronous Communications Doc. Preparation for Ref. Pages Doc. Preparation Extensions Adobe Font Metric Files Software Development Utilities Source Code Control System Internationalization Runtime Env. Internationalization Dev. Env. CDA Base System CDA Software Dev Libraries RPC Runtime Environment RPC Development Environment Pascal Development Package VAX C/ULTRIX Ref. Pages for Sys. Admin. & Users Reference Pages for Programers Programming Examples Ultrix SPDS Additional OSF/Motif Apps. DECwindows OSF/Motif Mail OSF/Motif Development Env. OSF/Motif Reference Pages OSF/Motif System Management Tools X11/DECwindows 100dpi Fonts VS35XX X11/DECwindows Fonts Is this correct? (y/n): y Die Installation wird eine Weile dauern. Das Installationsprogramm druckt dabei regelmäßig seinen Status aus, damit es ersichtlich ist, dass das Programm noch ausgeführt wird. Base System (ULTBASE450) Copying from /mnt/VAX/BASE (disk) Working....Sat Nov 4 19:53:41 EST 1995 Verifying Working....Sat Nov 4 19:55:23 EST 1995 Kernel Config Files (ULTBIN450) Copying from /mnt/VAX/BASE (disk) Working....Sat Nov 4 19:55:56 EST 1995 Verifying ... Irgendwann muss die Installation des generischen Kernels und des X11-Subsystems bestätigt werde.: ... X11/DECwindows 100dpi Fonts (UWSFONT15450) Copying from /mnt/VAX/BASE (disk) Working....Sat Nov 4 20:25:15 EST 1995 Verifying VS35XX X11/DECwindows Fonts (UWS3DFONT450) Copying from /mnt/VAX/BASE (disk) Working....Sat Nov 4 20:26:05 EST 1995 Verifying The installation software has successfully installed the software subsets. Installing Upgrade subsets The following subsets will be installed: * X11/DECwindows Servers Upgrade * Generic Kernel Do you wish to continue? (y/n): y X11/DECwindows Servers Upgrade (UWSSER451) Copying from /mnt/VAX/BASE_UPGRADE (disk) Verifying Generic Kernel (ULTGENVMUNIX451) Copying from /mnt/VAX/BASE_UPGRADE (disk) Verifying The installation procedure has successfully installed the Upgrade subsets Die Basisinstallation ist vorüber, jetzt wird der Kernel konfiguriert. ===== Kernelkonfiguration ===== Es muss ausgewählt werden, welche Funktionen im Kernel enthalten sein sollen. *** CONFIGURATION FILE KERNEL OPTION SELECTION *** Selection Kernel Option --------------------------------------------------------------- 1 Local Area Transport (LAT) 2 Bisynchronous Communication protocol (VAX only) 3 Computer Interconnect (CI) network 4 Diagnostic/Utilities Protocol (DUP) 5 ISO9660 File System Support (CDFS) 6 Ethernet Packet Filter 7 Enhanced Security Features 8 All of the above 9 None of the above ---------------------------------------------------------------- Enter the selection number for each kernel option you want. For example, 1 3 : In diesem Fall werden Option 2 (Diese gilt nur für die Remote-Terminals 2780 und 3780) und 3 (SIMH emuliert keine Cluster-Hardware) nicht benötigt. Alle anderen Optionen (1, 4, 5, 6 und 7) sind wahrscheinlich sicher. Enter the selection number for each kernel option you want. For example, 1 3 : 1 4 5 6 7 You specified the following kernel options: Local Area Transport (LAT) Diagnostic/Utilities Protocol (DUP) ISO9660 File System Support (CDFS) Ethernet Packet Filter Enhanced Security Features Is this correct? (y/n) [n]: y *** SYSTEM CONFIGURATION PROCEDURE *** Configuration file complete. Do you want to edit the configuration file? (y/n) [n]: n *** PERFORMING SYSTEM CONFIGURATION *** working ..... Sat Nov 4 21:13:13 EST 1995 working ..... Sat Nov 4 21:15:13 EST 1995 *** DEVICE SPECIAL FILE CREATION *** working ..... Sat Nov 4 21:15:25 EST 1995 *** SOFTWARE INSTALLATION PROCEDURE COMPLETE *** The following files were created during the installation procedure: /vmunix - customized kernel /genvmunix - generic kernel /usr/adm/install.log - installation log file /usr/adm/install.FS.log - file systems log file /usr/adm/install.DEV.log - special device log file Enter the following boot sequence at the console mode prompt after the installation software halts the processor: >>> b dua0 syncing disks... done ?06 HLT INST PC = 800985B5 Die Ultrix-Installation ist nun im Wesentlichen abgeschlossen. ===== Hinzufügen der nicht unterstützten Sets ===== Jetzt befinden sich einige weitere Softwareteile auf der CD-ROM in einem Verzeichnis, das als nicht unterstützt bezeichnet wird. Diese sollen auch installiert werden. Zuerst muss das System neu gestartet werden. >>>boot dua0 (BOOT/R5:0 DUA0 2.. -DUA0 1..0.. Ultrixboot - V4.5 Sun Sep 17 13:03:13 EDT 1995 Loading (a)vmunix ... Sizes: text = 741572 data = 124928 bss = 643384 Starting at 0x2c19 ULTRIX V4.5 (Rev. 47) System #1: Sat Nov 4 21:15:16 EST 1995 real mem = 67043328 avail mem = 56738816 using 1636 buffers containing 6704128 bytes of memory KA655 processor with an FPU CPU microcode rev = 6, processor firmware rev = 83 Q22 bus uda0 at uba0 uq0 at uda0 csr 172150 vec 774, ipl 17 klesiu0 at uba0 uq16 at klesiu0 csr 174500 vec 770, ipl 17 qe0 at uba0 csr 174440 vec 764, ipl 17 qe0: DEC DELQA Ethernet Interface DEQNA-lock Mode, hardware address 08:00:2b:04:14:04 lp0 at uba0 csr 177514 vec 200, ipl 17 ra1 at uq0 slave 1 (RA92) ra2 at uq0 slave 2 (RRD40) ra0 at uq0 slave 0 (RA92) Sun Nov 5 22:24:38 MET 1995 Automatic reboot in progress... /dev/ra0a: 685 files, 6152 used, 9399 free (159 frags, 1155 blocks, 1.0% fragmentation) /dev/rra0g: umounted cleanly Warning Creating new license database Warning creating new history file check quotas: done. savecore: checking for dump...dump does not exist local daemons: syslog sendmail. Removing remnant Opser files preserving editor files clearing /tmp standard daemons: update cron accounting network snmpd printer. start errlog daemon - elcsd Sun Nov 5 22:24:43 MET 1995 ULTRIX V4.5 (Rev. 47) (MicroVAX3900) login: root Password: ULTRIX V4.5 (Rev. 47) System #1: Sat Nov 4 21:15:16 EST 1995 UWS V4.5 (Rev. 6) Digital Equipment Corporation Nashua, New Hampshire *** SOFTWARE INSTALLATION PROCEDURE COMPLETE *** The following files were created during the installation procedure: /vmunix - customized kernel /genvmunix - generic kernel /usr/adm/install.log - installation log file /usr/adm/install.FS.log - file systems log file /usr/adm/install.DEV.log - special device log file # Es muss dazu die Ultrix CD-ROM gemountet werden. Um die nicht unterstützten Pakete installieren zu können, wird das Programm setld verwendet. Der Einfachheit halber erst einmal einfach (wieder) alles installieren. # mount -r /dev/ra2c /mnt # cd /mnt/VAX/UNSUPPORTED # ls DXVUNDEMO450 ULXDOC450 ULXINGRES450 ULXRCS450 ULXUNMAN450 ULXAPL450 ULXEDIT450 ULXLEARN450 ULXSHELLS450 ULXUNMIT450 ULXBASE450 ULXF77450 ULXLISP450 ULXSPMS450 ULXVARIAN450 ULXBIB450 ULXGAMES450 ULXMAN450 ULXTERM450 instctrl ULXCOURIER450 ULXHYPER450 ULXMOD2450 ULXTOOLS450 ULXCPM450 ULXICON450 ULXNEWS450 ULXUNEXAMP450 ULXDCMT450 ULXINET450 ULXNOTES450 ULXUNFONTS450 # setld -l . *** Enter Subset Selections *** The subsets listed below are optional: 1) Base Extension 2) GNU Emacs 3) TCP/IP Networking Util Extension 4) Additional Terminal Drivers 5) Document Preparation Software 6) Games and Diversions 7) Supplementary Documentation 8) Bibliographic Utilities 9) Remote Procedure Call Compiler 10) Aux. Command Line Interpreters 11) USENET News Interface Software 12) Notesfiles Package 13) Revision Control System 14) Misc. User-Contributed Utilities 15) Computer Aided System Tutor 16) Franz Lisp Development Package 17) Modula-2 Development Package 18) Raster Plotter Package 19) APL Development Package 20) CP/M 8in Diskette Utility 21) Hyperchannel Utilities 22) ICON (Language) Development Packag 23) University Ingres QUEL DBMS 24) Software Project Management System 25) Unsupported Fortran Utilities 26) Unsupported On-Line Documentation 27) Unsupported X11 Components 28) Unsupported DECwindows Examples 29) Unsupported MIT Fonts 30) Unsupported X11 Reference Pages 31) Unsupported OSF/Motif Demos 32) All mandatory and all optional subsets 33) Mandatory subsets only 34) Exit without installing subsets Enter your choice(s): 32 Working....Sun Nov 5 22:35:25 MET 1995 You are installing the following subsets: Base Extension GNU Emacs TCP/IP Networking Util Extension Additional Terminal Drivers Document Preparation Software Games and Diversions Supplementary Documentation Bibliographic Utilities Remote Procedure Call Compiler Aux. Command Line Interpreters USENET News Interface Software Notesfiles Package Revision Control System Misc. User-Contributed Utilities Computer Aided System Tutor Franz Lisp Development Package Modula-2 Development Package Raster Plotter Package APL Development Package CP/M 8in Diskette Utility Hyperchannel Utilities ICON (Language) Development Package University Ingres QUEL DBMS Software Project Management System Unsupported Fortran Utilities Unsupported On-Line Documentation Unsupported X11 Components Unsupported DECwindows Examples Unsupported MIT Fonts Unsupported X11 Reference Pages Unsupported OSF/Motif Demos Is this correct? (y/n): y Base Extension (ULXBASE450) Copying from . (disk) Verifying GNU Emacs (ULXEDIT450) Copying from . (disk) Working....Sun Nov 5 22:37:04 MET 1995 Verifying TCP/IP Networking Util Extension (ULXINET450) Copying from . (disk) Verifying ... Es ist aber auch möglich, die Pakete einzeln zu installieren. #setld -l . ULXINET450 Nach einiger Zeit ist die Installation abgeschlossen und die CD-ROM sollte wieder ausgehangen werden. # cd / # umount /mnt ===== Die Netzwerk Konfiguration ===== Um das Netzwerk zu konfigurieren, muss eine statische IPv4 Adresse verwendet werden und diese in die Datei /etc/rc.local eingetragen werden. In Ultrix gibt es kein ifconfig n-a. Es muss netstat -i verwendet werden. # netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll qe0* 1500 none none 0 0 0 0 0 lo0 1536 loop localhost 1 0 1 0 0 # ifconfig qe0 192.168.0.11 netmask 255.255.255.0 up # route add default 192.168.0.1 1 add net default: gateway 192.168.0.1 # ping 192.168.0.1 192.168.0.1 is alive DNS-Lookups funktionieren normalerweise nicht sofort. Es ist eine einfache Datei /etc/resolv.vonf mit folgendem Inhalt zu erstellen.: domain lan.local nameserver 192.168.0.1 Wird dann aber versucht, eine nslookup-Abfrage durchzuführen, so wird eine Fehlermeldung angezeigt. # nslookup www.google.com *** Can't find server name for address 192.168.0.1: Not implemented *** Default servers are not available Das Problem ist, dass ULTRIX sogenannte inverse Abfragen sendet (nicht zu verwechseln mit den bekannten Reverse-Lookups, bei denen es sich eigentlich nur um reguläre Forward-Lookups für eine bestimmte TLD handelt), um IP-Adressen Hostnamen zuzuordnen. Die meisten DNS-Server unterstützen diese inversen Abfragen nicht mehr. Anscheinend enthielt BIND8 noch eine Option "fake-iquery", die zur Unterstützung dieser Abfragen verwendet werden könnte. Versionen vor BIND8 (4.x) unterstützten IQUERY nativ. ===== Das System sauber herunterfahren ===== Wie gewohnt kann das System heruntergefahren werden. # shutdown -h now Shutdown at 00:07 (in 0 minutes) [pid 1402] # System shutdown time has arrived syncing disks... done ?06 HLT INST PC = 8009252D >>> ===== Eigenes Verzeichnis für Systembenutzer root erstellen ===== Der Ordnung halber bekommt der Systembenutzer root ein eigenes Verzeichnis, wie es in den modernen BSD- und Linux-Distributionen auch der Fall ist. Damit bleibt das eigentliche Wurzelverzeichnis sauber. # mkdir /root # mv /.cshrc /root/.cshrc # mv /.login /root/.login # mv /.profile /root/.profile In Ultrix gibt es die Datei /etc/shadow für das verschlüsselte Ablegen der Passwörter der einzelnen Benutzer nicht. Dies legt Ultrix auch mit in der Datei /etc/passwd ab. Entsprechend in der Datei den Account-Pfad abändern. # vi /etc/passwd root:/N4dJ77UzIk1I:0:1:System PRIVILEGED Account:/root:/bin/sh ... ===== Installation von Open Source GNU-Software ===== Ultrix ist bis jetzt nur ein von DEC zusammengestelltes und proprietäres Unix, das auf Funktionen vom BSD 4.3 und Unix System V Release 2 besteht und nur leider ein sehr kleines und begrenztes Subsystem an Programmen bietet. Selbst die im Ultrix implementierte Kornshell befindet sich in einer Version, die noch keine Tab-Completion und Commandline-History beherrschte. Deswegen müssen die Programme nach installiert werden. In der SIMH-Konfigurations-Datei das ISO-Image mit der Ultrix-Freeware dem CD-ROM-Laufwerk RQ2 zuordnen. Für die Ordnung wird für die gemmounteten CD-ROMs ein eigener Ordner /cdrom und für die tar-Archive der GNU-Programme der temporäre Ordner /usr/Freeware erstellt. # mkdir /cdrom # mkdir /usr/Freeware # mount -r -t cdfs /dev/ra2c /cdrom Da alle GNU-Programme auf der Freeware-CD als Archive komprimiert sind, erst die Installation des effektiveren bzip2. # cd /usr/Freeware/ # cp /cdrom/bzip2-binaries/bzip2-vax-ultrix4.5.Z /usr/Freeware/bzip2-vax-ultrix4.5.Z # uncompress bzip2-vax-ultrix4.5.Z # mv bzip2-vax-ultrix4.5 /bin/bzip2 Es ist zu empfehlen auch GNU-make und den GNU C-Compiler zu installieren. # cp /cdrom/bin-vax-ultrix4.5/console/make-3.75/make-vax-ultrix4.5.tar.bz2 /usr/Freeware/make-vax-ultrix4.5.tar.bz2 # cd /usr/Freeware/ # bzip2 -d make-vax-ultrix4.5.tar.bz2; tar xf make-vax-ultrix4.5.tar # cd make-3.75/ # make install # cp /cdrom/bin-vax-ultrix4.5/console/gcc-2.8.1/gcc-vax-ultrix4.5.tar.bz /usr/Freeware/gcc-vax-ultrix4.5.tar.bz # cd /usr/Freeware/ # bzip2 -d gcc-vax-ultrix4.5.tar.bz2; tar xf gcc-vax-ultrix4.5.tar # cd gcc-2.8.1/ # make install Im Prinzip kann jedes Paketarchiv mit "bzip2 -d archive.tar.bz2; tar xf archive.tar" dekomprimiert werden. Es ist aber auch praktischer GNU-Tar zu installieren. In Verbindung mit bzip2 wird so nur noch der Befehl "tar jxf archive.tar.bz2" benötigt. Dies wird mit GNU-Tar Version 1.13.25 und neuer unterstützt. # cp /cdrom/bin-vax-ultrix4.5/console/tar-1.13.25/tar-vax-ultrix4.5.tar.bz2 /usr/Freeware/tar-vax-ultrix4.5.tar.bz2 # cd /usr/Freeware/ # bzip2 -d tar-vax-ultrix4.5.tar.bz2; tar xf tar-vax-ultrix4.5.tar # cd tar-1.13.25/ # make install # mv /bin/tar /bin/tar.old # ln -s /usr/local/bin/tar /bin/tar Wie bereits erwähnt, ist die Kornshell unter Ultrix noch nicht komfortabel. Daher ist es sinnvoll, die Bash anstelle dieser zu benutzen. # cp /cdrom/bin-vax-ultrix4.5/console/bash-2.05/bash-vax-ultrix4.5.tar.bz2 /usr/Freeware/bash-vax-ultrix4.5.tar.bz2 # cd /usr/Freeware/ # tar jxf bash-vax-ultrix4.5.tar.bz2 # cd bash-2.05/ # make install Damit unter Ultrix die Bash als Standard-Shell des Users ausgeführt wird, muss in die .profile-Datei des jeweiligen Benutzerverzeichnisses ein Eintrag zur Ausführung der Bash beim Login hinzugefügt werden. # vi ~/.profile .. /usr/local/bin/bash Allerdings sorgt das dafür, dass bei dem Ausführen des Kommandos exit erst die Bash beendet wird. Erst durch die zweite Eingabe von exit wird der Logout initiiert. Auf diesem Weg lassen sich noch weitere Programme installieren. Bei Programmen wie den Midnight Commander befindet sich in dem Tar-Archiv aber nicht der Source Code, sondern nur die fertig gestellten Binaries und Bibliotheksdateien mit der absoluten Pfadangabe als Ordnerstruktur. Letztendlich müssen also nur die Dateien entsprechend in das System kopiert werden. ===== Benutzer anlegen ===== Standardmäßig werden unter Ultrix die Verzeichnisse der einzelnen Benutzer in das Verzeichnis /usr/users/ angelegt. Um einen Benutzer anlegen zu können, gibt es das Commando /etc/adduser. Da es sich dabei um ein dialogbasiertes Programm handelt, sind keine Parameter mit anzugeben. ===== Ausführen von DECwindows Motif ===== Auf dem Hostsystem ist dafür das Paket für den Display-Server Xephyr zu installieren. # apt-get install xserver-xephyr Unter Ultrix ist die Datei /usr/lib/X11/xdm/Xsession wie folgt zu ändern.: #!/bin/sh exec > $HOME/.xsession-errors 2>&1 case $# in 1) case $1 in failsafe) exec xterm -geometry 80x24-0-0 ;; esac esac startup=$HOME/.xsession resources=$HOME/.Xresources if [ -f $startup ]; then exec $startup else if [ -f $resources ]; then xrdb -load $resources fi exec /usr/bin/dxsession fi Danach noch praktikabler weise einen Symlink zu xdm erstellen, damit startx direkt von dem User root ausgeführt werden kann. # ln -s /usr/bin/X11/xdm /root/startx Wenn nun DECwindows ausgeführt werden soll, dann dieses durch startx initiieren. # ./startx Auf dem Linux-Host ist dann Xephyr wie folgt zu starten. $ Xephyr -screen 980x640 -ac -query 192.168.0.11 :3 ===== Links ===== * https://astr0baby.wordpress.com/2019/03/16/running-vax-ultrix-4-5-on-simh/ * http://gunkies.org/wiki/Installing_Ultrix_4.5_on_SIMH * https://web-docs.gsi.de/~kraemer/COLLECTION/ULTRIX/wwwpdp.web.cern.ch/wwwpdp/as/file/doc/ultrix/ultrix_toc.html#SEC60 * http://www.xanthos.se/~joachim/