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
Cell 917-903-0102
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Brent
Kincer
Sent: Friday, January 24, 2014 12:54 PM
To: [email protected]
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 < [email protected]>
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 [email protected] 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
[email protected] 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 [email protected] 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/