Modify

Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#7563 closed defect (fixed)

Changeset 2205 causes tp-link wr841n v5 to thrash on it's switch ports (related to ticket # 6754)

Reported by: Jonathan Bennett <jbscience87@…> Owned by: nbd
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: tx timeout wr841n Cc:

Description

Testing r22061 on TP-link wr841n V5. I used iperf to trigger the tx timeout bug (#6754) The hardware reset implemented in 2205 caused what appears to be a loop of some sort. Interestingly enough, I can connect through the switch using the wireless and WAN ports.

Jul  5 17:15:39 OpenWrt user.warn kernel: ------------[ cut here ]------------
Jul  5 17:15:39 OpenWrt user.warn kernel: WARNING: at net/sched/sch_generic.c:261 0x801dcf7c()
Jul  5 17:15:39 OpenWrt user.info kernel: NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
Jul  5 17:15:39 OpenWrt user.warn kernel: Modules linked in: nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ipt_REJECT
Jul  5 17:15:39 OpenWrt user.warn kernel: Call Trace:[<800682cc>] 0x800682cc
Jul  5 17:15:39 OpenWrt user.warn kernel: [<800682cc>] 0x800682cc
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8007ca80>] 0x8007ca80
Jul  5 17:15:39 OpenWrt user.warn kernel: [<801dcf7c>] 0x801dcf7c
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8007cb00>] 0x8007cb00
Jul  5 17:15:39 OpenWrt user.warn kernel: [<801c8dcc>] 0x801c8dcc
Jul  5 17:15:39 OpenWrt user.warn kernel: [<801dcf7c>] 0x801dcf7c
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8023a79c>] 0x8023a79c
Jul  5 17:15:39 OpenWrt user.warn kernel: [<802333bc>] 0x802333bc
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8008dc9c>] 0x8008dc9c
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8008dd28>] 0x8008dd28
Jul  5 17:15:39 OpenWrt user.warn kernel: [<801dce18>] 0x801dce18
Jul  5 17:15:39 OpenWrt user.warn kernel: [<80087164>] 0x80087164
Jul  5 17:15:39 OpenWrt user.warn kernel: [<800708bc>] 0x800708bc
Jul  5 17:15:39 OpenWrt user.warn kernel: [<800822a0>] 0x800822a0
Jul  5 17:15:39 OpenWrt user.warn kernel: [<81fe6110>] 0x81fe6110
Jul  5 17:15:39 OpenWrt user.warn kernel: [<81fe6110>] 0x81fe6110
Jul  5 17:15:39 OpenWrt user.warn kernel: [<80082380>] 0x80082380
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8006082c>] 0x8006082c
Jul  5 17:15:39 OpenWrt user.warn kernel: [<80060a00>] 0x80060a00
Jul  5 17:15:39 OpenWrt user.warn kernel: [<81fe6110>] 0x81fe6110
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8006b244>] 0x8006b244
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8006c6e4>] 0x8006c6e4
Jul  5 17:15:39 OpenWrt user.warn kernel: [<80060a20>] 0x80060a20
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8029ca54>] 0x8029ca54
Jul  5 17:15:39 OpenWrt user.warn kernel: [<8029c3a8>] 0x8029c3a8
Jul  5 17:15:39 OpenWrt user.warn kernel: ---[ end trace 4b774dc388c24708 ]---
Jul  5 17:15:39 OpenWrt user.debug kernel: eth1: tx timeout
Jul  5 17:15:39 OpenWrt user.info kernel: eth1: link down
Jul  5 17:15:39 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)

