Discussion:
Trouble using hercules on Debian GNU/Linux_64
(too old to reply)
ralf.jonas@gmx.de [hercules-390]
2015-11-04 22:03:39 UTC
Permalink
Hi there,


I successfully installed Hercules 3.11 via the .MSI file on Windows 7, 64 Bit and I also successfully installed MVS 3.8j via this guide: http://www.jaymoseley.com/hercules/installMVS/install.htm http://www.jaymoseley.com/hercules/installMVS/install.htm until this page IPL the Target MVS 3.8 and Customize System http://www.jaymoseley.com/hercules/installMVS/icustom.htm


http://www.jaymoseley.com/hercules/installMVS/icustom.htm

IPL the Target MVS 3.8 and Customize System http://www.jaymoseley.com/hercules/installMVS/icustom.htm Installing MVS 3.8 IPL the Newly Created MVS 3.8 Prerequisites To recap prior steps, you should already have downloaded/installed on your computer -



View on www.jaymoseley.com http://www.jaymoseley.com/hercules/installMVS/icustom.htm
Preview by Yahoo




Next I tried to do the same on linux, because the windows laptop is my office laptop and belongs to the company I work for. At home I only have Linux systems.
First I installed the hercules package from the debian pool, it's version 3.07-2.3. I wasn't able to do the simplest things in the emulator without getting lots of error messages. So I copied the dasd-files from the windows system onto the linux system and started the debian version of hercules.


The command is "hercules -f conf/mvs.cnf". I started a 3270 console and got the blue hercules start screen. All is well. Then I tried to enter "ipl 150" and got this output in the emulator window:


HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=6
PSW=00000005 C0000106 INST=D2FF4000FD7E MVC 0(256,4),3454(15) move_character
R:00800000: Translation exception 0005
R:00000E00:K:06=00000000 00000000 00000000 00000000 ................
GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
GR04=00800000 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=0000010C GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=2
PSW=00000005 5000011E INST=0832 SSK 3,2 set_storage_key
GR00=00000000 GR01=00000000 GR02=00800000 GR03=00000000
GR04=00000800 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=00000128 GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP048I 0100:CCW=03000000 20000001=>040C0000 0002BF5A 00000000 00000000 .......!........
HHCCP075I 0100:Stat=0200 Count=0001
HHCCP076I 0100:Sense=40220000 00C00300 00000000 00800100 010000FF FF000000
HHCCP077I 0100:Sense=INTREQ EOC WRI
HHCCP048I 0101:CCW=03000000 20000001=>040C0000 0002BF5A 00000000 00000000 .......!........
HHCCP075I 0101:Stat=0200 Count=0001
HHCCP076I 0101:Sense=40220000 00C00300 00000000 00800100 010000FF FF000000

HHCCP077I 0101:Sense=INTREQ EOC WRI
... and a lot more lines like these follows.


On the 3270 console I can read:


| IEA101A SPECIFY SYSTEM PARAMETERS FOR RELEASE 03.8 .VS2
|
| IEA939D QUICK AND WARM START DATA IS INVALID,
| RE-IPL OR REPLY 'GO' FOR COLD START


Seems the linux version of hercules can't read the windows dasd files.


So I tried to compile hercules by myself. I cloned the github repos and followed the instructions.
I got not error whatsorever during compile, so everything should be fine.
But instead it even got worse:


ipl 150
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=6
PSW=00000005 C0000106 INST=D2FF4000FD7E MVC 0(256,4),3454(15) move_character
R:00800000: Translation exception 0005
R:00000E00:K:06=00000000 00000000 00000000 00000000 ................
GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
GR04=00800000 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=0000010C GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=2
PSW=00000005 5000011E INST=0832 SSK 3,2 set_storage_key
GR00=00000000 GR01=00000000 GR02=00800000 GR03=00000000
GR04=00000800 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=00000128 GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP018I CPU0000: Check-Stop due to host error: Segmentation fault
PSW=00000000 A007D4CE INST=D2006000E000 MVC 0(1,6),0(14) move_character
R:0007FE0C:K:06=00020002 00000000 00000000 00000000 ................
R:0007DA50:K:06=00020002 090163BD 090163ED 0901641D .......]........
GR00=00000000 GR01=00780108 GR02=0007D8E8 GR03=0007F198
GR04=FFFEC910 GR05=9007D486 GR06=0007FE0C GR07=00000002
GR08=0007D780 GR09=06000000 GR10=00000150 GR11=00000008
GR12=0007E7F8 GR13=000000EC GR14=0007DA50 GR15=0007CD12


