You are not logged in.
I've seen the https://bbs.archlinux.org/viewtopic.php?id=244542 topic but it's old and not solved. I have had driver issues since I bought the laptop. There were permanent disconnects. And now linux kernel supports this module but troubles haven't disappeared.
Now I'm getting wifi unavailable sometimes. And sometimes it works well. I don't know the reason and it seems random now. Here logs are when it's not working:
[root@iurez iurez]# dmesg | grep mt76
[ 14.333524] mt76x0e 0000:03:00.0: ASIC revision: 76300002
[ 14.582255] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[ 14.605962] mt76x0e: probe of 0000:03:00.0 failed with error -5I've googled what -5 means and found out that it's an I/O error. But it's said nowhere why it occurs and how to solve it. Some old(2014) forums exist where custom drivers are discussed(from neurobin and AUR. they're the same) and these forums are useless now.
And there isn't a wifi interface but the module is loaded.
[root@iurez iurez]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0f2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 10:c3:7b:d9:52:de brd ff:ff:ff:ff:ff:ff
3: enp0s20u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 12:1f:47:b0:e6:c8 brd ff:ff:ff:ff:ff:ff
[root@iurez iurez]# lsmod | grep mt
mt76x0e 20480 0
mt76x0_common 49152 1 mt76x0e
mt76x02_lib 86016 2 mt76x0e,mt76x0_common
mt76 77824 3 mt76x0e,mt76x02_lib,mt76x0_common
mac80211 1110016 4 mt76,mt76x0e,mt76x02_lib,mt76x0_common
cfg80211 983040 3 mt76,mt76x02_lib,mac80211rfkill prints nothing.
System information.
[root@iurez iurez]# uname -a
Linux iurez 5.10.16-arch1-1 #1 SMP PREEMPT Sat, 13 Feb 2021 20:50:18 +0000 x86_64 GNU/Linux
lshw -c network
*-network UNCLAIMED
description: Network controller
product: MT7630e 802.11bgn Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:03:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f7900000-f79fffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0.2
bus info: pci@0000:04:00.2
logical name: enp4s0f2
version: 0a
serial: 10:c3:7b:d9:52:de
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.10.16-arch1-1 firmware=rtl8411-1_0.0.3 06/18/12 latency=0 link=no multicast=yes port=MII
resources: irq:19 ioport:d000(size=256) memory:f2104000-f2104fff memory:f2100000-f2103fff
[root@iurez iurez]# lspci -nnkk
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
Subsystem: Foxconn International, Inc. Device [105b:e074]
Kernel modules: mt76x0e
[root@iurez iurez]# modinfo mt76x0e
filename: /lib/modules/5.10.16-arch1-1/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0e.ko.xz
license: Dual BSD/GPL
firmware: mediatek/mt7650e.bin
firmware: mediatek/mt7610e.bin
srcversion: A3F83AE55090A66ED7F019D
alias: pci:v000014C3d00007650sv*sd*bc*sc*i*
alias: pci:v000014C3d00007630sv*sd*bc*sc*i*
alias: pci:v000014C3d00007610sv*sd*bc*sc*i*
depends: mt76x02-lib,mt76,mt76x0-common,mac80211
retpoline: Y
intree: Y
name: mt76x0e
vermagic: 5.10.16-arch1-1 SMP preempt mod_unload
...We have firmware for mt7650e and mt7610e but not for mt7630e. It confuses me and I don't know the reason why so.
NetworkConfiguration article doesn't have a solution
Offline
The mt7650e firmware is identical to the one for mt7630e that is in the driver from the neurobin github, so the mt76 driver uses the same file for both chips.
You could try some things like rmmod / modprobe or maybe try to reset the device: https://unix.stackexchange.com/question … ice/474378
I wonder if this could be a race condition, maybe try to blacklist the driver and load it manually after boot. If that works, try to load it somewhere with a systemd unit?
Last edited by progandy (2021-02-21 22:27:23)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Perhaps enabling debug info for the module might provide more insight into the cause, try adding the kernel parameter :
mt76x0e.dyndbg="module mt76x0e +p"Offline
I tried rmmod / modprobe always. It's the first thing I try to try
So, I've tried to reset the device in two ways:
[root@iurez iurez]# echo 1 > /sys/bus/pci/devices/0000\:03\:00.0/resetand
[root@iurez iurez]# echo 1 > /sys/bus/pci/devices/0000\:03\:00.0/remove
[root@iurez iurez]# echo 1 >/sys/bus/pci/rescanAfter that I did
[root@iurez iurez]# modprobe -r mt76x0e
[root@iurez iurez]# modprobe mt76x0e
[root@iurez iurez]# systemctl restart NetworkManagerand nothing happened. The interface still doesn't exist
Then I've added mt76x0e to blacklist and it hasn't been loaded. I've done modprobe mt76x0e and the result is the same ![]()
loqs, I've added immediately kernel parameter but nothing changed in dmseg output. Or what place should I check for new information?
Also, now I'm getting 100% reproduction with rebooting.
Last edited by frest (2021-02-22 08:44:14)
Offline
Also, now I'm getting 100% reproduction with rebooting.
Have you removed it from the blacklist again?
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Also, now I'm getting 100% reproduction with rebooting.
Have you removed it from the blacklist again?
Sorry for misleading. I've never rebooted my laptop many times before. And I get this problem every rebooting with 'reboot'. If I place module to blacklist then I don't get errors when booting but get it later when try modprobe mt76x0e. Now one is in blacklist.
Now I've tried to reboot with powering off. And after modprobe I'd got wifi working a few minutes but then it disappeared with
[ 130.843478] mt76x0e 0000:03:00.0: ASIC revision: 76300002
[ 130.893928] mt76x0e 0000:03:00.0: Firmware Version: 1.0.07
[ 131.848881] mt76x0e 0000:03:00.0: EEPROM ver:01 fae:05
[ 131.848951] mt76x0e 0000:03:00.0: driver does not support HW RF ctrl
[ 131.912723] mt76x0e 0000:03:00.0 wlp3s0f0: renamed from wlan0
[ 233.429926] mt76x0e 0000:03:00.0: TX DMA did not stop
[ 235.533037] mt76x0e 0000:03:00.0: Warning: MAC RX did not stop!
[ 235.534579] mt76x0e 0000:03:00.0: TX DMA did not stop
[ 652.025901] mt76x0e 0000:03:00.0: TX DMA did not stop
[ 654.029014] mt76x0e 0000:03:00.0: Warning: MAC RX did not stop!
[ 654.030557] mt76x0e 0000:03:00.0: TX DMA did not stopIt's permanent problem too. A day before yesterday I added
intel_iommu=off to kernel parameters as it said in https://wiki.archlinux.org/index.php/Ne … s#Cause_#5. And now this error is here again ![]()
Offline