Re: Sun E450 Serial Console Problems...

From: Ryan A. Krenzischek (krenzischek@Encompasserve.org)
Date: Fri Jul 09 2004 - 14:41:00 EDT


Hi All,

A couple of things. I found out when setting the terminal server to
7-e-1, I got readable text. Basically there is something on boot-up that
is setting the port to 7-e-1. Because the text is readable in OB and part
of the boot-up.

So, I followed a couple of documents on Sun's website. SRDB 13758 was for
SunOS 4.x but it took care of my immediate problem.

I needed to set imask_7bits to Y on the terminal server. The terminal
server will automagically recognize and fix itself if the port goes into
7-e-1 mode--no more garbled characters.

I also stumbled upon a InfoDOC 16093 on how to setup headless sun boxes.
It said that there should be no port monitor service running on the serial
port which is destined to be the console. Thus, this port monitor service
is probably what was changing the port behavior to 7-e-1 on bootup. Since
I can't recycle the systems, I will just assume until I can confirm that
disabling the service on ttya will resolve the port going into 7-e-1 mode.

Thus, if pmadm -l outputs a port monitor service on ttya, you must remove
the service using the command: pmadm -p zsmon -r -s ttya

If anyone can confirm that the port monitor service can change the
speed/parity/stop bits, that would be much appreciated since I know it is
probably only one configuration file that needs to be changed.

Thanks to Peter Stokes for letting me know that Sun did initially have a
problem with this and that there may be a potential work around (as I did
find one in their SRDB/InfoDOCs)

Ryan

On Fri, 9 Jul 2004, Ryan A. Krenzischek wrote:

> All,
>
> I am baffled as to why I am having this problem. I hope I can find the
> light at the end of the tunnel. Here it goes...
>
> I have servers connected to an Annex terminal server. I have tried:
>
> 1. Replacing the annex terminal server
> 2. Replacing the rj-45/dsub 25 connectors
> 3. Replacing the cat5 cable that is connected between the ts/host
>
> The configuration on the annex is as follows:
>
> admin : show port=3
>
> port asy3:
>
> Port Generic Parameters
>
> mode: slave location: ""
> type: hardwired term_var: ""
> prompt: "" cli_interface: uci
> speed: 9600 autobaud: N
> data_bits: 8 stop_bits: 1
> parity: none max_session_count: 3
> allow_broadcast: Y broadcast_direction: port
> imask_7bits: N cli_imask7: Y
> ps_history_buffer: 0 banner: Y
> tcp_keepalive: 0 dedicated_address: 0.0.0.0
> dedicated_port: telnet type_of_modem: ""
> default_session_mode: interactive dedicated_arguments: ""
> resolve_protocol: connect
>
> Flow Control and Signal Parameters
>
> control_lines: none input_flow_control: start/stop
> input_start_char: ^Q input_stop_char: ^S
> output_flow_control: start/stop output_start_char: ^Q
> output_stop_char: ^S input_buffer_size: 1
> ixany_flow_control: N need_dsr: N
> forward_key: "" backward_key: ""
> admin :
>
> The configuration on the unix box:
>
> # eeprom | grep -i tty
> ttyb-rts-dtr-off=false
> ttyb-ignore-cd=true
> ttya-rts-dtr-off=false
> ttya-ignore-cd=true
> ttyb-mode=9600,8,n,1,-
> ttya-mode=9600,8,n,1,-
> #
>
> The output when connecting to the box:
>
> % telnet x.x.x.x
> Trying x.x.x.x...
> Connected to x.x.x.x.
> Escape character is '^]'.
>
>
> Rotaries Defined:
> hosta 2
> hostb 3
> hostc 4
> cli -
>
> Enter Annex port name or number: 3
> Port password:
>
> Permission granted
> Attached to port 3
> hostb console login:
> telnet> cl
> Connection closed.
>
> Now...unfortunately when I past the text into this xterm, "hostb console
> login:" comes through in readable text. This is not the case on my other
> xterm. It comes through with characters with umlaudaes and other
> characters that I can not decifer. I can provide a screenshot if you are
> interested since any attachments will be stripped from emails sent this
> mailing list.
>
> Anything that I'm missing. It only happens on hosts "b" and "c".
> Ideas?
>
> One other item, I have been told that the output from serial console is
> readable when at OB level. At a certain point in the boot process, it
> becomes unreadble. I can not see anything in the rc.X directories that is
> changing the characteristics of the serial ports.
>
> TIA,
>
> Ryan
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:04 EDT