Modify

Opened 3 years ago

Last modified 3 years ago

#19026 new defect

heavy load on Gbit lan causes connection drop

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Barrier Breaker 14.07
Keywords: Cc:

Description

Using BB r43770, when streaming large files with minidlna (about 15GB) on Gbit lan (eth0 with r8169 driver), openwrt randomly (usually in the first 10 min.) drops the connection. The dlna client is a 100Mbit device. Also there is an error in wireless device even though it's not involved in stream. This is dmesg log of the error:

[ 2074.187722] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2074.399944] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2074.597222] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2074.802028] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2075.006826] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2075.219202] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2075.416429] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2075.621305] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2075.826028] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2076.038354] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2076.235592] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2076.440427] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2076.645234] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2076.857555] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2077.054984] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2077.259671] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2077.464454] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2077.669248] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2077.874076] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2078.086542] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2078.283623] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2078.488415] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2078.693219] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2078.905538] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2079.102814] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2079.315396] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2079.512719] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2079.717215] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2079.922005] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2080.134328] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2080.331601] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2080.536404] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2080.741201] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2080.953520] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2081.150801] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2081.363123] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2081.560402] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2081.765198] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2081.969996] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2082.182319] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2082.379598] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2082.584401] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2082.789200] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2083.001511] ath: phy0: Failed to stop TX DMA, queues=0x102!
[ 2083.198793] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2083.403584] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2083.608389] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2083.813187] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2084.017980] ath: phy0: Failed to stop TX DMA, queues=0x002!
[ 2084.237824] ath: phy0: Failed to stop TX DMA, queues=0x10a!
[ 2085.041978] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2086.270786] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2087.090220] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2088.318791] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2088.728530] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2089.137978] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2089.547580] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2090.366770] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2090.776708] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2091.185965] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2091.595566] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2092.414768] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2093.233970] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2094.053382] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2094.462772] ath: phy0: Failed to stop TX DMA, queues=0x100!
[ 2116.020005] ------------[ cut here ]------------
[ 2116.033922] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x10b/0x1a0()
[ 2116.055645] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
[ 2116.075013] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY via_velocity via_rhine ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm slhc sis900 r8169 pcnet32 nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp ne2k_pci iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables e100 crc_ccitt compat 8390 8139too act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 msdos 3c59x e1000 ifb snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore vfat fat ntfs nls_iso8859_1 nls_cp437 natsemi ipv6 arc4 crypto_blkcipher aes_i586 tg3 hwmon ptp pps_core libphy
[ 2116.430390] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.49 #14
[ 2116.448180] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./4CoreDual-VSTA, BIOS P2.30 02/26/2008
[ 2116.478234] c1374021 c1026ccc c146d490 f700bf58 000000ff c130b7ab 00000009 f7216000
[ 2116.502143] f7307d00 00000000 fffffef6 c1026d23 00000009 f700bf40 c146d490 f700bf58
[ 2116.526038] c130b7ab c146b177 000000ff c146d490 f7216000 f8bca0b9 00000000 00000000
[ 2116.549934] Call Trace:
[ 2116.557326] [<c1374021>] ? dump_stack+0xa/0x13
[ 2116.570975] [<c1026ccc>] ? warn_slowpath_common+0x5c/0x80
[ 2116.587482] [<c130b7ab>] ? dev_watchdog+0x10b/0x1a0
[ 2116.602407] [<c1026d23>] ? warn_slowpath_fmt+0x33/0x40
[ 2116.618135] [<c130b7ab>] ? dev_watchdog+0x10b/0x1a0
[ 2116.633063] [<c130b6a0>] ? dev_graft_qdisc+0x50/0x50
[ 2116.648272] [<c1030856>] ? call_timer_fn.isra.38+0x16/0x80
[ 2116.665040] [<c10309de>] ? run_timer_softirq+0x11e/0x150
[ 2116.681290] [<c102c5ca>] ? do_softirq+0x8a/0x130
[ 2116.695977] [<c102c540>] ? send_remote_softirq+0x10/0x10
[ 2116.712199] <IRQ> [<c102c733>] ? irq_exit+0x33/0x50
[ 2116.727516] [<c101b1b6>] ? smp_apic_timer_interrupt+0x76/0x90
[ 2116.745042] [<c1376bba>] ? apic_timer_interrupt+0x2a/0x30
[ 2116.761553] [<c1007222>] ? default_idle+0x2/0x10
[ 2116.775719] [<c100783f>] ? arch_cpu_idle+0xf/0x30
[ 2116.790124] [<c1047717>] ? cpu_startup_entry+0x77/0xd0
[ 2116.805852] [<c14d295a>] ? start_kernel+0x2a6/0x2ab
[ 2116.820777] [<c14d2502>] ? repair_env_string+0x4d/0x4d
[ 2116.836504] ---[ end trace bac06244f6a6278c ]---
[ 2116.870384] r8169 0000:00:0a.0 eth0: link up
[ 2159.020453] r8169 0000:00:0a.0 eth0: link up

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by anonymous

Stop being a dirty pirate ya dirty pirate!

comment:2 Changed 3 years ago by zloop

check if setting the adapter to 100Mbit prevents the bug from occuring:

Just add the line to /etc/rc.local/set with commandline / modify depending on iface name
sudo mii-tool -F 100baseTx-FD eth0 

found at: https://devtalk.nvidia.com/default/topic/787949/embedded-systems/netdev-watchdog-eth0-r8169-transmit-queue-0-timed-out-with-tegra-r21/

Debian Bug #763325
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763325

comment:3 Changed 3 years ago by anonymous

Sorry for delay in response (and for my english...), but i could do some tests only yesterday. The trick worked, no more errors in log (although the problem in streaming persist). But this is a workaround since, as i understand, the command tells the driver to behave like a regular 100Mbit. I was rather looking for a fix, but maybe this is a driver bug and not depends from openwrt development...

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.