Re: z/Linux 32-bit modules

2018-05-22 Thread Martin Schwidefsky
On Mon, 21 May 2018 07:21:38 +1000
Paul Edwards  wrote:

> When 32-bit modules are created on z/Linux
> using "gcc -m32" or whatever, is the resultant
> module run as AM31 or AM64?

The -m31 option creates objects and binaries in the ELF32 format.
Without the option or with -m64 the ELF64 format is used.

A 64-bit kernel recognizes the format of the binary and starts it
in the appropriate mode. Native for ELF64 or compat for ELF32.
The addressing mode is AMODE-64 for native 64-bit programs and
AMOED-31 for compat 31-bit code.

> If the answer is AM31, then what happens if it
> is run as AM64 instead?

The process is started by the kernel in the "correct" mode,
you can not specify that a ELF32 binary is started in AMODE-64.

The kernel enforces limits as well, e.g. with a 31-bit compat
process (ELF32) you can not map anything above the 2GB line.
The format of the signal handler frame is different as well
for ELF32 vs ELF64.

But you can switch the addressing mode in your program with
the sam24, sam31, and sam64 instructions. If the code of the
program is at a location that goes along with the chosen
addressing mode, the CPU will happily execute the instructions.
You better not forget to switch back to the default mode before
calling a function in the runtime environment. Otherwise your
program will quickly terminate.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


7.5 package levels

2018-05-22 Thread Neale Ferguson
Hi,
For those running 7.5 what level of the following packages come with that 
release?

openssl-ibmca
libica
s390utils

Neale

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Red Hat/ClefOS configuration file

2018-05-22 Thread R P Herrold
On Tue, 22 May 2018, Frank M. Ramaekers wrote:

> I'm following in the IBM Redbook "The Virtualization Cookbook for IBM z 
> Systems Volume 2: Red Hat Enterprise Linux 7.1 Servers", and I'm at step 6:

> Where do I find out what the various operands are for each keyword 
> (especially the ip=)?   I'm assuming the ip= is:

One assumes:
https://www.redbooks.ibm.com/redbooks/pdfs/sg248303.pdf
tiny URL:   http://tinyurl.com/y92gwnqn

RHEL 7.1 was some time ago.  RHEL 7 first dropped: 2014 06 10

A better resource (in terms of being specific to Red Hat's
most current approach -- 7.5 dropped in beta: 2018 01 24, and
formally as an update: 2018 04 24) is the documentation they
maintain [I opened a few bugs on it during the beta period
which were promptly and professionally addressed.  The net net
is that is was clear that Red Hat and IBM were explicitly
working (sadly in private bugs) on the 7.5 Release Notes in
to correct some detail in RH's documentation presence]

There are some quesions about Red Hat having unwittingly
changed exported headers in kernel-devel with the 'kernel-alt'
package series.  Recall the mention by Neale noticed of some
side effects flowing through to python 2, and systemd, as side
effects of last week, (repository closure was broken, more)
and which have delayed the formal ClefOS 7.5 update respin a
bit as the parts for a good installing ISO are sorted out

ClefOS 7.4 is fine

Anyway, back to your question.  A more current resource might
be:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/part-installation-system-z

short URL:  http://tinyurl.com/yd3cpuks

at sections 15 and following

Section 22.4 answers your question as to the colon
separated options for 'ip='

-- Russ herrold

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


z/VM and Linux on Z Performance Class

2018-05-22 Thread Magnelia Necoy
Friends,
last chance to sign up for our Performance Class for z/VM and Linux on Z on 
June 26th & 27th, 2018 in NC, USA.
Only a few seats left! Details below.

Best, Maggie

> On 12. Apr 2018, at 19:39, Magnelia Necoy  wrote:
> 
> Dear all,
> 
> Once again we are offering the famous Performance Class for z/VM and Linux on 
> Z on June 26th & 27th, 2018.
> 
> The class will be held prior to the VM Workshop at the North Carolina A 
> State University in Greensboro, NC, which will take place on June 28th-30th. 
> This is an excellent opportunity for z/VM, Linux on Z and z/VSE training! 
> Please forward this to people on your team that might be interested.
> 
> For more details please visit: http://velocitysoftware.com/2018NCAT.pdf 
> 
> 
> To sign up for our Performance Class, simply send me an email with your 
> contact details.
> 
> To sign up for the VM Workshop please visit: http://vmworkshop.org 
> 
> 
> Hope to see many of you in NC!
> 
> Best, Maggie
> 
> 
> Magnelia Necoy
> Managing Director 
> Global Sales and Marketing
> 
> Velocity Software Inc.
> 196-D Castro St
> Mountain View, CA 94041
> 
> Office Main: (650) 964 8867
> Fax: (650) 964 9012
> Cell: (303) 999 7646
> EU: +49 172 767 1037
> Email: ne...@velocitysoftware.com 
> 
> 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: 7.5 package levels

2018-05-22 Thread Daniel P. Martin

On a recently installed RHEL 7.5 system...


# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.5 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.5"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.5 (Maipo)"


... 'yum info' shows me this:


Name    : openssl-ibmca
Arch    : s390x
Version : 1.4.0
Release : 1.el7
Size    : 59 k
Repo    : installed
From repo   : anaconda
Summary : A dynamic OpenSSL engine for IBMCA
URL : https://github.com/opencryptoki
License : ASL 2.0
Description : A dynamic OpenSSL engine for IBMCA crypto hardware on 
IBM zSeries

    : machines.



Name    : libica
Arch    : s390x
Version : 3.2.0
Release : 3.el7
Size    : 242 k
Repo    : installed
From repo   : anaconda
Summary : Library for accessing ICA hardware crypto on IBM zSeries
URL : https://github.com/opencryptoki/
License : CPL
Description : A library of functions and utilities for accessing ICA 
hardware crypto on

    : IBM zSeries.



Name    : s390utils
Arch    : s390x
Epoch   : 2
Version : 1.23.0
Release : 36.el7
Size    : 57 k
Repo    : installed
From repo   : anaconda
Summary : Utilities and daemons for IBM z Systems
URL : 
http://www.ibm.com/developerworks/linux/linux390/s390-tools.html

License : GPLv2 and GPLv2+ and CPL
Description : This is a meta package for installing the default 
s390-tools sub packages.
    : If you do not need all default sub packages, it is 
recommended to install the

    : required sub packages separately.
    :
    : The s390utils packages contain a set of user space 
utilities that should to
    : be used together with the zSeries (s390) Linux kernel 
and device drivers.


-dan.

On 5/22/2018 9:22 AM, Neale Ferguson wrote:

Hi,
For those running 7.5 what level of the following packages come with that 
release?

openssl-ibmca
libica
s390utils

Neale

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


RedHat/ClefOS configuration file

2018-05-22 Thread Frank M. Ramaekers
I'm following in the IBM Redbook "The Virtualization Cookbook for IBM z Systems 
Volume 2: Red Hat Enterprise Linux 7.1 Servers", and I'm at step 6:


6. Edit the GENERIC PRM file by adding the correct parameters and system 
information as shown in the following example:
==> xedit GENERIC PRM a
ro ramdisk_size=4 cio_ignore=all,!condev
ip=9.12.7.96::9.12.4.1:20:vmlnx2-1.itso.ibm.com:enccw0.0.0600:none
rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1
nameserver=9.12.6.7 nameserver=9.12.6.6
inst.repo=ftp://lydiap:new2day@9.60.87.87//home/lydiap/linux/rhel71
rd.dasd=0.0.0100 rd.dasd=0.0.0200
vnc vncpassword=12345678

Where do I find out what the various operands are for each keyword (especially 
the ip=)?   I'm assuming the ip= is:

1)  Server being installed IP address

2)  Unknown

3)  Gateway

4)  hostname

5)  OSA address

6)  Unknown (none)

I think I have everything else.

inst.repo=protocol://password:userid@hostname//directory/to/images

TIA,
Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | American 
Income Life Insurance Company | 254-761-6649 (732-6649)

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: 7.5 package levels

2018-05-22 Thread Neale Ferguson
Thanks Dan. What about openssl-ibmpkcs11?

On 5/22/18, 10:30, "Linux on 390 Port on behalf of Daniel P. Martin" 
 wrote:

On a recently installed RHEL 7.5 system...




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RedHat/ClefOS configuration file

2018-05-22 Thread Dave Jones
Frank, you can find that information in Part III of the Red Hat
"Installation Guide" that can be found here:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/index


DJ

---

DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and
Cloud
 703.237.7370 (Office) | 281.578.7544 (CELL)

INFORMATION TECHNOLOGY COMPANY [4]

On 05.22.2018 7:42 AM, Frank M. Ramaekers wrote:

> I'm following in the IBM Redbook "The Virtualization Cookbook for IBM z 
> Systems Volume 2: Red Hat Enterprise Linux 7.1 Servers", and I'm at step 6:
>
> 6. Edit the GENERIC PRM file by adding the correct parameters and system 
> information as shown in the following example:
> ==> xedit GENERIC PRM a
> ro ramdisk_size=4 cio_ignore=all,!condev
> ip=9.12.7.96::9.12.4.1:20:vmlnx2-1.itso.ibm.com:enccw0.0.0600:none
> rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1
> nameserver=9.12.6.7 nameserver=9.12.6.6
> inst.repo=ftp://lydiap:new2day@9.60.87.87//home/lydiap/linux/rhel71 [1]
> rd.dasd=0.0.0100 rd.dasd=0.0.0200
> vnc vncpassword=12345678
>
> Where do I find out what the various operands are for each keyword 
> (especially the ip=)? I'm assuming the ip= is:
>
> 1) Server being installed IP address
>
> 2) Unknown
>
> 3) Gateway
>
> 4) hostname
>
> 5) OSA address
>
> 6) Unknown (none)
>
> I think I have everything else.
>
> inst.repo=protocol://password:userid@hostname//directory/to/images
>
> TIA,
> Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | 
> American Income Life Insurance Company | 254-761-6649 (732-6649)
>
> --
> This message contains information which is privileged and confidential and is 
> solely for the use of the intended recipient. If you are not the intended 
> recipient, be aware that any review, disclosure, copying, distribution, or 
> use of the contents of this message is strictly prohibited. If you have 
> received this in error, please destroy it immediately and notify us at 
> privacy...@torchmarkcorp.com.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390 [2]
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/ [3]


Links:
--
[1] ftp://lydiap:new2day@9.60.87.87//home/lydiap/linux/rhel71
[2] http://www.marist.edu/htbin/wlvindex?LINUX-390
[3] http://wiki.linuxvm.org/
[4] http://www.itconline.com/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RedHat/ClefOS configuration file

2018-05-22 Thread Filipe Miranda
Hello,

Please review: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/installation_guide/#list-boot-options-network

> ip=9.12.7.96::9.12.4.1:20:vmlnx2-1.itso.ibm.com:enccw0.0.0600:none

Table 22.4. Network Interface Configuration Formats

Configuration MethodOption format
Automatic configuration of any interfaceip=method
Automatic configuration of a specific interface ip=interface:method
Static configurationip=ip::gateway:netmask:hostname:interface:none
Automatic configuration of a specific interface with an override [a] 

  ip=ip::gateway:netmask:hostname:interface:method:mtu
[a]  
Brings
 up the specified interface using the specified method of automatic 
configuration, such as dhcp, but overrides the automatically obtained IP 
address, gateway, netmask, host name or other specified parameter. All 
parameters are optional; only specify the ones you want to override and 
automatically obtained values will be used for the others.

Keep in mind that the NETMASK must be in CIDR format.



—
Filipe Miranda


> On May 22, 2018, at 7:42 AM, Frank M. Ramaekers  wrote:
> 
> I'm following in the IBM Redbook "The Virtualization Cookbook for IBM z 
> Systems Volume 2: Red Hat Enterprise Linux 7.1 Servers", and I'm at step 6:
> 
> 
> 6. Edit the GENERIC PRM file by adding the correct parameters and system 
> information as shown in the following example:
> ==> xedit GENERIC PRM a
> ro ramdisk_size=4 cio_ignore=all,!condev
> ip=9.12.7.96::9.12.4.1:20:vmlnx2-1.itso.ibm.com:enccw0.0.0600:none
> rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1
> nameserver=9.12.6.7 nameserver=9.12.6.6
> inst.repo=ftp://lydiap:new2day@9.60.87.87//home/lydiap/linux/rhel71
> rd.dasd=0.0.0100 rd.dasd=0.0.0200
> vnc vncpassword=12345678
> 
> Where do I find out what the various operands are for each keyword 
> (especially the ip=)?   I'm assuming the ip= is:
> 
> 1)  Server being installed IP address
> 
> 2)  Unknown
> 
> 3)  Gateway
> 
> 4)  hostname
> 
> 5)  OSA address
> 
> 6)  Unknown (none)
> 
> I think I have everything else.
> 
> inst.repo=protocol://password:userid@hostname//directory/to/images
> 
> TIA,
> Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | 
> American Income Life Insurance Company | 254-761-6649 (732-6649)
> 
> --
> This message contains information which is privileged and confidential and is 
> solely for the use of the intended recipient. If you are not the intended 
> recipient, be aware that any review, disclosure, copying, distribution, or 
> use of the contents of this message is strictly prohibited. If you have 
> received this in error, please destroy it immediately and notify us at 
> privacy...@torchmarkcorp.com.
> 
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


signature.asc
Description: Message signed with OpenPGP


Re: z/Linux 32-bit modules

2018-05-22 Thread Paul Edwards
Hi Martin. Thanks for your reply.

>> If the answer is AM31, then what happens if it
>> is run as AM64 instead?

> The process is started by the kernel in the "correct" mode,
> you can not specify that a ELF32 binary is started in AMODE-64.

> The kernel enforces limits as well, e.g. with a 31-bit compat
> process (ELF32) you can not map anything above the 2GB line.

I would like the z/Linux kernel to be modified
to start an ELF32 binary in AM64 and have access
to a full 4 GiB address space. And when it starts
an ELF32 binary it should zero out the high 32 bits
of the 64-bit registers using LMH R0,R15,=16F'0'.

Is there any technical barrier to doing that?

Thanks. Paul.


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On 22 May 2018 at 21:31, Martin Schwidefsky  wrote:

> On Mon, 21 May 2018 07:21:38 +1000
> Paul Edwards  wrote:
>
> > When 32-bit modules are created on z/Linux
> > using "gcc -m32" or whatever, is the resultant
> > module run as AM31 or AM64?
>
> The -m31 option creates objects and binaries in the ELF32 format.
> Without the option or with -m64 the ELF64 format is used.
>
> A 64-bit kernel recognizes the format of the binary and starts it
> in the appropriate mode. Native for ELF64 or compat for ELF32.
> The addressing mode is AMODE-64 for native 64-bit programs and
> AMOED-31 for compat 31-bit code.
>
> > If the answer is AM31, then what happens if it
> > is run as AM64 instead?
>
> The process is started by the kernel in the "correct" mode,
> you can not specify that a ELF32 binary is started in AMODE-64.
>
> The kernel enforces limits as well, e.g. with a 31-bit compat
> process (ELF32) you can not map anything above the 2GB line.
> The format of the signal handler frame is different as well
> for ELF32 vs ELF64.
>
> But you can switch the addressing mode in your program with
> the sam24, sam31, and sam64 instructions. If the code of the
> program is at a location that goes along with the chosen
> addressing mode, the CPU will happily execute the instructions.
> You better not forget to switch back to the default mode before
> calling a function in the runtime environment. Otherwise your
> program will quickly terminate.
>
> --
> blue skies,
>Martin.
>
> "Reality continues to ruin my life." - Calvin.
>
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Unsubscribe

2018-05-22 Thread bernardhines






"ad coelum et ad inferos,"

 Original message 
From: Paul Edwards  
Date: 5/22/18  17:38  (GMT-06:00) 
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: z/Linux 32-bit modules 

Hi Martin. Thanks for your reply.

>> If the answer is AM31, then what happens if it
>> is run as AM64 instead?

> The process is started by the kernel in the "correct" mode,
> you can not specify that a ELF32 binary is started in AMODE-64.

> The kernel enforces limits as well, e.g. with a 31-bit compat
> process (ELF32) you can not map anything above the 2GB line.

I would like the z/Linux kernel to be modified
to start an ELF32 binary in AM64 and have access
to a full 4 GiB address space. And when it starts
an ELF32 binary it should zero out the high 32 bits
of the 64-bit registers using LMH R0,R15,=16F'0'.

Is there any technical barrier to doing that?

Thanks. Paul.


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On 22 May 2018 at 21:31, Martin Schwidefsky  wrote:

> On Mon, 21 May 2018 07:21:38 +1000
> Paul Edwards  wrote:
>
> > When 32-bit modules are created on z/Linux
> > using "gcc -m32" or whatever, is the resultant
> > module run as AM31 or AM64?
>
> The -m31 option creates objects and binaries in the ELF32 format.
> Without the option or with -m64 the ELF64 format is used.
>
> A 64-bit kernel recognizes the format of the binary and starts it
> in the appropriate mode. Native for ELF64 or compat for ELF32.
> The addressing mode is AMODE-64 for native 64-bit programs and
> AMOED-31 for compat 31-bit code.
>
> > If the answer is AM31, then what happens if it
> > is run as AM64 instead?
>
> The process is started by the kernel in the "correct" mode,
> you can not specify that a ELF32 binary is started in AMODE-64.
>
> The kernel enforces limits as well, e.g. with a 31-bit compat
> process (ELF32) you can not map anything above the 2GB line.
> The format of the signal handler frame is different as well
> for ELF32 vs ELF64.
>
> But you can switch the addressing mode in your program with
> the sam24, sam31, and sam64 instructions. If the code of the
> program is at a location that goes along with the chosen
> addressing mode, the CPU will happily execute the instructions.
> You better not forget to switch back to the default mode before
> calling a function in the runtime environment. Otherwise your
> program will quickly terminate.
>
> --
> blue skies,
>    Martin.
>
> "Reality continues to ruin my life." - Calvin.
>
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: z/Linux 32-bit modules

2018-05-22 Thread Timothy Sipples
Paul Edwards wrote:
>I would like the z/Linux kernel to be modified
>to start an ELF32 binary in AM64 and have access
>to a full 4 GiB address space.

Leaving aside technical viability for a moment, I have a basic application
change management concern. Shouldn't the program binary make its own
decisions about changing its execution environment in such fashion? I can
imagine, without much imagination, many possible program breakages if the
kernel changed the execution environment that way.

At a minimum, any such kernel behavioral change would necessarily have to
be selective, with some sort of whitelisting mechanism. However, if you
agree that each program binary should properly make such decisions for
itself, with much better knowledge of its own capabilities for healthy
living within that new memory environment of up to 4 GiB, then the very
same application developer(s) could make an ELF64 (-m64) decision for the
whole program. Or, alternatively, and if I understand Martin Schwidefsky
correctly, the program developer could make a more selective, sub-program
sam64 in/out decision if she needs memory above the 2 GiB bar.

The hobbyist community shared my concern in another but broadly similar
context when it modified the MVS 3.8j operating system, designed for 24-bit
addressing (16 MiB), to add 31-bit addressing (2 GiB) in what they dubbed
"MVS/380." However, as far I know they didn't attempt to force that new
addressing mode onto any 24-bit programs. Instead, they provided the
above-line memory services and then allowed particular programs to exploit
those additional services if/as they wished, but only if they wished. The
fundamental reason they added those 31-bit services, besides fun and
enjoyment, is that MVS 3.8j simply didn't support anything but 24-bit
addressing. However, that's not a problem with Linux (or with z/OS). The
operating system already supports 64-bit addressing really well, and
developers are already free to exploit those capabilities, with knowledge
of their own code and its quirks and foibles.

The administrator managing Linux can enforce memory resource limits, so if
there's a desire to limit ELF64 (or sam64'ed) application memory
consumption to 4 GiB, no problem. The program might not like that either,
of course, but the OS can enforce such limits.

It seems like your idea would be a neat, creative trick if viable, but how
would help?


Timothy Sipples
IT Architect Executive, Industry Solutions, IBM Z & LinuxONE,
Multi-Geography
E-Mail: sipp...@sg.ibm.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread Frank M. Ramaekers
Well, I never could get it installed using TEXT mode, so I tried VNC 
(graphical) and had no problems.

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of R P 
Herrold
Sent: Tuesday, May 22, 2018 2:06 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Red Hat/ClefOS configuration file

On Tue, 22 May 2018, Neale Ferguson wrote:

