openwrt / openwrt/mt76

mt7622 failed to get patch semaphore on 6.1 kernel [2afc7285]

Open
#836 0 comments 0 reactions 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

When building openwrt from master (6.1 kernel), I get the following issue on my bananapi R64 using the mediatek 7622 chipset:

[   38.884463] mt7622-wmac 18000000.wmac: Message 00000010 (seq 1) timeout
[   38.891124] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   59.364402] mt7622-wmac 18000000.wmac: Message 00000010 (seq 2) timeout
[   59.371059] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[   79.844413] mt7622-wmac 18000000.wmac: Message 00000010 (seq 3) timeout
[   79.851070] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  100.324408] mt7622-wmac 18000000.wmac: Message 00000010 (seq 4) timeout
[  100.331065] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  120.804412] mt7622-wmac 18000000.wmac: Message 00000010 (seq 5) timeout
[  120.811068] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  141.284428] mt7622-wmac 18000000.wmac: Message 00000010 (seq 6) timeout
[  141.291084] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  161.764408] mt7622-wmac 18000000.wmac: Message 00000010 (seq 7) timeout
[  161.771064] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  182.244400] mt7622-wmac 18000000.wmac: Message 00000010 (seq 8) timeout
[  182.251056] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  202.724403] mt7622-wmac 18000000.wmac: Message 00000010 (seq 9) timeout
[  202.731059] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  223.204430] mt7622-wmac 18000000.wmac: Message 00000010 (seq 10) timeout
[  223.211173] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[  243.684407] mt7622-wmac 18000000.wmac: Message 00000010 (seq 11) timeout
[  243.691151] mt7622-wmac 18000000.wmac: Failed to get patch semaphore

The WiFi card is not functional anymore.

EDIT
This doesn't happen with the 5.15 kernel, so only 6.1 kernels are affected

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 by comparing the mt7622-wmac behavior and initialization path between the 5.15 and 6.1 kernel configurations on the bananapi R64. Reproduce the repeated patch-semaphore timeout on 6.1, then trace the firmware message sequence and identify why it fails; done means the WiFi card initializes without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.