[OpenWrt-Devel] AR8216 looses connectivity

Nikolay Martynov mar.kolya at gmail.com
Thu Apr 9 00:07:41 EDT 2015


Hi.

  Several times my router has lost wired connectivity (wireless was
still working).
  When this happens I got this in logs:

[273271.990000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 2 is down
[273272.000000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 3 is down
[273272.000000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273272.990000] eth1: link down
[273273.990000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273273.990000] eth1: link up (100Mbps/Full duplex)
[273274.010000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 2 is up
[273274.010000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 3 is up
[273274.020000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273278.000000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273278.000000] eth1: link down
[273280.010000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273280.010000] eth1: link up (100Mbps/Full duplex)
[273280.030000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273284.020000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273284.020000] eth1: link down
[273285.030000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273285.030000] eth1: link up (100Mbps/Full duplex)
[273286.040000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273289.040000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273289.040000] eth1: link down
[273291.050000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273291.050000] eth1: link up (100Mbps/Full duplex)
[273292.060000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273307.060000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273307.060000] eth1: link down
[273309.070000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273309.070000] eth1: link up (100Mbps/Full duplex)
[273311.080000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273312.080000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273313.080000] eth1: link down
[273314.080000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273314.080000] eth1: link up (100Mbps/Full duplex)
[273314.090000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273328.090000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273328.090000] eth1: link down
[273329.100000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273329.100000] eth1: link up (100Mbps/Full duplex)
[273331.110000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273332.110000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273333.110000] eth1: link down
[273336.110000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[273336.110000] eth1: link up (100Mbps/Full duplex)
[273336.120000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up
[273340.120000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is down
[273340.120000] eth1: link down
[273341.130000] ar71xx: pll_reg 0xb8050018: 0x441099
[273341.130000] eth1: link up (10Mbps/Full duplex)
[273342.130000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:04: Port 5 is up

No wires were moved or touched when this was happening. Note that is
somehow managed to bring up 10Mbits on WAN interface. It is also kind
of interesting how eth1 (WAN) and port 5 were going up and down in
sync - are they in any way connected?

I've got this two or three times lately, once in 2-3 days. I'm on
r45267. Hardware is TEW632BRP with ieee80211 phy0: Atheros AR9100
MAC/BB Rev:7 AR2122 RF Rev:a1 mem=0xb80c0000, irq=2.

Is there anything I can do to debug this?

Thanks.
Nikolay.

-- 
Martynov Nikolay.
Email: mar.kolya at gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list