开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Questions about bug (Is it MTS or Hercules) from the Hercules-390 group.


 

Mike - are you on the Hercules-390 group? We found an issue, but not sure if
its MTS or Hercules setting. Wondering what base version you are working
with.

See message below.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf
Of Fish Fish
Sent: Tuesday, July 25, 2023 20:34
To: [email protected]
Subject: Re: [hercules-390] Anyone running Hercules 4.5 on NetBSD?

John Palmer wrote:

[...]
HHC00801I Processor CP00: Protection exception interruption code 0004
ilc 4 HHC02324I PSW=070D100000164324 INST=42609011 STC 6,17(0,9)
store_character HHC02326I V:00000011:R:0000000000000011:K:0E=000000
00000000 033D2000 0001CE2A 07 ................
HHC02269I GR00=00000018 GR01=00166780 GR02=00166254 GR03=F560F2F3
HHC02269I GR04=00000000 GR05=00000000 GR06=FFFFFFF2 GR07=00000000
HHC02269I GR08=00036A60 GR09=00000000 GR10=00162D18 GR11=00163D18
HHC02269I GR12=00165EC8 GR13=8016421E GR14=80164302 GR15=00000000
HHC02271I CR00=18B0FE40 CR01=0012D000 CR02=00000000 CR03=FFFF0000
HHC02271I CR04=00000000 CR05=00000000 CR06=70000000 CR07=00000000
HHC02271I CR08=000000FF CR09=00000000 CR10=00000000 CR11=00000000
HHC02271I CR12=000B3F1D CR13=00000000 CR14=1F000000 CR15=00000000
And this is precisely why I recommend *never* using OSTAILOR QUIET! (*)

The above would never have been logged if OSTAILOR QUIET had been used, and
you would still be scratching your head today wondering why MTS keeps
crashing.

As you can plainly see, MTS has an obvious bug: it's trying to do a STC
(Store Character) into 17 bytes past where register 9 is pointing, but
register 9 contains ZERO, meaning it's trying to do a Store Character in low
core.

"But Fish! The PSW key is zero!"

Yes, BUT...

Control Register 0 also has Low-Address Protection enabled too (bit 3
(X'10') of Control Register 0). Thus a Protection Exception is correctly and
properly throw.

"But Fish! Why does Hercules 3.13 work?"

Because Hercules 3.13 is known to be buggy. It fails to pass the skey370
integrity test, meaning its Storage Key handling isn't adhering to the
architecture. SDL Hyperion's does.


I've heard people say that they have MTS running on various types of
machines running Hercules 4.5, so maybe it needs to be built with
different options on different machines.
I don't know anything about that. I've never tried running MTS. I know
absolutely *nothing* about it. I know Hercules, but nothing about any of
many guest operating systems that are able to run under it. I leave that to
our users who run such operating systems. They're responsible for their end.
I'm responsible for mine.


 

On 26 Jul 2023, at 0:18, John Palmer wrote:

Mike - are you on the Hercules-390 group? We found an issue, but not sure if
its MTS or Hercules setting. Wondering what base version you are working
with.
Yes, but I've been out of town and am behind on EMail.

As I said previously that PGNT probably isn't the cause of your SuperDump. It may or may not be a real error, but regardless it shouldn't bring the system down.

Mike