Jul  5 17:16:35 OpenWrt user.debug kernel: eth1: tx timeout
Jul  5 17:16:35 OpenWrt user.info kernel: eth1: link down
Jul  5 17:16:35 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Jul  5 17:16:35 OpenWrt user.info kernel: lan1: link down
Jul  5 17:16:35 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:35 OpenWrt user.info kernel: lan4: link down
Jul  5 17:16:35 OpenWrt user.info kernel: br-lan: port 4(lan4) entering disabled state
Jul  5 17:16:35 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  5 17:16:35 OpenWrt user.info kernel: br-lan: port 1(lan1) entering disabled state
Jul  5 17:16:35 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:36 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:36 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  5 17:16:36 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  5 17:16:36 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  5 17:16:36 OpenWrt user.info kernel: lan4: link up, 10Mb/s, half duplex
Jul  5 17:16:36 OpenWrt user.info kernel: br-lan: port 4(lan4) entering forwarding state
Jul  5 17:16:36 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  5 17:16:37 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  5 17:16:37 OpenWrt user.info kernel: br-lan: port 1(lan1) entering forwarding state
Jul  5 17:16:37 OpenWrt user.info kernel: lan1: link down
Jul  5 17:16:37 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:37 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:37 OpenWrt user.info kernel: lan4: link down
Jul  5 17:16:37 OpenWrt user.info kernel: br-lan: port 4(lan4) entering disabled state
Jul  5 17:16:37 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  5 17:16:37 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:38 OpenWrt user.info kernel: br-lan: port 1(lan1) entering disabled state
Jul  5 17:16:38 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  5 17:16:38 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  5 17:16:38 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  5 17:16:38 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  5 17:16:39 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:39 OpenWrt user.info kernel: lan4: link up, 10Mb/s, half duplex
Jul  5 17:16:39 OpenWrt user.info kernel: br-lan: port 4(lan4) entering forwarding state
Jul  5 17:16:39 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:40 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  5 17:16:40 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:40 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  5 17:16:40 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  5 17:16:41 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  5 17:16:41 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  5 17:16:42 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  5 17:16:42 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:42 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:42 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  5 17:16:42 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:42 OpenWrt user.info kernel: br-lan: port 1(lan1) entering forwarding state
Jul  5 17:16:44 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  5 17:16:44 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  5 17:16:44 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  5 17:16:44 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  5 17:16:45 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:45 OpenWrt user.info kernel: lan4: link down
Jul  5 17:16:45 OpenWrt user.info kernel: br-lan: port 4(lan4) entering disabled state
Jul  5 17:16:45 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  5 17:16:46 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:46 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  5 17:16:46 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  5 17:16:46 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:49 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  5 17:16:49 OpenWrt user.info kernel: lan4: link up, 10Mb/s, half duplex
Jul  5 17:16:49 OpenWrt user.info kernel: br-lan: port 4(lan4) entering forwarding state
Jul  5 17:16:49 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  5 17:16:49 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:49 OpenWrt user.info kernel: lan4: link down
Jul  5 17:16:50 OpenWrt user.info kernel: br-lan: port 4(lan4) entering disabled state
Jul  5 17:16:50 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  5 17:16:50 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:51 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:51 OpenWrt user.info kernel: lan1: link down
Jul  5 17:16:51 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  5 17:16:51 OpenWrt user.info kernel: lan4: link up, 10Mb/s, half duplex
Jul  5 17:16:51 OpenWrt user.info kernel: br-lan: port 4(lan4) entering forwarding state
Jul  5 17:16:51 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  5 17:16:52 OpenWrt user.info kernel: br-lan: port 1(lan1) entering disabled state
Jul  5 17:16:52 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  5 17:16:52 OpenWrt user.info kernel: lan4: link down
Jul  5 17:16:52 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  5 17:16:53 OpenWrt user.info kernel: br-lan: port 4(lan4) entering disabled state
Jul  5 17:16:53 OpenWrt user.info kernel: lan2: link down
Jul  5 17:16:53 OpenWrt user.info kernel: lan4: link up, 10Mb/s, half duplex
Jul  5 17:16:53 OpenWrt user.info kernel: br-lan: port 4(lan4) entering forwarding state
Jul  5 17:16:54 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  5 17:16:54 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  5 17:16:54 OpenWrt user.info kernel: lan3: link down
Jul  5 17:16:54 OpenWrt user.info kernel: lan4: link down

