Radio PHYs not found for mt7622 since recent commits

Hi all, has anyone else been unable to compile an image off master for mt7622 (specifically unifi U6 LR) with working radios? Compile completes ok but upon boot everything works except the radios.

Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio0 (1509): Phy not found
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio0 (1509): Could not find PHY for device 'radio0'
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio1 (1510): Phy not found
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio1 (1510): Could not find PHY for device 'radio1'
Sun Jul 17 16:45:26 2022 daemon.notice netifd: Wireless device 'radio1' set retry=0
Sun Jul 17 16:45:26 2022 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Sun Jul 17 16:45:26 2022 daemon.notice netifd: Wireless device 'radio0' set retry=0
Sun Jul 17 16:45:26 2022 daemon.crit netifd: Wireless device 'radio0' setup failed, retry=0
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio1 (1590): WARNING: Variable 'data' does not exist or is not an array/object
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio1 (1590): Bug: PHY is undefined for device 'radio1'
Sun Jul 17 16:45:26 2022 daemon.notice netifd: Wireless device 'radio1' is now down
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio0 (1592): WARNING: Variable 'data' does not exist or is not an array/object
Sun Jul 17 16:45:26 2022 daemon.notice netifd: radio0 (1592): Bug: PHY is undefined for device 'radio0'
Sun Jul 17 16:45:26 2022 daemon.notice netifd: Wireless device 'radio0' is now down

I compile images for my AP often and this seems to have started for me around the time of this commit. Compiled images for this device for months prior have always worked perfectly until now.

Steps to reproduce:

  1. fresh clone of master
  2. make clean and select Target System (MediaTek Ralink ARM) and Target Profile (Ubiquiti UniFi 6 LR v2)
  3. make download
  4. make

Build server is a fresh install of ubuntu 22.04 using the "modernized" package set from the wiki.

1 Like

Anything in dmesg that points to the radios not getting detected anymore?

I don't think the u-boot commit you're linking has any influence on OpenWrt proper, unless you also replaced or upgraded your board's u-boot as well with a binary built after that commit. But I might very well be mistaken.

I am not blaming that commit in particular, simply saying the radios stopped working around the time of it. I compile for U6 LR pretty frequently, such as for hostapd commits or kernel bumps. I have not done anything with the u-boot code on the U6 LR since flashing OpenWrt to it. From my records it should still be using the u-boot code from ubiquiti official firmware 5.43.19, which is what it was running before I flashed OpenWrt to it many months ago.

I'll re-flash off a fresh clone of master later today and put up the full dmesg. I'll try running the current snapshot on it also if I have enough time with everyone out of the house.

Compiled again from a fresh clone of master after seeing this commit that landed overnight and now both radios are visible and usable again. Thanks @rmilecki

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.