Summary : Console serial comms

From: Steve Franks (scf@nabaus.com.au)
Date: Mon Nov 10 1997 - 16:05:26 CST


Sun Gurus,

Thanks for the responses to my question (copy below).

I was on the right track by modifying ttydefs & eeprom but I should have
power cycled the machine for it to bite.

The preferred console settings are found in a file /etc/ioctl.syscon.

I did not have a parity problem (8,N,1) is fine but for reference,
Solaris (ttymon) ignores prom settings - the prom & ttymon operate
independently with their own agendas.

Another opinion was that I should never change the console settings on
the grounds that should any of the hardware & the new settting goes back
to 9600 I will have to muck around getting everything back to the same
speed.

In my situation, I prefer to go with the higher speed & document any
changes so I can get the benefit of faster scrolling of data on the
console - at 9600 it is annoyingly slow.

There is a useful document on Solaris 2.x Modems & Terminals at :

http://www.stokely.com/unix.serial.port.resources/modem.html

I have looked at this & found it to contain lots of useful bits.

Thanks to :
jyoung@educate.com
Casper Dik <casper@holland.Sun.COM>
Kevin.Sheehan@uniq.com.au
Glenn Satchell - Uniq Professional Services <Glenn.Satchell@uniq.com.au

Steve

> I currently use a CISCO 2509 machine as a terminal server with one port
> acting as a console to a SPARC 20 running Solaris 2.4.
>
> I want to bump the speed of the console to 19200bps from 9600.
>
> I have set the terminal server to 19200 but I am having trouble getting
> intelligible text on the console.
>
> I have tried :
> * changing prom setting for ttya to 19200
> eeprom -- ttya-mode=19200,8,n,1,-
> * changing inittab entry to point to a faster device in /etc/ttydefs
> co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login:
> " -T sun -d /dev/console -l console5 -m ldterm,ttcompat
>
> where ttydefs extract is ->
> console:9600 hupcl opost onlcr:9600::console
> console1:1200 hupcl opost onlcr:1200::console2
> console2:300 hupcl opost onlcr:300::console3
> console3:2400 hupcl opost onlcr:2400::console4
> console4:4800 hupcl opost onlcr:4800::console5
> console5:19200 hupcl opost onlcr:19200::console
>
> * Changing console entry in ttydefs to 19200
>
> In all cases I get no errors from ttymon or the terminal server but any
> text on the console device is gibberish - looks like what I would expect
> from a line speed mis-match.
>
> I see from the man page for ttydefs that I cannot get Solaris to
> autobaud past 9600 so that is not an option to add to ttydefs.
>
> I have not touched any of the other serial parameters on the terminal
> server or on the SOlaris box.
>
> Does Solaris override the prom settings?
> Does the console have specific requirements that I can't alter?
> Have I missed anything here?

=================================================
Steve Franks
National Australia Bank, Midrange Services

1/216 Victoria Pde ph : +61 3 9208 5794
E Melbourne, Victoria fax : +61 3 9208 5023
Australia 3150 email : scf@nabaus.com.au
=================================================


attached mail follows:


Sun Gurus,

I currently use a CISCO 2509 machine as a terminal server with one port
acting as a console to a SPARC 20 running Solaris 2.4.

I want to bump the speed of the console to 19200bps from 9600.

I have set the terminal server to 19200 but I am having trouble getting
intelligible text on the console.

I have tried :
* changing prom setting for ttya to 19200
        eeprom -- ttya-mode=19200,8,n,1,-
* changing inittab entry to point to a faster device in /etc/ttydefs
        co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login:
" -T sun -d /dev/console -l console5 -m ldterm,ttcompat

 where ttydefs extract is ->
console:9600 hupcl opost onlcr:9600::console
console1:1200 hupcl opost onlcr:1200::console2
console2:300 hupcl opost onlcr:300::console3
console3:2400 hupcl opost onlcr:2400::console4
console4:4800 hupcl opost onlcr:4800::console5
console5:19200 hupcl opost onlcr:19200::console

* Changing console entry in ttydefs to 19200

In all cases I get no errors from ttymon or the terminal server but any
text on the console device is gibberish - looks like what I would expect
from a line speed mis-match.

I see from the man page for ttydefs that I cannot get Solaris to
autobaud past 9600 so that is not an option to add to ttydefs.

I have not touched any of the other serial parameters on the terminal
server or on the SOlaris box.

Does Solaris override the prom settings?
Does the console have specific requirements that I can't alter?
Have I missed anything here?

Any clues would be appreciated.

Thanks,
Steve
   
=================================================
Steve Franks
National Australia Bank, Midrange Services

1/216 Victoria Pde ph : +61 3 9208 5794
E Melbourne, Victoria fax : +61 3 9208 5023
Australia 3150 email : scf@nabaus.com.au
=================================================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:08 CDT