Attachments (0)

Change History (24)

comment:1 Changed 7 years ago by Jonathan Bennett <jbscienc87@…>

That's changeset 22055.

comment:2 Changed 7 years ago by nbd

  • Owner changed from developers to nbd
  • Status changed from new to accepted

comment:3 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from accepted to closed

fixed in r22075

comment:4 Changed 7 years ago by Jonathan Bennett <jbscience87@…>

I have confirmed that this patch does fix the issue. It does still recover from the TX timeout as described in #6754, too. Thanks for the patch.

comment:5 Changed 7 years ago by Jonthan Bennett <jbcience87@…>

  • Resolution fixed deleted
  • Status changed from closed to reopened

Observed this issue while running trunk r22075 on a tp-link wr841n. Apparently it doesn't happen every time the interface resets. The router was under heavy load from 6-8 clients at the time, running from wireless through the lan ports. The WAN port was unused. If I can capture the log from when it actually started I will post it.

...
Jul  7 07:12:03 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  7 07:12:03 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  7 07:12:03 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  7 07:12:03 OpenWrt user.info kernel: br-lan: port 1(lan1) entering forwarding state
Jul  7 07:12:05 OpenWrt user.info kernel: lan1: link down
Jul  7 07:12:05 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  7 07:12:05 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  7 07:12:05 OpenWrt user.info kernel: br-lan: port 1(lan1) entering disabled state
Jul  7 07:12:06 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  7 07:12:06 OpenWrt user.info kernel: lan2: link down
Jul  7 07:12:06 OpenWrt user.info kernel: lan3: link down
Jul  7 07:12:06 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  7 07:12:06 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  7 07:12:06 OpenWrt user.info kernel: br-lan: port 1(lan1) entering forwarding state
Jul  7 07:12:09 OpenWrt user.info kernel: lan1: link down
Jul  7 07:12:09 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  7 07:12:09 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  7 07:12:09 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  7 07:12:09 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  7 07:12:09 OpenWrt user.info kernel: br-lan: port 1(lan1) entering disabled state
Jul  7 07:12:10 OpenWrt user.info kernel: lan2: link down
Jul  7 07:12:10 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  7 07:12:12 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  7 07:12:12 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  7 07:12:13 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  7 07:12:13 OpenWrt user.info kernel: br-lan: port 1(lan1) entering forwarding state
Jul  7 07:12:14 OpenWrt user.info kernel: lan3: link down
Jul  7 07:12:14 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  7 07:12:15 OpenWrt user.info kernel: lan1: link down
...

comment:6 Changed 7 years ago by Jonathan Bennett <jbscience87@…>

It seems that simply running the "reboot" command doesn't fix the problem.

Jul  6 18:54:00 OpenWrt user.notice kernel: 0x000000160000-0x0000003f0000 : "rootfs"
Jul  6 18:54:00 OpenWrt user.notice kernel: mtd: partition "rootfs" set to be root filesystem
Jul  6 18:54:00 OpenWrt user.info kernel: mtd: partition "rootfs_data" created automatically, ofs=334000, len=BC000 
Jul  6 18:54:00 OpenWrt user.notice kernel: 0x000000334000-0x0000003f0000 : "rootfs_data"
Jul  6 18:54:00 OpenWrt user.notice kernel: 0x0000003f0000-0x000000400000 : "art"
Jul  6 18:54:00 OpenWrt user.notice kernel: 0x000000020000-0x0000003f0000 : "firmware"
Jul  6 18:54:00 OpenWrt user.info kernel: ag71xx_mdio: probed
Jul  6 18:54:00 OpenWrt user.info kernel: eth0: Atheros AG71xx at 0xba000000, irq 5
Jul  6 18:54:00 OpenWrt user.debug kernel: eth0: using fixed link parameters
Jul  6 18:54:00 OpenWrt user.info kernel: eth1: Atheros AG71xx at 0xb9000000, irq 4
Jul  6 18:54:00 OpenWrt user.debug kernel: eth1: using fixed link parameters
Jul  6 18:54:00 OpenWrt user.info kernel: Atheros AR71xx hardware watchdog driver version 0.1.0
Jul  6 18:54:00 OpenWrt user.debug kernel: ar71xx-wdt: timeout=15 secs (max=21)
Jul  6 18:54:00 OpenWrt user.info kernel: TCP westwood registered
Jul  6 18:54:00 OpenWrt user.info kernel: NET: Registered protocol family 17
Jul  6 18:54:00 OpenWrt user.notice kernel: Distributed Switch Architecture driver version 0.1
Jul  6 18:54:00 OpenWrt user.info kernel: eth0[0]: detected a Atheros AR7240 built-in switch
Jul  6 18:54:00 OpenWrt user.info kernel: dsa slave smi: probed
Jul  6 18:54:00 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Jul  6 18:54:00 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Jul  6 18:54:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Jul  6 18:54:00 OpenWrt user.info kernel: Freeing unused kernel memory: 148k freed
Jul  6 18:54:00 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ...
Jul  6 18:54:00 OpenWrt user.info kernel: gpio-buttons driver version 0.1.2
Jul  6 18:54:00 OpenWrt user.info kernel: input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Jul  6 18:54:00 OpenWrt user.info kernel: Button Hotplug driver version 0.4.0
Jul  6 18:54:00 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Jul  6 18:54:00 OpenWrt user.info kernel: Registered led device: tl-wr741nd:green:system
Jul  6 18:54:00 OpenWrt user.info kernel: Registered led device: tl-wr741nd:green:qss
Jul  6 18:54:00 OpenWrt user.info kernel: mini_fo: using base directory: /
Jul  6 18:54:00 OpenWrt user.info kernel: mini_fo: using storage directory: /overlay
Jul  6 18:54:00 OpenWrt user.info kernel: eth0: link down
Jul  6 18:54:01 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with ptbtime2.ptb.de
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with cudns.cit.cornell.edu
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with ntp.xs4all.nl
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with tick.greyware.com
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with ac-ntp1.net.cmu.edu
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with ptbtime3.ptb.de
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with ptbtime1.ptb.de
Jul  6 18:54:01 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Jul  6 18:54:01 OpenWrt user.notice rdate: No usable time server for loopback found
Jul  6 18:54:01 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Jul  6 18:54:02 OpenWrt user.info sysinit: udhcpc (v1.16.2) started
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with ptbtime1.ptb.de
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with ac-ntp1.net.cmu.edu
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with tick.greyware.com
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with ntp.xs4all.nl
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with ptbtime2.ptb.de
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with cudns.cit.cornell.edu
Jul  6 18:54:02 OpenWrt user.notice rdate: Failed to sync with ptbtime3.ptb.de
Jul  6 18:54:02 OpenWrt user.notice rdate: No usable time server for eth found
Jul  6 18:54:02 OpenWrt user.info kernel: device lan1 entered promiscuous mode
Jul  6 18:54:02 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Jul  6 18:54:03 OpenWrt user.info kernel: device lan2 entered promiscuous mode
Jul  6 18:54:03 OpenWrt user.info kernel: lan1: link up, 10Mb/s, half duplex
Jul  6 18:54:03 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  6 18:54:03 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  6 18:54:03 OpenWrt user.info kernel: br-lan: port 1(lan1) entering forwarding state
Jul  6 18:54:03 OpenWrt user.info sysinit: Sending discover...
Jul  6 18:54:03 OpenWrt user.info kernel: device lan3 entered promiscuous mode
Jul  6 18:54:03 OpenWrt user.info kernel: device lan4 entered promiscuous mode
Jul  6 18:54:03 OpenWrt user.info kernel: Compat-wireless backport release: compat-wireless-2010-06-17-6-g8a97897
Jul  6 18:54:03 OpenWrt user.info kernel: Backport based on wireless-2.6.git v2.6.35-rc3-47473-gd412296
Jul  6 18:54:04 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  6 18:54:04 OpenWrt user.info kernel: lan4: link up, 10Mb/s, half duplex
Jul  6 18:54:04 OpenWrt user.info kernel: br-lan: port 4(lan4) entering forwarding state
Jul  6 18:54:04 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  6 18:54:04 OpenWrt user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with ptbtime1.ptb.de
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with ac-ntp1.net.cmu.edu
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with tick.greyware.com
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with ntp.xs4all.nl
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with ptbtime2.ptb.de
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with cudns.cit.cornell.edu
Jul  6 18:54:05 OpenWrt user.notice rdate: Failed to sync with ptbtime3.ptb.de
Jul  6 18:54:05 OpenWrt user.notice rdate: No usable time server for lan found
Jul  6 18:54:05 OpenWrt user.info kernel: cfg80211: World regulatory domain updated:
Jul  6 18:54:05 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jul  6 18:54:05 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:05 OpenWrt user.info kernel:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:05 OpenWrt user.info kernel:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:05 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:05 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel: lan3: link down
Jul  6 18:54:06 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  6 18:54:06 OpenWrt user.debug kernel: PCI: Setting latency timer of device 0000:00:00.0 to 64
Jul  6 18:54:06 OpenWrt user.info sysinit: Sending discover...
Jul  6 18:54:06 OpenWrt user.debug kernel: ath: EEPROM regdomain: 0x0
Jul  6 18:54:06 OpenWrt user.debug kernel: ath: EEPROM indicates default country code should be used
Jul  6 18:54:06 OpenWrt user.debug kernel: ath: doing EEPROM country->regdmn map search
Jul  6 18:54:06 OpenWrt user.debug kernel: ath: country maps to regdmn code: 0x3a
Jul  6 18:54:06 OpenWrt user.debug kernel: ath: Country alpha2 being used: US
Jul  6 18:54:06 OpenWrt user.debug kernel: ath: Regpair used: 0x3a
Jul  6 18:54:06 OpenWrt user.debug kernel: phy0: Selected rate control algorithm 'minstrel_ht'
Jul  6 18:54:06 OpenWrt user.info kernel: Registered led device: ath9k-phy0::radio
Jul  6 18:54:06 OpenWrt user.info kernel: Registered led device: ath9k-phy0::assoc
Jul  6 18:54:06 OpenWrt user.info kernel: Registered led device: ath9k-phy0::tx
Jul  6 18:54:06 OpenWrt user.info kernel: Registered led device: ath9k-phy0::rx
Jul  6 18:54:06 OpenWrt user.info kernel: phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=48
Jul  6 18:54:06 OpenWrt user.info kernel: cfg80211: Calling CRDA for country: US
Jul  6 18:54:06 OpenWrt user.info kernel: cfg80211: Regulatory domain changed to country: US
Jul  6 18:54:06 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jul  6 18:54:06 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jul  6 18:54:06 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jul  6 18:54:07 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (463 buckets, 1852 max)
Jul  6 18:54:07 OpenWrt user.info kernel: lan2: link down
Jul  6 18:54:07 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  6 18:54:08 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  6 18:54:08 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  6 18:54:09 OpenWrt user.info kernel: lan3: link down
Jul  6 18:54:09 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Jul  6 18:54:09 OpenWrt user.info kernel: br-lan: port 5(wlan0) entering forwarding state
Jul  6 18:54:09 OpenWrt user.info sysinit: Sending discover...
Jul  6 18:54:10 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  6 18:54:10 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  6 18:54:10 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  6 18:54:11 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  6 18:54:11 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  6 18:54:12 OpenWrt user.info kernel: lan2: link down
Jul  6 18:54:12 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  6 18:54:13 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Jul  6 18:54:13 OpenWrt user.info kernel: br-lan: port 5(wlan0) entering disabled state
Jul  6 18:54:13 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  6 18:54:13 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  6 18:54:13 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Jul  6 18:54:13 OpenWrt user.info kernel: br-lan: port 5(wlan0) entering forwarding state
Jul  6 18:54:14 OpenWrt user.info sysinit: Loading defaults
Jul  6 18:54:14 OpenWrt user.info kernel: lan2: link down
Jul  6 18:54:14 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  6 18:54:14 OpenWrt user.info sysinit: Loading synflood protection
Jul  6 18:54:14 OpenWrt user.info sysinit: Adding custom chains
Jul  6 18:54:15 OpenWrt user.info sysinit: Loading zones
Jul  6 18:54:15 OpenWrt daemon.info hostapd: wlan0: STA 00:15:af:b5:c9:33 IEEE 802.11: authenticated
Jul  6 18:54:15 OpenWrt daemon.info hostapd: wlan0: STA 00:15:af:b5:c9:33 IEEE 802.11: associated (aid 1)
Jul  6 18:54:15 OpenWrt daemon.info hostapd: wlan0: STA 00:15:af:b5:c9:33 RADIUS: starting accounting session 4C337BD3-00000000
Jul  6 18:54:15 OpenWrt daemon.info hostapd: wlan0: STA 00:15:af:b5:c9:33 WPA: pairwise key handshake completed (WPA)
Jul  6 18:54:15 OpenWrt daemon.info hostapd: wlan0: STA 00:15:af:b5:c9:33 WPA: group key handshake completed (WPA)
Jul  6 18:54:16 OpenWrt user.info sysinit: Loading forwardings
Jul  6 18:54:16 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  6 18:54:16 OpenWrt user.info kernel: lan3: link down
Jul  6 18:54:16 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  6 18:54:16 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  6 18:54:16 OpenWrt user.info sysinit: Loading redirects
Jul  6 18:54:16 OpenWrt user.info sysinit: Loading rules
Jul  6 18:54:16 OpenWrt user.info sysinit: Loading includes
Jul  6 18:54:16 OpenWrt user.info sysinit: Loading interfaces
Jul  6 18:54:16 OpenWrt user.info firewall: info adding lan (br-lan) to zone lan
Jul  6 18:54:17 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  6 18:54:17 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  6 18:54:17 OpenWrt authpriv.info dropbear[1555]: Running in background
Jul  6 18:54:17 OpenWrt user.info sysinit: WARNING: the specified certificate and key files do not exist and the px5g generator is not available, skipping SSL setup.
Jul  6 18:54:18 OpenWrt daemon.info dnsmasq[1578]: started, version 2.55 cachesize 150
Jul  6 18:54:18 OpenWrt daemon.info dnsmasq[1578]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Jul  6 18:54:18 OpenWrt daemon.info dnsmasq[1578]: using local addresses only for domain lan
Jul  6 18:54:18 OpenWrt daemon.warn dnsmasq[1578]: no servers found in /tmp/resolv.conf.auto, will retry
Jul  6 18:54:18 OpenWrt daemon.info dnsmasq[1578]: read /etc/hosts - 1 addresses
Jul  6 18:54:18 OpenWrt user.info sysinit: setting up led tl-wr741nd:green:qss
Jul  6 18:54:18 OpenWrt user.info sysinit: setting up led ath9k-phy0::rx
Jul  6 18:54:18 OpenWrt user.info sysinit: setting up led ath9k-phy0::tx
Jul  6 18:54:18 OpenWrt user.info sysinit: setting up led ath9k-phy0::assoc
Jul  6 18:54:18 OpenWrt user.info sysinit: setting up led ath9k-phy0::radio
Jul  6 18:54:18 OpenWrt user.info sysinit: setting up led tl-wr741nd:green:system
Jul  6 18:54:18 OpenWrt user.info sysinit: nand-disk
Jul  6 18:54:18 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Jul  6 18:54:19 OpenWrt user.info kernel: lan3: link down
Jul  6 18:54:19 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  6 18:54:21 OpenWrt authpriv.info dropbear[1592]: Child connection from 10.0.1.82:38763
Jul  6 18:54:21 OpenWrt user.info kernel: lan2: link down
Jul  6 18:54:21 OpenWrt user.info kernel: lan3: link up, 10Mb/s, half duplex
Jul  6 18:54:21 OpenWrt user.info kernel: br-lan: port 3(lan3) entering forwarding state
Jul  6 18:54:21 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state
Jul  6 18:54:22 OpenWrt user.info kernel: lan2: link up, 10Mb/s, half duplex
Jul  6 18:54:22 OpenWrt user.info kernel: lan3: link down
Jul  6 18:54:22 OpenWrt user.info kernel: br-lan: port 3(lan3) entering disabled state
Jul  6 18:54:22 OpenWrt user.info kernel: br-lan: port 2(lan2) entering forwarding state
Jul  6 18:54:24 OpenWrt user.info kernel: lan2: link down
Jul  6 18:54:24 OpenWrt user.info kernel: br-lan: port 2(lan2) entering disabled state