> My kickstart uses url 
> --url="https://urldefense.proofpoint.com/v2/url?u=http-3A__download.sinenomine.net_clefos_7=DwIFaQ=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=vQFKkcwoM7RTywgRg5Z5JepqrEuc9mMuSAUi0lShshw=nchBRHEI3BbmJYnWApmzjII73SjSwh0OrXtPwY__0og=;
>  so I am not sure why you are not getting anything. 
> 
> On 5/22/18, 14:47, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
>  wrote:
> 
> Thanks allgetting further.

Hi, Frank

Recall that the URL mangling which you mentioned you saw would bite here

As I recall, in a text mode install, alt-F7 or such changed to different VT's 
so you could view what was being sent (the details are on one of the secondary 
initial boot screens, which you many toggle between)

Not sure what your network map looks like, of course, but before you beat 
yourself up, talk with your networking support about getting an unfiltered port 

Alternatively a 'mirror' can be set up 'inside' the protected perimeter and on 
the same network segment as the target machine to be installed, on a local PC 
running Linux fairly trivially

-- Russ herrold

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390=DwIFaQ=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=vQFKkcwoM7RTywgRg5Z5JepqrEuc9mMuSAUi0lShshw=8zEB_3M8zW-ulOnILZWARC5cezqmxuk_0qzFwKehK9o=
--
For more information on Linux on System z, visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_=DwIFaQ=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=vQFKkcwoM7RTywgRg5Z5JepqrEuc9mMuSAUi0lShshw=YsFMAC0Dqng7JksmP3fcKo4FgjK1fxsERXRD4kubHws=

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread Frank M. Ramaekers
The problem appeared to be accepting the license agreement from the z/VM 
consoleused ssh, no problem.

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of R P 
Herrold
Sent: Tuesday, May 22, 2018 4:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Red Hat/ClefOS configuration file

On Tue, 22 May 2018, Frank M. Ramaekers wrote:

> just one more thing:
>
> Initial setup of CentOS Linux 7 (Core)

ClefOS requires no acceptance of a license -- there is a 'firsttime' 
configuration tool in some of the sources, which it looks like we missed 
turning off, along with 'branding' sed as to distribution name there on our end

You may safely answer yes without future entaglements ;)

I had not see it as I never run a GUI Desktop environment, I guess

-- Russ herrold

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390=DwIBAg=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=ipJpFWFca0rQOLd81ceMYax3rn2_3eU--fYc0CAvRqo=SWS6S6NHzTAj-XVEbyQrxTDBjyhGyY8dNEm_I_kwlAk=
--
For more information on Linux on System z, visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_=DwIBAg=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=ipJpFWFca0rQOLd81ceMYax3rn2_3eU--fYc0CAvRqo=4TAZmidbQWCPFfGia1jK3RhBuaptqKdBTFjFyR84Ze8=

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread Frank M. Ramaekers
just one more thing:

Initial setup of CentOS Linux 7 (Core)  
   

   
 1) Ý!¨ License information 
   
(License not accepted)  
   
  Please make your choice from Ý '1' to enter the License information spoke | 
'q' to quit |
  'c' to continue | 'r' to refresh¨: 

Where do I get this?

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of R P 
Herrold
Sent: Tuesday, May 22, 2018 3:44 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Red Hat/ClefOS configuration file

On Tue, 22 May 2018, Frank M. Ramaekers wrote:

> Well, I never could get it installed using TEXT mode, so I tried VNC 
> (graphical) and had no problems.

congratulations -- welcome aboard

run your updates and boot please   ;)

-- Russ

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390=DwIBAg=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=bbadoYYOkz9vCukQvkIncdu-dZRFxfwoEXvScyE7iCY=Wt8xQobz08Ndb_0Mza4CpoBeQWVbHJqYmiLx6hbxQPA=
--
For more information on Linux on System z, visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_=DwIBAg=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ=bbadoYYOkz9vCukQvkIncdu-dZRFxfwoEXvScyE7iCY=7yW8hYPRwVk3BsMOoyc0ajEzKcn3a21fzt3ZJA-6OkQ=

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread R P Herrold
On Tue, 22 May 2018, Frank M. Ramaekers wrote:

> Well, I never could get it installed using TEXT mode, so I tried VNC 
> (graphical) and had no problems.

congratulations -- welcome aboard

run your updates and boot please   ;)

-- Russ

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread R P Herrold
On Tue, 22 May 2018, Frank M. Ramaekers wrote:

