Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8438 closed defect (no_response)

Atheros AR913x didn't recover after crash on wan port (eth1)

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc: nbd@…

Description

Routers: Planex MZK-W04NU and Linksys WRT160NL.
Openwrt: backfire r24262.

Dec 11 18:46:45 OpenWrt user.warn kernel: ------------[ cut here ]------------
Dec 11 18:46:45 OpenWrt user.warn kernel: WARNING: at net/sched/sch_generic.c:261 0x801f7de8()
Dec 11 18:46:45 OpenWrt user.info kernel: NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
Dec 11 18:46:45 OpenWrt user.warn kernel: Modules linked in: xt_IMQ imq nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dsc
Dec 11 18:46:45 OpenWrt user.warn kernel: Call Trace:[<80068374>] 0x80068374
Dec 11 18:46:45 OpenWrt user.warn kernel: [<80068374>] 0x80068374
Dec 11 18:46:45 OpenWrt user.warn kernel: [<8007cf1c>] 0x8007cf1c
Dec 11 18:46:45 OpenWrt user.warn kernel: [<801f7de8>] 0x801f7de8
Dec 11 18:46:45 OpenWrt user.warn kernel: [<8007cf9c>] 0x8007cf9c
Dec 11 18:46:45 OpenWrt user.warn kernel: [<801e3bec>] 0x801e3bec
Dec 11 18:46:45 OpenWrt user.warn kernel: [<801f7de8>] 0x801f7de8

Dec 11 18:47:31 OpenWrt user.debug kernel: eth1: tx timeout
Dec 11 18:48:22 OpenWrt user.debug kernel: eth1: tx timeout
Dec 11 18:49:18 OpenWrt user.debug kernel: eth1: tx timeout

I see this crash with some IPoE ISP in my town, when download torrents from local network. It happens only with one my client, others works fine with the same routers. But I opened that ticket because openwrt can't restore eth1 state after crash, while stock firmware does:

Dec 11 18:59:10 (none) user.warn kernel: AG7100: Tx Dma status : active
Dec 11 18:59:10 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8123e400
Dec 11 18:59:10 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8132d000
Dec 11 18:59:10 (none) user.warn kernel: ag7100_ring_alloc Allocated 640 at 0x8123e400
Dec 11 18:59:10 (none) user.warn kernel: ag7100_ring_alloc Allocated 4032 at 0x8132d000
Dec 11 18:59:10 (none) user.warn kernel: AG7100: cfg1 0x2f cfg2 0x7014
Dec 11 18:59:10 (none) user.warn kernel: AG7100: unit 1 phy is up...RMii 100Mbps half duplex
Dec 11 18:59:10 (none) user.warn kernel: AG7100: pll reg 0x18050018: 0x1f000000 AG7100: cfg_1: 0x7ff0000
Dec 11 18:59:10 (none) user.warn kernel: AG7100: cfg_2: 0xaaa0555
Dec 11 18:59:10 (none) user.warn kernel: AG7100: cfg_3: 0x780008
Dec 11 18:59:10 (none) user.warn kernel: AG7100: cfg_4: 0xffff
Dec 11 18:59:10 (none) user.warn kernel: AG7100: cfg_5: 0x7ffef
Dec 11 18:59:10 (none) user.warn kernel: AG7100: done cfg2 0x7114 ifctl 0x10000 miictrl 0x11
Dec 11 18:59:10 (none) user.warn kernel: Writing 6
Dec 11 18:59:26 (none) user.warn kernel: AG7100: Tx Dma status : active
Dec 11 18:59:26 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8123e400
Dec 11 18:59:26 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8132d000
Dec 11 18:59:26 (none) user.warn kernel: ag7100_ring_alloc Allocated 640 at 0x8123e400
Dec 11 18:59:26 (none) user.warn kernel: ag7100_ring_alloc Allocated 4032 at 0x8132d000
Dec 11 18:59:26 (none) user.warn kernel: AG7100: cfg1 0x2f cfg2 0x7014
Dec 11 18:59:26 (none) user.warn kernel: AG7100: unit 1 phy is up...RMii 100Mbps half duplex
Dec 11 18:59:26 (none) user.warn kernel: AG7100: pll reg 0x18050018: 0x1f000000 AG7100: cfg_1: 0x7ff0000
Dec 11 18:59:26 (none) user.warn kernel: AG7100: cfg_2: 0xaaa0555
Dec 11 18:59:26 (none) user.warn kernel: AG7100: cfg_3: 0x780008
Dec 11 18:59:26 (none) user.warn kernel: AG7100: cfg_4: 0xffff
Dec 11 18:59:26 (none) user.warn kernel: AG7100: cfg_5: 0x7ffef
Dec 11 18:59:26 (none) user.warn kernel: AG7100: done cfg2 0x7114 ifctl 0x10000 miictrl 0x11
Dec 11 18:59:26 (none) user.warn kernel: Writing 6
Dec 11 18:59:47 (none) user.warn kernel: AG7100: Tx Dma status : active
Dec 11 18:59:47 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8123e400
Dec 11 18:59:47 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8132d000
Dec 11 18:59:47 (none) user.warn kernel: ag7100_ring_alloc Allocated 640 at 0x8123e400
Dec 11 18:59:47 (none) user.warn kernel: ag7100_ring_alloc Allocated 4032 at 0x8132d000
Dec 11 18:59:47 (none) user.warn kernel: AG7100: cfg1 0x2f cfg2 0x7014
Dec 11 18:59:47 (none) user.warn kernel: AG7100: unit 1 phy is up...RMii 100Mbps half duplex
Dec 11 18:59:47 (none) user.warn kernel: AG7100: pll reg 0x18050018: 0x1f000000 AG7100: cfg_1: 0x7ff0000
Dec 11 18:59:47 (none) user.warn kernel: AG7100: cfg_2: 0xaaa0555
Dec 11 18:59:47 (none) user.warn kernel: AG7100: cfg_3: 0x780008
Dec 11 18:59:47 (none) user.warn kernel: AG7100: cfg_4: 0xffff
Dec 11 18:59:47 (none) user.warn kernel: AG7100: cfg_5: 0x7ffef
Dec 11 18:59:47 (none) user.warn kernel: AG7100: done cfg2 0x7114 ifctl 0x10000 miictrl 0x11
Dec 11 18:59:47 (none) user.warn kernel: Writing 6
Dec 11 19:00:28 (none) user.warn kernel: AG7100: Tx Dma status : active
Dec 11 19:00:28 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8123e400
Dec 11 19:00:28 (none) user.warn kernel: ag7100_ring_free Freeing at 0x8132d000
Dec 11 19:00:28 (none) user.warn kernel: ag7100_ring_alloc Allocated 640 at 0x8123e400
Dec 11 19:00:28 (none) user.warn kernel: ag7100_ring_alloc Allocated 4032 at 0x8132d000
Dec 11 19:00:28 (none) user.warn kernel: AG7100: cfg1 0x2f cfg2 0x7014
Dec 11 19:00:28 (none) user.warn kernel: AG7100: unit 1 phy is up...RMii 100Mbps half duplex
Dec 11 19:00:28 (none) user.warn kernel: AG7100: pll reg 0x18050018: 0x1f000000 AG7100: cfg_1: 0x7ff0000
Dec 11 19:00:28 (none) user.warn kernel: AG7100: cfg_2: 0xaaa0555
Dec 11 19:00:28 (none) user.warn kernel: AG7100: cfg_3: 0x780008
Dec 11 19:00:28 (none) user.warn kernel: AG7100: cfg_4: 0xffff
Dec 11 19:00:28 (none) user.warn kernel: AG7100: cfg_5: 0x7ffef
Dec 11 19:00:28 (none) user.warn kernel: AG7100: done cfg2 0x7114 ifctl 0x10000 miictrl 0x11
Dec 11 19:00:28 (none) user.warn kernel: Writing 6

To devs: can you make eth1 to restore its state after such crash?

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Thomas Mellenthin <melle@…>

I can confirm this problem. I'm using OpenWRT trunk (r24743) on a ubiquity nanostation m2 (the same happens on a nanostation m5). After some olsr-traffic via WAN port, a tx timeout happens:

Mar 27 02:52:13 10-22-7-160 user.warn kernel: ------------[ cut here ]------------
Mar 27 02:52:13 10-22-7-160 user.warn kernel: WARNING: at net/sched/sch_generic.c:261 dev_watchdog+0x164/0x260()
Mar 27 02:52:13 10-22-7-160 user.info kernel: NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
Mar 27 02:52:13 10-22-7-160 user.warn kernel: Modules linked in: ohci_hcd ledtrig_usbdev nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn x
Mar 27 02:52:13 10-22-7-160 user.warn kernel: Call Trace:
Mar 27 02:52:13 10-22-7-160 user.warn kernel: [<80069154>] dump_stack+0x8/0x34
Mar 27 02:52:13 10-22-7-160 user.warn kernel: [<8007e040>] warn_slowpath_common+0x70/0xb0
Mar 27 02:52:13 10-22-7-160 user.warn kernel: [<8007e0c0>] warn_slowpath_fmt+0x24/0x30
Mar 27 02:52:13 10-22-7-160 user.warn kernel: [<801ec90c>] dev_watchdog+0x164/0x260
Mar 27 02:52:13 10-22-7-160 user.warn kernel: [<8008897c>] run_timer_softirq+0x14c/0x1d8
Mar 27 02:52:13 10-22-7-160 user.warn kernel: [<80083aac>] __do_softirq+0xb0/0x148
Mar 27 02:52:14 10-22-7-160 user.info kernel: eth1: link down

comment:2 Changed 7 years ago by nbd

Please try the latest version

comment:3 Changed 7 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.