comment:7 Changed 7 years ago by anonymous

Out of curiosity, does the same problem happen on the TL-WR1043ND?

It's really the last bug I have on my TL-WR941ND, if it's ok with the TL-WR1043ND, I'll just go out and but one! :)

Thank you.

Pitou!

comment:8 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed

fixed in r22675

comment:9 Changed 7 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

I am using a Dlink DIR-600 A1, running 10.03.1-rc3 and i have the exact same problem. When i try to download a file off of the web, or use remote desktop, the network temporarily hangs/crashes and then restarts 5-10 seconds later.

dmesg reveals the below.

lan4: link up, 10Mb/s, half duplex
br-lan: port 4(lan4) entering forwarding state
lan4: link down
br-lan: port 4(lan4) entering disabled state
lan4: link up, 10Mb/s, half duplex
br-lan: port 4(lan4) entering forwarding state
lan4: link down
br-lan: port 4(lan4) entering disabled state
lan4: link up, 10Mb/s, half duplex
br-lan: port 4(lan4) entering forwarding state
lan4: link down
br-lan: port 4(lan4) entering disabled state
lan4: link up, 10Mb/s, half duplex
br-lan: port 4(lan4) entering forwarding state
lan4: link down
br-lan: port 4(lan4) entering disabled state
lan4: link up, 10Mb/s, half duplex
br-lan: port 4(lan4) entering forwarding state
lan4: link down
br-lan: port 4(lan4) entering disabled state
eth0: tx timeout
eth0: link down
eth0: link up (1000Mbps/Full duplex)
lan4: link up, 10Mb/s, half duplex
br-lan: port 4(lan4) entering forwarding state
eth0: link down

I am not familiar with compiling software, so i cannot test if the patches listed in this ticket which are specifically for the wr841n fixes the problem on my dlink dir-600 A1, but i would greatly appreciate it if someone could patch the backfire 10.03.1-rc3 dlink firmware with those r22675 changes so i could see if it fixes the problem on my hardware.

comment:10 Changed 7 years ago by acoul

  • Resolution set to fixed
  • Status changed from reopened to closed

try to test this snapshot. If it works please do not reopen this ticket.

An upcoming backfire release will be arriving at some point. Until then, trunk & snapshots are good friends.

comment:11 Changed 7 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Sadly, the /snapshots/trunk/ar71xx/openwrt-ar71xx-generic-dir-600-a1-squashfs-factory.bin fimrware (and its jffs2) counterpart temporarily "bricks" my dir-600 A1 router, and it does not boot, requiring me to re-flash it.

Interestingly, all of the older backfire releases install okay (aside from the lan lock-up issues on heavy network traffic issue), so i do not know why the generic firmware does not work.

If desired, please advise me if I should create a new ticket for these issues, reopening closed tickets just feels wrong ;-).

comment:12 Changed 7 years ago by nbd

I have an image for the DIR-600-A1, where I've ported the changes that I made to the TL-WR741ND code: http://nbd.name/openwrt-ar71xx-dir-600-a1-squashfs-factory.bin

