openwrt / openwrt/mt76

mt7921e: probe of 0000:02:00.0 failed with error -5

Open
#548 205 comments 25 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

Running Ubuntu 21.04 on my ASUS ROG Zephyrus G14. Kernel version: 5.12.10.
In the network settings, it says No Wi-Fi Adapter Found.

rfkill list all

0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

lshw -C network

*-network UNCLAIMED       
       description: Network controller
       product: MEDIATEK Corp.
       vendor: MEDIATEK Corp.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm cap_list
       configuration: latency=0
       resources: iomemory:fe0-fdf iomemory:fe0-fdf iomemory:fe0-fdf memory:fe20300000-fe203fffff memory:fe20400000-fe20403fff memory:fe20404000-fe20404fff

/var/log/syslog

Jun 12 19:13:29 rog-laptop kernel: [    3.190487] Error: Driver 'asus' is already registered, aborting...
Jun 12 19:13:29 rog-laptop kernel: [    3.190685] usbcore: registered new interface driver btusb
Jun 12 19:13:29 rog-laptop kernel: [    3.202090] mt7921e 0000:02:00.0: enabling device (0000 -> 0002)
Jun 12 19:13:29 rog-laptop kernel: [    3.202805] mt7921e 0000:02:00.0: disabling ASPM  L1
Jun 12 19:13:29 rog-laptop kernel: [    3.203087] mt7921e 0000:02:00.0: ASIC revision: 79610010
...
Jun 12 19:13:29 rog-laptop kernel: [    3.205066] mt7921e: probe of 0000:02:00.0 failed with error -5
Jun 12 19:13:29 rog-laptop kernel: [    3.206692] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
Jun 12 19:13:29 rog-laptop kernel: [    3.209335] kvm: Nested Virtualization enabled
Jun 12 19:13:29 rog-laptop kernel: [    3.209358] SVM: kvm: Nested Paging enabled
...

I have Windows 10 insalled on this PC as well, and Wi-Fi works fine there.
Fast boot is disabled. Secure boot disabled.

Any suggestions?

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 reported mt7921e probe failure on Ubuntu 21.04 with kernel 5.12.10, using the provided rfkill, lshw, and syslog output as the baseline. Read the existing comment thread for an established diagnosis before investigating further. Done means the device is claimed as a Wi-Fi adapter without the reported error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.