Modify

Opened 3 years ago

Last modified 3 years ago

#18072 new defect

eth1 (ag71xx): transmit queue 0 timed out

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

Description

Hello,

I have a DIR-615 C1 configured as a gateway between a cable modem and a switch.

Its purpose is to do better QoS than my cable modem is able to achieve.

This morning, under a load of ~10mbits I got this crash :

[53154.010000] ------------[ cut here ]------------
[53154.010000] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x1e8/0x26c()
[53154.020000] NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
[53154.020000] Modules linked in: ifb 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 ts_kmp ts_fsm ts_bm slhc nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables crc_ccitt compat 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 ipv6 arc4 crypto_blkcipher gpio_button_hotplug [last unloaded: ifb]
[53154.110000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.49 #3
[53154.110000] Stack : 00000000 00000000 00000000 00000000 803bce76 00000032 8033f578 00000019
[53154.110000] 	  802f5b44 8033f9a3 00000000 803b3a00 8033f578 00000019 803bc7c8 00000001
[53154.110000] 	  00000004 80290d44 00000003 801f39b0 8030e8c8 00000019 802f71d4 8032fc74
[53154.110000] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[53154.110000] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 8032fc00
[53154.110000] 	  ...
[53154.150000] Call Trace:
[53154.150000] [<80235a38>] show_stack+0x48/0x70
[53154.160000] [<802a06ec>] warn_slowpath_common+0x78/0xa8
[53154.160000] [<802a0748>] warn_slowpath_fmt+0x2c/0x38
[53154.170000] [<80109cf0>] dev_watchdog+0x1e8/0x26c
[53154.170000] [<800e9698>] call_timer_fn.isra.38+0x24/0x84
[53154.180000] [<8021e4b0>] run_timer_softirq+0x17c/0x1bc
[53154.180000] [<8008f698>] __do_softirq+0xd0/0x1bc
[53154.190000] [<8011f8bc>] do_softirq+0x48/0x68
[53154.190000] [<8017ee00>] irq_exit+0x54/0x70
[53154.190000] [<80060830>] ret_from_irq+0x0/0x4
[53154.200000] [<80060a80>] __r4k_wait+0x20/0x40
[53154.200000] [<800f96c4>] cpu_startup_entry+0xa4/0x104
[53154.210000] [<8034c918>] start_kernel+0x394/0x3ac
[53154.210000] 
[53154.210000] ---[ end trace 47b0c03158c2e3b9 ]---
[53154.220000] eth1: tx timeout
[53154.220000] eth1: link down
[53154.230000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[53154.230000] eth1: link up (100Mbps/Half duplex)
[53164.010000] eth1: tx timeout
[53164.010000] eth1: link down
[53164.240000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[53164.240000] eth1: link up (100Mbps/Half duplex)
[53554.550000] eth1: link down

eth1 is the wan interface. I am running the 14.07 available on the openwrt website. This was a full flash (not an upgrade).

I am available for further testing.

Thanks for your help

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by anonymous

FYI I just noticed the "half duplex" in the logs.

The cable modem was supposed to be full-duplex without autoneg. I may have not disabled autoneg on the openwrt box.

Could that be the source of this issue ?

comment:2 Changed 3 years ago by anonymous

I have got the same problem on a TP-Link TR-741N. The wan interface sporadically get unavailable.

Dec  5 07:54:58 kernel: [61314.010000] ------------[ cut here ]------------
Dec  5 07:54:58 kernel: [61314.010000] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x1e8/0x26c()
Dec  5 07:54:58 kernel: [61314.020000] NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
Dec  5 07:54:58 kernel: [61314.020000] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv4 nf_conntrack_amanda mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT ts_kmp ts_fsm ts_bm slhc nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_defrag_ipv
Dec  5 07:54:58 kernel: [61314.110000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.49 #3
Dec  5 07:54:58 kernel: [61314.110000] Stack : 00000000 00000000 00000000 00000000 803bce76 00000032 8033f578 00000099
Dec  5 07:54:58 kernel: [61314.110000] 	  802f5b44 8033f9a3 00000000 803b3a00 8033f578 00000099 803bc7c8 00000001
Dec  5 07:54:58 kernel: [61314.110000] 	  00000004 80290d44 00000003 801f39b0 8030e8c8 00000099 802f71d4 8032fc74
Dec  5 07:54:58 kernel: [61314.110000] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec  5 07:54:58 kernel: [61314.110000] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 8032fc00
Dec  5 07:54:58 kernel: [61314.110000] 	  ...
Dec  5 07:54:58 kernel: [61314.150000] Call Trace:
Dec  5 07:54:58 kernel: [61314.150000] [<80235a38>] show_stack+0x48/0x70
Dec  5 07:54:58 kernel: [61314.160000] [<802a06ec>] warn_slowpath_common+0x78/0xa8
Dec  5 07:54:58 kernel: [61314.160000] [<802a0748>] warn_slowpath_fmt+0x2c/0x38
Dec  5 07:54:58 kernel: [61314.170000] [<80109cf0>] dev_watchdog+0x1e8/0x26c
Dec  5 07:54:58 kernel: [61314.170000] [<800e9698>] call_timer_fn.isra.38+0x24/0x84
Dec  5 07:54:58 kernel: [61314.180000] [<8021e4b0>] run_timer_softirq+0x17c/0x1bc
Dec  5 07:54:58 kernel: [61314.190000] [<8008f698>] __do_softirq+0xd0/0x1bc
Dec  5 07:54:58 kernel: [61314.190000] [<8011f8bc>] do_softirq+0x48/0x68
Dec  5 07:54:58 kernel: [61314.190000] [<8017ee00>] irq_exit+0x54/0x70
Dec  5 07:54:58 kernel: [61314.200000] [<80060830>] ret_from_irq+0x0/0x4
Dec  5 07:54:58 kernel: [61314.200000] [<80060a80>] __r4k_wait+0x20/0x40
Dec  5 07:54:58 kernel: [61314.210000] [<800f96c4>] cpu_startup_entry+0xa4/0x104
Dec  5 07:54:58 kernel: [61314.210000] [<8034c918>] start_kernel+0x394/0x3ac
Dec  5 07:54:58 kernel: [61314.220000] 
Dec  5 07:54:58 kernel: [61314.220000] ---[ end trace e2492c73f22bf1a6 ]---
Dec  5 07:54:58 kernel: [61314.220000] eth1: tx timeout
Dec  5 07:54:58 kernel: [61314.230000] eth1: link down
Dec  5 07:54:58 kernel: [61314.250000] eth1: link up (10Mbps/Half duplex)
Dec  5 07:55:04 odhcp6c[1055]: carrier => 0 event on eth1
Dec  5 07:55:04 odhcp6c[1055]: (re)starting transaction on eth1
Dec  5 07:55:04 netifd: Network device 'eth1' link is down
Dec  5 07:55:04 netifd: Network alias 'eth1' link is down

comment:3 Changed 3 years ago by anonymous

I have misstyped the router name. It should be a TR-841n.

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.