No reaction on the 3270 terminal.


Is there any trick to make hercules running on a debian linux system?

I'm sure I've read the documentation really carefully but I can't find any error.


Regards
Hennes
Mike Stramba mikestramba@gmail.com [hercules-390]
2015-11-04 22:47:00 UTC
Permalink
Post by ***@gmx.de [hercules-390]
Is there any trick to make hercules running on a debian linux system?
Well you do have **hercules* running on debian;)

Hercules is the virtual hardware, MVS is the software.

It's the MVS that's giving you the problems (possibly in combination
with something in Hercules).

I don't know why you're getting the error messages, or even if they
are unusual. It's been a while since I played with Jay's system.

I'm not sure if Hercules dasd's are portable to windows <-> Linux.

Jay's MVS is really designed for someone who wants to experiment with
building MVS (sysgen). If that's your interest.

If you want a somewhat more "modern" version of MVS 3.8, either the
Turnkey 3 or Turnkey-4 systems are more "polished " and ready-to-run.

http://wotho.ethz.ch/tk4-/

There's also the Vm370 "sixpack" :
http://www.smrcc.org.uk/members/g4ugm/VM370.htm

What *is* your interest ? MVS specifically ?
Post by ***@gmx.de [hercules-390]
Hi there,
I successfully installed Hercules 3.11 via the .MSI file on Windows 7, 64
http://www.jaymoseley.com/hercules/installMVS/install.htm
http://www.jaymoseley.com/hercules/installMVS/install.htm until this page
IPL the Target MVS 3.8 and Customize System
http://www.jaymoseley.com/hercules/installMVS/icustom.htm
http://www.jaymoseley.com/hercules/installMVS/icustom.htm
IPL the Target MVS 3.8 and Customize System
http://www.jaymoseley.com/hercules/installMVS/icustom.htm Installing MVS 3.8
IPL the Newly Created MVS 3.8 Prerequisites To recap prior steps, you
should already have downloaded/installed on your computer -
View on www.jaymoseley.com
http://www.jaymoseley.com/hercules/installMVS/icustom.htm
Preview by Yahoo
Next I tried to do the same on linux, because the windows laptop is my
office laptop and belongs to the company I work for. At home I only have
Linux systems.
First I installed the hercules package from the debian pool, it's version
3.07-2.3. I wasn't able to do the simplest things in the emulator without
getting lots of error messages. So I copied the dasd-files from the windows
system onto the linux system and started the debian version of hercules.
The command is "hercules -f conf/mvs.cnf". I started a 3270 console and got
the blue hercules start screen. All is well. Then I tried to enter "ipl 150"
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=6
PSW=00000005 C0000106 INST=D2FF4000FD7E MVC 0(256,4),3454(15)
move_character
R:00800000: Translation exception 0005
R:00000E00:K:06=00000000 00000000 00000000 00000000 ................
GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
GR04=00800000 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=0000010C GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=2
PSW=00000005 5000011E INST=0832 SSK 3,2
set_storage_key
GR00=00000000 GR01=00000000 GR02=00800000 GR03=00000000
GR04=00000800 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=00000128 GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP048I 0100:CCW=03000000 20000001=>040C0000 0002BF5A 00000000 00000000 .......!........
HHCCP075I 0100:Stat=0200 Count=0001
HHCCP076I 0100:Sense=40220000 00C00300 00000000 00800100 010000FF FF000000
HHCCP077I 0100:Sense=INTREQ EOC WRI
HHCCP048I 0101:CCW=03000000 20000001=>040C0000 0002BF5A 00000000 00000000 .......!........
HHCCP075I 0101:Stat=0200 Count=0001
HHCCP076I 0101:Sense=40220000 00C00300 00000000 00800100 010000FF FF000000
HHCCP077I 0101:Sense=INTREQ EOC WRI
... and a lot more lines like these follows.
| IEA101A SPECIFY SYSTEM PARAMETERS FOR RELEASE 03.8 .VS2
|
| IEA939D QUICK AND WARM START DATA IS INVALID,
| RE-IPL OR REPLY 'GO' FOR COLD START
Seems the linux version of hercules can't read the windows dasd files.
So I tried to compile hercules by myself. I cloned the github repos and
followed the instructions.
I got not error whatsorever during compile, so everything should be fine.
ipl 150
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=6
PSW=00000005 C0000106 INST=D2FF4000FD7E MVC 0(256,4),3454(15)
move_character
R:00800000: Translation exception 0005
R:00000E00:K:06=00000000 00000000 00000000 00000000 ................
GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
GR04=00800000 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=0000010C GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=2
PSW=00000005 5000011E INST=0832 SSK 3,2
set_storage_key
GR00=00000000 GR01=00000000 GR02=00800000 GR03=00000000
GR04=00000800 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=00000128 GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP018I CPU0000: Check-Stop due to host error: Segmentation fault
PSW=00000000 A007D4CE INST=D2006000E000 MVC 0(1,6),0(14)
move_character
R:0007FE0C:K:06=00020002 00000000 00000000 00000000 ................
R:0007DA50:K:06=00020002 090163BD 090163ED 0901641D .......]........
GR00=00000000 GR01=00780108 GR02=0007D8E8 GR03=0007F198
GR04=FFFEC910 GR05=9007D486 GR06=0007FE0C GR07=00000002
GR08=0007D780 GR09=06000000 GR10=00000150 GR11=00000008
GR12=0007E7F8 GR13=000000EC GR14=0007DA50 GR15=0007CD12
No reaction on the 3270 terminal.
Is there any trick to make hercules running on a debian linux system?
I'm sure I've read the documentation really carefully but I can't find any error.
Regards
Hennes
ralf.jonas@gmx.de [hercules-390]
2015-11-05 10:42:32 UTC
Permalink
Hi,

I'm quite sure it has nothing to do with MVS, but the hercules executable itself is buggy.


I'm not even able to reproduce this step Building the MVS Starter System http://www.jaymoseley.com/hercules/installMVS/iStarter.htm

http://www.jaymoseley.com/hercules/installMVS/iStarter.htm

Building the MVS Starter System http://www.jaymoseley.com/hercules/installMVS/iStarter.htm Building the MVS Starter System Prerequisites To recap the prior step, in order to build the MVS starter system, you should already have downloaded/in...



View on www.jaymoseley.com http://www.jaymoseley.com/hercules/installMVS/iStarter.htm
Preview by Yahoo


I get error messages like "Adressing exceptions", "Segmentation faults" and so on.


I repeat: The windows executables works fine !! I have a fully running MVS system on windows, but I can't get the linux version to work correctly.


Regards
Hennes
Vince Coen vbcoen@gmail.com [hercules-390]
2015-11-05 12:33:29 UTC
Permalink
Just what version of Hercules have you installed?
Post by ***@gmx.de [hercules-390]
Hi,
I'm quite sure it has nothing to do with MVS, but the hercules
executable itself is buggy.
I'm not even able to reproduce this step Building the MVS Starter
System <http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
image <http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
Building the MVS Starter System
<http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
Building the MVS Starter System Prerequisites To recap the prior
step, in order to build the MVS starter system, you should already
have downloaded/in...
View on www.jaymoseley.com
<http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
Preview by Yahoo
I get error messages like "Adressing exceptions", "Segmentation faults" and so on.
I repeat: The windows executables works fine !! I have a fully running
MVS system on windows, but I can't get the linux version to work
correctly.
ralf.jonas@gmx.de [hercules-390]
2015-11-05 19:46:56 UTC
Permalink
Hi,

on my 64 bit linux system, I have hercules version 3.07-2.3 from the debian jessie repository. It doesn't work.
Next I downloaded the version 3.11 from GitHub and compiled it (w/o any errors). It doesn't work either.


So I gave it a final try on a 32 bit system, attached to a debian testing repository. The hercules version is 3.11-1 (fetched from the debian repo).
And now, ladies and gentlemen - hold your breath - IT WORKS.


