Installing an Equinix SST-64 under Linux by Rob Fantini

A couple weeks ago after 15-20+ hours work I got my Equinox sst-64 pci card working so I could log in thru terminals. I'm sending info on what I did [most from notes, some from fading memory] in case it is useful to others.

First as of 2 weeks ago (March 2001), the driver on Equinox's download site was ng. I was sent eqnx-3.38-1.i386.rpm by their tech support.

I ran rpm -ivh e*rpm . The driver installed, but there were a lot of warnings:



[root@fbc5 Eqnx]# rpm -ivh eq*
eqnx                        ##################################################
building and installing driver and utilities ...
rm -f eqnx.o
rm -f sst.o
rm -f linux.o
cc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -pipe -m486 -DMODULE -DLINUX -DRS4
22 -DSSM -DRAMP_LINUX -D_LOOSE_KERNEL_NAMES  -D__SMP__ -DSVR3 -DMIDNIGHT -I../in
clude -I./ -I/usr/src/linux/include -c sst.c
cc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -pipe -m486 -DMODULE -DLINUX -DRS4
22 -DSSM -DRAMP_LINUX -D_LOOSE_KERNEL_NAMES  -D__SMP__ -I../include -I./ -I/usr/
src/linux/include -c linux.c
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for .modinfo
ld -r -o eqnx.o sst.o linux.o rampadmn.obj rampsrvc.obj
mkdir -p /lib/modules/2.2.16-22smp/char; \
cp -p eqnx.o /lib/modules/2.2.16-22smp/char
rm -f ssmkn.o linux_mkn.o
rm -f sstty ssmkn
rm -f /usr/bin/sstty
rm -f /usr/bin/ssmkn
cc -Wall -Wstrict-prototypes -O2 -pipe -m486 -DSVR3 -DLINUX -I../include -I../dr
v sstty.c -o sstty
sstty.c:46: warning: return type of `main' is not `int'
cc -Wall -Wstrict-prototypes -O2 -pipe -m486 -DSVR3 -DLINUX -DRS422 -I../include
 -I../drv -c ssmkn.c
ssmkn.c:1162: warning: return type of `main' is not `int'
cc -Wall -Wstrict-prototypes -O2 -pipe -m486 -DSVR3 -DLINUX -I../include -I../dr
v -c linux_mkn.c
cc -o ssmkn ssmkn.o linux_mkn.o
rm -f *.o
rm -f ssdiag
rm -f /usr/bin/ssdiag /usr/bin/sscode
cc -g -pipe -m486 -DSVR3 -DLINUX -DRS422 -DCHRDRVR -I./include -I../../include -
c u4.c
In file included from u4.c:52:
include/twindow.h:9:20: curses.h: No such file or directory
In file included from u4.c:53:
include/twindow.h:33: parse error before `GLATT'
include/twindow.h:33: warning: data definition has no type or storage class
include/twindow.h:64: parse error before `chtype'
include/twindow.h:64: warning: no semicolon at end of struct or union
include/twindow.h:65: warning: data definition has no type or storage class
include/twindow.h:66: parse error before `_hattru'
include/twindow.h:66: warning: data definition has no type or storage class
include/twindow.h:84: parse error before `*'
include/twindow.h:84: warning: data definition has no type or storage class
include/twindow.h:86: parse error before `}'
include/twindow.h:86: warning: data definition has no type or storage class
include/twindow.h:194: parse error before `*'
include/twindow.h:195: parse error before `*'
include/twindow.h:240: parse error before `*'
include/twindow.h:240: warning: data definition has no type or storage class
u4.c:97: parse error before `SHADATT'
u4.c:97: warning: data definition has no type or storage class
u4.c:268: `TRUE' undeclared here (not in a function)
u4.c: In function `port_config':
u4.c:477: parse error before `wwd'
u4.c:499: `curscr' undeclared (first use in this function)
u4.c:499: (Each undeclared identifier is reported only once
u4.c:499: for each function it appears in.)
u4.c: In function `get_version':
u4.c:516: `vwn' undeclared (first use in this function)
u4.c: In function `get_board_stat':
u4.c:558: `vwn' undeclared (first use in this function)
u4.c:559: parse error before `int'
u4.c:563: `oldbrd' undeclared (first use in this function)
u4.c:597: `io_diff' undeclared (first use in this function)
u4.c:605: `sid' undeclared (first use in this function)
u4.c:606: `extent' undeclared (first use in this function)
u4.c:677: case label not within a switch statement
u4.c:679: case label not within a switch statement
u4.c:683: case label not within a switch statement
u4.c:687: case label not within a switch statement
u4.c:690: case label not within a switch statement
u4.c:691: case label not within a switch statement
u4.c:694: case label not within a switch statement
u4.c:695: case label not within a switch statement
u4.c:696: case label not within a switch statement
u4.c:699: case label not within a switch statement
u4.c:702: case label not within a switch statement
u4.c:705: case label not within a switch statement
u4.c:748: case label not within a switch statement
u4.c:751: case label not within a switch statement
u4.c:754: case label not within a switch statement
u4.c:757: case label not within a switch statement
u4.c:760: default label not within a switch statement
u4.c:768: case label not within a switch statement
u4.c:770: case label not within a switch statement
u4.c:774: case label not within a switch statement
u4.c:775: case label not within a switch statement
u4.c:783: case label not within a switch statement
u4.c:784: case label not within a switch statement
u4.c:788: case label not within a switch statement
u4.c:791: case label not within a switch statement
u4.c:803: case label not within a switch statement
u4.c:806: case label not within a switch statement
u4.c:809: case label not within a switch statement
u4.c:812: case label not within a switch statement
u4.c:815: default label not within a switch statement
u4.c:820: case label not within a switch statement

After installing I think I restarted the computer... Anyway I ran 'ssdiag' next. I thought I'd be able to configure the ports for login, but that option is missing. Instead entries need to be made in /etc/inittab + gettydefs (the entries in inittab for the Equinox ports are commented out as I don't have the card installed right now).

For gettydefs the important change was to turn off crtcts and turn on ixon.

After I was done testing and had removed the SST card, I got this info from their tech support. It was a response to helping me on the screen garble I was getting a few days before. I had asked the question on Friday and got the response on Monday. Meanwhile I had already solved my garbled screen problem..

stty -F /dev/ttyQ1a7 ixon  ixany icrnl opost onlcr echo echoe echoe isiq icanon iexten echoctl echoke
 

Also something I learned was that by having 'HUPCL' in gettydefs, a session would get logged off if the terminal is shut off..

I ran many tests on different gettydefs entries using 2 different terminals and found that the F38400 works best for me.

There are docs on which are useful. (link to Equinox site dead, sorry) Search using 'linux' a keyword.

Inittab

# ** use  'init q' to activate changes.
#
# inittab       This file describes how the INIT process should set up
# the system in a certain run-level.

# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes


# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Things to run in every runlevel.
ud::once:/sbin/update

# Trap CTRL-ALT-DELETE
# 11-2000, comment out
# ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

#  Equninx SST-p64 use HUPCL , when terminal powered off,
#       session logs out. 
#       Note: ADDS terminals can handle 38400, maybe more...
#             LINK-MC5 9600 max.
#e1:2345:respawn:/sbin/getty    ttyQ1a1  F38400 wy60
#e2:2345:respawn:/sbin/getty     ttyQ1a2  F38400 wy60
#e3:2345:respawn:/sbin/getty     ttyQ1a3  F38400 wy60
#e4:2345:respawn:/sbin/getty     ttyQ1a4  F38400 wy60
##e5:2345:respawn:/sbin/getty     ttyQ1a5  F38400 wy60
#e6:2345:respawn:/sbin/getty     ttyQ1a6  F38400 wy60
#e7:2345:respawn:/sbin/getty     ttyQ1a7  F38400 wy60
#e8:2345:respawn:/sbin/getty     ttyQ1a8  F38400 wy60

#e9:2345:respawn:/sbin/getty     ttyQ1a9  F38400 wy60



#  for ppp dialin
#S0 :2345 :respawn:/sbin/mgetty -D ttyS0

# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon


#  for hylafax:
#   uncomment to receive faxes. use  init q  to reread this file
# mo:2345:respawn:/usr/sbin/faxgetty ttyS1
#
#  ibm ServRaid mgr install added next line.  02-21-01
# nfra:123456:once:/usr/RaidMan/RaidAgnt.sh #RaidMan
 

Gettydefs

# 02-23-01: to get changes to take I had to re-boot.
#       there has to be a better way.
# --------------------------------------------------
# [ put this file in /etc/gettydefs ]
#
# This file contains the startup and final flags for the
# tty lines.  Each line starts with a SPEED value; this is
# the same SPEED that you pass to [uu]getty.  Note that the
# SPEED identifier is just a string; use whatever names
# you want.
#
# The blank lines in this file are important (so I hear).
#
# The flags are the same flags you would pass to the stty
# program.
#
# Format: <speed># <init flags> # <final flags> #<login string>#<next-speed>
#
#
# Virtual Console entry
VC# B9600 SANE CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #VC

# 38400 fixed baud Dumb Terminal entry
# 02-23-2001, per Equinox, use IXON IXANY, elim CRTSCTS.
#       so use Software not Hardware  flow control
# DT38400# B38400 CS8 CLOCAL CRTSCTS # B38400 SANE -ISTRIP CLOCAL CRTSCTS #@S login: #DT38400

DT38400# B38400 CS8 CLOCAL IXON IXANY # B38400 SANE -ISTRIP CLOCAL IXON IXANY #@S login: #DT38400



# 19200 fixed baud Dumb Terminal entry
DT19200# B19200 CS8 CLOCAL # B19200 SANE -ISTRIP CLOCAL #@S login: #DT19200

# 9600 baud Dumb Terminal entry
#DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #DT9600
DT9600# B9600 CS8 CLOCAL IXON IXANY# B9600 SANE -ISTRIP CLOCAL IXON IXANY #@S login: #DT9600

# 230400 fixed-baud modem entry
F230400# B230400 CS8 CRTSCTS # B230400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F230400

# 115200 fixed-baud modem entry
F115200# B115200 CS8 CRTSCTS # B115200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F115200

# 57600 fixed-baud modem entry
F57600# B57600 CS8 CRTSCTS # B57600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F57600

# 02-23-2001, this works well with Equinox.
#               HUPCL: terminal off, session ends
#               IXON IXANY needed for Equinox
# 38400 fixed-baud modem entry
#F38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F38400
F38400# B38400 CS8 IXON IXANY # B38400 SANE -ISTRIP HUPCL IXON IXANY #@S login: #F38400

# 19200 fixed-baud modem entry
F19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F19200

# 9600 fixed-baud modem entry
# F9600# B9600 CS8 CRTSCTS # B9600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #F9600
F9600# B9600 CS8 IXON IXANY # B9600 SANE -ISTRIP HUPCL IXON IXANY #@S login: #F9600


# 2400 fixed-baud modem entry
F2400# B2400 CS8 CRTSCTS # B2400 SANE -ISTRIP HUPCL CRTSCTS #@S login:  #F2400

# 230400 autobauding Modem entry with hard flow control
230400# B230400 CS8 CRTSCTS # B230400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #115200

115200# B115200 CS8 CRTSCTS # B115200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #57600

57600# B57600 CS8 CRTSCTS # B57600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #38400

# 38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #19200
38400# B38400 CS8 IXON IXANY # B38400 SANE -ISTRIP HUPCL  IXON IXANY #@S login: #19200


19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP HUPCL CRTSCTS #@S login: #9600

9600# B9600 CS8 CRTSCTS # B9600 SANE -ISTRIP HUPCL CRTSCTS #@S login: #2400

2400# B2400 CS8 CRTSCTS # B2400 SANE -ISTRIP HUPCL CRTSCTS #@S login: #230400
 

Got something to add? Send me email.





(OLDER) <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> Installing an Equinix SST-64 under Linux



Increase ad revenue 50-250% with Ezoic


More Articles by © Rob Fantini



Kerio Samepage


Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us