Re: UBUNTU on HERCULES

2016-06-26 Thread Harold Grovesteen
On Sat, 2016-06-25 at 14:04 -0600, Mark Post wrote: > >>> On 6/25/2016 at 11:17 AM, Harold Grovesteen wrote: > > On Fri, 2016-06-24 at 16:57 -0600, Mark Post wrote: > >> > >> What would that command look like? When I do an "archlvl query all" I > >> don't > > see anything that looks like a refer

Re: UBUNTU on HERCULES

2016-06-25 Thread Scott Rohling
Agreed - there is an appendix of facilities - but no listing of bit numbers so it's confusing -- you need to go here (z/Arch reference summary) to find a listing of the bits and their description.. It's there that I find bit 44 is PFPO -- certainly not in the hercules doc unless I'm blind...: ht

Re: UBUNTU on HERCULES

2016-06-25 Thread Mark Post
>>> On 6/25/2016 at 11:17 AM, Harold Grovesteen wrote: > On Fri, 2016-06-24 at 16:57 -0600, Mark Post wrote: >> >> What would that command look like? When I do an "archlvl query all" I don't > see anything that looks like a reference to PFPO. > >> >> Mark Post >> > > Follow the link to the He

Re: UBUNTU on HERCULES

2016-06-25 Thread Harold Grovesteen
On Fri, 2016-06-24 at 16:57 -0600, Mark Post wrote: > >>> On 6/24/2016 at 05:57 PM, Harold Grovesteen wrote: > > IAF2 is not available in the Hercules _releases_ yet. IAF2 is > > implemented in the Hyperion (4.0) repository. It requires a compiler > > that supports C11 atomic intrinsics. If you

Re: UBUNTU on HERCULES

2016-06-24 Thread Mark Post
>>> On 6/24/2016 at 05:57 PM, Harold Grovesteen wrote: > IAF2 is not available in the Hercules _releases_ yet. IAF2 is > implemented in the Hyperion (4.0) repository. It requires a compiler > that supports C11 atomic intrinsics. If your compiler lacks them, you > should get a build error. Dep

Re: UBUNTU on HERCULES

2016-06-24 Thread Harold Grovesteen
On Fri, 2016-06-24 at 21:27 +, VANDER WOUDE, PETER wrote: > I found a discussion on a Hercules-390 discussion group, and the IAF2 > facility was mentioned as being needed. > > How can this be enabled in Hercules? > > Regards, > Peter > > The short answer is to build Hercules from the Hyperion

Re: UBUNTU on HERCULES

2016-06-24 Thread VANDER WOUDE, PETER
, 2016 5:15 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: UBUNTU on HERCULES >>> On 6/24/2016 at 01:45 PM, Tom Huegel wrote: > Thanks Mark I'll give that a try when I get the chance. > Also I was looking at Hercules 4.0 and there is a new parm 'ARCHLVL' > that is a

Re: UBUNTU on HERCULES

2016-06-24 Thread Mark Post
>>> On 6/24/2016 at 01:45 PM, Tom Huegel wrote: > Thanks Mark I'll give that a try when I get the chance. > Also I was looking at Hercules 4.0 and there is a new parm 'ARCHLVL' that > is a replacement for ARCHMODE and has more options for setting the machine > architecture bits. The only binaries

Re: UBUNTU on HERCULES

2016-06-24 Thread Tom Huegel
Thanks Mark I'll give that a try when I get the chance. Also I was looking at Hercules 4.0 and there is a new parm 'ARCHLVL' that is a replacement for ARCHMODE and has more options for setting the machine architecture bits. The only binaries are for windows (I don't have a windows machine) but mayb

Re: UBUNTU on HERCULES

2016-06-24 Thread Mark Post
>>> On 6/24/2016 at 07:33 AM, Tom Huegel wrote: > It looks like this is not a totally new problem. I googled STFLE and had > several hits the problem showed up in 2009 concerning z9-z10 machines. No, it's not new at all. I played around with Hercules last night, and figured out that in additio

Re: UBUNTU on HERCULES

2016-06-24 Thread Neale Ferguson
Doing the scp/ssh/sftp client for CMS I had the need to understand what facilities were available on a processor. So I created a simple program for doing so. It is runs on Linux (as C/Cﯯ for CMS does not do inline assembler). You can copy & paste from http://pastebin.ca/3650669 Neale

