Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2442 - eth0 doesn't work on ath79 and AR7240 Rev 2 for ubnt-bullet-m #7744

Closed
openwrt-bot opened this issue Aug 13, 2019 · 4 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

russell:

Supply the following if possible:

  • Device problem occurs on

Ubiquiti Bullet M with AR7240 Rev 2 (AR7241 works fine)

  • Software versions of OpenWrt/LEDE release, packages, etc.

first noticed in March 2019, replicated today on reboot-10753-gbcfd1d7685

  • Steps to reproduce

Plug an ethernet cable, try to pass traffic, check interface status.

# dmesg | grep eth [ 1.259129] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=00000000, driver=Generic PHY] [ 1.269672] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii [ 8.504454] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 27.608176] br-pub: port 1(eth0) entered blocking state [ 27.613435] br-pub: port 1(eth0) entered disabled state [ 27.619234] device eth0 entered promiscuous mode

Works fine on ar71xx. On IRC:

2019-02-24 17:53 gch981213: russell–: ar71xx has the ability to auto-detect many things but ath79 doesn’t. ar7240 and ar7241 can’t share the same dts on arh79 but they can use the same piece of machine code in ar71xx.

How to sensibly support both AR7240 and AR7241 in ath79 considering it is not easy to distinguish them externally?

@openwrt-bot
Copy link
Author

russell:

Severity should be higher than "low", as this problem prevents ethernet functioning.

@openwrt-bot
Copy link
Author

adrianschmutzler:

first noticed in March 2019, replicated today on reboot-10753-gbcfd1d7685

Does that mean that older ath79 versions were working? If yes, please find the commit breaking it.

@openwrt-bot
Copy link
Author

russell:

No, according to gch981213 (the IRC reference) it has never been supported on ath79 (or wasn't at the time of the report).

@openwrt-bot
Copy link
Author

russell:

Fixed in commit [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d5812478ad4c882256e43a2ad52ddf0c0944db7b|ath79: add support for ubnt_bullet-m-ar7240 variant]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant