Hi

It seems that the z8530 hangs (?), receiving works, transmitting dont work..
:/

This happends after about 20 hours, anyway the 3-4 last times for me..

I�ve changed io-port, compiled the patched driver i found in the archive at
f6fbb,
i didn�t use the driver found in the kernel at all, and i use this as
module.
(replaced scc.c/.h in z8530drv-2.4c archive)

In the patched driver, when the watchdog founds that the TxInt dosn�t
changes,
then it reset the z8530 chip, and generates 1000 TxUnder to tell this.
(Thats why you whould see lots of TxUnder in my sccstat output..heh,
 41 resets on scc1 and 2 resets on scc2)

Does anyone runs Baycom USCC>4 with Linux and dosn�t get this problem ?

This time it was scc0 and scc2 that stopped to transmitt, supricing enoth
dosn�t the watchdog _ever_ reset scc0, only scc1 and scc2..

Symptoms:
Status at port scc0 before i try to call someone up.
--
Sent       :    2309  RxOver :     0  RxInts :    70405  RxQueue :    0
Received   :    1458  TxUnder:     0  TxInts :   264086  TxQueue :    0
RxErrors   :    2428                  ExInts :    69425  NoSpace :    1
TxErrors   :       8                  SpInts :     2482
Tx State   :    idle

Status at port scc0 after i try to call someone up.
--
Sent       :    2309  RxOver :     0  RxInts :    70773  RxQueue :    0
Received   :    1463  TxUnder:     0  TxInts :   264086  TxQueue :    0
RxErrors   :    2440                  ExInts :    69645  NoSpace :    1
TxErrors   :       8                  SpInts :     2492
Tx State   :    idle

As you can see, the receiving works, but transmitting dosn�t.. :/

I includes here some more info from my system..

Z8530 SCC driver version 2.4c.dl1bke (patch F1OAT/F6FBB) by DL1BKE
Copyright 1993,1996 Joerg Reuter DL1BKE ([EMAIL PROTECTED])
scc0: data port = 0x210  control port = 0x214 -- found
scc1: data port = 0x211  control port = 0x215 -- found
scc2: data port = 0x212  control port = 0x216 -- found
scc3: data port = 0x213  control port = 0x217 -- found
Init Z8530 driver: 4 channels, IRQ 10

---
Hmm.. i didn�t use "sccstat -p", i found that after i�ll rebooted.. :-

# /dev/scc0
Parameters:

speed       : 1200 baud
txdelay     : 30
persist     : 250
slottime    : 8
txtail      : 8
fulldup     : 0
waittime    : 4
mintime     : 3 sec
maxkeyup    : 7 sec
idletime    : 3 sec
maxdefer    : 120 sec
group       : 0x00
txoff       : off
softdcd     : off

Status:

HDLC                  Z8530           Interrupts         Queues
-----------------------------------------------------------------------
Sent       :    2309  RxOver :     0  RxInts :    70405  RxQueue :    0
Received   :    1458  TxUnder:     0  TxInts :   264086  TxQueue :    0
RxErrors   :    2428                  ExInts :    69425  NoSpace :    1
TxErrors   :       8                  SpInts :     2482
Tx State   :    idle

Memory allocated:

Buffer size:  384
rx buffers :    4
tx buffers :    8

# /dev/scc1
Parameters:

speed       : 1200 baud
txdelay     : 30
persist     : 250
slottime    : 8
txtail      : 8
fulldup     : 0
waittime    : 4

mintime     : 3 sec
maxkeyup    : 7 sec
idletime    : 3 sec
maxdefer    : 120 sec
group       : 0x00
txoff       : off
softdcd     : off

Status:

HDLC                  Z8530           Interrupts         Queues
-----------------------------------------------------------------------
Sent       :    8186  RxOver :     0  RxInts :   708043  RxQueue :    0
Received   :    7466  TxUnder: 41000  TxInts :   458189  TxQueue :    2
RxErrors   :    8187                  ExInts :   203964  NoSpace :   87
TxErrors   :       7                  SpInts :     9887
Tx State   :    busy

Memory allocated:

Buffer size:  384
rx buffers :    4
tx buffers :    8

# /dev/scc2
Parameters:

speed       : 1200 baud
txdelay     : 33
persist     : 250
slottime    : 8
txtail      : 8
fulldup     : 0
waittime    : 4
mintime     : 3 sec
maxkeyup    : 7 sec
idletime    : 3 sec
maxdefer    : 120 sec
group       : 0x00
txoff       : off
softdcd     : off

Status:

HDLC                  Z8530           Interrupts         Queues
-----------------------------------------------------------------------
Sent       :    6594  RxOver :     0  RxInts :  1251693  RxQueue :    0
Received   :    5997  TxUnder:  2000  TxInts :   284349  TxQueue :    0
RxErrors   :   10794                  ExInts :   305095  NoSpace :    4
TxErrors   :       4                  SpInts :    12331
Tx State   :    idle

Memory allocated:

Buffer size:  384
rx buffers :    4
tx buffers :    8

# /dev/scc3
Parameters:

speed       : 9600 baud
txdelay     : 44
persist     : 250
slottime    : 8
txtail      : 8
fulldup     : 0
waittime    : 4
mintime     : 3 sec
maxkeyup    : 7 sec
idletime    : 3 sec
maxdefer    : 120 sec
group       : 0x00
txoff       : off
softdcd     : off

Status:

HDLC                  Z8530           Interrupts         Queues
-----------------------------------------------------------------------
Sent       :    2118  RxOver :     0  RxInts :        0  RxQueue :    0
Received   :       0  TxUnder:     0  TxInts :   135628  TxQueue :    0
RxErrors   :       0                  ExInts :     2118  NoSpace :    0
TxErrors   :       0                  SpInts :        0
Tx State   :    idle

Memory allocated:

Buffer size:  384
rx buffers :    4
tx buffers :    8

-----

# /etc/z8530drv.conf
# SCC chip 1
#
chip    1
data_a  0x210                   # data port A
ctrl_a  0x214                   # control port A
data_b  0x211                   # data port B
ctrl_b  0x215                   # control port B
irq     10                      # IRQ No. 5 (#)
board   BAYCOM                  # hardware type (*)
#
# SCC chip 2
#
chip    2
data_a  0x212
ctrl_a  0x216
data_b  0x213
ctrl_b  0x217
board   BAYCOM
#
# Software section
#
# Definition of /dev/scc0
#
device  /dev/scc0
#
# MODEM related stuff
#
speed   1200                    # 1200 baud
clock   dpll                    # clock source: use the dpll
mode    nrzi                    # normal NRZI operation
#
# Level 1 parameters
#
txdelay 30                      # You should know about these already!
persist 250
slot    8
tail    8
fulldup 0
wait    4
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd off                     # use software dcd
#
#
# Definition of /dev/scc1
#
device  /dev/scc1
#
speed   1200
clock   dpll
mode    nrzi
#
txdelay 30
persist 250
slot    8
tail    8
fulldup 0
wait    4
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd off
#
# Definiton of /dev/scc2
#
#
device  /dev/scc2
#
speed   1200
clock   dpll
mode    nrzi
#
txdelay 30
persist 250
slot    8
tail    8
fulldup 0
wait    4
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd off
#
#
# Definition of /dev/scc3
#
#
#
device  /dev/scc3
# dpll, external, divider
speed   9600
clock   external
mode    nrz 
#
txdelay 44
txdelay 44
persist 250
slot    8
tail    8
fulldup 0
wait    4
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd off
#
-----

73 de Morgan / sm6tky

Reply via email to