openwrt / openwrt/mt76

MCU message 1f (seq 13) timed out | phy1: Hardware restart was requested

Open
#649 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

My router (mt7621 with mt7603/mt7612) has the following kernel log message sometimes.

The logs is as follows:

#dmesg
...
[17188.279986] mt76x2e 0000:02:00.0: MCU message 1f (seq 13) timed out
[17188.341429] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[17188.346943] mt76x2e 0000:02:00.0: Build: 1
[17188.351365] mt76x2e 0000:02:00.0: Build Time: 201607111443____
[17188.380024] mt76x2e 0000:02:00.0: Firmware running!
[17188.390352] ieee80211 phy1: Hardware restart was requested
[17269.283882] device wlan1 left promiscuous mode
[17269.288570] br-lan: port 6(wlan1) entered disabled state
[17271.310295] br-lan: port 6(wlan1) entered blocking state
[17271.315616] br-lan: port 6(wlan1) entered disabled state
[17271.321573] device wlan1 entered promiscuous mode
[17272.357804] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[17272.364501] br-lan: port 6(wlan1) entered blocking state
[17272.369885] br-lan: port 6(wlan1) entered forwarding state
[19006.009070] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[19006.014558] mt76x2e 0000:02:00.0: Build: 1
[19006.018948] mt76x2e 0000:02:00.0: Build Time: 201607111443____
[19006.047937] mt76x2e 0000:02:00.0: Firmware running!
[19006.058226] ieee80211 phy1: Hardware restart was requested

========================

root@OpenWrt:~# uname -a
Linux OpenWrt 5.10.100 #0 SMP Mon Feb 21 15:51:47 2022 mips GNU/Linux
root@OpenWrt:~# opkg list | grep mt76
kmod-mt76-core - 5.10.100+2022-02-15-c67df0d3-4
kmod-mt7603 - 5.10.100+2022-02-15-c67df0d3-4
kmod-mt76x02-common - 5.10.100+2022-02-15-c67df0d3-4
kmod-mt76x2 - 5.10.100+2022-02-15-c67df0d3-4
kmod-mt76x2-common - 5.10.100+2022-02-15-c67df0d3-4
root@OpenWrt:~# 
root@OpenWrt:~# opkg print-architecture
arch all 1
arch noarch 1
arch mipsel_24kc 10
root@OpenWrt:~# 

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the mt76x2e driver entry points associated with the reported kernel log and reproduce the timeout on the mt7621 router with mt7603/mt7612 hardware. Investigate the MCU timeout, firmware restart, and subsequent interface recovery; done requires identifying a reproducible cause and validating a fix against the reported restart behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
embedded-iot, networking, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.