¿ªÔÆÌåÓý

Re: Do I have a looping issue?


 

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Fish Fish
Sent: 26 October 2022 05:30
To: [email protected]
Subject: Re: [h390-vm] Do I have a looping issue?

Jim Snellen wrote:

I am running VM/370 with DOS/VS as a guest machine and MVS 3.8J TK4-
as a guest machine. I use HercGUI
Which should not make any difference.
It does VM uses exceptions to manage privileged mode....


and Hercules version 4.4.1.10647-SDL-gd0ccfbc9. I've recently noticed
that a recurring display occurs:

HHC02324I PSW=078D2000000383EC INST=BA661000 CS 6,6,0(1)
compare_and_swap HHC02326I
V:00FE3E30:R:00000000007E3E30:K:06=009BCD10 809BCF98 ...
[...]
HHC00801I Processor CP00: Protection exception code 0004 ilc 4
[...]
Am I doing something wrong to cause this? It looks like these
messages are going to the log file and there's a lot of these!
no

They *appear* to be legitimate errors, as in whatever you're running in/on your
guest is not doing something correctly (i.e. something is malfunctioning, i.e.
some piece of software you're running is buggy).

According to the PSW, the program is running in Problem State with PSW Key 8
(the "8D" in your PSW), but the storage the 'CS' (Compare and Swap) instruction
is trying to access is Key 0 (the '0' in "K:06"), which by my calculations would
indeed cause a bona fide Protection Exception Program Interrupt.
This is how VM manages privileged mode exceptions. Take a look at DMKPRV which handles the simulation of the "CS" instruction...


<shrug>

Check your code. I suspect it's buggy.
Nope. If it was wouldn't the failing program in MVS abend.


--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...
Dave

Join [email protected] to automatically receive all group messages.