I never upgrade, I always do a fresh installation and then do all the changes required. This was shortly after I began to replicate the old configuration from the old router.
And why would the 21.02.0 kernel (5.4.143) not see hardware the ancient 18.06.2 kernel (4.9.152) sees? A kernel upgrade always replaces all kernel files. And kernel modules from the old kernel, if they survived, would be in a different directory (/lib/modules/4.9.152/ vs /lib/modules/5.4.143/), and even if the old kernel module(s) would be used, why would they see only one PHY after the upgrade I did not do?
Please try again. I'm not so stupid as you assume.
Doing so no settings were kept during process.
Do you have this issue on both devices or just one ?
Did you try to reverse the faulty device to 18.06 (and 19.07) in order to check if phy1 appears ?
Atheros wlan uses a partition named ART for wifi purpose. And I have found recently the the partition layout changed for this device in 21.02. There may be a relationship.
[quote="badulesia, post:8, topic:107371, full:true"]
Do you have this issue on both devices or just one ?[/quote]
I normally keep one running the old version and build a new router on the other. So I have not tried the other and I'm reluctant to do that.
I'll do check that now.
[quote\Atheros wlan uses a partition named ART for wifi purpose. And I have found recently the the partition layout changed for this device in 21.02. There may be a relationship.[/quote] /proc/mtd 18.06:
mtd7 and mtd8 together have the same size, so mtd9 starts at the same offset. mtd11 is only renamed and (I'm very grateful for that) it is lumped together with mtd8 to give a much larger /ovcerlay (just short of 100 MB). mtd12 is new and I don't know what it is used for. I haven't found a good explanation of the UBI commands. and the data structure.
So "firmware" should not have been touched.
I'll back up my configuration changes and install 18.06. The image is still around.
I never encountered this, but, as I said, I don't use the WLAN on the box anymore. Alas, /dev/mem disappeared, so I can't do that check. The article suggests to just configure radio1 in /etc/config/wireless, but that also does not work. And it says
And that just worked! (Smashes hand to forehead repeatedly)
I had the device off for hours and the phy1 never came up. It seems that leaving it off for just a few minutes does the trick.
I rebooted to install 18.06 and again to switch back to 21.02. And just for grins and giggles, I did it again a few times. The problem indeed occurs with both 18.06 and 21.02, and occurs frequently enough to warrant a Craigslist entry if you reboot often. And need the WLAN capability, which I fortunately don't. I'm using a Fritzbox as a DECT/VoIP server and that has WiFi 5.
So I'll retire this thread and hope that other people who run into the same problem find it.
The other box does not have the problem. So I'll keep this thread open until I have switched to the new 21.02 box and run a few tests with 21.02 on the "old" one.