I have encountered problem with my Ubiquity AP Pro device running OpenWRT. It suddenly lost ethernet connectivity - link LEDs are not lit on both ports and on AP and devices connected.
Access point is reachable via WiFi only and dmesg shows that switch device is not initialized on boot:
[ 0.718382] libphy: Fixed MDIO Bus: probed
[ 0.756663] libphy: ag71xx_mdio: probed
[ 1.386859] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=00000000, driver=Generic PHY]
[ 1.396708] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
On similar device there is log entry for a switch device:
[ 0.718313] libphy: Fixed MDIO Bus: probed
[ 0.735576] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 1.408854] libphy: ag71xx_mdio: probed
[ 2.036693] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 2.048058] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
Is it possible to get some debug output from kernel for switch device probing? Perhaps there are more troubleshooting capabilities I'm missing?
Thanks a lot!