-
Notifications
You must be signed in to change notification settings - Fork 349
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
mt7615 firmware init failed after soft reboot (reset required?) #316
Comments
That wouldn't surprise me. A lot of ath10k chips have problems after being PCIe reseted... if done inproperly they are taking down the system with it... That said, there's also patches like this that might not have trickled down (ye): https://patchwork.kernel.org/patch/10966623/ So please check if this patch still applies to your case. |
@chunkeey The patch has already been backported to 4.19 |
I have added a script as a workaround on my device that will automatically execute Create a file
Then link it into |
Any updates on this? I'm facing a similar problem with a Linksys E8450 aka Belkin
|
Is there any update on this topic ? I am facing this issue on IpTime A8004T device. |
I had the same problem with Totolink A7000R. 2.4Ghz radio didn't even start up. 5GHz was working fine. Many thanks to you, @tinxx, and of course everyone involved in OpenWrt 🎉 |
Any news? Upgraded router to newest OpenWrt and still facing this issue |
EDIT: My apologies. I realize now that I was testing in a virtualized environment. Making it the host responsibility to properly reset the PCIe device. |
I have a TOTOLINK A7000R router flashed with 22.03.2 r19803-9a599fee93. Was working without issues for 100+ days. Today after upgrade to 22.03.3 the 2.4 GHz wireless went down. Downgrade to 22.03.2 - 2.4 GHz still down. Reboots didnt help, had to poweroff the device and then it worked. So it seems it's still here. |
I install 22.3.3 on my Iptime A6ns-M (MT7621 SoC, MT7615E). After install, I can only use 5G radio. System log say "hostapd: Could not set interface wlan1 flags (UP): I/O error". After hard reset, it works but reboot on luci make 2.4 GHz radio fails... |
Thank you @tinxx The script is working on a Totolink A7000R running 22.03.5 |
Update: I still have a TOTOLINK A7000R. I've had troubles sometimes with wifi, but hard reboot solved them. Today wifi refused to work at all - hard reboot doesnt solve those issues. Update OpenWRT to latest stable - still no. Latest snapthost - still no.
|
After a rmmod all the mt76* modules and modprobe mt7615e there's this (wifi still does not work):
|
I am sorry that I can not help out on a tech/coding level. For me I kinda moved on since I guessed the devs never imagined that OpenWRT is also awesome virtualized |
I faced just with the same issue in OpenWrt 23.05.4 r24012-d8dd03c46f / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38 with my router: TOTOLINK A7000R. 2.4G was not working, 5G was working fine..... Hard reset also fixed the issue, BUT provided work around "rmmod mt7615e" + "reboot" unfortunately did't help ("rmmod mt7615e" only drops both Wi-Fi and after soft reboot 2.4G still isn't working) :( Therefore script provided by @tinxx also did't work .... |
I would be very thankful if you give me a clue what I am doing wrong with the provided workaround script ,,,,,, |
Hi @vallsur The script worked on 22.03 and 23.05 Please try this:
Disconnect the device from power, wait a few seconds, reconnect it Activate wi-fi, then reboot the device to test if the script is working |
It works (at least here and it seems for @wojciech-z) when I power cycle the device without any scritping magic. |
The script is useful for other situations, like rebooting a remote device or scheduling daily automated reboots. |
@nbd @chunkeey @LorenzoBianconi
SoC is IPQ4019.
After a soft reboot, MT7615 no longer works
I checked the
val
inmt7615_load_firmware
mt76/mt7615/mcu.c
Line 519 in 6f7d0f5
FW_STATE_CR4_RDY
)It seems that either the PCIe driver does not power cycle the PCIe interface after reboot, or the mt76 driver does not warm reset the mt7615 chip.
Update: If I unload the driver manually by
rmmod mt7615e
, it will work after the rebootThe text was updated successfully, but these errors were encountered: