Ubiquiti loco xw eth0 bug
Aus Opennet
Version vom 29. April 2015, 20:28 Uhr von Leo (Diskussion | Beiträge)
Inhaltsverzeichnis |
Bug description
Some Ubiquiti loco xw have a hardware bug which results in an interface shutdown with now possibility to bring the interface without reboot. More details, see https://dev.openwrt.org/ticket/19085
Steps for building workaround
Find a way to detect hang of eth0
Detection in ag71xx_link_adjust() in file ag71xx_main.c ist possible. See http://pastebin.com/0ze9iFcb for an example.
Example Log output
root@OpenWrt:/tmp# logread | grep PHY Sun Apr 26 21:09:48 2015 kern.info kernel: [ 6.160000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:01 [uid=004dd023, driver=Generic PHY] (Opennet-Info1) Sun Apr 26 21:09:48 2015 kern.info kernel: [ 7.370000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:01 [uid=004dd023, driver=Generic PHY] (Opennet-Info1) Sun Apr 26 21:09:55 2015 kern.info kernel: [ 20.240000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:01 [uid=004dd023, driver=Generic PHY] (Opennet-Info1) Sun Apr 26 21:15:12 2015 kern.info kernel: [ 337.290000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:01 [uid=004dd023, driver=Generic PHY] (Opennet-Info1) Sun Apr 26 21:15:14 2015 kern.info kernel: [ 339.300000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:01 [uid=004dd023, driver=Generic PHY] (Opennet-Info1)
Find a way to reset eth0
...TODO...