News for hackers. Stuff that matters.
Re:State of the OpenVMS Port to x86_64 [pdf] by dmm on Wednesday October 12, 2016 @12:07PM (#12694077)
I have a bad habit where instead of doing something relevant I play with old stuff I read about but didn't have access to as a kid.

VMS always interested me since I first read about it in the jargon file. I recently found an alphaserver on craigslist and I just requested an openvms hobbyist license so I could play with it.

An octane running irix is another expression of this problem.

Re:State of the OpenVMS Port to x86_64 [pdf] by laurentdc on Wednesday October 12, 2016 @12:11PM (#12694116)
Nothing wrong with that, you simply suffer from retrocomputing.

Careful about the power bill though. Large SGI stuff (e.g. Onyx) can go in the kilowatt range under load, and an AlphaServer idles at around 200W last time I checked.

IT was no green back then :)

Re:State of the OpenVMS Port to x86_64 [pdf] by krylon on Wednesday October 12, 2016 @02:19PM (#12695289)
> you simply suffer from retrocomputing

I love the way you phrase that! (I do suffer from that condition, too, in a way, if "suffer" is the word I want - but in my case it is select pieces of obsolete equipment sitting on my bookshelf. My favorite is an ancient IBM ISDN adapter (it still says 1TR6 instead of EDSS1 somewhere on the case) that once hooked up a mainframe to the outside world... ;-)

Re:State of the OpenVMS Port to x86_64 [pdf] by djsumdog on Wednesday October 12, 2016 @02:50PM (#12695519)
A friend of mine had an old Alpha years ago; was running NT4 on it. You'd watch the lights dim slightly when it turned on. I don't know the model, but the thing was huge.
Re:State of the OpenVMS Port to x86_64 [pdf] by trentnelson on Wednesday October 12, 2016 @01:12PM (#12694698)
My ES40 (4 x 667MHz 21264s) consumes 16A @ 110V. Most 110V US circuits are 10A.

I blew at least three fuses between that and the RX5670 (4 x Itanium), which consumed a similar amount of power @ 110V.

Re:State of the OpenVMS Port to x86_64 [pdf] by krylon on Wednesday October 12, 2016 @02:20PM (#12695295)
On the upside, depending on where you live, you probably save a lot of money on heating... ;-)
Re:State of the OpenVMS Port to x86_64 [pdf] by mtanski on Wednesday October 12, 2016 @04:42PM (#12696276)
Is there a EnergyGuide heating furnace efficiency score for the ES40?
Re:State of the OpenVMS Port to x86_64 [pdf] by lfowles on Wednesday October 12, 2016 @05:22PM (#12696516)
Resistance heating is pretty poor compared to heat pumps.
Re:State of the OpenVMS Port to x86_64 [pdf] by mtanski on Wednesday October 12, 2016 @08:31PM (#12697488)
That's the joke that I was trying to make.
Re:State of the OpenVMS Port to x86_64 [pdf] by krylon on Thursday October 13, 2016 @03:46PM (#12703481)
I think I remember reading or overhearing that Intel's chips somewhere in the Pentium 4 era were more efficient at converting electricity to heat than a typical hotplate. (Ratio-wise, at least.)
Re:State of the OpenVMS Port to x86_64 [pdf] by ams6110 on Wednesday October 12, 2016 @11:56PM (#12698311)
Household circuits are generally 15A or 20A AFAIK. Never seen one as low as 10.
Re:State of the OpenVMS Port to x86_64 [pdf] by trentnelson on Thursday October 13, 2016 @12:10AM (#12698356)
Hmmm. Maybe it was 15A. A 16A ES40 plus other stuff plugged in to the same circuit would have happily blown 15A under load, I guess.
Re:State of the OpenVMS Port to x86_64 [pdf] by planteen on Wednesday October 12, 2016 @09:22PM (#12697699)
> An octane running irix is another expression of this problem

I dreamed of having a SGI after watching Jurassic Park as a child. I also remember my dad bringing me home a VHS of SIGGRAPH circa 1995 and dreaming about time on a SGI. Time to check Craigslist, I think. :)

Re:State of the OpenVMS Port to x86_64 [pdf] by trentnelson on Wednesday October 12, 2016 @12:43PM (#12694393)
Re:State of the OpenVMS Port to x86_64 [pdf] by sedachv on Wednesday October 12, 2016 @04:54PM (#12696349)
AFAIK Theo de Raadt still has a bunch of racks of vintage hardware working as an OpenBSD build cluster in his basement (old photo circa 2009: http://www.openbsd.org/images/rack2009.jpg). VMS-related, OpenBSD discontinued the VAX port in the 6.0 release this year. Never touched a VAX but from what I read the OpenBSD 5.8 VAX port is a lot more recent and better maintained than the NetBSD port.
Re:State of the OpenVMS Port to x86_64 [pdf] by trentnelson on Thursday October 13, 2016 @12:10AM (#12698359)
We had very similar setups :-)
Re:State of the OpenVMS Port to x86_64 [pdf] by unixhero on Thursday October 13, 2016 @12:26AM (#12698409)
Then you will like this YouTube channel https://m.youtube.com/user/jpkiwigeek?
Re:State of the OpenVMS Port to x86_64 [pdf] by agumonkey on Wednesday October 12, 2016 @03:05PM (#12695625)
I just bought an 1989 HP48SX, hi.
Re:State of the OpenVMS Port to x86_64 [pdf] by laurentdc on Wednesday October 12, 2016 @11:27AM (#12693722)
As an old time OpenVMS user (on VAX DECstations first and on AlphaServer later) I'm looking forward to this.

I doubt it will ever come even remotely close to a "mainstream" OS, but Alpha to x86 is a much better migration path than Alpha to Itanium.

And yes, there are still many OpenVMS installs out there in the wild, from airport logistics to assembly lines, so this may make sense from a financial standpoint (versus a complete software rewrite for Linux/AIX/whatever) - provided they can market it well enough to the old users.

Re:State of the OpenVMS Port to x86_64 [pdf] by chx on Wednesday October 12, 2016 @11:31AM (#12693760)
Don't forget nuclear plants running PDP-11/VMS until 2050. http://www.theregister.co.uk/2013/06/19/nuke_plants_to_keep_...
Re:State of the OpenVMS Port to x86_64 [pdf] by dboreham on Wednesday October 12, 2016 @12:03PM (#12694041)
The article is about PDP-11 computers (16-bit, 1M max memory, from the 1970s) which never ran VMS (runs on 32-bit VAXes with 4M+ memory from the 1980s). I don't know why the author mentions OpenVMS in the Updates section because it isn't mentioned anywhere in the article body.
Re:State of the OpenVMS Port to x86_64 [pdf] by _kst_ on Wednesday October 12, 2016 @11:51AM (#12693930)
It's not entirely clear from the article, but I don't believe the PDP-11s are running VMS. As far as I know VMS has never been ported to the PDP-11.
Re:State of the OpenVMS Port to x86_64 [pdf] by laurentdc on Wednesday October 12, 2016 @11:58AM (#12693992)
Yeah, they're likely running RT-11 or RSX-11.

I wonder if the hardware is original and they simply have plenty of spares, or if boards are rebuilt with discrete logic or FPGAs/CPLDs as they break down.

Re:State of the OpenVMS Port to x86_64 [pdf] by akg_67 on Wednesday October 12, 2016 @03:42PM (#12695880)
I personally worked with VMS/VAX/Alpha based systems for nuclear power plant simulators, process control for petrochemical, plastics, chemicals oil & gas, semiconductor facilities till 2002. Still get requests for consulting primarily on system/program conversion projects from VMS/Fortran variants to Windows/Unix/C variants.
Re:State of the OpenVMS Port to x86_64 [pdf] by djsumdog on Wednesday October 12, 2016 @02:49PM (#12695511)
I remember learning about nuclear power plants and VMS back when I was in university. I was told they were used for the nuclear sensor networks though.
Re:State of the OpenVMS Port to x86_64 [pdf] by kjs3 on Wednesday October 12, 2016 @12:06PM (#12694073)
VMS never ran on the PDP-11. That article is talking about 2 different things (running PDP-11s and HPs stance on VMS).
Re:State of the OpenVMS Port to x86_64 [pdf] by SixSigma on Sunday October 16, 2016 @06:38PM (#12721451)
Hard to find a comment by you not in oblivion but I'm trolling for nobody :

Former NSA staffer and famous whistleblower, William Binney, says the DNC hack was not done by Russia but by US Intelligence.

http://investmentwatchblog.com/nsa-whistleblower-says-dnc-ha...

Re:State of the OpenVMS Port to x86_64 [pdf] by SixSigma on Monday October 17, 2016 @07:09AM (#12724018)
what ?

make youself clear

Re:State of the OpenVMS Port to x86_64 [pdf] by tkinom on Wednesday October 12, 2016 @04:07PM (#12696046)
No stuxnet, less worry about someone's USB key from home might infect the computer. :-)
Re:State of the OpenVMS Port to x86_64 [pdf] by pvg on Wednesday October 12, 2016 @03:59PM (#12695997)
Nerdnit, I don't think DECstatations were (or were ever called) VAX. They were MIPS-based machines and I don't think they ever ran VMS. There was VAXStations, though, which did.
Re:State of the OpenVMS Port to x86_64 [pdf] by SloopJon on Wednesday October 12, 2016 @12:58PM (#12694548)
I work with an old DEC guy who co-wrote a book about the BLISS compiler back in the day. He thought it made a much better "portable assembly language" than C.

He also likes to talk about the binary compatibility on VMS; e.g., VAX binaries that run unchanged on Itanium. Unfortunately, that commitment to compatibility has wavered a bit since HP offshored VMS maintenance. We've had to work around some breaking changes recently.

If I'm understanding these slides correctly, AMD64 VMS would require recompiling VAX, Alpha, and Itanium applications from source. I kind of see a chicken-and-egg problem: application vendors won't port without demand, and customers won't adopt without applications.

Re:State of the OpenVMS Port to x86_64 [pdf] by loph on Wednesday October 12, 2016 @01:30PM (#12694874)
DEC had a tool called VEST which was used to take native VAX binaries and convert them to run on Alpha AXP. It was very cool technology. A fair amount of the system utilities for OpenVMS on AXP were VESTed VAX binaries. I'm pretty sure the EDT editor was one of these.

The VEST technology could possibly be used to convert native VAX binaries to run on X86_64, I don't know for sure how the endian-ness would be dealt with.

Re:State of the OpenVMS Port to x86_64 [pdf] by SloopJon on Wednesday October 12, 2016 @05:50PM (#12696687)
The roadmap on the same site shows a "dynamic binary translator for Alpha and Itanium images" planned to be available with the general release ... in 2019!

http://vmssoftware.com/pdfs/VSI_Roadmap_20160906.pdf

Re:State of the OpenVMS Port to x86_64 [pdf] by aap_ on Wednesday October 12, 2016 @03:06PM (#12695631)
Why would endianness be a problem? VAX, Alpha and x86 all are little endian.
Re:State of the OpenVMS Port to x86_64 [pdf] by strlen on Wednesday October 12, 2016 @04:03PM (#12696016)
For those itching to try, simh is capable of emulating a VAX and running OpenVMS (or NetBSD/vax) on them. One can also get a hobbyist license and media from HPE https://www.hpe.com/h41268/live/index_e.aspx?qid=24548, http://www.openvmshobbyist.com) and play around with it.

It is really quite a fascinating OS (I've had it running under a MicroVAX 4000/60 for fun -- and yes, I can truly say fun!) and feels quite modern even today.

Re:State of the OpenVMS Port to x86_64 [pdf] by epynonymous on Wednesday October 12, 2016 @01:30PM (#12694873)
long live DEC OpenVMS, it's really rare to see an article on hacker news about OpenVMS, but it has happened before. long live DCL, ASTs. i started work in 2000, but was still able to play around with vax and alpha clusters, sometimes if i recall correctly, a mix of vax and alpha nodes in the same cluster. OpenVMS was such a stable operating system, by 2000, most of the good DEC engineers had left already for companies like Microsoft (Dave Cutler, etc), but that legacy code was still quite amazing. long live ZKO and DEC, i learned a lot from that job, great to see this coming, but not sure if it's still relevant these days with all my development on linux. could you imagine running this port on aws, like some customer migrating to the cloud all their legacy infrastructure? that would be such a niche market.
Re:State of the OpenVMS Port to x86_64 [pdf] by WallWextra on Wednesday October 12, 2016 @11:17AM (#12693624)
I do believe that MACRO in the slides refers to MACRO-11, a PDP assembler. Or maybe MACRO-32, for VAX. In either case, they have been compiling this "assembly" language for Alpha (and now I guess Itanium) since VMS has run on that architecture.
Re:State of the OpenVMS Port to x86_64 [pdf] by ch_123 on Wednesday October 12, 2016 @12:21PM (#12694220)
That would be MACRO-32, the VAX assembler/assembly language dialect. As a considerable part of the VMS kernel is written in VAX assembly, they treat it as a high level language and compile it to Alpha, IA64 and now x86-64.

Other parts of the kernel are written in C (newer code) and BLISS (older code). See https://en.wikipedia.org/wiki/BLISS

Re:State of the OpenVMS Port to x86_64 [pdf] by gwu78 on Wednesday October 12, 2016 @01:16PM (#12694745)
Re:State of the OpenVMS Port to x86_64 [pdf] by pklausler on Wednesday October 12, 2016 @12:41PM (#12694374)
Why not translate the PDP-11 or VAX binaries to x86-64 and emulate the memory-mapped device interfaces? Seems like less work, and more likely to produce a cheap solution for legacy installations worrying about how to run an ancient critical application on old gear.
Re:State of the OpenVMS Port to x86_64 [pdf] by sedachv on Wednesday October 12, 2016 @05:01PM (#12696389)
A lot of the old VAX installations are industrial control applications, the device interfaces are exactly the things you want to keep. You can buy new VAX-compatible machines with the old Digital I/O buses and cables today: http://logical-co.com/product/ba23123-m9405-module-interconn...
Re:State of the OpenVMS Port to x86_64 [pdf] by icedchai on Wednesday October 12, 2016 @08:34PM (#12697498)
I have OpenVMS running under the SIMH emulator... It takes me back to the late 80's / early 90's. Hobbyist licenses are available for people who want to tinker. Fun stuff...
Re:State of the OpenVMS Port to x86_64 [pdf] by johnohara on Wednesday October 12, 2016 @12:47PM (#12694433)
Tip of the hat to Wendin, Inc. circa 1988.

$ show developer /user=steve_jones /source=linkedin /url=https://www.linkedin.com/in/stevejonesinwashington

edit: corrected url

Re:State of the OpenVMS Port to x86_64 [pdf] by hsivonen on Wednesday October 12, 2016 @04:22PM (#12696140)
Interesting that they have a non-clang C front end. Did DEC have weird vendor-specifoc extensions to C?
Re:State of the OpenVMS Port to x86_64 [pdf] by ch_123 on Wednesday October 12, 2016 @04:53PM (#12696347)
Yes, see the appendices of http://h41361.www4.hpe.com/docs/base_doc/DOCUMENTATION/V40F_...

The original VMS C compiler targeted a pre-ANSI "VAX C" dialect which had further differences. DEC C replaced it on the Alpha (I don't think it was backported to the VAX)

Re:State of the OpenVMS Port to x86_64 [pdf] by dekhn on Wednesday October 12, 2016 @11:53AM (#12693953)
ugh. i switched from vms to unix in '88 because the telnet in vms was crappy. other than the wonderful help system, I never found VMS attractive.
Re:State of the OpenVMS Port to x86_64 [pdf] by gaius on Wednesday October 12, 2016 @12:24PM (#12694238)
VMScluster still blows away anything else. 20 years ago it was doing what you can only now do with vMotion now... And being able to set a working set per job... And a coherent story for cross-language libraries... I could go on. VMS was a technological tour de force that has yet to be rivalled.
Re:State of the OpenVMS Port to x86_64 [pdf] by dekhn on Wednesday October 12, 2016 @02:12PM (#12695226)
What cluster features were in VMScluster that weren't also in TruCluster? To me the interesting part of TruCluster was the shared filesystem and the application failover. That said, I work for a company now that eschews that kind of tight coupling, because it's expensive to scale the hardware.
Re:State of the OpenVMS Port to x86_64 [pdf] by youdontknowtho on Wednesday October 12, 2016 @06:12PM (#12696829)
Looking forward to it!
Re:State of the OpenVMS Port to x86_64 [pdf] by leandrod on Wednesday October 12, 2016 @11:34AM (#12693782)
Call me when they free it.
Re:State of the OpenVMS Port to x86_64 [pdf] by laurentdc on Wednesday October 12, 2016 @11:41AM (#12693844)
Why? Not everything is free and open source. In fact, most of the operating systems used outside the "general-purpose" Linux realm are not (e.g. OS400, z/OS, z/TPF, AIX, Solaris, NonStop, QNX, vxWorks... even Windows Server).

That said, if you're really interested, HP offers free hobbyist licenses for non-commercial use of OpenVMS, with access to the OS and compilers and usable on real hardware or SIMH.

Re:State of the OpenVMS Port to x86_64 [pdf] by auvi on Wednesday October 12, 2016 @12:01PM (#12694024)
Could you please send me the link where it says that I can get the hobbyist license. I want to give it a try.
Re:State of the OpenVMS Port to x86_64 [pdf] by laurentdc on Wednesday October 12, 2016 @12:03PM (#12694036)
Sure: https://www.hpe.com/h41268/live/index_e.aspx?qid=24548

Last time I tried (few years ago) I was contacted via email by an HP guy who asked me what architectures I needed licenses for, and then sent me a private FTP login to download all the files.

Some links to get you started:

http://labs.hoffmanlabs.com/node/23

https://www.wherry.com/gadgets/retrocomputing/vax-simh.html

If you want to emulate on SIMH I suggest you compile the latest from source (it's on GitHub).

Re:State of the OpenVMS Port to x86_64 [pdf] by dboreham on Wednesday October 12, 2016 @12:05PM (#12694054)
I got licenses for my MicroVAXen some years ago. I haven't powered either of them on in a long time though...
Re:State of the OpenVMS Port to x86_64 [pdf] by jim02672 on Thursday October 13, 2016 @12:07AM (#12698347)
FYI, hobbyist licenses expire after a year. You'll have to get new ones. Still free.
Re:State of the OpenVMS Port to x86_64 [pdf] by krylon on Wednesday October 12, 2016 @12:33PM (#12694315)
There was a project to reimplement OpenVMS under the GPL, http://www.freevms.net/ - I think the project has stagnated, though, the last commit in their git tree seems to have happened about two years ago.