OpenVMS 9.2 for x86: Auto boot, licenses, PAKs, networking and SSH
raymii.org
raymii.org
I was assigned to port the Bad Block Detector (BADBLK? I don't remember exactly) to the 64 bit architecture. The 'port' turned out to be change the build files to use the correct compiler and flags. I don't remember if the tool was written in PL/1, Bliss or VAX assembler, but we had compilers (yes, even for VAX 32 bit assembler) for all of them. The interesting part was the testing.
A Bad Block Detector is a piece of software that watches for disk blocks going bad, and remaps them to spare capacity (your spinning rust disk is lying about its size - don't know if this is true for SSDs). It might even try to copy data from the failing blocks to the remapped space if there's time. More modern h/w does this in the firmware on the drive. It's transparent to the OS. Testing this behaviour is... challenging.
Recipe: Test the Bad Block Detector
Serves: millions
Time: A couple of hour elapsed
Ingredients:
- a VAXstation - i.e. a biggish desktop machine that can run Alpha emulation well enough for our purposes. All of its disks are connected on a SCSI bus.
- a 3.5inch floppy drive with a SCSI connection (yes, you read that right)
- a box of 3.5 inch disks
- a paperclip
Method:
Boot emulated environment. Set cross compiled Bad Block Detector running. It watches for 'interesting' disk related events.
Insert floppy disk. Note the Bad Block Detector does nothing (because disk has no bad blocks.)
Take paperclip in right hand.
Take fresh disk in left hand. With pinky finger, push back the sliding cover that protects the delicate rusty surface.
Using paperclip, gouge a few hundred kilobytes of damage into rusty surface.
Replace good disk with scratched disk.
Watch console for proof that Bad Block Detector woke up, spotted the badness, and remapped its little heart out.
Serve to delighted and amazed customers.
Loose billions of dollars, arrange purchase by Compaq, rinse, repeat.
Intel is having a heck of a time now getting rid of that campus in Hudson. They're trying to sell it to Portman Industrial, who want to redevelop it as a warehouse and trucking facility. But folks at the abutting senior living developments have put up a huge stink, suing Intel and the town and picketing on the street outside the location.
Bob apparently hired Bricklin (the visicalc guy) at DEC. Hi bob if you're out there!
DEC showed how long a company could survive on inertia alone.
It is, but it is handled in firmware now, just like in newer HDDs.
- GMT
- GMT-0
- GMT for a second time
- GMT0
- GMTPLUS0
- GREENWICH
- UCT
- UNIVERSAL
- UTC
- ZULU
and "FACTORY" that likely is either UTC or a semi-random US timezone. Overall this thing has a strong enterprise smell from the eighties and nineties, and not in a good sense.Edit: on another glance, it's funny how much the linked article, online documentation and UI put emphasis on license management. We're here to make money, son!
I worked at a VMS shop for a bit during college and shortly thereafter! It's fun to play around with, but nothing I'd want to deal with full time.
Other products were labelled “Open”, not due to POSIX, but rather because they implemented the Open Systems Interconnection (OSI) protocol suite. Or Apple’s OpenDoc, which was intended as a cross-platform open standard alternative to Microsoft’s Windows-only OLE (and indeed was adopted as an open standard by OMG, albeit it didn’t last long)
Remember the term “open source” wasn’t even invented until 1998, so criticising something which was first named OpenX pre-1998 (as OpenVMS was) for not being open source is rather anachronistic
Indeed it does. In fact, Siemens used to also sell BS1000 and BS3000.
BS3000 was a rebranding of Fujitsu's MSP operating system. Fujitsu claimed that MSP was a "clone" of IBM MVS, but it turned out that they'd actually stolen a lot of the copyrighted MVS source code from IBM and made minor changes to try to hide the theft. When IBM sued Fujitsu, Siemens stopped selling BS3000; Fujitsu ended up having to pay IBM hundreds of millions in damages (and Hitachi too, who were doing the same thing independently). I don't know if IBM sued Siemens, they may have accepted their claims that they didn't know the code was stolen and were a victim of Fujitsu's lies about its origin.
Both BS2000 and BS3000 were for IBM S/370-compatible mainframe hardware (albeit only partially compatible in the case of the BS2000 machines). But while BS3000 was an illegal copy of MVS, BS2000 was a completely incompatible operating system, which Siemens had bought from RCA, being originally RCA's TSOS operating system for its RCA Spectra 70 mainframe line. Siemens' mainframe business started out first by reselling and then by licensing RCA's, but ended up surviving a lot longer than RCA's did. Like Siemens' mainframes, the Spectra 70 was compatible at the instruction set level (at least for unprivileged code, there were some incompatibilities in privileged instructions), but had an incompatible operating system–in fact the first Siemens mainframes were just rebadged RCAs, but later Siemens went on to design their own machines. Another vendor who copied the IBM S/370 ISA but with an incompatible OS was Wang (with their Wang VS machines).
BS1000 was a lower-end operating system for the same hardware, I don't know much about it. It was for the Siemens 4004, which was a rebadged RCA Spectra 70. Random fact, the computer shown in the 1971 film "Willy Wonka and the Chocolate Factory" was a Siemens 4004.
In 1990, Siemens ended up buying Nixdorf, who had their own line of operating systems for clone IBM mainframes, which Nixdorf had acquired by buying the US firm TCSC in 1980. However, shortly before the Siemens acquisition, Nixdorf decided to kill its own IBM mainframe clone business, because it wanted to focus on Unix instead. And then in 1999, Siemens transferred their computing business to a joint venture with Fujitsu, and then 10 years later Fujitsu bought Siemens out, so now BS2000 belongs to Fujitsu. BS1000 and BS3000 died years ago. Fujitsu also has the ICL VME (aka OpenVME) operating system they got by buying the UK mainframe manufacturer ICL, and they still have MSP, their stolen copy of MVS – IBM agreed they could keep on selling it in Japan if they paid compensation and licensing fees to IBM. But while Fujitsu MSP still exists in Japan, it is stuck in the 1980s, it hasn't received any new features IBM introduced post-1990, and Fujitsu never managed to keep up with IBM's advances. In 2001, MVS (or OS/390 as it had been effectively rebranded) went from 31-bit to 64-bit addressing and in the process became z/OS; Fujitsu MSP is stuck on 31-bits. (Yes, not 32, 31–IBM decided to reserve a bit for use as a flag in every memory address.)
IIRC, Nixdorf was - alongside Fujitsu - an early investor in Amdahl. Both companies went on to resell Amdahl machines under their own brands in their respective home countries. I didn't know about TCSC, though.
You may be familiar with Cutler's later work, Windows NT.
That sounds both backwards and needlessly masochistic. Glad the UNIX approach won out over that!
https://www.itprotoday.com/compute-engines/windows-nt-and-vm...
There are easy ways around this lack of official licenses. Ways that I can't/won't go in to here.
Those are on the roadmap for the 9.2-1 release though, which looks to be for "some time" in the next few months.
Will have to wait until then to look at it, as we don't have Intel processors running anywhere any more.
https://vmssoftware.com/docs/2021-04-27-x86-Compiler-Update....
In 1991 I went to a new high school and we had a VAX running VMS. I was amazed that hundreds of users could be logged into the same machine all doing their own thing. A buggy program could crash with no threat to any other program you ran or any other user running their programs. Sending email and phone / chat messages was really cool.
Then I found the Unix SunOS and AIX systems and liked them far more.
I learned that multi user systems went back decades but at the time I didn't really know and felt like something very powerful was lost going to these small personal computers with so many memory and operating system limitations. Of course learning about the vast price differences quickly made me realize why.
OTOH, freeing such a code base is costly, especially if multiple licenses cover different parts of the code or if the code contains references to stuff that you don't want to go public.
The real question is: what do they get out of offering a hobbyist license? I honestly don't think they get anything and it's just a nice gesture of goodwill. Nobody is going to pick up the hobbyist VMS license and then decide to adopt VMS at work. I bet it doesn't lead to a single extra commercial sale. It's nice that they're offering it despite that.
While I think you're probably right, having the hobbyist x86 option might help with testing and identifying bugs though, due to the larger user base.
Commoditize your complements: If you sell VMS software, it stands to reason you would like there to be people who know how to use it. Even better if you don’t have to pay the train them.
Tons of people know how to use Linux because you can just download a distro and start using it… It’s the same reason MS and Cisco have all those certificate programs.
I never understood why IBM didn’t make a hobbyist version of their mainframe OSes for Hercules.
VSI knows all of this, of course. I really don't think they intend to compete with Linux in 2023 with hobbyist licenses. That was never in the cards.
I think part of it is hoping to encourage open-source software ports over to OpenVMS.
Great article on supporting and troubleshooting and the setup of OpenVMS
I came in to his office one summer, probably to help with a Mac or PC, and was intrigued by the unique machine. He let me poke at it and look around. Not sure what I expected... some kind of mainframe kind of thing? To my surprise was a graphics terminal with the X Window system running along with the CDE desktop. Believe the main box was in a lab somewhere else. Kinda blew my mind because I had recently tried CDE out on a cheap Lintel PC I had in my office. Slackware? Maybe had seen it on a Sun as well. (Was a great place to work and learn, the "UN of computers" I called it.)
So it was familiar in that sense. Started up a character terminal and poked around. Had the crazy prompt [SYS$FOO...Bar] or something and verbose uppercase commands. Had versions numbers in the filenames after semi-colons. I think there was very good help system as well. In total, a fascinating combination of archaic sophistication.
Unfortunately, a lot of great ideas from the old days were lost in the drive to standardization. I think I preferred VMS' named volume approach also taken on Amiga, Netware, and limited in DOS/NT. (Been on Unixen for decades now, so don't hate the single root, but find it less obvious where I am.)
On the other hand, later I read ESR's take of VMS and it wasn't all that positive:
https://www.catb.org/esr/writings/taoup/html/ch03s02.html#vm...
I have been at several gigs where somebody has said, "Oh yea, that connects to a VMS system for x,y,z," and I know enough to sound competent. Still kind fun to find it out in the wild from time-to-time.
But I'll have to give this a look see, there is still some fascinate technology at work there.
But you already answered it yourself. Legacy stuff. And because it is NOT a unix system porting the legacy stuff running on it would be even more difficult.
I’m sure they’ve transitioned in the two decades since, but back then there wasn’t any off the shelf software for their purposes and it would have been an enormous time sink to port over all those old programs.
DEC’s role in the tech industry was enormous and platform transitions can’t happen overnight. OpenVMS provided DEC customers with a lifeline. (Also, VMS != Unix)
Today’s tax day in the US and my bet is that some 50 year old COBOL program running on an IBM zServer is computing over your data.
On the other hand, VAX is pretty much dead by now and I don't think VMS really was a thing on x86.
VMS has existed as a production OS on x86 for eleven months.
"OCFS2 used a distributed lock manager which resembles the OpenVMS DLM but is much simpler."
They could always get money from enterprise support.
On CDE, well, any other WM would suffice.
[Edit] Sorry was fooled by "Open"
[1] https://raymii.org/s/blog/OpenVMS_9.2_for_x86_Getting_Starte...
Wonder why they are keeping such tabs on the users of their newfangled x86 build.
Has anyone that has requested a license (Alpha/Itanium) in the last few weeks actually been able to log in to the portal?