> just one more thing:
>
> Initial setup of CentOS Linux 7 (Core)

ClefOS requires no acceptance of a license -- there is a
'firsttime' configuration tool in some of the sources, which
it looks like we missed turning off, along with 'branding' sed
as to distribution name there on our end

You may safely answer yes without future entaglements ;)

I had not see it as I never run a GUI Desktop environment, I
guess

-- Russ herrold

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread Filipe Miranda
Hi,

Is this a network install ? If yes, the the installer is not able to find your 
installation tree. This is why Step #3 is falling.

on the GENERIC.PRM you have to define the install tree:

Example:
inst.repo=http://download.lab.bos.redhat.com/released/RHEL-7/7.0/Server/s390x/os

I prefer http, its fast and easy once you have the contents available though 
the web server.



Kind Regards,

—
Filipe Miranda



> On May 22, 2018, at 12:06 PM, R P Herrold  wrote:
> 
> On Tue, 22 May 2018, Neale Ferguson wrote:
> 
>> My kickstart uses url --url="http://download.sinenomine.net/clefos/7; so I 
>> am not sure why you are not getting anything.
>> 
>> On 5/22/18, 14:47, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
>>  wrote:
>> 
>>Thanks allgetting further.
> 
> Hi, Frank
> 
> Recall that the URL mangling which you mentioned you saw would
> bite here
> 
> As I recall, in a text mode install, alt-F7 or such changed to
> different VT's so you could view what was being sent (the
> details are on one of the secondary initial boot screens,
> which you many toggle between)
> 
> Not sure what your network map looks like, of course, but
> before you beat yourself up, talk with your networking support
> about getting an unfiltered port
> 
> Alternatively a 'mirror' can be set up 'inside' the
> protected perimeter and on the same network segment as the
> target machine to be installed, on a local PC running
> Linux fairly trivially
> 
> -- Russ herrold
> 
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


signature.asc
Description: Message signed with OpenPGP


Re: RedHat/ClefOS configuration file

2018-05-22 Thread Frank M. Ramaekers
Thanks allgetting further.



Installation



1) [x] Language settings 2) [x] Time settings

(English (United States))(US/Central timezone)

3) [!] Installation source   4) [!] Software selection

(Error setting up software   (Processing...)

source)   6) [x] Kdump

5) [x] Installation Destination (Kdump is enabled)

(Automatic partitioning   8) [x] Shell

selected)(Start shell)

7) [x] Network configuration10) [x] User creation

(Wired (enccw0.0.0600)   (Administrator framaekers will

connected)   be created)

9) [x] Root password

(Password is set.)

  Please make your choice from above ['q' to quit | 'b' to begin installation |

  'r' to refresh]:



I cannot determine what is needed for #3 above.   I’ve tried 
http://download.sinenomine.net/clefos/7 (and some of the subdirectories 
contained within), but it doesn’t seem to like it.



Frank M. Ramaekers Jr.





-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Filipe 
Miranda
Sent: Tuesday, May 22, 2018 11:20 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RedHat/ClefOS configuration file



Hello,



Please review: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/installation_guide/#list-boot-options-network



> ip=9.12.7.96::9.12.4.1:20:vmlnx2-1.itso.ibm.com:enccw0.0.0600:none



Table 22.4. Network Interface Configuration Formats



Configuration Method   Option format

Automatic configuration of any interface  ip=method

Automatic configuration of a specific interface   ip=interface:method

Static configuration ip=ip::gateway:netmask:hostname:interface:none

Automatic configuration of a specific interface with an override [a] 

ip=ip::gateway:netmask:hostname:interface:method:mtu

[a]  
Brings
 up the specified interface using the specified method of automatic 
configuration, such as dhcp, but overrides the automatically obtained IP 
address, gateway, netmask, host name or other specified parameter. All 
parameters are optional; only specify the ones you want to override and 
automatically obtained values will be used for the others.



Keep in mind that the NETMASK must be in CIDR format.







—

Filipe Miranda





> On May 22, 2018, at 7:42 AM, Frank M. Ramaekers 
> > wrote:

>

> I'm following in the IBM Redbook "The Virtualization Cookbook for IBM z 
> Systems Volume 2: Red Hat Enterprise Linux 7.1 Servers", and I'm at step 6:

>

>

> 6. Edit the GENERIC PRM file by adding the correct parameters and system 
> information as shown in the following example:

> ==> xedit GENERIC PRM a

> ro ramdisk_size=4 cio_ignore=all,!condev

> ip=9.12.7.96::9.12.4.1:20:vmlnx2-1.itso.ibm.com:enccw0.0.0600:none

> rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1

> nameserver=9.12.6.7 nameserver=9.12.6.6

> inst.repo=ftp://lydiap:new2day@9.60.87.87//home/lydiap/linux/rhel71

> rd.dasd=0.0.0100 rd.dasd=0.0.0200

> vnc vncpassword=12345678

>

> Where do I find out what the various operands are for each keyword 
> (especially the ip=)?   I'm assuming the ip= is:

>

> 1)  Server being installed IP address

>

> 2)  Unknown

>

> 3)  Gateway

>

> 4)  hostname

>

> 5)  OSA address

>

> 6)  Unknown (none)

>

> I think I have everything else.

>

> inst.repo=protocol://password:userid@hostname//directory/to/images

>

> TIA,

> Frank M. Ramaekers Jr. | Systems Programmer | Information Technology |

> American Income Life Insurance Company | 254-761-6649 (732-6649)

>

> --

> This message contains information which is privileged and confidential and is 
> solely for the use of the intended recipient. If you are not the intended 
> recipient, be aware that any review, disclosure, copying, distribution, or 
> use of the contents of this message is strictly prohibited. If you have 
> received this in error, please destroy it immediately and notify us at 
> privacy...@torchmarkcorp.com.

>

> --

> For LINUX-390 subscribe / signoff / archive access instructions, send

> email to lists...@vm.marist.edu with the 
> message: INFO LINUX-390 or

> visit

> http://www.marist.edu/htbin/wlvindex?LINUX-390

> 

Re: RedHat/ClefOS configuration file

2018-05-22 Thread Neale Ferguson
My kickstart uses url --url="http://download.sinenomine.net/clefos/7; so I am 
not sure why you are not getting anything. 

On 5/22/18, 14:47, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
 wrote:

Thanks allgetting further.
 


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat/ClefOS configuration file

2018-05-22 Thread R P Herrold
On Tue, 22 May 2018, Neale Ferguson wrote:

> My kickstart uses url --url="http://download.sinenomine.net/clefos/7; so I am 
> not sure why you are not getting anything. 
> 
> On 5/22/18, 14:47, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
>  wrote:
> 
> Thanks allgetting further.

Hi, Frank

Recall that the URL mangling which you mentioned you saw would 
bite here

As I recall, in a text mode install, alt-F7 or such changed to 
different VT's so you could view what was being sent (the 
details are on one of the secondary initial boot screens, 
which you many toggle between)

Not sure what your network map looks like, of course, but 
before you beat yourself up, talk with your networking support 
about getting an unfiltered port 

Alternatively a 'mirror' can be set up 'inside' the 
protected perimeter and on the same network segment as the 
target machine to be installed, on a local PC running 
Linux fairly trivially

-- Russ herrold

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: 7.5 package levels

2018-05-22 Thread Daniel P. Martin
No info; not installed.  (The image I'm poking with the Stick of Inquiry 
is not yet registered with an entitlement server.)


On 5/22/2018 9:45 AM, Neale Ferguson wrote:

Thanks Dan. What about openssl-ibmpkcs11?

On 5/22/18, 10:30, "Linux on 390 Port on behalf of Daniel P. Martin" 
 wrote:

 On a recently installed RHEL 7.5 system...
 




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: 7.5 package levels

2018-05-22 Thread Neale Ferguson
Tks

On 5/22/18, 10:59, "Linux on 390 Port on behalf of Daniel P. Martin" 
 wrote:

No info; not installed.  (The image I'm poking with the Stick of Inquiry 
is not yet registered with an entitlement server.)

On 5/22/2018 9:45 AM, Neale Ferguson wrote:
> Thanks Dan. What about openssl-ibmpkcs11?
>
> On 5/22/18, 10:30, "Linux on 390 Port on behalf of Daniel P. Martin" 
 wrote:
>
>  On a recently installed RHEL 7.5 system...
>  
>
>
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/