Re: Loading VMCP in single or emergency boot modes
From my reading of /proc/sysinfo, the LPAR name is present, but not the z/VM node. Mark Gillis -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Wednesday, January 21, 2015 10:27 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Loading VMCP in single or emergency boot modes On 1/20/2015 at 05:22 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Thanks for your response. Yes, running RedHat 6.5. Trailing a CA Linux Connector product which uses VMCP to obtain guest zVM Node. That information was not available until run level '3'. Product reported back NULLS until multi user mode. Open up a bug report with CA. There's no reason they should be using vmcp to get that information. That's all in /proc/sysinfo which is available in all runlevels. Mark Post -- 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/ The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. -- 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: Loading VMCP in single or emergency boot modes
On Thursday, 01/22/2015 at 02:41 EST, Gillis, Mark mark.gil...@ca.com wrote: From my reading of /proc/sysinfo, the LPAR name is present, but not the z/VM node. The z/VM system identifier is not part of the output of STSI, just as the CPC name is not available. (I wish it was, but it isn't.) If you are fortunate, your LPAR name and system identifier are the same, but it certainly isn't required. If you want the system identifier, you issue QUERY USERID to get it. (The word 'node' is ambiguous.) Alan Altmark Senior Managing z/VM and Linux Consultant Lab Services System z Delivery Practice IBM Systems Technology Group ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott -- 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: Loading VMCP in single or emergency boot modes
On 1/22/2015 at 02:35 PM, Gillis, Mark mark.gil...@ca.com wrote: From my reading of /proc/sysinfo, the LPAR name is present, but not the z/VM node. Yes, you're right. Sorry. I was remembering the version of z/VM, not the system name. The guest userid is there, however. Mark Post -- 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: Loading VMCP in single or emergency boot modes
On 1/20/2015 at 05:22 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Thanks for your response. Yes, running RedHat 6.5. Trailing a CA Linux Connector product which uses VMCP to obtain guest zVM Node. That information was not available until run level '3'. Product reported back NULLS until multi user mode. Open up a bug report with CA. There's no reason they should be using vmcp to get that information. That's all in /proc/sysinfo which is available in all runlevels. Mark Post -- 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: Loading VMCP in single or emergency boot modes
Thanks very much. Joe Joseph Vitale Technology Services Group Mainframe Operating Systems Pershing Plaza 95 Christopher Columbus Drive Floor 14 Jersey City, N.J. 07302 Work 201-395-1509 Cell917-903-0102 -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Wednesday, January 21, 2015 10:27 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Loading VMCP in single or emergency boot modes On 1/20/2015 at 05:22 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Thanks for your response. Yes, running RedHat 6.5. Trailing a CA Linux Connector product which uses VMCP to obtain guest zVM Node. That information was not available until run level '3'. Product reported back NULLS until multi user mode. Open up a bug report with CA. There's no reason they should be using vmcp to get that information. That's all in /proc/sysinfo which is available in all runlevels. Mark Post -- 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/ The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. -- 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: Loading VMCP in single or emergency boot modes
Thanks for your response. Yes, running RedHat 6.5. Trailing a CA Linux Connector product which uses VMCP to obtain guest zVM Node. That information was not available until run level '3'. Product reported back NULLS until multi user mode. RedHat support of no use. I found this which works except for Emergency run level: You can specify additional modules to be loaded by creating a new name.modules file name in /etc/sysconfig/modules/ directory, where name is any descriptive name of your choice. This does a modprobe for VMCP, file: /etc/sysconfig/modules/ibm-vmcp #!/bin/sh # Load VMCP module # Insure /dev/vmcp does NOT exist, if it does # then vmcp previously loaded. # ! = NOT there if [ ! -c /dev/vmcp ] ; then exec /sbin/modprobe vmcp /dev/null 21 fi Joseph Vitale Technology Services Group Mainframe Operating Systems Pershing Plaza 95 Christopher Columbus Drive Floor 14 Jersey City, N.J. 07302 Work 201-395-1509 Cell917-903-0102 -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post Sent: Tuesday, January 20, 2015 4:49 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Loading VMCP in single or emergency boot modes On 1/20/2015 at 12:26 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, Kernel module VMCP is loaded via /etc/rc.local but only in Mult-User mode, run level 3. I would like to load it in earlier run levels, say Single User mode. There should be a way to do that without a script in /etc/rc1.d. RedHat recommends I rebuild initramfs-2.6.32-431.el6.s390x.img via /etc/dracut.conf. I would appreciate your advice on this. Based on your description, this is prior to RHEL 7. Please correct me if I'm wrong. At the points in system startup you're talking about, the root file system has already been switched to the real device that holds it. Putting something into your initrd would be a little superfluous since you would already have access to your real disk. To me, just typing modprobe vmcp when needed is far less of a hassle than doing just about anything else like setting up an init script. Or, if rc.local doesn't contain anything else, you could just execute _that_ manually. (Or if it doesn't have anything else you don't mind executing in runlevels S, 1, or 2.) Mark Post -- 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/ The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. -- 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/
Loading VMCP in single or emergency boot modes
Hello, Kernel module VMCP is loaded via /etc/rc.local but only in Mult-User mode, run level 3. I would like to load it in earlier run levels, say Single User mode. There should be a way to do that without a script in /etc/rc1.d. RedHat recommends I rebuild initramfs-2.6.32-431.el6.s390x.img via /etc/dracut.conf. I would appreciate your advice on this. Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems Pershing Plaza 95 Christopher Columbus Drive Floor 14 Jersey City, N.J. 07302 Work 201-395-1509 Cell917-903-0102 The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. -- 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: Loading VMCP in single or emergency boot modes
On 1/20/2015 at 12:26 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, Kernel module VMCP is loaded via /etc/rc.local but only in Mult-User mode, run level 3. I would like to load it in earlier run levels, say Single User mode. There should be a way to do that without a script in /etc/rc1.d. RedHat recommends I rebuild initramfs-2.6.32-431.el6.s390x.img via /etc/dracut.conf. I would appreciate your advice on this. Based on your description, this is prior to RHEL 7. Please correct me if I'm wrong. At the points in system startup you're talking about, the root file system has already been switched to the real device that holds it. Putting something into your initrd would be a little superfluous since you would already have access to your real disk. To me, just typing modprobe vmcp when needed is far less of a hassle than doing just about anything else like setting up an init script. Or, if rc.local doesn't contain anything else, you could just execute _that_ manually. (Or if it doesn't have anything else you don't mind executing in runlevels S, 1, or 2.) Mark Post -- 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/