This happens:
If there is only one station connected via AX25, everything works fine
until
there are no rejects. After the first reject i notice that the system
send
useless packets. These packets (that are often the copy of other yet
sent)
are sent together with usefull packet in random position.
This involves that, even if i have the maxframe set to 5, the packets
sent
are more than 5 and go up to 10 and more.
This happens even if there is only one station connected but a little
later.
If the first connected station has no rejects and after another station
connects via AX25 one of active systems (node, axspawn and some other)
in the same port, and makes a little of traffic too, both the first and
the
second stations (and others if there are more stations connected) begin
to
receive useless packet and send their rejects.
I noticed that, during this troubles, some strange values' change:
1) looking at 'links' command of node, the connected socket, that has
this
problem, has the value of Send-Q very high (it can reach 10000)
2) looking at sccstat <dev>, i noticed that the TXQueue is very bigger
than
the real amount of packets that would be sent. I noticed some NOSpace
too.
Here is my z8530drv.conf:
chip 1
data_a 0x300 # data port A
ctrl_a 0x304 # control port A
data_b 0x301 # data port B
ctrl_b 0x305 # control port B
irq 7 # IRQ No. 5 (#)
pclock 9830400 # clock (+)
board BAYCOM # hardware type (*)
escc no # enhanced SCC chip? (8580/85180/85280) (*)
vector no # latch for interrupt vector ($)
special no # address of special function register (*)
option 0 # option to set via sfr (*)
chip 2
data_a 0x302
ctrl_a 0x306
data_b 0x303
ctrl_b 0x307
board BAYCOM
..<snip>..
device /dev/scc1
#
speed 2400
clock dpll
mode nrzi
#
txdelay 36
persist 64
slot 8
tail 8
fulldup 0
wait 12
min 3
maxkey 7
idle 3
maxdef 120
group 0
txoff off
softdcd off
The kernel's parameter are the default.
My opinion is that the kernel sends useless packets to scc driver and
these
packets are sent together with other. Scc driver sends every packet that
has
received from kernel without a policy.
I'm not really sure of this diagnosis.... But the troubles are SURELY
real.
May someone help me?
Thanks in advance
Luca
--
--------------------------------------------------------
Luca Palazzo -------------------------------------------
Ingegneria Civile - Universita' di Catania -------------
Email address : terhi.victor@logonet.com --------------
--------------- terhi.victor@logonet.com -----------------------
Ham addresses : terhi.victor@logonet.com --------------
--------------- iinaxnjg.ljumunjm@omega.ais.pl --------------
--------------------------------------------------------
Home Page ------> http://genius.cdc.unict.it/~lpala ----
- Under Construction ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----
--------------------------------------------------------
------- Visit our local Ham Association Web Site -------
------- http://www.ham.cdc.unict.it/~lpala/arical ------
--------------------------------------------------------