Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Science is to computer science as hydrodynamics is to plumbing.


computers / comp.os.vms / Re: HPE Integrity emulator

SubjectAuthor
* HPE Integrity emulatorDavid Turner
+- Re: HPE Integrity emulatorabrsvc
+* Re: HPE Integrity emulatorgah4
|`* Re: HPE Integrity emulatorjimc...@gmail.com
| +* Re: HPE Integrity emulatorgah4
| |`- Re: HPE Integrity emulatorjimc...@gmail.com
| `* Re: HPE Integrity emulatorArne Vajhøj
|  `- Re: HPE Integrity emulatorjimc...@gmail.com
+* Re: HPE Integrity emulatorArne Vajhøj
|+* Re: HPE Integrity emulatorgah4
||`* Re: HPE Integrity emulatorabrsvc
|| `* Re: HPE Integrity emulatorgah4
||  `- Re: HPE Integrity emulatorArne Vajhøj
|`* Re: HPE Integrity emulatorSimon Clubley
| +* Re: HPE Integrity emulatorArne Vajhøj
| |`* Re: HPE Integrity emulatorSimon Clubley
| | `- Re: HPE Integrity emulatorjimc...@gmail.com
| `* Re: HPE Integrity emulatorJohnny Billquist
|  +* Re: HPE Integrity emulatorStephen Hoffman
|  |`* Re: HPE Integrity emulatorJohnny Billquist
|  | +* Re: HPE Integrity emulatorStephen Hoffman
|  | |`- Re: HPE Integrity emulatorJohnny Billquist
|  | `* Re: HPE Integrity emulatorSimon Clubley
|  |  `- Re: HPE Integrity emulatorJohnny Billquist
|  +* Re: HPE Integrity emulatorgah4
|  |+- Re: HPE Integrity emulatorJohnny Billquist
|  |`- Re: HPE Integrity emulatorRich Alderson
|  `* Re: HPE Integrity emulatorSimon Clubley
|   `* Re: HPE Integrity emulatorJohnny Billquist
|    +- Re: HPE Integrity emulatorArne Vajhøj
|    +* Re: HPE Integrity emulatorArne Vajhøj
|    |+- Re: HPE Integrity emulatorJohnny Billquist
|    |`* Re: HPE Integrity emulatorSimon Clubley
|    | +* Re: HPE Integrity emulatorJohn Dallman
|    | |`- Re: HPE Integrity emulatorBill Gunshannon
|    | `- Re: HPE Integrity emulatorArne Vajhøj
|    `* Re: HPE Integrity emulatorSimon Clubley
|     `* Re: HPE Integrity emulatorJohnny Billquist
|      +- Re: HPE Integrity emulatorRich Alderson
|      `* Re: HPE Integrity emulatorSimon Clubley
|       `* Re: HPE Integrity emulatorJohnny Billquist
|        +* Re: HPE Integrity emulatorBill Gunshannon
|        |+- Re: HPE Integrity emulatorabrsvc
|        |`* Re: HPE Integrity emulatorArne Vajhøj
|        | `* Re: HPE Integrity emulatorBill Gunshannon
|        |  `* Re: HPE Integrity emulatorScott Dorsey
|        |   `* Re: HPE Integrity emulatorBill Gunshannon
|        |    `- Re: HPE Integrity emulatorScott Dorsey
|        +* Re: HPE Integrity emulatorJan-Erik Söderholm
|        |`* Re: HPE Integrity emulatorJohnny Billquist
|        | `- Re: HPE Integrity emulatorSimon Clubley
|        `* Re: HPE Integrity emulatorSimon Clubley
|         +- Re: HPE Integrity emulatorJan-Erik Söderholm
|         `* Re: HPE Integrity emulatorJohnny Billquist
|          +- Re: HPE Integrity emulatorJan-Erik Söderholm
|          `* Re: HPE Integrity emulatorDave Froble
|           `- Re: HPE Integrity emulatorJan-Erik Söderholm
+- Re: HPE Integrity emulatorBob Gezelter
+- Re: HPE Integrity emulatorStephen Hoffman
+* Re: HPE Integrity emulatorJohn Dallman
|`* Re: HPE Integrity emulatorScott Dorsey
| +- Re: HPE Integrity emulatorRobert A. Brooks
| `* Re: HPE Integrity emulatorJohnny Billquist
|  +* Re: HPE Integrity emulatorgah4
|  |`- Re: HPE Integrity emulatorSimon Clubley
|  `* Re: HPE Integrity emulatorJohnny Billquist
|   +* Re: HPE Integrity emulatorDave Froble
|   |`- Re: HPE Integrity emulatorJohn Dallman
|   +* Re: HPE Integrity emulatorJohn Dallman
|   |`* Re: HPE Integrity emulatorJohnny Billquist
|   | `* Re: HPE Integrity emulatorJan-Erik Söderholm
|   |  `* Re: HPE Integrity emulatorJohnny Billquist
|   |   `* Re: HPE Integrity emulatorSimon Clubley
|   |    `* Re: HPE Integrity emulatorSimon Clubley
|   |     +* Re: HPE Integrity emulatorArne Vajhøj
|   |     |+* Re: HPE Integrity emulatorHans Bachner
|   |     ||`- Re: HPE Integrity emulatorArne Vajhøj
|   |     |`* Re: HPE Integrity emulatorArne Vajhøj
|   |     | +- Re: HPE Integrity emulatorDave Froble
|   |     | `- Re: HPE Integrity emulatorArne Vajhøj
|   |     `* Re: HPE Integrity emulatorDave Froble
|   |      +* Re: HPE Integrity emulatorScott Dorsey
|   |      |`* Re: HPE Integrity emulatorDave Froble
|   |      | `* Re: HPE Integrity emulatorKerry Main c.o.v.
|   |      |  `- Re: HPE Integrity emulatorJohn Dallman
|   |      `- Re: HPE Integrity emulatorSimon Clubley
|   `* Re: HPE Integrity emulatorSimon Clubley
|    +* Re: HPE Integrity emulatorDave Froble
|    |`- Re: HPE Integrity emulatorSimon Clubley
|    `* Re: HPE Integrity emulatorJohnny Billquist
|     `- Re: HPE Integrity emulatorSimon Clubley
+- Re: HPE Integrity emulatorplugh
+* Re: HPE Integrity emulatorDavid Turner
|+* Re: HPE Integrity emulatorArne Vajhøj
||+- Re: HPE Integrity emulatorJohn Dallman
||`* Re: HPE Integrity emulatorSimon Clubley
|| `- Re: HPE Integrity emulatorArne Vajhøj
|+- Re: HPE Integrity emulatorScott Dorsey
|`* Re: HPE Integrity emulatorabrsvc
| `- Re: HPE Integrity emulatorHans Bachner
`* Re: HPE Integrity emulatorSunset Ash

Pages:12345
Re: HPE Integrity emulator

<tde2hc$3n905$7@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24376&group=comp.os.vms#24376

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Mon, 15 Aug 2022 18:16:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tde2hc$3n905$7@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <memo.20220813094924.11400C@jgd.cix.co.uk> <td931l$6mm$1@panix2.panix.com> <td95ec$8rd$1@news.misty.com> <td98si$cvh$1@news.misty.com> <tde0r9$3n905$5@dont-email.me> <tde1us$3o0ej$1@dont-email.me>
Injection-Date: Mon, 15 Aug 2022 18:16:12 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="14bae9332a9101ff9d5c7dffb0763e67";
logging-data="3908613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4/kxegAkzNtIGe43c40m9e4msO2pr5hY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:4eoWvRLpP37tz2wbs/Mes+hy+MM=
 by: Simon Clubley - Mon, 15 Aug 2022 18:16 UTC

On 2022-08-15, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Can't everybody just let the itanic boat anchor sink quietly into the mud, never
> to be seen again?
>

It's getting there, but there's still the legacy installed base.
A legacy installed base which has permanent licences BTW, so things
like that are going to factor into various decisions.

BTW, over a couple of days (I think it was a weekend :-)) I had a look
at what would be involved in writing a full-system Itanium emulator.

At the end of those couple of days, I had come to the conclusion that
I would be more likely to succeed with doing something less insane
such as writing a modern web browser by myself. :-)

IOW, writing an Itanium full-system emulator would be a major undertaking.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<tde2ng$3n905$8@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24377&group=comp.os.vms#24377

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Mon, 15 Aug 2022 18:19:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <tde2ng$3n905$8@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <VR-cnc9M9aoYoWT_nZ2dnZfqnPWdnZ2d@supernews.com> <tdbn3s$3v3$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 Aug 2022 18:19:28 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="14bae9332a9101ff9d5c7dffb0763e67";
logging-data="3908613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kXdzrtv2YMEVmfVrG3Ordeu2IyrHkdGI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:THzF9eH6YulvFru1R8POIfzx6Yw=
 by: Simon Clubley - Mon, 15 Aug 2022 18:19 UTC

On 2022-08-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> Macro-11, VMS Pascal and VMS Basic are a rewrite from scratch
> on Linux. All LIB$ and SYS$ calls would need to be changed
> on Linux no matter the language. Lots of VMS concepts are not 1:1
> portable to Linux including logical names and queue system.
> Rdb is not available on Linux. RMS index-sequential files
> would (except for Cobol) require a third party software solution
> and change of calls to use API of that. No DCL on Linux so all
> script would be rewrite from scratch. VMS to Linux is not easy - not
> impossible either but expensive and risky.
>

There's the third-party porting toolkits that can help with this.

Simon.

PS: BTW Arne, Macro-11 ??? :-)

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<jlvl88F38dvU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24381&group=comp.os.vms#24381

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: han...@bachner.priv.at (Hans Bachner)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Mon, 15 Aug 2022 21:31:21 +0200
Lines: 19
Message-ID: <jlvl88F38dvU1@mid.individual.net>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<VR-cnc9M9aoYoWT_nZ2dnZfqnPWdnZ2d@supernews.com>
<23d74b34-b895-4859-8df8-5a1d6fc61319n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net L6l5GIvgWUXrvzdSkMlr/QfedY1HrelWT6OE0fQQ12f8bmMHU=
Cancel-Lock: sha1:5HDc6j+ubg6YxfbL9eMKVHzbd9U=
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.9.1
In-Reply-To: <23d74b34-b895-4859-8df8-5a1d6fc61319n@googlegroups.com>
Content-Language: de-AT
 by: Hans Bachner - Mon, 15 Aug 2022 19:31 UTC

abrsvc schrieb am 15.08.2022 um 01:01:
>
>> A $10K emulator that performs efficiently and fast, would still be
>> cheaper than going with any unnecessary hardware or OS upgrades. I think
>> AlphaVM-Pro VTALpha and Cahron-Alpha have all proven that fact.
>>
>> DT
>
> No to be picky, but the Stromasys product is called Charon/AXP.

in fact, it is called CHARON-AXP :-)

> Dan
>
> (Currently working for Stromasys)

Hans.

(Stromasys partner)

Re: HPE Integrity emulator

<tdeb70$5ul$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24382&group=comp.os.vms#24382

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Mon, 15 Aug 2022 16:44:14 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tdeb70$5ul$1@gioia.aioe.org>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<VR-cnc9M9aoYoWT_nZ2dnZfqnPWdnZ2d@supernews.com>
<tdbn3s$3v3$1@gioia.aioe.org> <tde2ng$3n905$8@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="6101"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Mon, 15 Aug 2022 20:44 UTC

On 8/15/2022 2:19 PM, Simon Clubley wrote:
> On 2022-08-14, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>
>> Macro-11, VMS Pascal and VMS Basic are a rewrite from scratch
>> on Linux. All LIB$ and SYS$ calls would need to be changed
>> on Linux no matter the language. Lots of VMS concepts are not 1:1
>> portable to Linux including logical names and queue system.
>> Rdb is not available on Linux. RMS index-sequential files
>> would (except for Cobol) require a third party software solution
>> and change of calls to use API of that. No DCL on Linux so all
>> script would be rewrite from scratch. VMS to Linux is not easy - not
>> impossible either but expensive and risky.
>
> There's the third-party porting toolkits that can help with this.

Yes. Sector7 etc.. But without diminishing their products I would
not expect a silver bullet.

> PS: BTW Arne, Macro-11 ??? :-)

Ooops.

Macro-32

Arne

Re: HPE Integrity emulator

<tdel5u$umb$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24388&group=comp.os.vms#24388

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.h77-53-236-14.cust.a3fiber.se!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 01:34:22 +0200
Organization: MGT Consulting
Message-ID: <tdel5u$umb$1@news.misty.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <td6qpm$2kl28$1@dont-email.me>
<td7tr3$oqu$1@news.misty.com> <tde1vh$3n905$6@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 15 Aug 2022 23:34:22 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="h77-53-236-14.cust.a3fiber.se:77.53.236.14";
logging-data="31435"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
In-Reply-To: <tde1vh$3n905$6@dont-email.me>
 by: Johnny Billquist - Mon, 15 Aug 2022 23:34 UTC

On 2022-08-15 20:06, Simon Clubley wrote:
> On 2022-08-13, Johnny Billquist <bqt@softjar.se> wrote:
>> On 2022-08-13 02:21, Stephen Hoffman wrote:
>>> To make some of these cross-mode shenanigans somewhat more supportable,
>>> OpenVMS also implements a P1 window into system space at CTL$GL_PHD,
>>> allowing supervisor code to poke at kernel data. But I digress.
>>
>> That is digressing. Supervisor code is not normal user processes.
>>
>
> On VMS, there is no such thing as a normal user process.

Sorry. But here is where you go into nonsense. I probably should have
avoided the word "process", since the point was normal programs. Any and
every program will at least do calls into kernel mode, if nothing else,
at one or another point in their execution. But that is calls to code
that is not a part of the program. But it's done within the context of a
process. This is normal.

> There is one process that at various times during its lifecycle
> executes a mixture of code running in all four modes (KESU).

The fact that code in those different modes are invoked is irrelevant.
It's not code I wrote or compiled. Makes no difference if it's all in
kernel, or a mix of different modes.
It can all just as well be compressed into one mode as well. Makes no
difference. I know that you constantly is missing that point, and think
you've found security holes where there actually aren't any. Why don't
you actually understand this, and go hunt for other actual bugs and issues?

My program was not written to run in any other mode than user mode, and
that's what a normal program does. Sorry if I used the word "process" in
a way that confused you.

Johnny

Re: HPE Integrity emulator

<tdelhd$v5u$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24389&group=comp.os.vms#24389

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.h77-53-236-14.cust.a3fiber.se!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 01:40:29 +0200
Organization: MGT Consulting
Message-ID: <tdelhd$v5u$1@news.misty.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 15 Aug 2022 23:40:29 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="h77-53-236-14.cust.a3fiber.se:77.53.236.14";
logging-data="31934"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
In-Reply-To: <tddvnh$3n905$2@dont-email.me>
 by: Johnny Billquist - Mon, 15 Aug 2022 23:40 UTC

On 2022-08-15 19:28, Simon Clubley wrote:
> On 2022-08-12, Johnny Billquist <bqt@softjar.se> wrote:
>> On 2022-08-12 15:10, Simon Clubley wrote:
>>> In addition, VMS has a major problem that simply doesn't exist in Linux
>>> and that is whereas the vast majority of interaction between a Linux
>>> userland binary and Linux itself is via a nice well-defined syscall
>>> interface, VMS binaries have a nasty habit of looking at data cells
>>> which exist directly in the VMS process's address space.
>>>
>>> Such data cell access would have to be recognised and emulated in such
>>> a userland level emulator.
>>
>> I find that claim incredibly hard to believe. Can you give some examples
>> of this? Because even RSX, which is just a primitive predecessor of VMS
>> do not have such behavior. Everything in the kernel is completely hidden
>> and out of scope for a process, and the only way to do or get to
>> anything is through system calls. And that is generally true of almost
>> any reasonable multiuser, timesharing, memory protected operating system.
>>
>
> As you now know Johnny, you were (once again) very very wrong to try
> and compare the two. :-)

There is so much more that is common between RSX and VMS, than there are
things different between them. Not sure if you know that, but anyway.
Way more than between VMS and any Unix, for instance.

> BTW, the fact you immediately switched to talking about kernel mode,
> makes me wonder if you are even aware of P1 space in a VMS process.

Yes, I'm very aware of P1 space.

>> There is absolutely nothing Unix/Linux specific about this.
>>
>
> Oh yes there is.

No there isn't. Most operating systems have a clean separation between
user code and the kernel. Including all PDP-11 OSes. It turned out that
VMS does not, which rather makes VMS the exception here, not Unix.

> Unix/Linux sets up a new process to run an image and then deletes
> it immediately afterwards and has no such thing as P1 space.

Yes.
Well, technically, P1 space is an artifact of the hardware, and as such,
P1 space exists also for Unix systems running on VAX, and possibly also
Alpha.

VMS just keeps P1 space around a bit more disconnected from the program
you might be executing.

> A normal VMS session only ever has one process that is reused over
> and over again to run programs (unless you choose to start a subprocess
> for some reason.)

Well, not really true. Every time you start a program, it gets a new
process ID, with new resources allocated in the kernel for it. Just that
P1 space is retained between them, unless I remember wrong.

Johnny

Re: HPE Integrity emulator

<tdelm5$v5u$2@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24390&group=comp.os.vms#24390

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.h77-53-236-14.cust.a3fiber.se!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 01:43:01 +0200
Organization: MGT Consulting
Message-ID: <tdelm5$v5u$2@news.misty.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<memo.20220813094924.11400C@jgd.cix.co.uk> <td931l$6mm$1@panix2.panix.com>
<td95ec$8rd$1@news.misty.com> <td98si$cvh$1@news.misty.com>
<tde0r9$3n905$5@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 15 Aug 2022 23:43:01 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="h77-53-236-14.cust.a3fiber.se:77.53.236.14";
logging-data="31934"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
In-Reply-To: <tde0r9$3n905$5@dont-email.me>
 by: Johnny Billquist - Mon, 15 Aug 2022 23:43 UTC

On 2022-08-15 19:47, Simon Clubley wrote:
> On 2022-08-13, Johnny Billquist <bqt@softjar.se> wrote:
>> By the way, since people asked about IA64 emulators, and the general
>> belief that they don't exist and are too difficult to do.
>>
>> They do exist, and have for a long time. It's not that complex from this
>> point of view, but of course, performance is probably nowhere near where
>> anyone would actually want to use it for production.
>>
>> See: http://www.irisa.fr/caps/projects/ArchiCompil/iato/
>>
>> Last updated in 2004. But that is how they developed all the tooling and
>> so on before they had actual hardware.
>>
>
> I've just had a quick look at this. This emulator is no good for VMS.

Never claimed it was. My point was that emulators for IA64 do exist, and
are not impossible or unobtanium, as some people suggested.

Obviously that project was not interested in VMS. Does not mean it
couldn't be done. IA64 isn't that hard to emulate, as such. But again -
performance is another question.

Johnny

Re: HPE Integrity emulator

<62fadbf4$0$704$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24391&group=comp.os.vms#24391

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 15 Aug 2022 19:51:11 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Subject: Re: HPE Integrity emulator
Content-Language: en-US
Newsgroups: comp.os.vms
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <tdelhd$v5u$1@news.misty.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 18
Message-ID: <62fadbf4$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f1880327.news.sunsite.dk
X-Trace: 1660607476 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:57205
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 15 Aug 2022 23:51 UTC

On 8/15/2022 7:40 PM, Johnny Billquist wrote:
> On 2022-08-15 19:28, Simon Clubley wrote:
>> A normal VMS session only ever has one process that is reused over
>> and over again to run programs (unless you choose to start a subprocess
>> for some reason.)
>
> Well, not really true. Every time you start a program, it gets a new
> process ID, with new resources allocated in the kernel for it. Just that
> P1 space is retained between them, unless I remember wrong.

Same process with same process id.

I would say that P0 space is not retained. But there is no
difference in substance between P0 not retained (implicit
P1 retained) and P1 retained (implicit P0 not retained).

Arne

Re: HPE Integrity emulator

<62fadc81$0$704$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24392&group=comp.os.vms#24392

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 15 Aug 2022 19:53:36 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Subject: Re: HPE Integrity emulator
Content-Language: en-US
Newsgroups: comp.os.vms
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <tdelhd$v5u$1@news.misty.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 18
Message-ID: <62fadc81$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f1880327.news.sunsite.dk
X-Trace: 1660607617 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:57205
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 15 Aug 2022 23:53 UTC

On 8/15/2022 7:40 PM, Johnny Billquist wrote:
> On 2022-08-15 19:28, Simon Clubley wrote:
>> Unix/Linux sets up a new process to run an image and then deletes
>> it immediately afterwards and has no such thing as P1 space.
>
> Yes.
> Well, technically, P1 space is an artifact of the hardware, and as such,
> P1 space exists also for Unix systems running on VAX, and possibly also
> Alpha.
>
> VMS just keeps P1 space around a bit more disconnected from the program
> you might be executing.

The big difference is that DCL is living in P1 space (stack space)
while a Unix shell is living in heap space (P0 space on a VAX).

Arne

Re: HPE Integrity emulator

<7ce94013-0b4a-4ffb-9f80-29f5aa3c5fc5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24393&group=comp.os.vms#24393

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7d90:0:b0:326:b431:6cd3 with SMTP id c16-20020ac87d90000000b00326b4316cd3mr16298149qtd.511.1660613591871;
Mon, 15 Aug 2022 18:33:11 -0700 (PDT)
X-Received: by 2002:ac8:5dcf:0:b0:343:7ded:7b with SMTP id e15-20020ac85dcf000000b003437ded007bmr13634130qtx.492.1660613591714;
Mon, 15 Aug 2022 18:33:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 15 Aug 2022 18:33:11 -0700 (PDT)
In-Reply-To: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.186.103.105; posting-account=qPbaDgoAAADbIvbos5AEJa5zMjgnmjMM
NNTP-Posting-Host: 68.186.103.105
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7ce94013-0b4a-4ffb-9f80-29f5aa3c5fc5n@googlegroups.com>
Subject: Re: HPE Integrity emulator
From: hpeinteg...@gmail.com (Sunset Ash)
Injection-Date: Tue, 16 Aug 2022 01:33:11 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1976
 by: Sunset Ash - Tue, 16 Aug 2022 01:33 UTC

On Thursday, August 11, 2022 at 3:48:21 PM UTC-7, David Turner wrote:
> Does anyone here think that this is an option for people not willing or
> able to move over to x86-64 yet?
> An HP Integrity emulator, emulating something like an rx2800 i2 i4 or i6
> (16 cores max)
>
> I could imagine it would be useful if stuck with HP-UX or OpenVMS for
> Integrity for some reason?!?
>
> Why am I asking? Well, HPE Integrity servers are getting scarce. I have
> probably purchased 80% of the ones on the market and some companies are
> buying up whatever is available
>
>
> Comments please.
>
>
> David Turner

HPE has an Integrity emulator for running HP-UX - it's called Portable HP-UX and runs on Linux; you can request access if you have an active contract. I suspect running VMS was not of particular interest to them during development, though.

Re: HPE Integrity emulator

<tdfnpa$9h9$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24394&group=comp.os.vms#24394

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.gw.softjar.se!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 11:24:57 +0200
Organization: MGT Consulting
Message-ID: <tdfnpa$9h9$1@news.misty.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com> <62fadc81$0$704$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Aug 2022 09:24:58 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="gw.softjar.se:213.115.73.154";
logging-data="9769"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
In-Reply-To: <62fadc81$0$704$14726298@news.sunsite.dk>
 by: Johnny Billquist - Tue, 16 Aug 2022 09:24 UTC

On 2022-08-16 01:53, Arne Vajhøj wrote:
> On 8/15/2022 7:40 PM, Johnny Billquist wrote:
>> On 2022-08-15 19:28, Simon Clubley wrote:
>>> Unix/Linux sets up a new process to run an image and then deletes
>>> it immediately afterwards and has no such thing as P1 space.
>>
>> Yes.
>> Well, technically, P1 space is an artifact of the hardware, and as
>> such, P1 space exists also for Unix systems running on VAX, and
>> possibly also Alpha.
>>
>> VMS just keeps P1 space around a bit more disconnected from the
>> program you might be executing.
>
> The big difference is that DCL is living in P1 space (stack space)
> while a Unix shell is living in heap space (P0 space on a VAX).

Well. P0 isn't just heap. P0 is basically all memory that you want to
look at as either static or growing upward. So heap is one part, but
plain executable code is also in P0. P1 is static stuff as well, and
data growing downward, like a stack for example.

So yes, DCL sits in P1, while Unix shells sits in P0 *and* P1, just as
any other binary. The Unix shell hangs around because you normally fork
and then execute something else in place, while DCL hangs around by
sitting P1 which is not as process local in VMS as it is in Unix.

Johnny

Re: HPE Integrity emulator

<tdglk0$45ik$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24397&group=comp.os.vms#24397

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 17:54:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <tdglk0$45ik$1@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me> <td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me> <tdelhd$v5u$1@news.misty.com>
Injection-Date: Tue, 16 Aug 2022 17:54:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d42490fe9de8766aef6644096bc85095";
logging-data="136788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eTs6kkaGDVpVK++AF6UWJRiyGaPPTNqA="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:/+iFXDJhZtiOLOr8wniEahva8ak=
 by: Simon Clubley - Tue, 16 Aug 2022 17:54 UTC

On 2022-08-15, Johnny Billquist <bqt@softjar.se> wrote:
> On 2022-08-15 19:28, Simon Clubley wrote:
>> Unix/Linux sets up a new process to run an image and then deletes
>> it immediately afterwards and has no such thing as P1 space.
>
> Yes.
> Well, technically, P1 space is an artifact of the hardware, and as such,
> P1 space exists also for Unix systems running on VAX, and possibly also
> Alpha.
>
> VMS just keeps P1 space around a bit more disconnected from the program
> you might be executing.
>

It's what VMS does with that address space that makes it so different
from other operating systems.

>> A normal VMS session only ever has one process that is reused over
>> and over again to run programs (unless you choose to start a subprocess
>> for some reason.)
>
> Well, not really true. Every time you start a program, it gets a new
> process ID, with new resources allocated in the kernel for it. Just that
> P1 space is retained between them, unless I remember wrong.
>

That is completely and totally utterly wrong. However, if you really
believe that (instead of you just doing a David by trolling by making
false statements :-)) it also explains your confusion because VMS works
so differently to what you are clearly used to.

The PID does _not_ belong to the program. It belongs to the process itself.
At many times during the lifecycle of a typical VMS process, there will not
even _be_ a user-mode program loaded into the process P0 address space.

In Linux, there is no such thing as an executing process without a
user-mode program, regardless of whether that user-mode program is
a shell, a user's application program, or something else. Also, every
time the shell runs a new program, the program is run in a new and
different process.

OTOH, in VMS, having a process you can interact with, but without
having any user-mode P0 program loaded, is a perfectly normal thing.

When you ask DCL to run a program, _it_ maps the requested program
into the P0 address space, sets it up, and then calls it to start
execution of the user program.

When the user program exits, the user-mode pages used by that program,
but _only_ those user-mode pages, are removed from the process address
space, and control returns to DCL to await your next command.

There is no "new process ID, with new resources allocated in the kernel
for it". It's the same physical process that gets used over and over
again during the user's session to run different user-mode programs.

Running a user program on VMS from DCL is much more like DCL doing
a dlopen() on the user program into P0 space and then doing a call
to it, instead of the Linux/Unix approach of creating a whole new
fresh process for each program the shell wants to run.

_Now_ do you understand why I am describing the VMS approach in the
way I am ?

For the record, I prefer the Unix approach, but I am trying to make
you understand how the VMS approach actually works, not how you think
it works.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<tdgm1h$45ik$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24398&group=comp.os.vms#24398

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 18:01:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tdgm1h$45ik$2@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me> <td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me> <tdelhd$v5u$1@news.misty.com> <62fadc81$0$704$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Aug 2022 18:01:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d42490fe9de8766aef6644096bc85095";
logging-data="136788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QedwWl+NQ0axSit9GxymaNKlrw45b9rA="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:QfyNUDTNTf/HVLFfNdqwBXSQ8+A=
 by: Simon Clubley - Tue, 16 Aug 2022 18:01 UTC

On 2022-08-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 8/15/2022 7:40 PM, Johnny Billquist wrote:
>> On 2022-08-15 19:28, Simon Clubley wrote:
>>> Unix/Linux sets up a new process to run an image and then deletes
>>> it immediately afterwards and has no such thing as P1 space.
>>
>> Yes.
>> Well, technically, P1 space is an artifact of the hardware, and as such,
>> P1 space exists also for Unix systems running on VAX, and possibly also
>> Alpha.
>>
>> VMS just keeps P1 space around a bit more disconnected from the program
>> you might be executing.
>
> The big difference is that DCL is living in P1 space (stack space)
> while a Unix shell is living in heap space (P0 space on a VAX).
>

Actually, the _major_ difference is that on VMS, they are in the same
process. In Unix land, they are in different processes.

Also, the other major difference is that parts of P1 space are
directly accessible by a user-mode VMS program, so to get back to the
topic, such access would have to be detected and emulated in any
user-mode binaries level emulator (as opposed to a full-system emulator).

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<tdgm91$45ik$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24399&group=comp.os.vms#24399

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 18:05:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tdgm91$45ik$3@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <memo.20220813094924.11400C@jgd.cix.co.uk> <td931l$6mm$1@panix2.panix.com> <td95ec$8rd$1@news.misty.com> <td98si$cvh$1@news.misty.com> <tde0r9$3n905$5@dont-email.me> <tdelm5$v5u$2@news.misty.com>
Injection-Date: Tue, 16 Aug 2022 18:05:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d42490fe9de8766aef6644096bc85095";
logging-data="136788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6pEAuGqUNNxMRaIAapa9jukg911HN6bM="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Zz0UjYHbn/TqA+QwsKZedQRIwbg=
 by: Simon Clubley - Tue, 16 Aug 2022 18:05 UTC

On 2022-08-15, Johnny Billquist <bqt@softjar.se> wrote:
> On 2022-08-15 19:47, Simon Clubley wrote:
>>
>> I've just had a quick look at this. This emulator is no good for VMS.
>
> Never claimed it was. My point was that emulators for IA64 do exist, and
> are not impossible or unobtanium, as some people suggested.
>

I know you didn't, but it was still worth me looking at it, to see if
it could be something useful. Unfortunately, that does not appear to
be the case, as it doesn't offer anything over what Ski already does,
and Ski would be only a small part of any required full-system emulator.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<tdgmel$45ik$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24400&group=comp.os.vms#24400

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 18:08:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tdgmel$45ik$4@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <7ce94013-0b4a-4ffb-9f80-29f5aa3c5fc5n@googlegroups.com>
Injection-Date: Tue, 16 Aug 2022 18:08:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d42490fe9de8766aef6644096bc85095";
logging-data="136788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KUJ1FDnTLOdKWb97AIHkI1FZzNnH/IBg="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:c9+n+ZZWpsravx0lmCrvkRXUWmw=
 by: Simon Clubley - Tue, 16 Aug 2022 18:08 UTC

On 2022-08-15, Sunset Ash <hpeintegrity@gmail.com> wrote:
>
> HPE has an Integrity emulator for running HP-UX - it's called Portable HP-UX and runs on Linux; you can request access if you have an active contract. I suspect running VMS was not of particular interest to them during development, though.

This:

https://downloads.linux.hpe.com/SDR/project/c-ux-beta/

appears to be the download page for anyone interested in it.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<memo.20220816202626.11400M@jgd.cix.co.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24401&group=comp.os.vms#24401

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jgd...@cix.co.uk (John Dallman)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 20:26 +0100 (BST)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <memo.20220816202626.11400M@jgd.cix.co.uk>
References: <tdgm1h$45ik$2@dont-email.me>
Reply-To: jgd@cix.co.uk
Injection-Info: reader01.eternal-september.org; posting-host="6500040edb142f3bcf7b09cab1e85a3d";
logging-data="155976"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Rev9yNnc0WnK3MxPfY5SLZsckwHEWNAs="
Cancel-Lock: sha1:finhs0TtKixOST+0s6gWHGjm9g4=
 by: John Dallman - Tue, 16 Aug 2022 19:26 UTC

In article <tdgm1h$45ik$2@dont-email.me>,
clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote:

> Actually, the _major_ difference is that on VMS, they are in the
> same process. In Unix land, they are in different processes.

It is a quirk of UNIX-style OSes that process creation is extremely cheap,
and is thus used for all kinds of things. Most other OSes, including VMS
and its mutant child Windows NT, take rather longer to create processes.

John

Re: HPE Integrity emulator

<jm29noFg92sU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24402&group=comp.os.vms#24402

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 15:33:12 -0400
Lines: 15
Message-ID: <jm29noFg92sU1@mid.individual.net>
References: <tdgm1h$45ik$2@dont-email.me>
<memo.20220816202626.11400M@jgd.cix.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5HEOoNCoZj6qxCcsaD35AAazouqqeDXNSYeg6NtFYsIIg6whMh
Cancel-Lock: sha1:3kY3a7/Tqi5jSAYO/re1l62/NEo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <memo.20220816202626.11400M@jgd.cix.co.uk>
 by: Bill Gunshannon - Tue, 16 Aug 2022 19:33 UTC

On 8/16/22 15:25, John Dallman wrote:
> In article <tdgm1h$45ik$2@dont-email.me>,
> clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote:
>
>> Actually, the _major_ difference is that on VMS, they are in the
>> same process. In Unix land, they are in different processes.
>
> It is a quirk of UNIX-style OSes that process creation is extremely cheap,
> and is thus used for all kinds of things. Most other OSes, including VMS
> and its mutant child Windows NT, take rather longer to create processes.

Quirk? :-)

bill

Re: HPE Integrity emulator

<tdh1h4$5eid$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24404&group=comp.os.vms#24404

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Tue, 16 Aug 2022 16:17:23 -0500
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <tdh1h4$5eid$1@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<7ce94013-0b4a-4ffb-9f80-29f5aa3c5fc5n@googlegroups.com>
<tdgmel$45ik$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 Aug 2022 21:17:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b3461f6b14d8a028fc8859a77aa9f150";
logging-data="178765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NBGA2+onzhJ5yaKxbZF5L35MTnH2SzpM="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Cancel-Lock: sha1:x6uJN+lZJg/xakdflNf/XGELihE=
In-Reply-To: <tdgmel$45ik$4@dont-email.me>
Content-Language: en-US
 by: Craig A. Berry - Tue, 16 Aug 2022 21:17 UTC

On 8/16/22 1:08 PM, Simon Clubley wrote:
> On 2022-08-15, Sunset Ash <hpeintegrity@gmail.com> wrote:
>>

>> HPE has an Integrity emulator for running HP-UX - it's called
>> Portable HP-UX and runs on Linux; you can request access if you have an
>> active contract. I suspect running VMS was not of particular interest to
>> them during development, though.
>
> This:
>
> https://downloads.linux.hpe.com/SDR/project/c-ux-beta/
>
> appears to be the download page for anyone interested in it.

It claims to be a full-system emulator that uses JIT for some
instructions. The release posted there is a beta release from May 2019
that only supports HP-UX. Whether it actually works or is still under
active development? Your guess is as good as mine.

Re: HPE Integrity emulator

<62fc252e$0$697$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24405&group=comp.os.vms#24405

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 16 Aug 2022 19:15:52 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Subject: Re: HPE Integrity emulator
Content-Language: en-US
Newsgroups: comp.os.vms
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com> <62fadc81$0$704$14726298@news.sunsite.dk>
<tdgm1h$45ik$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <tdgm1h$45ik$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 26
Message-ID: <62fc252e$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 8e3be4b8.news.sunsite.dk
X-Trace: 1660691759 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:51477
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 16 Aug 2022 23:15 UTC

On 8/16/2022 2:01 PM, Simon Clubley wrote:
> On 2022-08-15, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 8/15/2022 7:40 PM, Johnny Billquist wrote:
>>> On 2022-08-15 19:28, Simon Clubley wrote:
>>>> Unix/Linux sets up a new process to run an image and then deletes
>>>> it immediately afterwards and has no such thing as P1 space.
>>>
>>> Yes.
>>> Well, technically, P1 space is an artifact of the hardware, and as such,
>>> P1 space exists also for Unix systems running on VAX, and possibly also
>>> Alpha.
>>>
>>> VMS just keeps P1 space around a bit more disconnected from the program
>>> you might be executing.
>>
>> The big difference is that DCL is living in P1 space (stack space)
>> while a Unix shell is living in heap space (P0 space on a VAX).
>
> Actually, the _major_ difference is that on VMS, they are in the same
> process. In Unix land, they are in different processes.

(they being shell and programs)

That is the same thing. It is possible because DCL is in P1.

Arne

Re: HPE Integrity emulator

<tdikjs$qbs$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24408&group=comp.os.vms#24408

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.h77-53-236-14.cust.a3fiber.se!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Wed, 17 Aug 2022 13:49:15 +0200
Organization: MGT Consulting
Message-ID: <tdikjs$qbs$1@news.misty.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com> <tdglk0$45ik$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Aug 2022 11:49:16 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="h77-53-236-14.cust.a3fiber.se:77.53.236.14";
logging-data="27004"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
In-Reply-To: <tdglk0$45ik$1@dont-email.me>
 by: Johnny Billquist - Wed, 17 Aug 2022 11:49 UTC

On 2022-08-16 19:54, Simon Clubley wrote:
> On 2022-08-15, Johnny Billquist <bqt@softjar.se> wrote:
>> On 2022-08-15 19:28, Simon Clubley wrote:
>>> Unix/Linux sets up a new process to run an image and then deletes
>>> it immediately afterwards and has no such thing as P1 space.
>>
>> Yes.
>> Well, technically, P1 space is an artifact of the hardware, and as such,
>> P1 space exists also for Unix systems running on VAX, and possibly also
>> Alpha.
>>
>> VMS just keeps P1 space around a bit more disconnected from the program
>> you might be executing.
>>
>
> It's what VMS does with that address space that makes it so different
> from other operating systems.

It's certainly been a long time since I looked inside VMS. Which I get
called out on every time I make some mistake/assumption/remember things
wrong. Embarassing each time...

>>> A normal VMS session only ever has one process that is reused over
>>> and over again to run programs (unless you choose to start a subprocess
>>> for some reason.)
>>
>> Well, not really true. Every time you start a program, it gets a new
>> process ID, with new resources allocated in the kernel for it. Just that
>> P1 space is retained between them, unless I remember wrong.
>>
>
> That is completely and totally utterly wrong. However, if you really
> believe that (instead of you just doing a David by trolling by making
> false statements :-)) it also explains your confusion because VMS works
> so differently to what you are clearly used to.

No. I did believe that. I had some recollection that the PIDs were
allocated each time a program was started. Partly (again) coming from
RSX. Structures like PCB, TCB, task headers and so on are setup when a
program is started, and thus every time a program starts, you have a new
context in this sense.
But this is also a place where RSX and VMS differs the most, since in
RSX, the "shell" is in a sense even weirder than VMS, or any other OS I
know of.

But the end result is that every time a program is started, it has it's
own process id. That DCL under VMS actually will be starting everything
as a part of its own process is really weird, and it makes me also
wonder how things like spawning another program from a program under VMS
works, since it would need to create a new DCL instance then. On the
other hand, I now recollect that VMS don't have spawn as a system call
like RSX do.

But that certainly explains why creating a new process under VMS is even
heaver.

So yeah, I certainly seem to have been totally lost on this detail.

> The PID does _not_ belong to the program. It belongs to the process itself.

That was something I thought I remembered being different.

> At many times during the lifecycle of a typical VMS process, there will not
> even _be_ a user-mode program loaded into the process P0 address space.

That on the other hand isn't any strange to me, and does not necessarily
follow, or lead to the topics of the PID itself.

> In Linux, there is no such thing as an executing process without a
> user-mode program, regardless of whether that user-mode program is
> a shell, a user's application program, or something else. Also, every
> time the shell runs a new program, the program is run in a new and
> different process.

Yes.

> OTOH, in VMS, having a process you can interact with, but without
> having any user-mode P0 program loaded, is a perfectly normal thing.

Yes.

> When you ask DCL to run a program, _it_ maps the requested program
> into the P0 address space, sets it up, and then calls it to start
> execution of the user program.

But you say that not only that - it also uses the context of DCL. So
that from an accounting point of view, it's still the same process. What
about process quotas like runtime limits? Do DCL reset these, and DCL
itself is excluded from such? And accounting. When a program runs and is
finished, you get accounting information on how much cpu time was used,
memory, and all kind of stuff. Is DCL then doing that accounting
processing, and not the kernel? A process calling something like exit
will not terminate the process, but just jump back to DCL?

> When the user program exits, the user-mode pages used by that program,
> but _only_ those user-mode pages, are removed from the process address
> space, and control returns to DCL to await your next command.

Does DCL do that, or the kernel?

> There is no "new process ID, with new resources allocated in the kernel
> for it". It's the same physical process that gets used over and over
> again during the user's session to run different user-mode programs.

That was something I had forgotten/misunderstood/never realized.

> Running a user program on VMS from DCL is much more like DCL doing
> a dlopen() on the user program into P0 space and then doing a call
> to it, instead of the Linux/Unix approach of creating a whole new
> fresh process for each program the shell wants to run.

I can understand that bit. But I then wonder about the whole winding
down of the running of the program, as commented above.

> _Now_ do you understand why I am describing the VMS approach in the
> way I am ?

In part, yes. I still do not consider DCL to be part of userspace, user
programs or anything like that. It's an OS component, and have rights
and privileges which means it can do anything really. Your ranting about
security issues around that topic is still nonsense to me. But VMS is
certainly doing things a bit odd in some ways that I think are unwise here.

> For the record, I prefer the Unix approach, but I am trying to make
> you understand how the VMS approach actually works, not how you think
> it works.

And as I observed, this is hardly Unix specific. The fact that VMS do
things odd is just a bit more surprising to me, since I know how RSX
works, upon which so much of VMS is based, but this is one place where
RSX works more like Unix. So how VMS diverged there is an interesting
topic in my head.
(Not that RSX actually is like Unix, RSX is actually sortof different in
another way, but in the perspective of how VMS works, RSX isn't close here.)

Johnny

Re: HPE Integrity emulator

<mdd5yiq3fmh.fsf@panix5.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24412&group=comp.os.vms#24412

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: new...@alderson.users.panix.com (Rich Alderson)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: 17 Aug 2022 14:10:46 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 20
Sender: alderson+news@panix5.panix.com
Message-ID: <mdd5yiq3fmh.fsf@panix5.panix.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me> <td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me> <tdelhd$v5u$1@news.misty.com> <tdglk0$45ik$1@dont-email.me> <tdikjs$qbs$1@news.misty.com>
Injection-Info: reader2.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="10549"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Wed, 17 Aug 2022 18:10 UTC

Johnny Billquist <bqt@softjar.se> writes:

> No. I did believe that. I had some recollection that the PIDs were
> allocated each time a program was started. Partly (again) coming from
> RSX. Structures like PCB, TCB, task headers and so on are setup when a
> program is started, and thus every time a program starts, you have a new
> context in this sense.
> But this is also a place where RSX and VMS differs the most, since in
> RSX, the "shell" is in a sense even weirder than VMS, or any other OS I
> know of.

Interestingly, RSX does things the way TOPS-20 (< TENEX) does them, while VMS
does them very much like the way Tops-10 does them! I would never have guessed
that.

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: HPE Integrity emulator

<tdjdvf$h243$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24413&group=comp.os.vms#24413

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Wed, 17 Aug 2022 19:02:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 99
Message-ID: <tdjdvf$h243$1@dont-email.me>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com> <62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me> <td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me> <tdelhd$v5u$1@news.misty.com> <tdglk0$45ik$1@dont-email.me> <tdikjs$qbs$1@news.misty.com>
Injection-Date: Wed, 17 Aug 2022 19:02:07 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f5dc63373c552be7560d93cd4bc2d283";
logging-data="559235"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cFFnO95xxtVho9muumdCbDQz0oVhHntc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:5B7/aj6mvuYtQwWaBiNL6IVxppE=
 by: Simon Clubley - Wed, 17 Aug 2022 19:02 UTC

On 2022-08-17, Johnny Billquist <bqt@softjar.se> wrote:
> On 2022-08-16 19:54, Simon Clubley wrote:
>>
>> That is completely and totally utterly wrong. However, if you really
>> believe that (instead of you just doing a David by trolling by making
>> false statements :-)) it also explains your confusion because VMS works
>> so differently to what you are clearly used to.
>
> No. I did believe that. I had some recollection that the PIDs were
> allocated each time a program was started. Partly (again) coming from
> RSX. Structures like PCB, TCB, task headers and so on are setup when a
> program is started, and thus every time a program starts, you have a new
> context in this sense.
> But this is also a place where RSX and VMS differs the most, since in
> RSX, the "shell" is in a sense even weirder than VMS, or any other OS I
> know of.
>
> But the end result is that every time a program is started, it has it's
> own process id. That DCL under VMS actually will be starting everything
> as a part of its own process is really weird, and it makes me also
> wonder how things like spawning another program from a program under VMS
> works, since it would need to create a new DCL instance then. On the
> other hand, I now recollect that VMS don't have spawn as a system call
> like RSX do.
>

VMS has LIB$SPAWN(), which is a library wrapper around the lower-level
system services. It also has a "$ spawn" DCL command.

This allows you to either 1) run something in a subprocess while you
carry on in the main process or 2) wait for the subprocess to complete
(depending on the options you use).

This most certainly is _NOT_ the way you normally run a program on VMS
however. :-)

For example, all user programs listed in the DCL command table run in
the same process as the DCL instance that loads and executes them.

>> When you ask DCL to run a program, _it_ maps the requested program
>> into the P0 address space, sets it up, and then calls it to start
>> execution of the user program.
>
> But you say that not only that - it also uses the context of DCL. So
> that from an accounting point of view, it's still the same process. What
> about process quotas like runtime limits? Do DCL reset these, and DCL
> itself is excluded from such? And accounting. When a program runs and is
> finished, you get accounting information on how much cpu time was used,
> memory, and all kind of stuff. Is DCL then doing that accounting
> processing, and not the kernel? A process calling something like exit
> will not terminate the process, but just jump back to DCL?
>

The quotas are against the process, not the program. When you try to
run a program that doesn't fit into those quotas, the account or system
quotas need adjusting to give the _process_ (not the program) more quota.

Accounting is the same, unless there are some exceptions I don't know about.
Try hitting Ctrl-T repeatedly while at the DCL prompt and watch the I/O
count increase.

A user-mode exit() in a program run from DCL never terminates the process.
The user-mode program exits and control is returned to DCL.

>> When the user program exits, the user-mode pages used by that program,
>> but _only_ those user-mode pages, are removed from the process address
>> space, and control returns to DCL to await your next command.
>
> Does DCL do that, or the kernel?
>

Both. There are system services, but they are called under the control
of DCL. What I can't remember is if they need to be called manually
from DCL code as part of the cleanup or if they are run automatically
as part of some exit handler previously established by DCL. (It's been
a while since I've been in that part of the I&DS manual :-)).

(IIRC, sys$rundwn() is called with a user-mode flag to cause the user-mode
part of the process to be run down. Everyone feel free to correct me if
I am wrong about that. :-))

>> _Now_ do you understand why I am describing the VMS approach in the
>> way I am ?
>
> In part, yes. I still do not consider DCL to be part of userspace, user
> programs or anything like that. It's an OS component, and have rights
> and privileges which means it can do anything really. Your ranting about
> security issues around that topic is still nonsense to me. But VMS is
> certainly doing things a bit odd in some ways that I think are unwise here.
>

It's only nonsense until you realise that, unlike on Linux, DCL has access
to the privileges of the programs it runs.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: HPE Integrity emulator

<tdm4o5$2uc$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24425&group=comp.os.vms#24425

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.h77-53-236-14.cust.a3fiber.se!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Thu, 18 Aug 2022 21:43:00 +0200
Organization: MGT Consulting
Message-ID: <tdm4o5$2uc$1@news.misty.com>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com> <tdglk0$45ik$1@dont-email.me>
<tdikjs$qbs$1@news.misty.com> <tdjdvf$h243$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Aug 2022 19:43:01 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="h77-53-236-14.cust.a3fiber.se:77.53.236.14";
logging-data="3020"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.12.0
Content-Language: en-US
In-Reply-To: <tdjdvf$h243$1@dont-email.me>
 by: Johnny Billquist - Thu, 18 Aug 2022 19:43 UTC

On 2022-08-17 21:02, Simon Clubley wrote:
> On 2022-08-17, Johnny Billquist <bqt@softjar.se> wrote:
>> On 2022-08-16 19:54, Simon Clubley wrote:
>>>
>>> That is completely and totally utterly wrong. However, if you really
>>> believe that (instead of you just doing a David by trolling by making
>>> false statements :-)) it also explains your confusion because VMS works
>>> so differently to what you are clearly used to.
>>
>> No. I did believe that. I had some recollection that the PIDs were
>> allocated each time a program was started. Partly (again) coming from
>> RSX. Structures like PCB, TCB, task headers and so on are setup when a
>> program is started, and thus every time a program starts, you have a new
>> context in this sense.
>> But this is also a place where RSX and VMS differs the most, since in
>> RSX, the "shell" is in a sense even weirder than VMS, or any other OS I
>> know of.
>>
>> But the end result is that every time a program is started, it has it's
>> own process id. That DCL under VMS actually will be starting everything
>> as a part of its own process is really weird, and it makes me also
>> wonder how things like spawning another program from a program under VMS
>> works, since it would need to create a new DCL instance then. On the
>> other hand, I now recollect that VMS don't have spawn as a system call
>> like RSX do.
>>
>
> VMS has LIB$SPAWN(), which is a library wrapper around the lower-level
> system services. It also has a "$ spawn" DCL command.
>
> This allows you to either 1) run something in a subprocess while you
> carry on in the main process or 2) wait for the subprocess to complete
> (depending on the options you use).

Under RSX, SPWN$ is the system call. And it creates a new process, which
is also associated with a terminal, and a UIC, which is given as
arguments to SPWN$. The new process have it's own virtual memory, in
which the task image is loaded, all shared libraries are setup with
regards to memory mapping, and all that kind of stuff. SPWN$ is sortof
like a combo of fork() and exec() under Unix.

Which obviously is rather different than what VMS does then.

> This most certainly is _NOT_ the way you normally run a program on VMS
> however. :-)
>
> For example, all user programs listed in the DCL command table run in
> the same process as the DCL instance that loads and executes them.

That is no surprise and not so different from lots of systems. Heck,
even in Unix shells, and bunch of stuff are actually built into the
shell itself, and when you give the command, it's all done within the
shell process itself. Some commands are even *required* to be run within
the shell itself, and it would not work to run them as separate programs.

>>> When you ask DCL to run a program, _it_ maps the requested program
>>> into the P0 address space, sets it up, and then calls it to start
>>> execution of the user program.
>>
>> But you say that not only that - it also uses the context of DCL. So
>> that from an accounting point of view, it's still the same process. What
>> about process quotas like runtime limits? Do DCL reset these, and DCL
>> itself is excluded from such? And accounting. When a program runs and is
>> finished, you get accounting information on how much cpu time was used,
>> memory, and all kind of stuff. Is DCL then doing that accounting
>> processing, and not the kernel? A process calling something like exit
>> will not terminate the process, but just jump back to DCL?
>>
>
> The quotas are against the process, not the program. When you try to
> run a program that doesn't fit into those quotas, the account or system
> quotas need adjusting to give the _process_ (not the program) more quota.

Um. Sure, I can see that for things like memory limits. But if we talk
about CPU runtime limits, it's usually meant for that specific program
you run. Or are you saying that VMS can't have a runtime limit?
(runtime, like in, you're not allowed to use more than 2 CPU seconds,
and when you hit that, you'll be killed.)

> Accounting is the same, unless there are some exceptions I don't know about.
> Try hitting Ctrl-T repeatedly while at the DCL prompt and watch the I/O
> count increase.

Well. No surprise about that. The whole login session does have such
counting, since that's what accounting wants to have, in order to
(potentially) charge users with used resources.
But accounting usually can also report how much CPU time, I/O, memory
and so on individual programs used. I was pretty sure VMS could report
that as well, which would be something logged as soon as a program
finishes. But since this is all done within the DCL context, it means
the process is not finished. So how does this happen, or can VMS not
have accounting that gives this kind of information?
(Yes, it's been a bloody long time since I was admining VMS systems...)

> A user-mode exit() in a program run from DCL never terminates the process.
> The user-mode program exits and control is returned to DCL.

So things jumps back to DCL at that point. So exit() would not terminate
the process at all.

>>> _Now_ do you understand why I am describing the VMS approach in the
>>> way I am ?
>>
>> In part, yes. I still do not consider DCL to be part of userspace, user
>> programs or anything like that. It's an OS component, and have rights
>> and privileges which means it can do anything really. Your ranting about
>> security issues around that topic is still nonsense to me. But VMS is
>> certainly doing things a bit odd in some ways that I think are unwise here.
>>
>
> It's only nonsense until you realise that, unlike on Linux, DCL has access
> to the privileges of the programs it runs.

DCL runs as a part of the kernel. It has the potential to have any
privilege it wants, if it was malicious. User privileges are pretty
irrelevant and uninteresting. And yes, bugs in DCL can be rather serious
because of the rights and abilities it has.
This is where you seem to miss the point. DCL is already at a point
where, if it wanted, it could do anything. Which is why users cannot
write their own replacements for DCL and run them, without having
serious privileges.
And partly also why there are almost no alternatives to DCL. It's a bit
of a mess, and pretty tricky to write another CLI for VMS.
MCR did exist at one point, and might still, but I'm not sure I ever saw
anything else.

Johnny

Re: HPE Integrity emulator

<jm7ms2Fh2r3U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24426&group=comp.os.vms#24426

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: HPE Integrity emulator
Date: Thu, 18 Aug 2022 16:48:01 -0400
Lines: 18
Message-ID: <jm7ms2Fh2r3U1@mid.individual.net>
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com> <tdglk0$45ik$1@dont-email.me>
<tdikjs$qbs$1@news.misty.com> <tdjdvf$h243$1@dont-email.me>
<tdm4o5$2uc$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net t2L435cmBwJp3x6szQ4M7Q0Fjvsi3r2cIDRKSrBVrryemL1gsR
Cancel-Lock: sha1:lhEFi+xk0zEqujQIw+XdEgf2cs0=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <tdm4o5$2uc$1@news.misty.com>
 by: Bill Gunshannon - Thu, 18 Aug 2022 20:48 UTC

On 8/18/22 15:43, Johnny Billquist wrote:
>
> And partly also why there are almost no alternatives to DCL. It's a bit
> of a mess, and pretty tricky to write another CLI for VMS.
> MCR did exist at one point, and might still, but I'm not sure I ever saw
> anything else.

Actually, there was. When they came out with the first POSIX subsystem
(I really don't know what else to call it) it came with a version of the
Bourne Shell that could be installed on a per user basis as the login
CLI instead of DCL. I know I did it but only for testing. I don't
remember how it was done. Something set up with SYSUAF, I think.
None of my users ever asked for it and even being primarily a Unix user
I preferred DCL on VMS.

bill

Re: HPE Integrity emulator

<b04bd76f-9b88-4efb-99eb-17a27c649a75n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24427&group=comp.os.vms#24427

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:a80e:0:b0:6bb:49f0:85eb with SMTP id r14-20020a37a80e000000b006bb49f085ebmr3385929qke.139.1660856424140;
Thu, 18 Aug 2022 14:00:24 -0700 (PDT)
X-Received: by 2002:a05:620a:125b:b0:6ba:f2b3:ed0b with SMTP id
a27-20020a05620a125b00b006baf2b3ed0bmr3439412qkl.563.1660856424017; Thu, 18
Aug 2022 14:00:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 18 Aug 2022 14:00:23 -0700 (PDT)
In-Reply-To: <jm7ms2Fh2r3U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <ZS2dnf0hyLpzG2j_nZ2dnZfqn_WdnZ2d@supernews.com>
<62f598f5$0$694$14726298@news.sunsite.dk> <td5jgd$2gnq1$1@dont-email.me>
<td6kp5$6lj$1@news.misty.com> <tddvnh$3n905$2@dont-email.me>
<tdelhd$v5u$1@news.misty.com> <tdglk0$45ik$1@dont-email.me>
<tdikjs$qbs$1@news.misty.com> <tdjdvf$h243$1@dont-email.me>
<tdm4o5$2uc$1@news.misty.com> <jm7ms2Fh2r3U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b04bd76f-9b88-4efb-99eb-17a27c649a75n@googlegroups.com>
Subject: Re: HPE Integrity emulator
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Thu, 18 Aug 2022 21:00:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2415
 by: abrsvc - Thu, 18 Aug 2022 21:00 UTC

On Thursday, August 18, 2022 at 4:48:06 PM UTC-4, Bill Gunshannon wrote:
> On 8/18/22 15:43, Johnny Billquist wrote:
> >
> > And partly also why there are almost no alternatives to DCL. It's a bit
> > of a mess, and pretty tricky to write another CLI for VMS.
> > MCR did exist at one point, and might still, but I'm not sure I ever saw
> > anything else.
> Actually, there was. When they came out with the first POSIX subsystem
> (I really don't know what else to call it) it came with a version of the
> Bourne Shell that could be installed on a per user basis as the login
> CLI instead of DCL. I know I did it but only for testing. I don't
> remember how it was done. Something set up with SYSUAF, I think.
> None of my users ever asked for it and even being primarily a Unix user
> I preferred DCL on VMS.
>
> bill
Also, Cerner had their clinical application that was a replacement for DCL. At the time, it was the only CLI replacement application known.

Dan

Pages:12345
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor