Comments (18)
Your kernel version..? And also the output of these commands:
lspci -vv |grep -i -A 9 wireless
lsusb |grep -i mediatek
from mt7630e.
4.2.8 (-300.fc23)
lspci -vv |grep -i -A 9 wireless
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
Subsystem: Foxconn International, Inc. Device e074
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f7900000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
pcilib: sysfs_read_vpd: read failed: Connection timed out
lsusb |grep -i mediatek
Bus 003 Device 005: ID 0e8d:763f MediaTek Inc.
from mt7630e.
Confirming this bug causes connection failure and the inability to reconnect(or send any tx frames probably) until the mt7630e module is removed and inserted again.
I found that this suppresses the problem for a while:
nmcli radio wifi off
rmmod mt7630e
modprobe mt7630e
nmcli radio wifi on
dmesg:
[16755.465432] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[16755.625434] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[16755.661500] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 0
[16756.845361] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
uname -srv:
Linux 4.4.0-kali1-amd64 #1 SMP Debian 4.4.2-3kali1 (2016-02-23)
lspci -vv |grep -i -A 9 wireless:
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f7900000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
pcilib: sysfs_read_vpd: read failed: Connection timed out
lsusb | grep -i mediatek:
Bus 001 Device 005: ID 0e8d:763f MediaTek Inc.
I installed the latest 2.0.3a-1 github version using dkms.
from mt7630e.
@J08nY Thanks for testing it. Though I don't recommend using the alpha branches for normal uses, those are only for testing. For normal uses, always use the release branch.:D
from mt7630e.
I used the release branch, same bug, I only installed the alpha version to try to fix it.
from mt7630e.
It appears that the frequency of this issue is somehow related to signal strength, If I have a really good signal I might go hours without being disconnected, however if I have poor signal it might be minutes.
from mt7630e.
I also have this error many times, but my wifi never disconnect. A workaround could be try to disable the power managment: sudo iwconfig wlan0 power off
where wlan0
is the name of your wifi (check with ifconfig
or ip link
)
from mt7630e.
It appears that the frequency of this issue is somehow related to signal strength, If I have a really good signal I might go hours without being disconnected, however if I have poor signal it might be minutes.
@J08nY I wouldn't say so, I have my laptop like 3 metres far from a wifi router, so the signal strength is really high, but the connection is lost anyway very quickly.
I also have this error many times, but my wifi never disconnect. A workaround could be try to disable the power managment: sudo iwconfig wlan0 power off
@echo-devim Tried this with no success at all. Reloading the module mt7630e on the other hand happens to work a bit more.
Also, since my first comment, I've upgraded kernel to 4.4.4-301.fc23 and tried both 2.0.3a-1 and master branches.
When I look into log using journalctl on the line when NetworkManager disconnects, it says:
<warn> Connection disconnected (reason -4)
According to NetworkManager.h this means NM_DEVICE_STATE_REASON_CONFIG_FAILED
Then it tries to reconnect:
<warn> (wlp3s0f0): link timed out.
<info> (wlp3s0f0): device state change: activated -> failed (reason 'ssid-not-found') [100 120 53]
from mt7630e.
I get the same issue. I have tried both master and 2.0.3a-1, on both Debian and Ubuntu. Below are the details for my Ubuntu laptop.
sudo lspci -vv |grep -i -A 9 wireless
:
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
DeviceName: WLAN
Subsystem: Hewlett-Packard Company MT7630e 802.11bgn Wireless Network Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at d0600000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
lsusb |grep -i mediatek
:
Bus 003 Device 019: ID 0e8d:763f MediaTek Inc.
uname -a
:
Linux hp 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
from mt7630e.
Still getting the same issue with v2.0.6.
Cheers,
Simon
from mt7630e.
I also have roughly this problem, only at office but not home. I can get it working by turning off wifi, and using rmmod/modprobe, but if I try that two times it brings down the system.
from mt7630e.
Yep, same for me. I have a script that disconnects using NetworkManager,
then turns off the wifi, then rmmod -> sleep 1 -> modprobe and turns the
wifi back on. However this seems to freeze up the whole system once every
few tries. It freezes on/after modprobe mt7630e.
2016-09-21 14:47 GMT+02:00 John Vandenberg [email protected]:
I also have roughly this problem, only at office but not home. I can get
it working by turning off wifi, and using rmmod/modprobe, but if I try that
two times it brings down the system.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPJVj1UHiGbWH_2AFOK1P-FtMWnVTmmks5qsSd0gaJpZM4G8hOC
.
from mt7630e.
Just upgraded kernel to 4.7.0 and driver to 2.0.8 (commit d5023e7) and I seem to get far less errors. It might be just freak coincidence since I had the driver error after upgrading but currently been on wifi for hours and no error, no disconnect (note that this is indeed very unusual, before upgrade I could get maybe half an hour of basic usage until disconnect). I recommend updating (both kernel and driver) and trying it out.
from mt7630e.
@J08nY , is it still working well for you?
from mt7630e.
@jayvdb Hmm, tested it some more and seems I was just lucky that day. Issue is not solved on 4.7.0 kernel and 2.0.8 driver.
from mt7630e.
I have the same problem,
uname -r
Kernel: 4.4.0-59-generic
sudo lspci -vv |grep -i -A 9 wireless:
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: mt7630e Kernel modules: mt7630e
lsusb |grep -i mediatek:
Bus 002 Device 006: ID 0e8d:763f MediaTek Inc.
from mt7630e.
There is a similar issue here with a kickstarter campaign to resolve it. Maybe this will help.
from mt7630e.
There seems to be some progress on the issue linked by @horacekmi: lede-project/source@9eacb9d
from mt7630e.
Related Issues (20)
- TWO ERRORS UNDER KERNEL 5.4 ! HOT 13
- modprobe: ERROR: could not insert 'mt7630e': Invalid argument
- Installing problem in Monjaro HOT 1
- fatal error: linux/input-polldev.h: HOT 6
- I follow wiki steps but nothing happens. HOT 1
- 5g wifi support question HOT 2
- [Kernal Version 4.4.0-96-generic] ubuntu 16.04 system Freezes every time on Installation HOT 6
- Frequent disconnects on eduroam wifi HOT 8
- [centOS] error while installing HOT 3
- Getting nothing after install, nor subsequent dkms
- rt2x00lib_probe_dev: Error - Failed to initialize hw
- Help in upstreaming MT7630* support HOT 2
- Could not insert 'mt7630e': Exec format error HOT 6
- Failing to Install in Fedora 28 with lib/modules/`uname -r`/build file or directory doesn't exist HOT 1
- Very slow on Arch Linux HOT 4
- System freezes switching wireless network ON HOT 1
- Requesting new maintainer HOT 11
- Bluetooth doesn't work HOT 2
- Doesn't compiling: rt2x00.h:98:18: error: expected '(' before 'static' HOT 3
- KALI LINUX 5.4.19 (KALI LINUX LIVE 2020.1B,BASED ON DEBIAN 9) AFTER RUN INSTALL,THERE HAVE TWO ERRORS. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mt7630e.