s390guy / vm370

35 stars 10 forks source link

Add UTS support in the same skeleton manner as TK4- and DOSVS #33

Open jgeorge44 opened 3 years ago

jgeorge44 commented 3 years ago

Opening this one for comments, but if there's interest, I'll do it. I pretty much have it done already.

I'd like to add skeleton support for Amdahl UTS in the same way we have for TK4- and DOSVS in the current release - unzip the distribution into the VMCE home dir, and the config and DIRECT will have proper pointers to "just work(tm)" if the DASD is there.

I have this set up on my system now, including a couple of lines of cuteness in AUTOLOG1 that will CP ATTACH the necessary UTS volumes and autostart UTS if the volumes exist, but will ignore all of it if the UTS DASD isn't attached.

If this is anything anyone other than me would want, I can post the diffs here for consideration.

jgeorge44 commented 3 years ago

eh

USER DIRECT A addendum

*********************************************************************** USE04160
* UTS IS A V6 UNIX SYSTEM FOR VM/370                                  * USE04170
*********************************************************************** USE04180
USER UTS AMDAHL 6M 6M G                                                 USE04190
 OPTION ECMODE REALTIMER BMX                                            USE04200
 IPL 220                                                                USE04210
 CONSOLE 009 3215                                                       USE04220
 SPOOL 00C 2540 READER *                                                USE04230
 SPOOL 00D 2540 PUNCH A                                                 USE04240
 SPOOL 00E 1403 A                                                       USE04250
 MDISK 150 3330 000 404 UTSSYS WR AMDAHL AMDAHL                         USE04260
 MDISK 151 3330 000 404 UTSUSR WR AMDAHL AMDAHL                         USE04270
 MDISK DD0 3330 001 050 UTSSYS WR AMDAHL AMDAHL                         USE04280
 MDISK 550 3330 051 050 UTSSYS WR AMDAHL AMDAHL                         USE04290
 MDISK 110 3330 101 050 UTSSYS WR AMDAHL AMDAHL                         USE04300
 MDISK 220 3330 151 060 UTSSYS WR AMDAHL AMDAHL                         USE04310
 MDISK 330 3330 211 160 UTSSYS WR AMDAHL AMDAHL                         USE04320
 MDISK 660 3330 371 030 UTSSYS WR AMDAHL AMDAHL                         USE04330
 MDISK 770 3330 001 403 UTSUSR WR AMDAHL AMDAHL                         USE04340

AUTOLOG1 PROFILE EXEC diff

CP LIFO Q 358
&READ VARS &DASD &CUU &VOLSER
&IF .&VOLSER EQ .OFFLINE GOTO -NOUTS
CP ATTACH 358 TO SYSTEM AS UTSSYS
CP ATTACH 359 TO SYSTEM AS UTSUSR
CP AUTOLOG UTS      AMDAHL AUTOUTS
-NOUTS
CP WNG OPERATOR AUTOLOG1 DONE - LOGGING OFF

vm370ce.conf addendum

#########################################################################
# Dedicated DASD devices for Rene Ferland's release of Amdahl UTS
# (UNIX V6 for VM/370) as a guest operating system.
# Download the DASDs from:
# https://drive.google.com/file/d/1FpfcfCBfzvhgykktedLbHPqWnu-Lg79P/view
# Unzip the uts.zip file within the current VM370CE installation home
# directory and the files will install into the uts/ directory.
0358    3330     uts/dasd/utssys.150
0359    3330     uts/dasd/utsusr.151

need to add doc somewhere for root/root and guest/pass4u accounts and that 'autouts' is the system name at UTS boot.

g4ugm commented 3 years ago

Is UTS now available freely. Personally I would ONLY put in Operating Systems that are available withour licence.

jgeorge44 commented 2 years ago

Also, I've noticed that the 3330 UTS images moshix posted are non-compressed, and don't seem to work with shadow files. I've copied them over to cckd and added shadow support, so if adding a UTS "drop in" like we have for tk4- is still an option for a future release, i'll post my changes here.

jgeorge44 commented 2 years ago

I posted a file "uts-vmce.zip" at https://groups.io/g/h390-vm/files/uts-vmce.zip that drops in to VMCE with a few config file changes within the system (AUTLOG1 profile and the directory). The changes can be added to the system and will have no effect if the UTS dasd and hercules config aren't added, so it'll add into VMCE similarly to TK4- does.

BobBolch commented 2 years ago

UTS was added from this download.

BobBolch commented 2 years ago

I have too many questions about UTS, including the licensing, so I am leaving this out of 1.1.2, to be revisited for a later release.