Visit Our UNIX and Linux User Community


TTY Insane


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers TTY Insane
# 8  
Old 09-01-2009
That looks almost like line noise...
# 9  
Old 09-03-2009
Thinking back, I killed the process that was running the console login because I suspected that it was sitting in a directory I needed to unmount. I thought that a reboot would clear up any mess that that might cause, maybe it didn't...?
# 10  
Old 09-04-2009
Do you have a solution yet?

I am having the same issue. Slightly different setup, but exactly the same symptoms. I am feeding a Solaris box from a Linux box via a 1-way serial feed. Blackbox mini-fiber modems on each end. If I feed from Linux to Linux, everything cool. cat of /dev/ttyS0 on receiving Linux box show pristine,readable data. Hook it into the Solaris box and everything coming all garbled and stupid. Fiddled with 99.99 percent of the settings. Just need to find that last .01 and I'm pretty sure problem solved. I'll post a solution if I find it.
Quote:
Originally Posted by danny.hudson
Hi All,

Long time reader, first time poster.

I have a tip session to a v480 serial console running Solaris 9.
Look at this mess I'm getting back...

connected root0-**root0-**root0-**li*****************************orclecro***************************tc*************** **************ltfore*****************************roceice*************************cetc* ****************************texort**************************ifl-te-Sire0-ltet**toe****************************ttitllc***********************treoerel***** *********************treoli*****************************rlot+fo**********************r ox****************************olt*****************************xfet**************************** *iirotroot0-**root0-**root0-**exort**Mt00Mt00:*i*ot**ietifierroot0-**root0-**root0-**ro


Can anyone tell me how to make it sane? stty sane made it worse!

I invoked tip using tip -9600 /dev/ttyb, as we always do. It still works fine if we plug it into another box. I have a perfectly legible telnet session to the box so I can make changes, look at stuff etc. My best guess is that there's a line speed issue but I don't know where the settings are.

tia


---------- Post updated at 12:50 PM ---------- Previous update was at 09:25 AM ----------

Quote:
Originally Posted by HawaiiMike
I am having the same issue. Slightly different setup, but exactly the same symptoms. I am feeding a Solaris box from a Linux box via a 1-way serial feed. Blackbox mini-fiber modems on each end. If I feed from Linux to Linux, everything cool. cat of /dev/ttyS0 on receiving Linux box show pristine,readable data. Hook it into the Solaris box and everything coming all garbled and stupid. Fiddled with 99.99 percent of the settings. Just need to find that last .01 and I'm pretty sure problem solved. I'll post a solution if I find it.

on my solaris box, I'm trying the following : stty clocal </dev/ttya
when I do a stty -a </dev/ttya "clocal" is still showing "-clocal. Does anyone have any ideas on what is wrong with the command or how I could toggle -clocal to clocal?
referring to my explanation above, just trying to get the "com" related tty settings to match up between the Linux and Solaris box.
# 11  
Old 09-07-2009
According to:
http://sunsolve.sun.com/data/802/802-3241-10/pdf/08.cfgparamnew.pdf

The hyphen at the end is normal.
# 12  
Old 09-07-2009
My experiences have been on another OS but serial is serial, mostly.
I've seen similar on stuff I deal with, corona's post set off the alarms, and recall a couple of issues with floating signal ground. In fact, I had one account that ran serial for at least 5 years with no signal ground at all with no problems until a hardware change and garbage started floating in.
You might also want to investigate the possibility of a ground loop.
# 13  
Old 09-08-2009
I don't know about the OPs problem, but mine was resolved by purchasing a usb-serial cable and going out serial to serial that way. No kidding. no other configuration changes. Linux to Linux through the onboard serial worked fine, but going out to a Sun box required the usb to serial cable. go figure.
# 14  
Old 09-08-2009
Those happen. The Sun probably was sensitive and your onboard probably couldn't put out enough current to get things transitioned.
How long was the cable? What wire gauge, if you know? Both affect the waveshape of the signal.
Looking at problem serial signals with a scope can show some serious RC degradation of the leading edge of the bits. At the worst I've seen the normal square wave was rounded off so much that the signal never made it to the rail voltage before the transition to the other rail started.

Note to danny.hudson:
Do you have the capability to slow down the communications speed? To maybe 1200b to see what the result might be. If you are having problems from the same cause as HawaiiMike changing the speed may improve things enough to make a preliminary diagnosis.
232 over 25 feet gets iffy. Heavier gauge wire makes things worse. Line drivers not able to push full current through the wire affects things. Non-standard 232 implementations create grief. Onboard, all-in-one chips seem to create more problems than separate UART and line driver/line receiver setups.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #657
Difficulty: Easy
The last retail version of MS-DOS was MS-DOS 7.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

In bash, you can do something like this: #!/bin/bash echo -n "What is your name? " > /dev/tty read thename < /dev/tty How can I do the same in python? I have a python script that has the following content: #!/usr/bin/python2.7 import getpass import sys import telnetlib import... (2 Replies)
Discussion started by: SkySmart
2 Replies

2. Solaris

Installing software -going insane

I have Solaris 10 update 11 installed on a virtual machine which I use for my lunix class (I'm studying I.T. but have little unix experience). So I have root access* I'm also do C programming in my course and would love to do it on my Solaris machine. So I looked into installing GCC and... (5 Replies)
Discussion started by: goformickey
5 Replies

3. Shell Programming and Scripting

Insane redirection behavior

Hi guys, I know computers don't misbehave. But I'm puzzled by what's happening right know in a script : I simplified the example to point out what seems weird to me. Don't try to find any sense to this stupid script. There are 10 rows in /tmp/tmp.txt i=0 tmpfile=/tmp/tmp.txt while... (3 Replies)
Discussion started by: chebarbudo
3 Replies

4. UNIX for Advanced & Expert Users

tty changes?

I am not sure if I am using the correct terminology but somehow my tty keeps changing on me. The man pages are confusing to me on what exactly the tty is. This is what I see when I run the tty command. Could anyone explain why my tty keeps changing? ~ $ tty /dev/pts/1 ~ $ tty /dev/pts/0 (6 Replies)
Discussion started by: cokedude
6 Replies

5. Solaris

tty hack

hi all, what i want to do when user open terminal like tty5 and do his work i want to see his terminal how can i do this (1 Reply)
Discussion started by: xxmasrawy
1 Replies

6. UNIX for Dummies Questions & Answers

pts and tty

hi iam very new to linux can anyone tell me about pts and tty acctually today morning i logged into my pc at 9:51 when i have given #who it has given sam tty7 9:51 sam pts/1 10:11 so what does it mean (1 Reply)
Discussion started by: praneel2k
1 Replies

7. AIX

Tty Over Run

dears i have two IBM p630 application servers, they are running hacmp 5.2 as the clustering software. from the output of errpt on one of the nodes i am receiving the following error: 9D30B78E 0530020007 T S tty1 RECEIVER OVER-RUN ON INPUT please are there any ideas about how... (0 Replies)
Discussion started by: TheEngineer
0 Replies

8. AIX

tty

Hi All can anyone tell me what is the meaning of tty,or give me an example of this? (1 Reply)
Discussion started by: magasem
1 Replies

9. UNIX for Dummies Questions & Answers

Insane question : Playing mp3 file from Sun Sparc

hi, i know this is crazy. but i can do this from linux in intel platform. just wonder can my Sun Solaris 8 sparc can do the same thing? (2 Replies)
Discussion started by: champion
2 Replies

Featured Tech Videos