MT7621 PCIe DTS issues. (MT76 stopped working with latest updates)

Same problem here, just updated to master and it seems like wifi is not going up on mt76 anymore.
Target is WE3526.

/etc/config/wireless only holds radio0 as well (which doesnt work). Radio1 is nowhere to be seen.

rmmod mt76x2e, mt7603e
clear dmesg,
modprobe mt76x2e, mt7603e
and the dmesg becomes:

root@OpenWrt:~# dmesg
[  495.096981] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[  495.128047] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[  495.137207] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[  495.142821] mt76x2e 0000:01:00.0: Build: 1
[  495.146904] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[  495.167577] mt76x2e 0000:01:00.0: Firmware running!
[  496.187552] mt76x2e 0000:01:00.0: MCU message 1 (seq 1) timed out
[  496.195038] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[  541.262023] mt7603e 0000:02:00.0: ASIC revision: 76030010
[  541.270847] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[  541.276527] mt7603e 0000:02:00.0: Build Time: 20160107100755
[  542.356081] MCU message -1 (seq 1) timed out
[  542.360347] mt7603e 0000:02:00.0: Download request failed
[  542.365908] mt7603e: probe of 0000:02:00.0 failed with error -145

Still an issue after running make clean, make distclean and recompile everything.

Hi, there is the same problem also for Xiaomi 3G?

I can't really say anything about Xiaomi since I dont own that device.

It’s surprising, I’ve proposed a possible solution yet no one tried it.

1 Like

@dissent1

I did try reverting that commit with no luck :confused:

So adding that code back does nothing. ¯_(ツ)_/¯

It must be something recently changed on the MT7621. Using an older kernel version with the updated MT76 works fine. Using the latest kernel version on a MT7628 with the latest MT76 works fine as well.

Unfortunately due to my work/private situation I can’t check every single commit over the last 2 weeks.

I always take a backup image before upgrading openwrt from luci.
After upgrading I had the same issues with wifi not working, so I reverted back to the previously working backup image.
Strangely, it still doesn't work, while it used to work before.
Did the new update cause a hardware failure?

I believe @nbd has a ZBT device laying around somewhere.
You got time to flash master and see if you get the same issues?

I could flash it to a ZBT 1326 in the morning (about 9 Hrs time) then report back. Put the build somewhere I can find it, & let me know.

regards Doug (Australia)

Unless you changed some code, don’t bother. I’m using it on a ZBT WE1326.

So far we have the following devices broken;

WE1326 (@drbrains)
WE3526 (@barhom)

Anything else?

@Doug_Lismore
You could always try the snapshot,

https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-zbt-we1326-squashfs-sysupgrade.bin

Thanks for the additional report of broken wifi.

Thanks. The reason I compiled my own image was I wanted QOS & Bufferbloat as well as Luci.

I think the current snapshot has an old Kernel, so could not load the extra packages.

regards, Doug

@barhom since you are making a list, keep in mind that this thread was started as MT76 broken, but actually on my Mercury MAC1200Rv2 (MT7628) is works. So I think your list should be MT7621 devices only. Possibly this thread should be renamed cause it seems to me the MT76 might not be at fault here.

I'm running 18.06 builds in my DIR-860L. Not experiencing any issues here. Only using the 5 GHz radio.

Edit: nevermind, master has 2018-05-15 and 18.06 2018-05-18 it seems.

Netgear R6220 is broken too. 2.4GHz is M.I.A., 5GHz is present but not particularly reliable.

I've got a broken we1326 too. Only the 5gig radio shows up. running "reboot-7054-g64b53247c4"

Mon May 28 21:53:22 2018 kern.info kernel: [   14.318235] mt7603e 0000:02:00.0: ASIC revision: 76030010
Mon May 28 21:53:22 2018 kern.info kernel: [   14.327174] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
Mon May 28 21:53:22 2018 kern.info kernel: [   14.332773] mt7603e 0000:02:00.0: Build Time: 20160107100755
Mon May 28 21:53:22 2018 kern.warn kernel: [   15.358007] MCU message -1 (seq 1) timed out
Mon May 28 21:53:22 2018 kern.err kernel: [   15.362262] mt7603e 0000:02:00.0: Download request failed
Mon May 28 21:53:22 2018 kern.warn kernel: [   15.367810] mt7603e: probe of 0000:02:00.0 failed with error -145
Mon May 28 21:53:22 2018 kern.info kernel: [   15.377016] mt76x2e 0000:01:00.0: ASIC revision: 76120044
Mon May 28 21:53:22 2018 kern.info kernel: [   15.408646] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
Mon May 28 21:53:22 2018 kern.info kernel: [   15.418273] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
Mon May 28 21:53:22 2018 kern.info kernel: [   15.423753] mt76x2e 0000:01:00.0: Build: 1
Mon May 28 21:53:22 2018 kern.info kernel: [   15.427826] mt76x2e 0000:01:00.0: Build Time: 201507311614____
Mon May 28 21:53:22 2018 kern.info kernel: [   15.448035] mt76x2e 0000:01:00.0: Firmware running!
Mon May 28 21:53:22 2018 kern.err kernel: [   16.478019] mt76x2e 0000:01:00.0: MCU message 1 (seq 1) timed out

git bisect has me down to...

edea934799 (refs/bisect/bad) ramips: remove unnecessary resource details.
1f78625714 ramips: remove conditional compilation.
5f7396ebef ramips: improve interrupt mapping
2ad4daf579 (HEAD) ramips: Remove redundant owner assignment
a098a78a33 ramips: Move PCI driver to files directory
574e4377fa (refs/bisect/good-574e4377fad5137595dea8a281061a3c945187c2) mac80211: properly setup mesh interface

I'm betting on the top half. the last two are just moving things.

"good" here means "I get both radio interfaces brought up"
"bad" means "I only get the 5gig radio"

no comments on quality of wifi whatsoever.