Re: UBUNTU on HERCULES

2016-06-24 Thread Rafael David Tinoco
On Fri, Jun 24, 2016 at 12:44 AM, Alan Altmark wrote: > On Thursday, 06/23/2016 at 10:09 GMT, Tom Huegel tehue...@gmail.com wrote: I'm telling Hercules it is s z13 (2964 N30) but I don't know that Hercules does anything with that other than reflect it in the STSI instruction... How does UBUNT

Re: UBUNTU on HERCULES

2016-06-24 Thread Tom Huegel
It looks like this is not a totally new problem. I googled STFLE and had several hits the problem showed up in 2009 concerning z9-z10 machines. Here is the link if anyone cares to read it. It is informative although not conclusive. http://tech-insider.org/mainframes/research/2009/1209.html On Th

Re: UBUNTU on HERCULES

2016-06-23 Thread Alan Altmark
On Thursday, 06/23/2016 at 10:09 GMT, Tom Huegel wrote: > I'm telling Hercules it is s z13 (2964 N30) but I don't know that Hercules > does anything with that other than reflect it in the STSI instruction... > How does UBUNTU determine the hardware level? Did my post from earlier today not get

Re: UBUNTU on HERCULES

2016-06-23 Thread Mark Post
>>> On 6/23/2016 at 08:29 PM, Dimitri John Ledkov wrote: > There is no special ways to determine the hardware levels. Not _quite_ true. Look at arch/s390/kernel/head.S to see what IBM is doing. In my reply to Tom, I mis-spoke. It's not a STSI instruction but an STFLE that gets executed, and

Re: UBUNTU on HERCULES

2016-06-23 Thread Neale Ferguson
STFL STFLE to get the facilities available on a processor. Where facilities are things like Message Security Assist 3 which tells you the crypto instructions are present and support certain capabilities. You use STFL first to tell you if STFLE is supported (historical reasons). STFLE then gets all

Re: UBUNTU on HERCULES

2016-06-23 Thread Alan Altmark
On Thursday, 06/23/2016 at 09:14 GMT, Mark Post wrote: > I don't think it's a Hercules requirement, necessarily. Ubuntu requires a zEC12 or later machine > to run. If you can get Hercules to report that, then you should be OK. To be clear, the checks are not based on a machine type or model, p

Re: UBUNTU on HERCULES

2016-06-23 Thread Mark Post
>>> On 6/23/2016 at 06:01 PM, Tom Huegel wrote: > I'm telling Hercules it is s z13 (2964 N30) but I don't know that Hercules > does anything with that other than reflect it in the STSI instruction... > How does UBUNTU determine the hardware level? I vaguely remember going through this with some

Re: UBUNTU on HERCULES

2016-06-23 Thread Dimitri John Ledkov
Hello, On 23 June 2016 at 23:01, Tom Huegel wrote: > Thanks Mark, > I'm telling Hercules it is s z13 (2964 N30) but I don't know that Hercules > does anything with that other than reflect it in the STSI instruction... > How does UBUNTU determine the hardware level? > There is no special ways to

Re: UBUNTU on HERCULES

2016-06-23 Thread Tom Huegel
Thanks Mark, I'm telling Hercules it is s z13 (2964 N30) but I don't know that Hercules does anything with that other than reflect it in the STSI instruction... How does UBUNTU determine the hardware level? Tom On Thu, Jun 23, 2016 at 2:14 PM, Mark Post wrote: > >>> On 6/23/2016 at 04:42 PM, To

Re: UBUNTU on HERCULES

2016-06-23 Thread Mark Post
>>> On 6/23/2016 at 04:42 PM, Tom Huegel wrote: > I am having a problem trying to install UBUNTU s390x on Hercules. > Hercules is 3.11 on OpenSuse LEAP 42.x 64-bit. > The error I get is "The Linux kernel requires more recent processor > hardware." > HHCCP011I CPU: Disabled wait state > PSW=00

UBUNTU on HERCULES

2016-06-23 Thread Tom Huegel
I am having a problem trying to install UBUNTU s390x on Hercules. Hercules is 3.11 on OpenSuse LEAP 42.x 64-bit. The error I get is "The Linux kernel requires more recent processor hardware." HHCCP011I CPU: Disabled wait state PSW=0002 8000 BAD Is there a minimum Hercules r