Mt76x02u_mcu_wait_resp failed with -110

My AP is visible but my phone won't connect to it anymore.

The system log from Luci (where is that log from the command line) says:

Mon Mar 16 04:44:46 2020 kern.err kernel: [27111.830848] mt76x2u 2-1:1.0: error: mt76x02u_mcu_wait_resp failed with -110
Mon Mar 16 04:50:14 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK xxx
Mon Mar 16 04:55:20 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK xxx
Mon Mar 16 05:00:36 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xxx
Mon Mar 16 05:00:36 2020 daemon.info hostapd: wlan0: STA xxx IEEE 802.11: disassociated due to inactivity
Mon Mar 16 05:00:37 2020 daemon.info hostapd: wlan0: STA xxx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

I've already got

option disassoc_low_ack '0'

set.

I rebooted:

[    8.631755] mt76x2u 2-1:1.0: firmware upload failed: -110
[   10.195524] mt76x2u: probe of 2-1:1.0 failed with error -5

Do I have a hardware error?

What hardware is this?

What version (actual build) of OpenWRT?

There has been a lot of work on MT76 lately, so you might try a snapshot and see if the problem is gone. I've been running the snapshot from 2020-03-12 with great success.

Raspberry Pi 4.
OpenWrt SNAPSHOT r12553-3666c67a54 / LuCI Master git-20.072.24013-4b90e67
The AP has stayed up a day. :slight_smile:

The AP went down again overnight.

Thu Mar 19 01:47:57 2020 kern.err kernel: [206975.674412] mt76x2u 2-1:1.0: error: mt76x02u_mcu_wait_resp failed with -110
Thu Mar 19 01:53:12 2020 daemon.notice hostapd: wlan4: AP-STA-POLL-OK xxx
Thu Mar 19 01:58:25 2020 daemon.notice hostapd: wlan4: AP-STA-POLL-OK xxx
Thu Mar 19 02:03:37 2020 daemon.notice hostapd: wlan4: AP-STA-DISCONNECTED xxx
Thu Mar 19 02:03:37 2020 daemon.info hostapd: wlan4: STA xxx IEEE 802.11: disassociated due to inactivity
Thu Mar 19 02:03:38 2020 daemon.info hostapd: wlan4: STA xxx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

7.127.0.77 is not an IP on my network:

Thu Mar 19 02:15:10 2020 daemon.notice netifd: Internet (30860): udhcpc: sending renew to 7.127.0.77
Thu Mar 19 02:26:25 2020 daemon.notice netifd: Internet (30860): udhcpc: sending renew to 7.127.0.77
Thu Mar 19 02:32:02 2020 daemon.notice netifd: Internet (30860): udhcpc: sending renew to 7.127.0.77
Thu Mar 19 02:34:50 2020 daemon.notice netifd: Internet (30860): udhcpc: sending renew to 7.127.0.77
Thu Mar 19 02:36:14 2020 daemon.notice netifd: Internet (30860): udhcpc: sending renew to 7.127.0.77

Where did 0.0.0.0 come from?

Thu Mar 19 02:36:56 2020 daemon.notice netifd: Internet (30860): udhcpc: sending renew to 0.0.0.0
Thu Mar 19 02:36:56 2020 daemon.notice netifd: Internet (30860): udhcpc: lease of xxx obtained, lease time 90043
Thu Mar 19 02:36:56 2020 user.notice firewall: Reloading firewall due to ifupdate of Internet (eth1)
Thu Mar 19 10:18:50 2020 kern.info kernel: [237629.906131] usb 2-1: USB disconnect, device number 6

This doesn't look good:

Thu Mar 19 10:18:51 2020 kern.err kernel: [237630.126562] mt76x2u 2-1:1.0: mac specific condition occurred
Thu Mar 19 10:18:51 2020 kern.err kernel: [237630.236022] mt76x2u 2-1:1.0: mac specific condition occurred
Thu Mar 19 10:18:51 2020 daemon.notice netifd: Network device 'wlan4' link is down
Thu Mar 19 10:18:51 2020 kern.err kernel: [237630.336016] mt76x2u 2-1:1.0: timed out waiting for pending tx
Thu Mar 19 10:18:51 2020 kern.info kernel: [237630.343453] br-lan: port 2(wlan4) entered disabled state
Thu Mar 19 10:18:51 2020 daemon.notice hostapd: wlan4: INTERFACE-DISABLED
Thu Mar 19 10:18:51 2020 kern.info kernel: [237630.355491] device wlan4 left promiscuous mode
Thu Mar 19 10:18:51 2020 kern.info kernel: [237630.360806] br-lan: port 2(wlan4) entered disabled state
Thu Mar 19 10:18:51 2020 daemon.notice hostapd: wlan4: interface state ENABLED->DISABLED
Thu Mar 19 10:18:51 2020 daemon.notice hostapd: wlan4: AP-DISABLED
Thu Mar 19 10:18:51 2020 daemon.notice hostapd: wlan4: CTRL-EVENT-TERMINATING
Thu Mar 19 10:18:51 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan4 disabled_11b_rates=0
Thu Mar 19 10:18:51 2020 daemon.notice hostapd: nl80211: Failed to remove interface wlan4 from bridge br-lan: No such device
Thu Mar 19 10:18:51 2020 daemon.err hostapd: Could not read interface wlan4 flags: No such device
Thu Mar 19 10:18:52 2020 daemon.notice netifd: radio1 (4051): Command failed: Not found
Thu Mar 19 10:18:52 2020 daemon.notice netifd: radio1 (4051): command failed: No such device (-19)

It doesn't work after I rebooted.

This seems old.

[  485.402718] mt76x2u 2-1:1.0: ASIC revision: 76120044
[  485.433683] mt76x2u 2-1:1.0: ROM patch build: 20141115060606a
[  485.599746] mt76x2u 2-1:1.0: Firmware Version: 0.0.00
[  485.605847] mt76x2u 2-1:1.0: Build: 1
[  485.610116] mt76x2u 2-1:1.0: Build Time: 201507311614____

I tried to update my packages:

MediaTek MT76x2/MT7603 wireless driver (metapackage)

    The installed version of package kernel is not compatible, require 5.4.24-1-06ea4400… while 4.19.108-1-24e1d7b0… is installed.

I installed my own snapshot that includes more packages and is kernel-5.4.24.

My AP went down again last night and it won't accept connections. :frowning:

Sat Mar 21 01:50:26 2020 kern.err kernel: [81393.521748] mt76x2u 2-1:1.0: error: mt76x02u_mcu_wait_resp failed with -110
Sat Mar 21 01:51:23 2020 daemon.notice hostapd: wlan13: AP-STA-DISCONNECTED ae:c9:ca:9c:87:f2
Sat Mar 21 08:30:44 2020 daemon.notice netifd: Internet (1084): udhcpc: sending renew to 7.127.0.77
Sat Mar 21 12:21:48 2020 daemon.info hostapd: wlan13: STA ae:c9:ca:9c:87:f2 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMO

I met the same problem these days, have u solved this problem?

See https://github.com/openwrt/mt76/issues/405

echo 1 > /sys/module/mt76_usb/parameters/disable_usb_sg