Installing Mathematica for OS/2 Symmetrical Multiprocessing (SMP) v2.11 / HPFS386 Hack in VirtualBox

(Once the video player has started, right selecting (or 'clicking') your device (or 'mouse') will show menu option, 'Open video in new tab', which will enable larger screen size.)

Procedure to install Mathematica v2.2 for OS/2 in my local copy of the VirtualBox 7.0.12 OS/2 for SMP v2.11 with HPFS386 virtual machine hosted in my four(4) CPU / eight(8) CORE Metztli Reiser4 development environment.

Subsequently this VirtualBox vm will be uploaded to a remote server, with a Metztli Reiser4 for AMD CPUs environment, i.e., reizer4, and I will utilize VBoxManage to increase the cpu count to 16 in the headless environment.

Although the visual media is self explanatory, I included a few Mathematica for OS/2 installation procedure snapshots which may be of relevant historical interest:

Mathematica for OS/2 preliminary install screen
Mathematica for OS/2 preliminary install screen

Diskette 1 has been inserted a priori and we can see that it is executing initial installation phase:

Mathematica for OS/2 a priori inserted diskette 1 which is running
Mathematica a priori inserted diskette 1 which is running

Mathematica for OS/2 installer prompts for diskette 2:

Mathematica for OS/2 insert diskette 2
Mathematica for OS/2 insert diskette 2

Diskette 2 installer executes and proceeds with second phase of installation:

Mathematica for OS/2 diskette 2 running
Mathematica for OS/2 diskette 2 running

Mathematica for OS/2 installation routine prompts for diskette 3:

Mathematica for OS/2 insert diskette 3
Mathematica for OS/2 insert diskette 3

Diskette 3 routine of the installer picks up where the previous left of:

Mathematica for OS/2 diskette 3 running
Mathematica for OS/2 diskette 3 running

Mathematica for OS/2 installer routine prompts for diskette 4:

Mathematica for OS/2 insert diskette 4
Mathematica for OS/2 insert diskette 4

Diskette 4 carries installation past the half of the total routine:

Mathematica for OS/2 diskette 4 running
Mathematica for OS/2 diskette 4 running

Mathematica for OS/2 installer prompts for the final diskette 5:

Mathematica for OS/2 insert final diskette 5
Mathematica for OS/2 insert final diskette 5

Diskette 5 installation routine completes the Mathematica for OS/2 installation:

Mathematica for OS/2 final diskette 5 running
Mathematica for OS/2 final diskette 5 runing

Mathematica for OS/2 prompts us whether we agree with the default -named folder...

Mathematica for OS/2 default -named folder
Mathematica for OS/2 default -named folder

Or else &#59;D

Nepohualtzintzin
Nepohualtzintzin

Subsequently, a dialog informs us that Mathematica for OS/2 is installed!

Mathematica for OS/2 dialog install complete
Mathematica for OS/2 dialog install complete

Nepohualtzintzin (Ne∙pohual∙tzin∙tzin) ≈ I can compute infinitesimals -- from the Nahuatl, real Mexico - Tenochtitlan's language -- which predates the alien Anglo-Saxons / Iberian / French, etc. all, European invaders' Latin vulgar -derived dialects on this continent originally known as Ixachitlan ≈ Landmass Immensity.

OS/2 for Symmetric Multiprocessing (SMP) 16 CPU/Core version 2.11 with Mathematica: 'Klein Bottle'

Mathematica for OS/2 2.11 on SMP: 'Klein Bottle'



As an addendum to my previous 'Mathematica on OS/2 Symmetrical Multiprocessing (SMP) for v2.11 Guest in VirtualBox 16 CPU/Cores' post in Collection Ixiptli, I remembered I had seen the so-called 'Klein Bottle' in an older manual I had many Metztli  ago.1



(Once the video player has started, right selecting (or 'clicking') your device (or 'mouse') will show menu option, 'Open video in new tab', which will enable larger screen size.)


1 Notwithstanding, at that time, the front window of my car was broken and my backpack was stolen in San Francisco as I had parked, on the street, next to San Francisco State University -- and I had that manual in there.

Klein Bottle rendered in Mathematica for OS/2

Jose   ,   Mar 13 / 05:15
Categories: OS/2

OS/2 2.11 SMP Bootable CDROM 10 Minute Installation Hack into VirtualBox

There was, still is, something appealing about OS/2 -- it was ahead of its time, Warp indeed -- The Integrating Platform. I came across some relevant resources and created an OS/2 2.11 Bootable CDROM media for VirtualBox -- as I heard, through the grapevine, that it was undoable. :))

OS/2 enabled me to learn Unix by utilizing the GNU/Linux utilities ported by OS/2 hackers. Accordingly, once IBM orphaned the OS/2 -- and the executives even balked at our multiple petitions to have the OS open sourced -- the transition to Linux was relatively painless. As a matter of fact, while creating this hack I had to bring my old ported GNU/Linux utilities, alternating between OS/2 2.0, 2.1x, and even Warp 3, environments so as to alleviate the shortcoming of 640x480 resolution.

Due to the scarcity of information, I usually operate by inductive reasoning. Notwithstanding, I came across the following 'nugget':
OS/2 has supported SMP for quite a while in special editions of OS/2. The first version was 'OS/2 2.11 for Symmetrical Multiprocessing'...
The diffences between the single-processor OS/2 and the SMP version are very small: 2 APIs for controlling the CPUs, an extra index for DosQuerySysInfo() and 4 APIs for dealing with spinlocks. I know that the 'SMP addendum' mentions a lot of other things, but they are server things, not SMP things.

'OS/2 2.11 SMP' supports up to 16 processors,...
1

Yet my build of VirtualBox, from source, under a Metztli Reiser4 Debian environment can only go up to 8 processors/cores and :no: higher resolution than 640x480...

(Once the video player has started, right selecting (or 'clicking') your device (or 'mouse') will show menu option, 'Open video in new tab', which will enable larger screen size. Alternatively, the video with larger screen size may be shown in the Calli, i.e., 'Home', collection front page)

Update 12-18-2022 : my personal development computing environment can only go up to eight(8) cores; however, I installed another Oracle VirtualBox 7.0.4 -- although 'headless' -- in one of my remote Metztli Reiser4 servers. I made use of VNC to make connection and although Remmina experience a buggy pointer (or mouse) I was able to bring up the SMP Monitor. I could not delay this event as it is not everyday that an OS/2 for Symmetrical Multiprocessing (SMP) Version 2.11 is seen running on 16 CPU/Cores!

OS/2 for SMP Version 2.11 remote instance accessed via VNC

(Once the video player has started, right selecting (or 'clicking') your device (or 'mouse') will show menu option, 'Open video in new tab', which will enable larger screen size. Alternatively, the video with larger screen size may be shown in the Calli, i.e., 'Home', collection front page)


View OS/2 for SMP v2.11 Reference
View OS/2 for SMP v2.11 Reference
OS/2 for SMP v2.11 Reference at Hobbes but requires OS/2 INF VIEW.EXE utility or 'INF READER'

"

Platform Specific Drivers (PSDs)

In OS/2 for SMP V2.11, all of the platform specific code has been removed from the operating system, and placed into a Platform Specific Driver. These drivers provide an abstraction layer for the underlying hardware by allowing the operating system to call generic functions to perform platform-specific operations without worrying about the actual hardware implementation. This allows OS/2 for SMP V2.11 to support new MP hardware platforms without modifying the operating system.

PSDs are 32-bit flat DLLs specified in CONFIG.SYS by using the PSD= keyword, and must conform to the 8.3 file naming convention (e.g. PSD=BELIZE.PSD). They cannot contain either drive or path information because OS/2 cannot process such information at the stage of the startup sequence when the PSD statements are processed. The root directory of the startup partition is first searched for the specified file name, followed by the \OS2 directory of the startup partition. If drive or path information is included in a PSD statement, an error is generated.

PSD parameters may be specified after the PSD's name, and may be a maximum of 1024 characters long. The parameter string is not interpreted or parsed by OS/2, but is passed verbatim as an ASCIIZ string when the PSD's Install function is invoked.

If multiple PSD statements are encountered, OS/2 will load each PSD in the order listed in CONFIG.SYS, and call the PSD's install function. The first PSD which successfully installs will be the one OS/2 uses.

PSD statements are processed before BASEDEV, IFS, and DEVICE statements."


OS/2 UNPACK2 OS2APIC.PSD
OS/2 UNPACK2 OS2APIC.PSD

->\OS2\INSTALL\CAVERUN.PSD
->\OS2\INSTALL\OS2APIC.PSD
->\OS2\INSTALL\VIPERMP.PSD
->\OS2\INSTALL\EBI2.PSD
->\OS2\INSTALL\TRICRD.PSD
->\OS2\INSTALL\PROLIANT.PSD
->\OS2\INSTALL\WYSE.PSD
->\OS2\INSTALL\ALR.PSD

(The above are typical of middle of 1990's Compaq software bundle where OS/2 for SMP v2.11 was an option; notwithstanding, I believe that the maximum number of CPU/COREs supported was eight(8))

NOTE: If you want to acquire this OS/2 2.11 SMP Bootable CD/ISO image hack, it comes in a bottle opener USB stick:

Bottle opener USB stick
Bottle opener USB stick

and includes the IBM base OS/2 2.1 floppy images on which the hack was loosely based.

Device Drivers and MultiMedia
Device Drivers and MultiMedia

and

OS/2 2.1 installation diskettes
OS/2 2.1 installation diskettes

REFERENCES:
1 EDM/2 SMP - Symmetrical Multiprocessing

OS/2 2.11 SMP in VirtualBox 6.1.32
OS/2 2.11 SMP in VirtualBox 6.1.32

CAVEAT: I have seen some videos/statements out there where the OS2APIC.PSD is simply extracted from a higher version OS/2 for SMP and rammed in with an OS2KRNL with none or limited support for SMP, i.e., a two- CPU/Core OSKRNL with a Warp4 and/or WSeB -donated OS2APIC.PSD presented as an four(4) CPU/CORE SMP in a YouTube video out there. Well, yes, the pseudo- SMP OS/2 will experience frequent severe locks during execution. :yes: Yet, the narrator will blame those events on legacy OS/2 SMP 'instability' thus cloaking his/her technical deficiency instead of admitting that s/he is cheating -- making fraudulent claims to defame the legacy OS/2 technology! i.e.,

Hacking an OS/2 2.1 Floppy Set or CDROM Into a Bootable CDROM Media / ISO Image

(Once the video player has started, right selecting (or 'clicking') your device (or 'mouse') will show menu option, 'Open video in new tab', which will enable larger screen size. Alternatively, the video with larger screen size is shown in the Calli collection front page)




Although IBM OS/2 3.x Warp and higher indigitalizations have been hacked into bootable CDROM media / ISO images, I believe this is the first OS/2 2.x which has been morphed into such an unique entity. The procedure was not easy -- and obviously not intuitive. The work required to make the cdboot hack complete the first phase of the OS/2 2.1 installation was substantial; and once I achieved it I thought that whatever else needed to be done would be easier. I was mistaken. I had to compile an utility to search for and replace strings in the OS/2 2.1 CONFIG.SYS file at the end of the first phase of the OS/2 installation -- as I could not find an appropriate binary one in my extensive local collection of Hobbes CDROM media, etc., nor online at Hobbes site and/or elsewhere.

Had IBM released the OS/2 code as free and/or open source software (FOSS) instead of being so indifferent to the multiple petitions to do so (for instance those in which I personally took part at the OS2World site before I left the site for good -- as I had moved on to GNU/Linux Debian) the avaricious plutocrat Bill Gates' mediocre 'creation', backdoored software, idiotically named as a mundane household notion, 'windows,' would not have spread like the virus it emulates.

Generating an OS/2 2.1x bootable CD under GNU/Linux Debian -based Metztli Reiser4:

Shell

genisoimage --b boot/boot.img -c boot/boot.catalog -o os2bootcd.iso .

Generally speaking, even if your bootable two(2) disk image is successfully created, if  it can not make the transition to the OS/2 disks layout on the CD, i.e., can not detect it due an older driver like IBM1S506.ADD (see snapshot below), the boot procedure will stop with the output:

The system cannot find the file "A:\COUNTRY.SYS". This device driver, program, or data file is not located in the default path or the path specified for it in the CONFIG.SYS file. Install this file in the correct directory, or correct the appropriate CONFIG.SYS file statement.

The system is stopped.

Correct the preceding error and restart the system.

OS/2 2.1.x Bootable CD error due to older IBM1S506.ADD
OS/2 2.1.x Bootable CD error due to older IBM1S506.ADD
OS/2 PROGRAMER'S DESK REFERENCE pg. 425
OS/2 PROGRAMER'S DESK REFERENCE pg. 425
OS/2 PROGRAMER'S DESK REFERENCE pg. 426
OS/2 PROGRAMER'S DESK REFERENCE pg. 426

Shell

cmd /"PACK bundle.list bundle /L"

If, unlike myself, you are not using the Korn Shell under OS/2, then the command delimited by double quotes is sufficient.
OS/2 PACK a list of files
OS/2 PACK a list of files
OS/2 PROGRAMER'S DESK REFERENCE pg. 427
OS/2 PROGRAMER'S DESK REFERENCE pg. 427
OS/2 PROGRAMER'S DESK REFERENCE pg. 428
OS/2 PROGRAMER'S DESK REFERENCE pg. 428

CONVERT FROM 2.1 BASE VIDEO INTO 3.0 BASE VIDEO IN ORDER TO TAKE ADVANTAGE OF THE MONITOR CONFIGURATION FEATURE OF THE 3.0 SYSTEM ICON

  • Hint 4)
    Display driver reference lists the binary files that compose the base video subsystem and explains the difference in the installation between 3.0 and 2.1. Search for VIDEOCFG to see all references.
  • i.e.,
    MONITOR.DIF
    VCFGINST.EXE
    VCFGMRI.DLL
    VIDEOCFG.206 (To be renamed as VIDEOCFG.DLL when copied over to OS/2 v2.11)
    VIDEOCFG.DLL (This is for OS/2 Warp 3)
    VIDEOPMI.DLL
    WPVIDSYS.DLL
Convert from OS/2 v2.1 BASE VIDEO into 3.0 BASE VIDEO
Convert from OS/2 v2.1 BASE VIDEO into 3.0 BASE VIDEO


Dual-booting with OS/2 for SMP v2.11 and Warp 3 Connect Uni-Processor.
Caveat: If using a single CPU/CORE, then the CONFIG.SYS FOR OS/2 for SMP v2.11 must have disabled the statement
PSD=OS2APIC.PSD /APIC
i.e.,
REM PSD=OS2APIC.PSD /APIC

else, it will not dual-boot with an OS/2 Uni-Processor in a VirtualBox 7.0.14 (currently being used).

VGA from GRADD077 works in OS/2 v2.11
VGA from GRADD077 works in OS/2 v2.11

REFERENCES:
Creating bootable CD-ROMs
(work in progress)