Re: Problem using IUCVCONN in single user mode
To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- 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: Problem using IUCVCONN in single user mode
Brent, Thank you very much for replying. I think you pointed out my problem.zipl.conf specifies console=hvc0 1st, 2nd is console=ttyS0 . I was curious as to what was being run in that particular run mode. My zipl.conf: hvc_iucv=2 console=hvc0 console=ttyS0 hvc_iucv_allow=linux1,linuxtst Can I confirm coding of your upstart job? start on stopped rc RUNLEVEL=[2345] is correct, no S start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm Thanks again Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 12:54 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- 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
Re: Problem using IUCVCONN in single user mode
Hey Joe, You are correct, I do not have S in the start line of my upstart job. You can always try your upstart job the way you had it, but I vaguely remember testing a similar upstart config a couple years ago and it not working as I thought it would. The strange thing that will occur when you have a failed filesystem check is your output just goes away on your 3270 as it gets directed to the iucv console. I don't like this solution, but I put in an echo statement that is directed to /dev/ttyS0 in /etc/rc.d/rc.sysinit so we could see the failure in 3270 and know to switch over to IUCV. Thanks, Brent On Fri, Jan 24, 2014 at 1:17 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Brent, Thank you very much for replying. I think you pointed out my problem.zipl.conf specifies console=hvc0 1st, 2nd is console=ttyS0 . I was curious as to what was being run in that particular run mode. My zipl.conf: hvc_iucv=2 console=hvc0 console=ttyS0 hvc_iucv_allow=linux1,linuxtst Can I confirm coding of your upstart job? start on stopped rc RUNLEVEL=[2345] is correct, no S start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm Thanks again Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 12:54 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- 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
Re: Problem using IUCVCONN in single user mode - 2 gettys now on console
I made both changes. After boot hvc0 console kept logging on root and then the standard logon prompt. Seems 2 processes are on hvc0 console. Both from/etc/init/tty.conf and /etc/init/ttyH0.conf I removed from tty.conf: --autologin root but would not accept root id/password. I see I am on console: # who root console 2014-01-24 14:41 /etc/securetty has hvc0 hvc1 listed tty.conf: stop on runlevel [S016] respawn instance $TTY exec /sbin/mingetty $TTY --autologin root ttyH0.conf: start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 12:54 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- 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
Re: Problem using IUCVCONN in single user mode - 2 gettys now on console
Oh right, we removed tty.conf altogether. We have three upstart jobs, two for each IUCV console and one for the ttyS0. We also commented out /etc/profile.d/s390.sh and /etc/profile.d/s390.csh just to ensure the TERM variables stay intact. Sorry for missing that, it's been a while since we set these up... On Fri, Jan 24, 2014 at 2:50 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: I made both changes. After boot hvc0 console kept logging on root and then the standard logon prompt. Seems 2 processes are on hvc0 console. Both from /etc/init/tty.conf and /etc/init/ttyH0.conf I removed from tty.conf: --autologin root but would not accept root id/password. I see I am on console: # who root console 2014-01-24 14:41 /etc/securetty has hvc0 hvc1 listed tty.conf: stop on runlevel [S016] respawn instance $TTY exec /sbin/mingetty $TTY --autologin root ttyH0.conf: start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 12:54 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- 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
Re: Problem using IUCVCONN in single user mode
Thanks for the help Brent. I cannot get this thing right. I need to try more options. joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 2:49 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode Hey Joe, You are correct, I do not have S in the start line of my upstart job. You can always try your upstart job the way you had it, but I vaguely remember testing a similar upstart config a couple years ago and it not working as I thought it would. The strange thing that will occur when you have a failed filesystem check is your output just goes away on your 3270 as it gets directed to the iucv console. I don't like this solution, but I put in an echo statement that is directed to /dev/ttyS0 in /etc/rc.d/rc.sysinit so we could see the failure in 3270 and know to switch over to IUCV. Thanks, Brent On Fri, Jan 24, 2014 at 1:17 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Brent, Thank you very much for replying. I think you pointed out my problem.zipl.conf specifies console=hvc0 1st, 2nd is console=ttyS0 . I was curious as to what was being run in that particular run mode. My zipl.conf: hvc_iucv=2 console=hvc0 console=ttyS0 hvc_iucv_allow=linux1,linuxtst Can I confirm coding of your upstart job? start on stopped rc RUNLEVEL=[2345] is correct, no S start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm Thanks again Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 12:54 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- For LINUX-390 subscribe / signoff
Re: Problem using IUCVCONN in single user mode - 2 gettys now on console
I have to try that. Thanks joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 3:56 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode - 2 gettys now on console Oh right, we removed tty.conf altogether. We have three upstart jobs, two for each IUCV console and one for the ttyS0. We also commented out /etc/profile.d/s390.sh and /etc/profile.d/s390.csh just to ensure the TERM variables stay intact. Sorry for missing that, it's been a while since we set these up... On Fri, Jan 24, 2014 at 2:50 PM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: I made both changes. After boot hvc0 console kept logging on root and then the standard logon prompt. Seems 2 processes are on hvc0 console. Both from /etc/init/tty.conf and /etc/init/ttyH0.conf I removed from tty.conf: --autologin root but would not accept root id/password. I see I am on console: # who root console 2014-01-24 14:41 /etc/securetty has hvc0 hvc1 listed tty.conf: stop on runlevel [S016] respawn instance $TTY exec /sbin/mingetty $TTY --autologin root ttyH0.conf: start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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 Brent Kincer Sent: Friday, January 24, 2014 12:54 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problem using IUCVCONN in single user mode To get our IUCV console working in Single User Mode, our upstart job looks like this: # This service maintains two agetty sessions on /dev/hvc0 start on stopped rc RUNLEVEL=[2345] stop on runlevel [S016] respawn exec /sbin/agetty -L 9600 hvc0 xterm I believe the /etc/rc.d/rc.sysinit should be directing console traffic in runlevels S and 1 as long as your kernel parameters specify console=hvc0 AFTER console=ttyS0. Order is important, the second console statement is your primary console, and in runlevels S and 1, you can only have one console. Hope this helps, Brent On Thu, Jan 23, 2014 at 11:05 AM, Vitale, Joseph joseph.vit...@bnymellon.com wrote: Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/ -- 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
Problem using IUCVCONN in single user mode
Hello, I notice when zLinux 6.2 drops into Single User mode at boot up say due to bad /etc/fstab, I cannot connect via iucvconn Guest lnxhvc0. The command just hangs. Appears /etc/init/ttyH0.conf is not run in single user mode. I logon as root to 3270 console and enter exec command from ttyH0.conf and hvc0 is usable. Any idea how to start this when entering Single user mode? Contents of /etc/ttyH0.conf: # hvc0 - agetty # # This service maintains a agetty on ttyH0. # start on runlevel [S2345] stop on runlevel [06] # respawn exec agetty -L 9600 hvc0 xterm Thanks Joe Joseph Vitale Technology Services Group Mainframe Operating Systems 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/