Unfortunately my 32 bit linux is a rather slow machine :-(


I don't know, if this is a legal proof for that there definitely is an issue with the 64 bit version, but it's very likely, no?


Regards
Hennes
Vince Coen vbcoen@gmail.com [hercules-390]
2015-11-05 21:03:46 UTC
Permalink
Quite - use an up to date version and not from your distro.
Post by ***@gmx.de [hercules-390]
Hi,
on my 64 bit linux system, I have hercules version 3.07-2.3 from the
debian jessie repository. It doesn't work.
Next I downloaded the version 3.11 from GitHub and compiled it (w/o
any errors). It doesn't work either.
So I gave it a final try on a 32 bit system, attached to a debian
testing repository. The hercules version is 3.11-1 (fetched from the
debian repo).
And now, ladies and gentlemen - hold your breath - IT WORKS.
Unfortunately my 32 bit linux is a rather slow machine :-(
I don't know, if this is a legal proof for that there definitely is an
issue with the 64 bit version, but it's very likely, no?
Regards
Hennes
e.sorichetti@alice.it [hercules-390]
2015-11-05 21:12:04 UTC
Permalink
Post by ***@gmx.de [hercules-390]
I don't know, if this is a legal proof for that there definitely is an issue with the 64 bit version, but it's very likely, no?
NO. amen
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2015-11-05 21:12:44 UTC
Permalink
Hi,
Post by ***@gmx.de [hercules-390]
Hi,
on my 64 bit linux system, I have hercules version 3.07-2.3 from the
debian jessie repository. It doesn't work.
Post by ***@gmx.de [hercules-390]
Next I downloaded the version 3.11 from GitHub and compiled it (w/o any
errors). It doesn't work either.
Post by ***@gmx.de [hercules-390]
So I gave it a final try on a 32 bit system, attached to a debian testing
repository. The hercules version is 3.11-1 (fetched from the debian repo).
Post by ***@gmx.de [hercules-390]
And now, ladies and gentlemen - hold your breath - IT WORKS.
Unfortunately my 32 bit linux is a rather slow machine :-(
I don't know, if this is a legal proof for that there definitely is an
issue with the 64 bit version, but it's very likely, no?
Well just because Im curious, I installed debian 8.2 'jessie' amd64, and
started the x86_64 hercules 4.x (hyperion ?) based turnkey4- system. Works
like a charm. I didnt try 3.x. I suspect something has gone wrong with
either your debian installation, or something has gone wrong with the
compilation.


- Maarten
Mike Schwab Mike.A.Schwab@gmail.com [hercules-390]
2015-11-05 12:53:05 UTC
Permalink
If you are running a 64 bit version, the 32 bit run time routines are also
needed.
Post by ***@gmx.de [hercules-390]
Hi,
I'm quite sure it has nothing to do with MVS, but the hercules executable itself is buggy.
I'm not even able to reproduce this step Building the MVS Starter System
<http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
[image: image]
<http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
Building the MVS Starter System
<http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
Building the MVS Starter System Prerequisites To recap the prior step,
in order to build the MVS starter system, you should already have
downloaded/in...
View on www.jaymoseley.com
<http://www.jaymoseley.com/hercules/installMVS/iStarter.htm>
Preview by Yahoo
I get error messages like "Adressing exceptions", "Segmentation faults" and so on.
I repeat: The windows executables works fine !! I have a fully running MVS
system on windows, but I can't get the linux version to work correctly.
Regards
Hennes
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2015-11-05 23:19:02 UTC
Permalink
Hi,
Post by Mike Schwab ***@gmail.com [hercules-390]
If you are running a 64 bit version, the 32 bit run time routines are
also needed.
Post by Mike Schwab ***@gmail.com [hercules-390]
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Hrm. Reading back this post, I must admit I do not fully grasp it's
meaning. Would this require installing additional pre-built distribution
binaries, or require special attention when building (and installing) from
source ?


- Maarten
Mike Schwab Mike.A.Schwab@gmail.com [hercules-390]
2015-11-06 00:11:21 UTC
Permalink
M$ Visual C comes in 32 and 64 bit versions. Both must be installed on
Windows. Doesn't run in Linux.
Post by Maarten Hoes ***@gmail.com [hercules-390]
Hi,
Post by Mike Schwab ***@gmail.com [hercules-390]
If you are running a 64 bit version, the 32 bit run time routines are
also needed.
Post by Mike Schwab ***@gmail.com [hercules-390]
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Hrm. Reading back this post, I must admit I do not fully grasp it's
meaning. Would this require installing additional pre-built distribution
binaries, or require special attention when building (and installing) from
source ?
- Maarten
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2015-11-06 00:18:11 UTC
Permalink
Hi,
Post by Mike Schwab ***@gmail.com [hercules-390]
M$ Visual C comes in 32 and 64 bit versions. Both must be installed on
Windows. Doesn't run in Linux.
Right. Building on Windows. I thought you were referring to building on
Linux. Sorry for the noise.


- Maarten.
Mike Schwab Mike.A.Schwab@gmail.com [hercules-390]
2015-11-06 00:17:29 UTC
Permalink
https://groups.yahoo.com/neo/groups/hercules-390/conversations/messages/74202
Here is the newest message reporting successful x86_64 build of Hercules on
Linux.
Post by Mike Schwab ***@gmail.com [hercules-390]
M$ Visual C comes in 32 and 64 bit versions. Both must be installed on
Windows. Doesn't run in Linux.
Post by Maarten Hoes ***@gmail.com [hercules-390]
Hi,
Post by Mike Schwab ***@gmail.com [hercules-390]
If you are running a 64 bit version, the 32 bit run time routines are
also needed.
Post by Mike Schwab ***@gmail.com [hercules-390]
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Hrm. Reading back this post, I must admit I do not fully grasp it's
meaning. Would this require installing additional pre-built distribution
binaries, or require special attention when building (and installing) from
source ?
- Maarten
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
e.sorichetti@alice.it [hercules-390]
2015-11-05 15:31:49 UTC
Permalink
Post by ***@gmx.de [hercules-390]
but the hercules executable itself is buggy
that' just an opinion not supported by any evidence,


I have built Hercules on a few different platforms
apple Yosemite, centos 6, centos 7, fedora 22, debian 8, ubuntu 14.04.3 lts, ubuntu 15.10 , opensuse stable, opensuse leap and tumbleweed
using a few different compilers
gcc, clang 3.5, clang 3.7, clang 3.8


and every time Hercules worked
ipling mvs38j and the zOS one volume pack


post evidence and we will look into it
( but I doubt that You will be able to )


so before blaming something/somebody else, check Your way of doing things


PS.
the volumes are perfectly portable(copyable) between different platforms windows included
Ken Smyth ken_smyth@comcast.net [hercules-390]
2015-11-05 15:43:03 UTC
Permalink
I just installed hercules 3.07-2.3 under Debian (jessie) v8.2 x64. The note below is from the readme file. If I'm understanding it you cannot run MVS on it:

"Note that Debian Squeeze and later no longer support running in 31-bit
mode as only 64-bit (s390x) kernels are available. This means that in your
hercules config ARCHMODE must be set to 'ESAME' or 'z/Arch'."




----- Original Message -----

From: "***@alice.it [hercules-390]" <hercules-***@yahoogroups.com>
To: hercules-***@yahoogroups.com
Sent: Thursday, November 5, 2015 10:31:49 AM
Subject: [hercules-390] Re: Trouble using hercules on Debian GNU/Linux_64
Post by ***@gmx.de [hercules-390]
but the hercules executable itself is buggy
that' just an opinion not supported by any evidence,

I have built Hercules on a few different platforms
apple Yosemite, centos 6, centos 7, fedora 22, debian 8, ubuntu 14.04.3 lts, ubuntu 15.10 , opensuse stable, opensuse leap and tumbleweed
using a few different compilers
gcc, clang 3.5, clang 3.7, clang 3.8

and every time Hercules worked
ipling mvs38j and the zOS one volume pack

post evidence and we will look into it
( but I doubt that You will be able to )

so before blaming something/somebody else, check Your way of doing things

PS.
the volumes are perfectly portable(copyable) between different platforms windows included
Maarten Hoes hoes.maarten@gmail.com [hercules-390]
2015-11-05 15:48:40 UTC
Permalink
Hi,
Post by Ken Smyth ***@comcast.net [hercules-390]
I just installed hercules 3.07-2.3 under Debian (jessie) v8.2 x64. The
note below is from the readme file. If I'm understanding it you cannot run
Post by Ken Smyth ***@comcast.net [hercules-390]
"Note that Debian Squeeze and later no longer support running in 31-bit
mode as only 64-bit (s390x) kernels are available. This means that in your
hercules config ARCHMODE must be set to 'ESAME' or 'z/Arch'."
I may be completely misinterpreting things here (and probably are), but
doesnt this refer to running the Debian S/390 port under Hercules or on
real IBM iron, and not to running Hercules on Debian (which is what you are
trying to do) ?


- Maarten
Ken Smyth ken_smyth@comcast.net [hercules-390]
2015-11-05 16:29:59 UTC
Permalink
You may be right Maarten, it may be referring to running Debian on a z series machine.

----- Original Message -----

From: "Maarten Hoes ***@gmail.com [hercules-390]" <hercules-***@yahoogroups.com>
To: hercules-***@yahoogroups.com
Sent: Thursday, November 5, 2015 10:48:40 AM
Subject: Re: [hercules-390] Re: Trouble using hercules on Debian GNU/Linux_64




Hi,
Post by Ken Smyth ***@comcast.net [hercules-390]
"Note that Debian Squeeze and later no longer support running in 31-bit
mode as only 64-bit (s390x) kernels are available. This means that in your
hercules config ARCHMODE must be set to 'ESAME' or 'z/Arch'."
I may be completely misinterpreting things here (and probably are), but doesnt this refer to running the Debian S/390 port under Hercules or on real IBM iron, and not to running Hercules on Debian (which is what you are trying to do) ?


- Maarten
Vince Coen vbcoen@gmail.com [hercules-390]
2015-11-05 17:56:34 UTC
Permalink
With the turnkey 4 (at upgrade #7) package Hercules is included and a
part of the install for both Linux and Windows.

Going in to the install directory (following the usage notes supplied)
you just run mvs (linux) or mvs.bat (Windows).

I run normally under Linux having grabbed the package from the author
(Not via the distro packages) and also copied over to a slow laptop and
it runs correctly on both platforms but slower on the laptop (Celeron
990 cpu).

Likewise I copied over to the laptop my updates to the dasd files that
had been used over time with NO issues what so ever.

Note that both platforms run x64 systems (Win 7 X64 Ultimate and Mageia
v4 X64 Linux with 2+ cores/cpu allocated to Hercules).

Vince
Post by Ken Smyth ***@comcast.net [hercules-390]
I just installed hercules 3.07-2.3 under Debian (jessie) v8.2 x64. The
note below is from the readme file. If I'm understanding it you cannot
"Note that Debian Squeeze and later no longer support running in 31-bit
mode as only 64-bit (s390x) kernels are available. This means that in your
hercules config ARCHMODE must be set to 'ESAME' or 'z/Arch'."
------------------------------------------------------------------------
*Sent: *Thursday, November 5, 2015 10:31:49 AM
*Subject: *[hercules-390] Re: Trouble using hercules on Debian
GNU/Linux_64
Post by ***@gmx.de [hercules-390]
but the hercules executable itself is buggy
that' just an opinion not supported by any evidence,
I have built Hercules on a few different platforms
apple Yosemite, centos 6, centos 7, fedora 22, debian 8, ubuntu
14.04.3 lts, ubuntu 15.10 , opensuse stable, opensuse leap and tumbleweed
using a few different compilers
gcc, clang 3.5, clang 3.7, clang 3.8
and every time Hercules worked
ipling mvs38j and the zOS one volume pack
post evidence and we will look into it
( but I doubt that You will be able to )
so before blaming something/somebody else, check Your way of doing things
PS.
the volumes are perfectly portable(copyable) between different platforms windows included
Vince Coen vbcoen@gmail.com [hercules-390]
2015-11-05 00:23:36 UTC
Permalink
If you are runnning Turnkey4 which is at update 7 then all you need to
do from the command prompt and in the installed directory is run mvs.
The rest is done by the automated scripts.

Likewise when finished quit the standard interface by hitting the F3 key
(or type x) and when you get to the READY prompt do

SHUTDOWN
then LOGOFF

Easy.

Using the Turnkey 4 package is a lot easier than the older packages.

Vince
Post by ***@gmx.de [hercules-390]
Hi there,
I successfully installed Hercules 3.11 via the .MSI file on Windows 7,
http://www.jaymoseley.com/hercules/installMVS/install.htm until this
page IPL the Target MVS 3.8 and Customize System
<http://www.jaymoseley.com/hercules/installMVS/icustom.htm>
image <http://www.jaymoseley.com/hercules/installMVS/icustom.htm>
IPL the Target MVS 3.8 and Customize System
<http://www.jaymoseley.com/hercules/installMVS/icustom.htm>
Installing MVS 3.8 IPL the Newly Created MVS 3.8 Prerequisites To
recap prior steps, you should already have downloaded/installed on
your computer -
View on www.jaymoseley.com
<http://www.jaymoseley.com/hercules/installMVS/icustom.htm>
Preview by Yahoo
Next I tried to do the same on linux, because the windows laptop is my
office laptop and belongs to the company I work for. At home I only
have Linux systems.
First I installed the hercules package from the debian pool, it's
version 3.07-2.3. I wasn't able to do the simplest things in the
emulator without getting lots of error messages. So I copied the
dasd-files from the windows system onto the linux system and started
the debian version of hercules.
The command is "hercules -f conf/mvs.cnf". I started a 3270 console
and got the blue hercules start screen. All is well. Then I tried to
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=6
PSW=00000005 C0000106 INST=D2FF4000FD7E MVC 0(256,4),3454(15)
move_character
R:00800000: Translation exception 0005
R:00000E00:K:06=00000000 00000000 00000000 00000000 ................
GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
GR04=00800000 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=0000010C GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=2
PSW=00000005 5000011E INST=0832 SSK 3,2
set_storage_key
GR00=00000000 GR01=00000000 GR02=00800000 GR03=00000000
GR04=00000800 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=00000128 GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP048I 0100:CCW=03000000 20000001=>040C0000 0002BF5A 00000000 00000000 .......!........
HHCCP075I 0100:Stat=0200 Count=0001
HHCCP076I 0100:Sense=40220000 00C00300 00000000 00800100 010000FF FF000000
HHCCP077I 0100:Sense=INTREQ EOC WRI
HHCCP048I 0101:CCW=03000000 20000001=>040C0000 0002BF5A 00000000 00000000 .......!........
HHCCP075I 0101:Stat=0200 Count=0001
HHCCP076I 0101:Sense=40220000 00C00300 00000000 00800100 010000FF FF000000
HHCCP077I 0101:Sense=INTREQ EOC WRI
... and a lot more lines like these follows.
| IEA101A SPECIFY SYSTEM PARAMETERS FOR RELEASE 03.8 .VS2
|
| IEA939D QUICK AND WARM START DATA IS INVALID,
| RE-IPL OR REPLY 'GO' FOR COLD START
Seems the linux version of hercules can't read the windows dasd files.
So I tried to compile hercules by myself. I cloned the github repos
and followed the instructions.
I got not error whatsorever during compile, so everything should be fine.
ipl 150
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=6
PSW=00000005 C0000106 INST=D2FF4000FD7E MVC 0(256,4),3454(15)
move_character
R:00800000: Translation exception 0005
R:00000E00:K:06=00000000 00000000 00000000 00000000 ................
GR00=00000000 GR01=00000000 GR02=00000000 GR03=00000000
GR04=00800000 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=0000010C GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP014I CPU0000: Addressing exception CODE=0005 ILC=2
PSW=00000005 5000011E INST=0832 SSK 3,2
set_storage_key
GR00=00000000 GR01=00000000 GR02=00800000 GR03=00000000
GR04=00000800 GR05=00000000 GR06=00000000 GR07=00000000
GR08=00000100 GR09=00FFFFFF GR10=00000128 GR11=00000000
GR12=00000000 GR13=00000000 GR14=00000000 GR15=40000082
HHCCP018I CPU0000: Check-Stop due to host error: Segmentation fault
PSW=00000000 A007D4CE INST=D2006000E000 MVC 0(1,6),0(14)
move_character
R:0007FE0C:K:06=00020002 00000000 00000000 00000000 ................
R:0007DA50:K:06=00020002 090163BD 090163ED 0901641D .......]........
GR00=00000000 GR01=00780108 GR02=0007D8E8 GR03=0007F198
GR04=FFFEC910 GR05=9007D486 GR06=0007FE0C GR07=00000002
GR08=0007D780 GR09=06000000 GR10=00000150 GR11=00000008
GR12=0007E7F8 GR13=000000EC GR14=0007DA50 GR15=0007CD12
No reaction on the 3270 terminal.
Is there any trick to make hercules running on a debian linux system?
I'm sure I've read the documentation really carefully but I can't find any error.
Regards
Hennes
Alex Garcia rocral2@yahoo.es [hercules-390]
2015-11-06 02:46:04 UTC
Permalink
Please, excuse me for my question,  but did you use the same .cnf file from the Windows version of TK3, to run Hercules on Linux ?


I have been running hercules on debian for years but previously I run it on cygwin and win95, and I remember of having to convert the whole TK3 cnf file to linux format, changing the path names  (directories) and specially the end-of-lines from CR LF (windows), to Linux end-of-lines. 


Alex

Barcelona
ralf.jonas@gmx.de [hercules-390]
2015-11-06 06:41:40 UTC
Permalink
Hi Alex,

as mentioned in my 1st post, I followed exactly the instructions on this page Installing MVS 3.8 http://www.jaymoseley.com/hercules/installMVS/install.htm

http://www.jaymoseley.com/hercules/installMVS/install.htm

Installing MVS 3.8 http://www.jaymoseley.com/hercules/installMVS/install.htm Installing MVS 3.8 Background



View on www.jaymoseley.com http://www.jaymoseley.com/hercules/installMVS/install.htm
Preview by Yahoo



.
I downloaded all the required archives on all systems separately.


While I had no trouble whatsorever to follow these instructions (with the same results) on Linux /32 and on Windows 7/64, I had no chance to make it work on Linux /64.
The version in the jessie repository (version 3.07-2.3) wasn't even able to create the starter system.
"ipl 280" -> "input=1442,00c" okay
"stop" -> "ipl 280" -> "input=1442,00d" never ending loop....


So I downloaded the version from GitHub (3.11) and I thought, this was the most up to date version, but according to Vince " use an up to date version and not from your distro" this seems to not be the current release.


But I did "./configure", "make", "make install" and I definitely got no error. But this version spits "Access error", "Segmentation faults" and some even more strange messages.


Maybe I should run the windows version of Hercules in wine :-D


Regards
Hennes
e.sorichetti@alice.it [hercules-390]
2015-11-06 09:26:59 UTC
Permalink
did You care to install also the prerequisites bz2 and zlib development packages ?
ralf.jonas@gmx.de [hercules-390]
2015-11-06 17:38:36 UTC
Permalink
Hi,

these development packages are installed. I configured hercules with bzip2-options and I also tested it without the bzip2 options. No difference, exactly the same errors.
If these development packages were absent, I couldn't do a ./configure successfully.


Maybe a too old compiler? My gcc is version 4.9.2


Regards
Hennes
truda gert_caers@yahoo.com [hercules-390]
2015-11-06 21:12:32 UTC
Permalink
Hello,

I suggest the following approach:

download Hercules source for Hyperion from github (Hercules 4.0).

https://github.com/hercules-390/hyperion

Follow the instructions in the file BUILDING.
in particular check the dependencies and run autogen.sh
Compile it with option -02 ( there used to be errors from 03 and higher)
for the first run of Hercules configure only one CPU in your .cnf file
(sometimes it crashes when using 4 cpus if you have 4)
If you get a segmentation error, compile with gcc 4.8
If it is very slow you can try different -O options and also of course
specify your processor architecture in the gcc compile options.
If all this works and you absolutely want to run Hercules 3.11 , then
compile it with the options that worked. I would forget 3.07 except if
there is a good reason to use it.

Regards,
Gert C.
Post by ***@gmx.de [hercules-390]
Hi,
these development packages are installed. I configured hercules with
bzip2-options and I also tested it without the bzip2 options. No
difference, exactly the same errors.
If these development packages were absent, I couldn't do a ./configure successfully.
Maybe a too old compiler? My gcc is version 4.9.2
Regards
Hennes
ralf.jonas@gmx.de [hercules-390]
2015-11-07 07:48:35 UTC
Permalink
Hi Gert,

in fact is was a matter of optimization. When I disabled all optimizations during configure, it works but awefully slow.
Now I have a working set of optimizations and it performs okay.


Regards
Hennes
ralf.jonas@gmx.de [hercules-390]
2015-11-07 07:54:24 UTC
Permalink
Hi Gert,

in fact is was a matter of optimization. When I disabled all optimizations during configure, it works but awefully slow.
Now I have a working set of optimizations and it performs okay.


Regards
Hennes
shrys_bhat@yahoo.co.in [hercules-390]
2016-04-29 05:50:57 UTC
Permalink
Hi Hennes,

I am facing the same problem while getting the starter system up and running.

after "input=1442,00d" the hercules goes into never ending loop.

Could you tell me how should i resolve this?

also you mentioned some different files that you downloaded. Could you share me the links as well?

also if there is any change in running of the steps please mention them too.

Regards,
Shreyas Bhat

Continue reading on narkive:
Loading...