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' vulgar Latin -derived dialects on this stolen continent originally known as Ixachitlan ≈ Landmass Immensity.

Ce Mathematica v2.2 for OS/2
Ce Mathematica v2.2 for OS/2
Ome Mathematica v2.2 for OS/2
Ome Mathematica v2.2 for OS/2
Eyi Mathematica v2.2 for OS/2
Eyi Mathematica v2.2 for OS/2
Nahui Mathematical v2.2 for OS/2
Nahui Mathematical v2.2 for OS/2
Macuilli Mathematical v2.2 for OS/2
Macuilli Mathematical v2.2 for OS/2
Chiucuace Mathematical v2.2 for OS/2
Chiucuace Mathematical v2.2 for 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=TENOCHCA.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 Warp 3 server (vanilla or Advanced), Warp 4, and/or WSeB, -donated OS2APIC.PSD being presented as an four(4) CPU/CORE SMP in a YT video out there (hint &#59;) . 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., YT video fragment: