Hi Offer,

On Tue, Nov 19, 2013 at 09:32:17AM +0200, Offer Baruch wrote:
> I have setup my linux guests to work with a terminal server (on redhat
> V5.6)...
> I want my 3270 to be the preferred console (that is all messages should be
> logged there).
> I also want ot be able to login and work both from 3270 and iucv...
> i did manage to get all messages logged on my 3270 and some on my hvc0
> (placing the ttyS0 last) but i am unable to login from hvc0.
> I just don't get a login prompt...
>
> these are the kernel parameters i am using:
> hvc_iucv=8 console=hvc0 console=ttyS0

These kernel parameters look good.  You can use all 8 hvc devices to log in to
your Linux instance.   The console parameters also correct for you intended
set up mentioned above.
>
> this is how my initab console statements looks like:
> 1:2345:respawn:/sbin/mingetty console --noclear

This provides you the login prompt on the _preferred_ console.  It is
indicated by the last console= parameter.  In your setup, this is "ttyS0".

> t1:2345:respawn:/usr/bin/iucvtty hvc0

This actually starts an iucvtty instance using the "hvc0" terminal identifier.
The iucvtty program is an alternative to the kernel-provided terminal devices.
You might try to issue "iucvconn vm_user_id hvc0" to connect to the iucvtty
instance.

> what am i missing?


To enable logins on the hvc0..hvc7 terminals, for example, hvc0, create a new
inittab entry of this form:

h0:2345:respawn:/sbin/mingetty --noclear hvc0

> I couldn't find any good documentation about this...

Have you check the terminal server how-to?

You can find some sample inittab entries in the "Setting up HVC devices" in
http://public.dhe.ibm.com/software/dw/linux390/docu/l26dht00.pdf

Thanks and kind regards,
  Hendrik

--
Hendrik Brueckner
[email protected]      | IBM Deutschland Research & Development GmbH
Linux on System z Development     | Schoenaicher Str. 220, 71032 Boeblingen


IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------
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/

Reply via email to