Please test if it boots properly and does not have any lockup issues.

comment:13 Changed 7 years ago by Slowmo <slowmo@…>

Are snapshot builds built in a different way than release candidates and final releases? I'm asking because upgrade to snapshot release bricked my WRT350Nv2 as well. And if I compare file sizes of both rc3 and snapshot releases, snapshot is more than 300kb smaller.

comment:14 Changed 7 years ago by nbd

Snapshots are from trunk, release candidates are from the release branch

comment:15 Changed 7 years ago by Slowmo <slowmo@…>

I understand that. But the question was about compilation options, included packages e.t.c, because snapshot is a lot smaller than release. Apparently something is missing in snapshot build.

comment:16 Changed 7 years ago by nbd

Trunk contains some changes that reduce its size, e.g. support for NAND flash based devices has been moved to the 'nand' subtarget.
Other than that, they're pretty much built in with the same settings.

comment:17 Changed 7 years ago by anonymous (dir-600-A1)

nbd, thanks for taking the time to patch the firmware.

The postive: After flashing the firmware it does not brick my dir-600-A1.

The negative: The network service appears to be down since i am unable to connect to, or ping the router @ 192.168.1.1 (Destination Host Unreachable), nor am I able to receive an ip via DHCP.

comment:18 Changed 7 years ago by nbd

Sorry about that, I forgot to update the default config. Uploaded a new image which should hopefully work now. URL is the same.

comment:19 Changed 7 years ago by anonymous (dir-600-A1)

Thanks again nbd.

Postives:

  • The Lan is up, dmesg no longer lists the non-stop "lanX: link up lanX: link down" messages. I have not tested WiFi yet, but i would gather that it also works.
  • The network does not hang/crash when I move windows around in a remote desktop session with another PC on the lan, this would happen constantly with the previous backfire builds.

Negatives:

  • PPPoe module/support is not included, so i cannot browse the internet :-(.

Nbd I would be extremely grateful if you could make one more build that includes PPPoe and DHCP.

Overall, it seems as thogh the changes that were made for the TL-WR741ND definitely apply to the DIR-600 A1, so hopefully they will make it into the next backfire release.

comment:20 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed

New image uploaded for you, change committed to trunk in r23432, backfire in r23434

comment:21 Changed 7 years ago by anonymous

Seems that this is also the same problem with the Mikrotik Routerboard 750 using the same CPU/Switch

comment:22 Changed 7 years ago by dave@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Routerboard 750: Same applies to this model as above 2 models. Not sure how to fix the source code to recompile it. Hopefully someone can apply the same thing to this one.

port3: link up, 10Mb/s, half duplex
port2: link down
port3: link down
port2: link up, 10Mb/s, half duplex
port3: link up, 10Mb/s, half duplex
port2: link down
port3: link down
port3: link up, 10Mb/s, half duplex
port3: link down
port3: link up, 10Mb/s, half duplex
port2: link up, 10Mb/s, half duplex
port3: link down
port2: link down
port3: link up, 10Mb/s, half duplex
port2: link up, 10Mb/s, half duplex
port2: link down
port2: link up, 10Mb/s, half duplex
port3: link down
port2: link down

comment:23 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed

fixed in r23439, r23440

comment:24 Changed 3 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.