br2684ctl only allows 2 packages to be transmitted

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
With the br2684ctl package so far I have only been able to transmit two packages successful, but all subsequent transmit package gives an error.
In the ifconfig nas[number] output I have seen a max counter of 'TX packets:2', and all subsequent packages show up as overruns.
I tried with different buffer sizes, but don't see a difference.


Code:
# ifconfig nas0
nas0      Link encap:Ethernet  HWaddr 00:00:00:00:00:02
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:914 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:5952 dropped:0 overruns:5952 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:522068 (509.8 KiB)  TX bytes:709 (709.0 B)

Different buffersizes used:
Code:
br2684ctl -s 65535 -b -e 0 -c 0 -a 1.34
br2684ctl -s 65536 -b -e 0 -c 0 -a 1.34
br2684ctl -s 204800 -b -e 0 -c 0 -a 1.34
br2684ctl -s 102400 -b -e 0 -c 0 -a 1.34

Before sending a packet:
Code:
# cat /proc/net/atm/vc
Address Itf VPI VCI   Fam Flags Reply Send buffer     Recv buffer      [refcnt]
82898800   0   1    34 PVC 0043      0       0/ 204800       0/ 204800 [2]

after some packets have been send:
Code:
# cat /proc/net/atm/vc
Address Itf VPI VCI   Fam Flags Reply Send buffer     Recv buffer      [refcnt]
82898800   0   1    34 PVC 0043      0   -1792/ 204800       0/ 204800 [2]

With two successful packages it is just possible to obtain an IP address via DHCP (discover, request), but than the fun stops.
But if there is no offer, it stops at a second discovery (TX packets:2).

Someone any advice how to debug any further?
Or did have it working normally on FB?

Tested on a FB7390 with Firmware 84.06.20 / trunk-revision 12752

Found references:
[1] http://www.ip-phone-forum.de/showthread.php?t=225135
[2] http://blog.hyfather.com/blog/2013/03/04/ifconfig/
[3] http://www.computerhope.com/unix/uifconfi.htm
[4] http://sourceforge.net/p/linux-atm/mailman/message/8684676/
[5] http://sourceforge.net/p/linux-atm/mailman/search/?q=overruns
 
Perhaps this has to do something with the AVM packet accelerator? So the traffic takes another route...

Regards
Oliver
 
Hi Olivier,

Thanks a lot for your reply.

Routing does look ok, because the packages do hit the interface.
I can also capture the packages with tcpdump, and the captured packages look ok.

From a quick search I found I probably can try 'echo disable > /proc/net/avm_pa/control' to test this.
 
Hi Olivier,

Also after disabling AVM packet accelerator via 'echo disable > /proc/net/avm_pa/control' the same behavior.

Code:
# tcpdump -i nas0 -w /var/media/nas0_dhcp_20141219_2323.cap -v
tcpdump: WARNING: nas0: no IPv4 address assigned
tcpdump: listening on nas0, link-type EN10MB (Ethernet), capture size 65535 bytes
Got 22

Code:
# ifconfig nas0
nas0      Link encap:Ethernet  HWaddr 00:00:00:00:00:02
<snip>
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:4 dropped:0 overruns:4 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8344 (8.1 KiB)  TX bytes:709 (709.0 B)

RX=16 packets + TX=2+4(errors) = 22 packages, matches the number of captured packages.

Edit 20-09-2015:
After reading some more about avm_pa behavior added the line 'echo disable > /proc/net/avm_pa/control' in rc.custom. But unfortunately still the same behavior.
Don't think avm_pa is causing these 'overruns'.
 
Zuletzt bearbeitet:

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,695
Beiträge
2,216,694
Mitglieder
371,315
Neuestes Mitglied
jack-mack
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.