1 way serial feed from Linux to Solaris. Help!

Hi All.. No Labor Day weekend for me.. too much to do. 1 of which is that I have been pulling my hair out trying to get a 1-way serial feed working from a Linux box running Centos to a Solaris 10 box. The serial feed consists of a blackbox fiber driver on each end connected with 1 strand of fiber from output on Linux side to input on Solaris side. port setting are 9600 8,n,1

Note: This works perfectly from Linux to Linux. When I cat out /dev/ttyS0 on a receiving Linux box, the data is uncorrupted.

I have played with ALL of the eeprom tty settings as well as the basic settings you can change using SMC. So, I've decided to look into whats available through stty.

Here are the settings from the Linux and Solaris boxes.

===============
Linux

speed 9600 baud; rows 0; columns 0; line = 192;
intr = ^W; quit = M-^?; erase = M-7; kill = M-t; eof = O; eol = <undef>;
eol2 = ;; swtch = M- ; start = ^\; stop = >; susp = <undef>; rprnt = <undef>;
werase = <undef>; lnext = ; flush = <undef>; min = 0; time = 82;
-parenb -parodd cs8 hupcl -cstopb cread clocal crtscts -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl noflsh -xcase tostop echoprt
-echoctl -echoke

===========
Solaris

speed 9600 baud;
rows = 0; columns = 0; ypixels = 0; xpixels = 0;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3

I have tried changing all the parameters starting at parenb on the Linux side to match the Solaris side. Ex. stty -clocal </dev/ttyS0. Still no joy.

I really need to get this problem solved, so if any experts out there have some ideas, please post.

thanks,
Mike

Is this x86 to x86? What hardware is Solaris on?

The Solaris is running on a UltraSPARC IIIi system.

Make sure that there isn't a "getty" for that serial port.

grep "getty" /etc/inittab

thanks. just checked. no getty. thanks for the ideas.. please keep them coming.

I'd suggest that you first reset all the changes you made to defaults. I just happen to use a laptop with CentOS to connect to Sun serial ports and it works without changes, -although I use a USB to serial adaptor, since the laptop doesn't have a serial port.

Let's start with some questions first..
Is this connection serial to serial, USB to serial? Are you sure you are plugged into serial A in the Sun box? How are you connecting: tip, screen, minicom? Why are you using fiber for this? and last, what exactly is the purpose of this connection?

SS thanks for the reply. Little after 7am now going into work in a few and will reset settings

To answer your questions:
1 serial to serial
2 yes only 1 serial port. when I cat or have the program that is reading from the serial port display the data, it is garbled in both instances
3 we have some unique networking requirements
4 the program is designed to read from the serial port

can give you more required detail when I get into work typing this now on phone keyboard and a bit of a pain

---------- Post updated at 08:56 AM ---------- Previous update was at 07:19 AM ----------

System Shock, left you a message.

---------- Post updated at 02:25 PM ---------- Previous update was at 08:56 AM ----------

System Shock. Problem solved. Went down to Best buy and picked up a couple USB to serial cables and it works.

I had intended on doing the test on another platform thinking that maybe the fact it was going fro 32bit Linux to 64bit solaris was dorking things up. I installed the usb to serial on a 64 bit Centos box only (leaving the sun box as is utilizing the onboard serial port) and it worked. I then installed the serial cable back on the original 32 Centos box and it worked as well, so the secret was going out serially over the USB port.

I'm ecstatic it finally works. But maybe someone can explain why Linux to Linux it worked serial port to serial port just fine.