[OpenWrt-Devel] Intermittent Ethernet failure

Bill bmoffitt at ayrstone.com
Mon May 4 20:53:21 EDT 2015


I have a number of Ubiquiti LOCO M5 units (ar71xx) in use as 
"transparent" (simulated layer 2) wireless bridges with the client 
devices relayd. I used a CC trunk pull of r42711 because I needed 
support for the new "XW" variant of this device (which was not, alas, 
present in BB).

I'm seeing very odd behavior. The bridge will work OK for a day or even 
two, then fail, requiring a reboot of the client. The LOCO keeps working 
just fine, but the device connected to it loses connectivity to the 
network. So the LOCO client can still ping the network, but the computer 
connected to it cannot. The Ethernet port on the computer shows as still 
connected, but, of course, loses its IP address (provided from the 
router to which the AP LOCO is connected).

The oddest part is that the computer connected to the LOCO still shows 
up in the ARP table.

I have finally been able to reproduce the problem here at home by 
setting up a bridge and leaving it alone for a few days. When it failed, 
this is what dmesg told me:

[   53.040000] wlan0: authenticate with 04:18:d6:4a:32:19

[   53.050000] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded

[   53.070000] wlan0: send auth to 04:18:d6:4a:32:19 (try 1/3)

[   53.080000] wlan0: authenticated

[   53.120000] wlan0: associate with 04:18:d6:4a:32:19 (try 1/3)

[   53.130000] wlan0: RX AssocResp from 04:18:d6:4a:32:19 (capab=0x11 status=0 aid=1)

[   53.130000] wlan0: associated

[   53.140000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[  409.380000] eth0: link up (100Mbps/Full duplex)

[  409.380000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[  423.380000] eth0: link down

[  424.380000] eth0: link up (100Mbps/Full duplex)

[  560.380000] eth0: link down

[ 1674.380000] eth0: link up (100Mbps/Full duplex)

[ 1680.380000] eth0: link down

[ 1711.380000] eth0: link up (100Mbps/Full duplex)

[ 1715.380000] eth0: link down

[ 1746.380000] eth0: link up (100Mbps/Full duplex)

[ 1748.380000] eth0: link down

[ 1794.380000] eth0: link up (100Mbps/Full duplex)

[ 1998.380000] eth0: link down

[ 1999.380000] eth0: link up (100Mbps/Full duplex)

[ 2737.390000] eth0: link down

[81896.870000] eth0: link up (100Mbps/Full duplex)

[84330.920000] eth0: link up (100Mbps/Half duplex)

[84332.920000] eth0: link up (100Mbps/Full duplex)

[85734.930000] eth0: link up (100Mbps/Half duplex)

[85736.930000] eth0: link up (100Mbps/Full duplex)

[86432.960000] eth0: link down

[86433.960000] eth0: link up (100Mbps/Full duplex)

[87923.980000] eth0: link up (100Mbps/Half duplex)

[87925.980000] eth0: link up (100Mbps/Full duplex)

[92782.070000] eth0: link up (100Mbps/Half duplex)

[92784.070000] eth0: link up (100Mbps/Full duplex)

[95022.100000] eth0: link down

[95023.100000] eth0: link up (100Mbps/Full duplex)

[96515.140000] eth0: link down

[96516.140000] eth0: link up (100Mbps/Full duplex)

[96882.140000] eth0: link down

[96883.140000] eth0: link up (100Mbps/Full duplex)

[97615.150000] eth0: link up (10Mbps/Half duplex)

[97617.150000] eth0: link up (100Mbps/Full duplex)

[97951.150000] eth0: link down

[97952.150000] eth0: link up (100Mbps/Full duplex)

[100654.270000] eth0: link down

[100655.270000] eth0: link up (100Mbps/Full duplex)

[101893.270000] eth0: link down

[101894.270000] eth0: link up (100Mbps/Full duplex)

[102458.290000] eth0: link up (10Mbps/Half duplex)

[102460.290000] eth0: link up (100Mbps/Full duplex)

[103190.300000] eth0: link up (100Mbps/Half duplex)

[103192.300000] eth0: link up (100Mbps/Full duplex)

[105302.330000] eth0: link down

[105303.330000] eth0: link up (100Mbps/Full duplex)

[107167.360000] eth0: link down

[107168.360000] eth0: link up (100Mbps/Full duplex)

[108038.430000] eth0: link up (100Mbps/Half duplex)

[108040.430000] eth0: link up (100Mbps/Full duplex)

[110398.430000] eth0: link down

[110399.430000] eth0: link up (100Mbps/Full duplex)

[111099.440000] eth0: link down

[111100.440000] eth0: link up (100Mbps/Full duplex)

[111346.450000] eth0: link down

[111347.450000] eth0: link up (100Mbps/Full duplex)

[112683.490000] eth0: link down

[112684.490000] eth0: link up (100Mbps/Full duplex)

[114144.490000] eth0: link down

[114145.490000] eth0: link up (100Mbps/Full duplex)

[114827.490000] eth0: link down

[114828.490000] eth0: link up (100Mbps/Full duplex)

[115088.490000] eth0: link down

[115089.490000] eth0: link up (100Mbps/Full duplex)

[117515.550000] eth0: link down

[117516.550000] eth0: link up (100Mbps/Full duplex)

[118382.550000] eth0: link up (10Mbps/Half duplex)

[118384.550000] eth0: link up (100Mbps/Full duplex)

[118692.550000] eth0: link down

[118693.550000] eth0: link up (100Mbps/Full duplex)

[119435.560000] eth0: link down

[119436.560000] eth0: link up (100Mbps/Full duplex)

[120340.600000] eth0: link down

[120341.600000] eth0: link up (100Mbps/Full duplex)

[123993.650000] eth0: link down

[123994.650000] eth0: link up (100Mbps/Full duplex)

[124580.670000] eth0: link down

[124581.670000] eth0: link up (100Mbps/Full duplex)

[124987.730000] eth0: link down

[124988.730000] eth0: link up (100Mbps/Full duplex)

[125334.730000] eth0: link down

[125335.730000] eth0: link up (100Mbps/Full duplex)

[125565.730000] eth0: link down

[125566.730000] eth0: link up (100Mbps/Full duplex)

[125618.730000] eth0: link down

[125619.730000] eth0: link up (100Mbps/Full duplex)

[126207.730000] eth0: link down

[126208.730000] eth0: link up (100Mbps/Full duplex)

[126480.730000] eth0: link up (10Mbps/Half duplex)

[126482.730000] eth0: link up (100Mbps/Full duplex)

[126810.730000] eth0: link down

[126811.730000] eth0: link up (100Mbps/Full duplex)

[127231.730000] eth0: link up (100Mbps/Half duplex)

[127233.730000] eth0: link up (100Mbps/Full duplex)

[127769.730000] eth0: link down

[127770.730000] eth0: link up (100Mbps/Full duplex)

[129596.730000] eth0: link up (10Mbps/Half duplex)

[129598.730000] eth0: link up (100Mbps/Full duplex)

[131882.740000] eth0: link down

[131883.740000] eth0: link up (100Mbps/Full duplex)

[131921.740000] eth0: link up (10Mbps/Half duplex)

[131923.740000] eth0: link up (100Mbps/Full duplex)

[135265.870000] eth0: link down

[135266.870000] eth0: link up (100Mbps/Full duplex)

[136068.890000] eth0: link down

[136069.890000] eth0: link up (100Mbps/Full duplex)

[137037.900000] eth0: link down

[137038.900000] eth0: link up (100Mbps/Full duplex)

[137850.900000] eth0: link up (100Mbps/Half duplex)

[137852.910000] eth0: link up (100Mbps/Full duplex)

[140712.930000] eth0: link down

[140713.930000] eth0: link up (100Mbps/Full duplex)

[140895.930000] eth0: link down

[140896.930000] eth0: link up (100Mbps/Full duplex)

[141184.930000] eth0: link down

[141185.930000] eth0: link up (100Mbps/Full duplex)

[142181.960000] eth0: link down

[142182.960000] eth0: link up (100Mbps/Full duplex)

[143236.980000] eth0: link down

[143237.980000] eth0: link up (100Mbps/Full duplex)

[145078.040000] eth0: link down

[145079.040000] eth0: link up (100Mbps/Full duplex)

[145305.040000] eth0: link down

[145306.040000] eth0: link up (100Mbps/Full duplex)

[145976.070000] eth0: link down

[145977.070000] eth0: link up (100Mbps/Full duplex)

[147311.090000] eth0: link up (10Mbps/Half duplex)

[147313.090000] eth0: link up (100Mbps/Full duplex)

[150787.220000] eth0: link down

[150788.220000] eth0: link up (100Mbps/Full duplex)

[151732.220000] eth0: link down

[151733.220000] eth0: link up (100Mbps/Full duplex)

[154517.240000] eth0: link down

[154518.240000] eth0: link up (100Mbps/Full duplex)

[154960.240000] eth0: link down

[154961.240000] eth0: link up (100Mbps/Full duplex)

[156777.260000] eth0: link down

[156778.260000] eth0: link up (100Mbps/Full duplex)

[159464.300000] eth0: link up (100Mbps/Half duplex)

[159466.300000] eth0: link up (100Mbps/Full duplex)

[161424.310000] eth0: link up (10Mbps/Half duplex)

[161426.310000] eth0: link down

[254892.240000] wlan0: deauthenticating from 04:18:d6:4a:32:19 by local choice (Reason: 3=DEAUTH_LEAVING)

[254893.450000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[254893.460000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[254894.260000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

[254896.270000] wlan0: authenticate with 04:18:d6:4a:32:19

[254896.280000] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded

[254896.300000] wlan0: send auth to 04:18:d6:4a:32:19 (try 1/3)

[254896.310000] wlan0: authenticated

[254896.340000] wlan0: associate with 04:18:d6:4a:32:19 (try 1/3)

[254896.340000] wlan0: RX AssocResp from 04:18:d6:4a:32:19 (capab=0x11 status=0 aid=1)

[254896.350000] wlan0: associated

[254896.350000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


ifconfig looks normal, as does ARP.

The only symptom I have been able to find is the "eth0: link up" and 
"eth0: link down" messages in the dmesg buffer.

I have been testing this with an older "XM" version of the LOCO and it 
does NOT seem to happen - the XM version appears to work perfectly.

I have not tested it with a newer build of OpenWRT.

Any ideas?

-- 
Bill Moffitt
Ayrstone Productivity
http://ayrstone.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150504/38f0fe1e/attachment.htm>
-------------- next part --------------
_______________________________________________
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