MT7630e PCIe Wifi
benjarobin / mt7630e Goto Github PK
View Code? Open in Web Editor NEWMT7630e PCIe Wifi
License: GNU General Public License v2.0
MT7630e PCIe Wifi
License: GNU General Public License v2.0
The removed DEFINE_PCI_DEVICE_TABLE in Linux 4.8 may cause the compiling error.
Hi there,
I found this driver not stable in 4.11.6-3-ARCH.
This the error log.
[ 109.279075] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[15443.493294] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0
Please file bug report to http://rt2x00.serialmonkey.com
Is there anything I can provide?
Thank you.
when in an environment like college campus (same SSID with multiple routers(Access points)) the WIFI keeps dropping and finally it stops reconnecting.
I'm very new to Linux, kindly let me know if you require the logs and how to get them.
Thank you,
VK
First, thanks for the driver.
My system is Archlinux 4.0.5 Linux.
Driver crash every 15 seconds
Logs:
.......
[ 4646.505409] wlp3s0f0: authenticate with 00:18:0a:51:6a:51
[ 4646.505440] ==>rt2800_config_channel_rf7630 ch11
[ 4646.512148] wlp3s0f0: send auth to 00:18:0a:51:6a:51 (try 1/3)
[ 4646.513431] cfg80211: Calling CRDA to update world regulatory domain
[ 4646.520845] wlp3s0f0: authenticated
[ 4646.522060] wlp3s0f0: associate with 00:18:0a:51:6a:51 (try 1/3)
[ 4646.537789] wlp3s0f0: RX AssocResp from 00:18:0a:51:6a:51 (capab=0x21 status=0 aid=6)
[ 4646.538138] ieee80211 phy1: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[ 4646.548608] wlp3s0f0: associated
[ 4646.766538] wlp3s0f0: Limiting TX power to 27 (27 - 0) dBm as advertised by 00:18:0a:51:6a:51
[ 4685.413808] ==>rt2800_config_channel_rf7630 ch1
[ 4685.480377] ==>rt2800_config_channel_rf7630 ch11
[ 4685.700241] ==>rt2800_config_channel_rf7630 ch2
[ 4685.766871] ==>rt2800_config_channel_rf7630 ch11
[ 4685.986764] ==>rt2800_config_channel_rf7630 ch3
[ 4686.053378] ==>rt2800_config_channel_rf7630 ch11
[ 4686.273259] ==>rt2800_config_channel_rf7630 ch4
[ 4686.339906] ==>rt2800_config_channel_rf7630 ch11
[ 4686.599745] ==>rt2800_config_channel_rf7630 ch5
[ 4686.666377] ==>rt2800_config_channel_rf7630 ch11
[ 4686.886252] ==>rt2800_config_channel_rf7630 ch6
[ 4686.952893] ==>rt2800_config_channel_rf7630 ch11
[ 4687.172752] ==>rt2800_config_channel_rf7630 ch7
[ 4687.239404] ==>rt2800_config_channel_rf7630 ch11
[ 4687.459287] ==>rt2800_config_channel_rf7630 ch8
[ 4687.525905] ==>rt2800_config_channel_rf7630 ch11
[ 4687.745779] ==>rt2800_config_channel_rf7630 ch9
[ 4687.812406] ==>rt2800_config_channel_rf7630 ch11
[ 4688.032277] ==>rt2800_config_channel_rf7630 ch10
[ 4688.098918] ==>rt2800_config_channel_rf7630 ch11
[ 4688.318789] ==>rt2800_config_channel_rf7630 ch11
[ 4688.385420] ==>rt2800_config_channel_rf7630 ch11
[ 4688.605295] ==>rt2800_config_channel_rf7630 ch12
[ 4688.721891] ==>rt2800_config_channel_rf7630 ch11
[ 4688.941789] ==>rt2800_config_channel_rf7630 ch13
[ 4689.058371] ==>rt2800_config_channel_rf7630 ch11
[ 4689.278269] ==>rt2800_config_channel_rf7630 ch14
[ 4689.394903] ==>rt2800_config_channel_rf7630 ch11
[ 4748.382143] ==>rt2800_config_channel_rf7630 ch1
[ 4748.448681] ==>rt2800_config_channel_rf7630 ch11
[ 4748.668610] ==>rt2800_config_channel_rf7630 ch2
[ 4748.735239] ==>rt2800_config_channel_rf7630 ch11
[ 4748.955110] ==>rt2800_config_channel_rf7630 ch3
[ 4749.021747] ==>rt2800_config_channel_rf7630 ch11
[ 4749.241666] ==>rt2800_config_channel_rf7630 ch4
[ 4749.308285] ==>rt2800_config_channel_rf7630 ch11
[ 4749.528088] ==>rt2800_config_channel_rf7630 ch5
[ 4749.594763] ==>rt2800_config_channel_rf7630 ch11
[ 4749.814603] ==>rt2800_config_channel_rf7630 ch6
[ 4749.881270] ==>rt2800_config_channel_rf7630 ch11
[ 4750.101147] ==>rt2800_config_channel_rf7630 ch7
[ 4750.167774] ==>rt2800_config_channel_rf7630 ch11
[ 4750.387655] ==>rt2800_config_channel_rf7630 ch8
[ 4750.454282] ==>rt2800_config_channel_rf7630 ch11
[ 4750.674167] ==>rt2800_config_channel_rf7630 ch9
[ 4750.740796] ==>rt2800_config_channel_rf7630 ch11
[ 4750.960641] ==>rt2800_config_channel_rf7630 ch10
[ 4751.027272] ==>rt2800_config_channel_rf7630 ch11
[ 4751.247172] ==>rt2800_config_channel_rf7630 ch11
[ 4751.313761] ==>rt2800_config_channel_rf7630 ch11
[ 4751.533634] ==>rt2800_config_channel_rf7630 ch12
[ 4751.650315] ==>rt2800_config_channel_rf7630 ch11
[ 4751.870187] ==>rt2800_config_channel_rf7630 ch13
[ 4751.986787] ==>rt2800_config_channel_rf7630 ch11
[ 4752.206688] ==>rt2800_config_channel_rf7630 ch14
[ 4752.323272] ==>rt2800_config_channel_rf7630 ch11
[ 4756.849229] ==>rt2800_config_channel_rf7630 ch11
[ 4756.854109] cfg80211: Calling CRDA to update world regulatory domain
[ 4756.954530] ==>rt2800_config_channel_rf7630 ch2
[ 4757.020630] ==>rt2800_config_channel_rf7630 ch3
[ 4757.087259] ==>rt2800_config_channel_rf7630 ch6
[ 4757.153889] ==>rt2800_config_channel_rf7630 ch11
[ 4757.220483] ==>rt2800_config_channel_rf7630 ch1
[ 4757.287153] ==>rt2800_config_channel_rf7630 ch11
[ 4757.287726] wlp3s0f0: authenticate with 00:18:0a:51:6f:f5
[ 4757.293883] ==>rt2800_config_channel_rf7630 ch1
[ 4757.300548] wlp3s0f0: send auth to 00:18:0a:51:6f:f5 (try 1/3)
[ 4757.341941] wlp3s0f0: send auth to 00:18:0a:51:6f:f5 (try 2/3)
[ 4757.357221] wlp3s0f0: send auth to 00:18:0a:51:6f:f5 (try 3/3)
[ 4757.383601] wlp3s0f0: authentication with 00:18:0a:51:6f:f5 timed out
[ 4757.397218] ==>rt2800_config_channel_rf7630 ch1
[ 4757.504181] ==>rt2800_config_channel_rf7630 ch6
[ 4757.570326] ==>rt2800_config_channel_rf7630 ch11
[ 4757.636976] ==>rt2800_config_channel_rf7630 ch1
[ 4757.637770] wlp3s0f0: authenticate with 00:18:0a:51:57:d4
[ 4757.643715] ==>rt2800_config_channel_rf7630 ch6
[ 4757.650371] wlp3s0f0: send auth to 00:18:0a:51:57:d4 (try 1/3)
[ 4757.662265] wlp3s0f0: authenticated
[ 4757.663595] wlp3s0f0: associate with 00:18:0a:51:57:d4 (try 1/3)
[ 4757.689965] wlp3s0f0: RX AssocResp from 00:18:0a:51:57:d4 (capab=0x421 status=0 aid=1)
[ 4757.690316] ieee80211 phy1: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[ 4757.700584] wlp3s0f0: associated
[ 4757.750564] wlp3s0f0: Limiting TX power to 27 (27 - 0) dBm as advertised by 00:18:0a:51:57:d4
[ 4831.349314] ==>rt2800_config_channel_rf7630 ch6
[ 4831.569202] ==>rt2800_config_channel_rf7630 ch1
[ 4831.635800] ==>rt2800_config_channel_rf7630 ch6
[ 4831.855726] ==>rt2800_config_channel_rf7630 ch2
[ 4831.922329] ==>rt2800_config_channel_rf7630 ch6
[ 4832.142193] ==>rt2800_config_channel_rf7630 ch3
[ 4832.208810] ==>rt2800_config_channel_rf7630 ch6
[ 4832.428623] ==>rt2800_config_channel_rf7630 ch4
[ 4832.495257] ==>rt2800_config_channel_rf7630 ch6
[ 4832.715128] ==>rt2800_config_channel_rf7630 ch5
[ 4832.781755] ==>rt2800_config_channel_rf7630 ch6
[ 4833.001692] ==>rt2800_config_channel_rf7630 ch6
[ 4833.068320] ==>rt2800_config_channel_rf7630 ch6
[ 4833.288179] ==>rt2800_config_channel_rf7630 ch7
[ 4833.354827] ==>rt2800_config_channel_rf7630 ch6
......
If you can update for the new kernel 4.9, it could be interesting.
Thanks U
Gerome L.
Seems like your advice is making things worst.
At least I tried to apply it to kuba-moo,
Will try again & tell,
As you might have guess I have the hardware.
Do you have any input for a better understanding how it should work,
I kown C quite well, but no knownledge of kernel dev, call back functions, all these things I guess to be involved there.
If I can somehow help please tell how.
For the time being I stay with my current driver.
Thks 4 ur attention.
root@X550CC:/home/gjp/MT7630E-pie-fix# ./install
make -C /lib/modules/5.4.0-kali4-rt-amd64/build M=/home/gjp/MT7630E-pie-fix/rt2x00 modules
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-kali4-rt-amd64”
CC [M] /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.o
In file included from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:32:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h: In function ‘rt2x00_rf_read’:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:98:19: error: expected ‘(’ before ‘static’
98 | #define __inline static inline
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0);
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:2453:2: note: in expansion of macro ‘BUG_ON’
2453 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/bug.h:5,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/thread_info.h:12,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/preempt.h:78,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/spinlock.h:51,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/seqlock.h:36,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/time.h:6,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/stat.h:19,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/module.h:10,
from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:28:
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0);
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:2453:2: note: in expansion of macro ‘BUG_ON’
2453 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:32:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:98:19: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98 | #define __inline static inline
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0);
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:2453:2: note: in expansion of macro ‘BUG_ON’
2453 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h: In function ‘rt2x00_rf_write’:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:98:19: error: expected ‘(’ before ‘static’
98 | #define __inline static inline
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0);
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:2460:2: note: in expansion of macro ‘BUG_ON’
2460 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/bug.h:5,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/thread_info.h:12,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/preempt.h:78,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/spinlock.h:51,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/seqlock.h:36,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/time.h:6,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/stat.h:19,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/module.h:10,
from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:28:
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0);
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:2460:2: note: in expansion of macro ‘BUG_ON’
2460 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:32:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:98:19: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98 | #define __inline static inline
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0);
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:2460:2: note: in expansion of macro ‘BUG_ON’
2460 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_beaconupdate_iter’:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:98:19: error: expected ‘(’ before ‘static’
98 | #define __inline static inline
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’
79 | _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’
90 | #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’
115 | __WARN();
| ^~~~~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:259:2: note: in expansion of macro ‘WARN_ON’
259 | WARN_ON(rt2x00_is_usb(rt2x00dev));
| ^~~~~~~
In file included from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/bug.h:5,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/thread_info.h:12,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/preempt.h:78,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/spinlock.h:51,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/seqlock.h:36,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/time.h:6,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/stat.h:19,
from /usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/module.h:10,
from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:28:
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’
79 | _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’
90 | #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’
115 | __WARN();
| ^~~~~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:259:2: note: in expansion of macro ‘WARN_ON’
259 | WARN_ON(rt2x00_is_usb(rt2x00dev));
| ^~~~~~~
In file included from /home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:32:
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00.h:98:19: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98 | #define __inline static inline
| ^~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n"
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’
79 | _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));
| ^~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’
90 | #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
| ^~~~~~~~~~~~
/usr/src/linux-headers-5.4.0-kali4-common-rt/include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’
115 | __WARN();
| ^~~~~~
/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.c:259:2: note: in expansion of macro ‘WARN_ON’
259 | WARN_ON(rt2x00_is_usb(rt2x00dev));
| ^~~~~~~
make[3]: *** [/usr/src/linux-headers-5.4.0-kali4-common-rt/scripts/Makefile.build:271:/home/gjp/MT7630E-pie-fix/rt2x00/rt2x00dev.o] 错误 1
make[2]: *** [/usr/src/linux-headers-5.4.0-kali4-common-rt/Makefile:1665:/home/gjp/MT7630E-pie-fix/rt2x00] 错误 2
make[1]: *** [/usr/src/linux-headers-5.4.0-kali4-common-rt/Makefile:179:sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-kali4-rt-amd64”
make: *** [Makefile:9:all] 错误 2
root@X550CC:/home/gjp/MT7630E-pie-fix# make clean
make -C /lib/modules/uname -r
/build M=/home/gjp/MT7630E-pie-fix/rt2x00 clean
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-kali4-rt-amd64”
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-kali4-rt-amd64”
make -C /lib/modules/uname -r
/build M=/home/gjp/MT7630E-pie-fix/btloader clean
make[1]: 进入目录“/usr/src/linux-headers-5.4.0-kali4-rt-amd64”
make[1]: 离开目录“/usr/src/linux-headers-5.4.0-kali4-rt-amd64”
root@X550CC:/home/gjp/MT7630E-pie-fix#
How about doing pull request to kuba-moo's repository with your patch?
It seems that kuba-moo is working with Linux Wireless(at kernel.org), so merging every efforts to his repository would be good.
Sorry for my poor English, and thank you for your efforts.
The issue kuba-moo/mt7630e#19 seems to affect this variant of the driver as well.
Sometimes the following error is reported to the system log at boot time or when I try to unload mt7630e:
irq 16: nobody cared (try booting with the "irqpoll" option)
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G I 4.1.15-nrj-desktop-1rosa-x86_64 #1
Hardware name: System manufacturer System Product Name/Rampage III GENE, BIOS 0704 09/21/2010
ffff8801b5ecfa8c ffff8801b9203e28 ffffffff8175549d 0000000000009898
ffff8801b5ecfa00 ffff8801b9203e58 ffffffff810d0ca6 ffff8801b92108c0
ffff8801b5ecfa00 0000000000000000 0000000000000010 ffff8801b9203e98
Call Trace:
<IRQ> [<ffffffff8175549d>] dump_stack+0x4c/0x6e
[<ffffffff810d0ca6>] __report_bad_irq+0x36/0xd0
[<ffffffff810d1047>] note_interrupt+0x247/0x290
[<ffffffff810ce62e>] handle_irq_event_percpu+0xae/0x1f0
[<ffffffff810ce7b1>] handle_irq_event+0x41/0x70
[<ffffffff810d1536>] handle_fasteoi_irq+0x86/0x140
[<ffffffff81018782>] handle_irq+0x22/0x40
[<ffffffff81017fcf>] do_IRQ+0x4f/0xf0
[<ffffffff8175d2ee>] common_interrupt+0x6e/0x6e
<EOI> [<ffffffff8164db0e>] ? cpuidle_enter_state+0xae/0x240
[<ffffffff8164dae0>] ? cpuidle_enter_state+0x80/0x240
[<ffffffff8164dcd7>] cpuidle_enter+0x17/0x20
[<ffffffff810b812e>] cpu_startup_entry+0x3ae/0x430
[<ffffffff817481ea>] rest_init+0x8a/0x90
[<ffffffff81d4df78>] start_kernel+0x434/0x441
[<ffffffff81d4d120>] ? early_idt_handler_array+0x120/0x120
[<ffffffff81d4d4d7>] x86_64_start_reservations+0x2a/0x2c
[<ffffffff81d4d614>] x86_64_start_kernel+0x13b/0x14a
handlers:
[<ffffffffc01f5cc0>] irq_handler [firewire_ohci]
[<ffffffff815d48d0>] usb_hcd_irq
Disabling IRQ #16
When it happens at boot, the system hangs and becomes unusable until reboot (even no reaction to the magic sysrq).
If I blacklist the driver at boot (modprobe.blacklist=mt7630e), the problem have not shown up so far.
OS: ROSA Linux R6 x86_64
Kernel: 4.1.15
WiFi adapter: pci:14c3-7630-103c-197c (MT7630e 802.11bgn Wireless Network Adapter)
More details and the logs: http://hw.rosalinux.ru/index.php?probe=050ffb018c
I had to reboot the system before collecting them, so the full system log of the previous problematic boot is http://hw.rosalinux.ru/index.php?probe=050ffb018c&log=journalctl.1
Any ideas?
Whenever i want to install it with "yaourt -S mt7630-pcie-wifi-dkms", I am getting this kind of error, Can you help me to solve this?
DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.4.33-1-MANJARO cannot be found at
/usr/lib/modules/4.4.33-1-MANJARO/build or /usr/lib/modules/4.4.33-1-MANJARO/source.
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> No kernel 4.4.45-1-MANJARO modules. You must install them to use DKMS!
==> No kernel 4.4.33-1-MANJARO headers. You must install them to use DKMS!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.