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 Cell 917-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 > Cell 917-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 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/