|Anonymous | Login|
Bananian Linux is no longer under active development. Read more...2020-06-06 08:52 CEST
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000059||Bananian Linux||[All Projects] Kernel||public||2014-10-27 19:28||2015-12-22 10:08|
|Target Version||Fixed in Version|
|Summary||0000059: VLAN packet loss|
|Description||I'm using tvheadend in a VLAN trunking setup. I keep getting "continuity counter errors", meaning tvheadend is missing pieces of the stream. This is not a performance issue: I tried tuning the tcp-ip buffers and even assigning eth0 to its own cpu. No difference. I know the sunxi kernel code logs every VLAN frame. But I've removed that line from gmac_desc.c. The only way I can make the problem go away is by disabling VLAN. After that, no more conitinuity counter errors. Therefore I suspect something is wrong with the network stack and that it's actually losing packets when in VLAN mode.|
BTW, there may be a bigger problem with the network code, because I've also seen tvheadend lose the entire stream: "no transponder availiable for subscription". No apparent reason. I've seen this both with and without VLAN. But I've only seen this on 2 occassions and am not able to reproduce it.
|Steps To Reproduce||Vconfig:|
add to eth0:
eth0.1 with vlan-id 1
eth0.2 with vlan id-2
Configure IPTV streams
Add an entry to the recorder
Wait for "continuity counter error". Sometimes it happens immediately, sometimes it takes some time. To speed things up:
run iperf (for "best" results use banana pi as the server, i.e. iperf -s)
|Tags||No tags attached.|
Is this still an issue? If yes than:
* What's the hardware used?
* Can you reproduce it with plain iperf when playing with different MTU value?
* What's between your clients and the server? Are they connected directly to the bpi?
* are there any drops listed in "ethtool -S eth0" output?
Just want to avoid situations when it's MTU fault due to increased frame size thanks to the VLAN header.
|It's not an issue anymore because I bought a USB ethernet adapter: ASIX AX88772. And for extra fault tolerance I increaded the rmem_max and rmem_default buffer sizes. After that, no more packets dropped and hence no more continiutiy counter errors. Of course this means the issue with the internal ethernet driver of the Banana Pi is still there.|
Could you please check if the problem also exists with the latest mainline kernel?
To install Kernel 4.3.3:
apt-get install linux-image-4.3.3-bananian
|2014-10-27 19:28||machello||New Issue|
|2015-04-10 15:28||jekader||Note Added: 0000210|
|2015-04-10 20:19||machello||Note Added: 0000211|
|2015-12-20 22:46||Nico||Assigned To||=> Nico|
|2015-12-20 22:46||Nico||Status||new => assigned|
|2015-12-22 10:08||Nico||Note Added: 0000309|
|Copyright © 2000 - 2020 MantisBT Team|