Home Network Community >
Adapters >
Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
<
Adapters
Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
2017-11-26 15:39:09
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-11-26 15:39:09
Tags:
Model : Archer T2U USB
Many people have been reporting unable to compile the Archer T2U USB driver on current Linux.
- https://askubuntu.com/questions/806334/tp-link-archer-t2u-does-not-work-on-ubuntu-16-04#848649
- https://forums.ni.com/t5/NI-Linux-Real-Time-Discussions/Compiling-Archer-T2U-USB-WiFi-adapter-on-target/td-p/3676854
- https://wyldeplayground.net/trouble-installing-wifi-drivers/
- https://ubuntuforums.org/showthread.php?t=2314039
Old old driver on TPLINK website ( http://www.tp-link.com/us/download/Archer-T2U.html#Driver) is NOT working: http://static.tp-link.com/res/down/soft/Archer_T2U_V1_150901.zip
One user had been kind to provide alternative driver:
https://bitbucket.org/sanrath/mediatek_mt7610u_sta_driver_linux-64bit/
[CODE]$ git clone https://bitbucket.org/sanrath/mediatek_mt7610u_sta_driver_linux-64bit
$ cd mediatek_mt7610u_sta_driver_linux-64bit
$ vi common/rtusb_dev_id.c
$ make
$ make install
$ modprobe mt7610u_sta[/CODE]
After adding the following line into the ./common/rtusb_dev_id.c (as per codes from ./Archer_T2U_V1_150901/Driver/NETIF/common/rtusb_dev_id.c), the driver can detect Archer T2U USB but is not able to work (getting segmentation fault on the ModemManager)
[CODE]#if 1
{USB_DEVICE(0x148F,0x761A)}, /* T2Uv1 */
{USB_DEVICE(0x2357,0x0105)}, /* T1Uv1 */
#endif[/CODE]
dmesg output:
[CODE][ 2047.173851] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xffffffff
[ 2047.173852] WIFI device has been disconnected
[ 2047.173852] VendrCmdMultiWrite_nBytes failed!
[ 2047.173872] WIFI device has been disconnected
[ 2047.173881] ---> RTMPFreeTxRxRingMemory
[ 2047.173888] <--- RTMPFreeTxRxRingMemory
[ 2047.173920] RTUSB disconnect successfully
[ 2053.448129] usbcore: deregistering interface driver rt2870
[ 2053.448193] <--- rtusb exit
[ 2056.873817] rtusb init rt2870 --->
[ 2056.873947] usbcore: registered new interface driver rt2870
[ 2061.997087] usb 1-11: new high-speed USB device number 7 using xhci_hcd
[ 2062.140366] usb 1-11: New USB device found, idVendor=148f, idProduct=761a
[ 2062.140374] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2062.140379] usb 1-11: Product: WiFi
[ 2062.140383] usb 1-11: Manufacturer: MediaTek
[ 2062.140386] usb 1-11: SerialNumber: 1.0
[ 2062.141547]
=== pAd = ffffc90002e01000, size = 895280 ===
[ 2062.141665] <-- RTMPAllocTxRxRingMemory, Status=0
[ 2062.141880] <-- RTMPAllocAdapterBlock, Status=0
[ 2062.141973] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 2062.142791] MCUType = 2
[ 2062.142918] NVM is EFUSE
[ 2062.142922] Endpoint(8) is for In-band Command
[ 2062.142925] Endpoint(4) is for WMM0 AC0
[ 2062.142928] Endpoint(5) is for WMM0 AC1
[ 2062.142930] Endpoint(6) is for WMM0 AC2
[ 2062.142932] Endpoint(7) is for WMM0 AC3
[ 2062.142935] Endpoint(9) is for WMM1 AC0
[ 2062.142937] Endpoint(84) is for Data-In
[ 2062.142939] Endpoint(85) is for Command Rsp
[ 2062.176833] ModemManager[15341]: segfault at 0 ip 0000000000431ab3 sp 00007ffc038c3b80 error 4 in ModemManager[400000+103000]
[/CODE]
lshw and ifup outputs:
[CODE]# lshw -C net
*-network:1 DISABLED
description: Wireless interface
physical id: 3
logical name: ra0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=Ralink STA
# ifconfig ra0 up
ra0: ERROR while getting interface flags: No such device[/CODE]
Kindly please advice.
Ubuntu 16.04 and RHEL 7 are the current up-to-date Linux releases.
Please provide support to this Archer T2U USB driver
Thanks.
Many people have been reporting unable to compile the Archer T2U USB driver on current Linux.
- https://askubuntu.com/questions/806334/tp-link-archer-t2u-does-not-work-on-ubuntu-16-04#848649
- https://forums.ni.com/t5/NI-Linux-Real-Time-Discussions/Compiling-Archer-T2U-USB-WiFi-adapter-on-target/td-p/3676854
- https://wyldeplayground.net/trouble-installing-wifi-drivers/
- https://ubuntuforums.org/showthread.php?t=2314039
Old old driver on TPLINK website ( http://www.tp-link.com/us/download/Archer-T2U.html#Driver) is NOT working: http://static.tp-link.com/res/down/soft/Archer_T2U_V1_150901.zip
One user had been kind to provide alternative driver:
https://bitbucket.org/sanrath/mediatek_mt7610u_sta_driver_linux-64bit/
[CODE]$ git clone https://bitbucket.org/sanrath/mediatek_mt7610u_sta_driver_linux-64bit
$ cd mediatek_mt7610u_sta_driver_linux-64bit
$ vi common/rtusb_dev_id.c
$ make
$ make install
$ modprobe mt7610u_sta[/CODE]
After adding the following line into the ./common/rtusb_dev_id.c (as per codes from ./Archer_T2U_V1_150901/Driver/NETIF/common/rtusb_dev_id.c), the driver can detect Archer T2U USB but is not able to work (getting segmentation fault on the ModemManager)
[CODE]#if 1
{USB_DEVICE(0x148F,0x761A)}, /* T2Uv1 */
{USB_DEVICE(0x2357,0x0105)}, /* T1Uv1 */
#endif[/CODE]
dmesg output:
[CODE][ 2047.173851] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xffffffff
[ 2047.173852] WIFI device has been disconnected
[ 2047.173852] VendrCmdMultiWrite_nBytes failed!
[ 2047.173872] WIFI device has been disconnected
[ 2047.173881] ---> RTMPFreeTxRxRingMemory
[ 2047.173888] <--- RTMPFreeTxRxRingMemory
[ 2047.173920] RTUSB disconnect successfully
[ 2053.448129] usbcore: deregistering interface driver rt2870
[ 2053.448193] <--- rtusb exit
[ 2056.873817] rtusb init rt2870 --->
[ 2056.873947] usbcore: registered new interface driver rt2870
[ 2061.997087] usb 1-11: new high-speed USB device number 7 using xhci_hcd
[ 2062.140366] usb 1-11: New USB device found, idVendor=148f, idProduct=761a
[ 2062.140374] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2062.140379] usb 1-11: Product: WiFi
[ 2062.140383] usb 1-11: Manufacturer: MediaTek
[ 2062.140386] usb 1-11: SerialNumber: 1.0
[ 2062.141547]
=== pAd = ffffc90002e01000, size = 895280 ===
[ 2062.141665] <-- RTMPAllocTxRxRingMemory, Status=0
[ 2062.141880] <-- RTMPAllocAdapterBlock, Status=0
[ 2062.141973] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 2062.142791] MCUType = 2
[ 2062.142918] NVM is EFUSE
[ 2062.142922] Endpoint(8) is for In-band Command
[ 2062.142925] Endpoint(4) is for WMM0 AC0
[ 2062.142928] Endpoint(5) is for WMM0 AC1
[ 2062.142930] Endpoint(6) is for WMM0 AC2
[ 2062.142932] Endpoint(7) is for WMM0 AC3
[ 2062.142935] Endpoint(9) is for WMM1 AC0
[ 2062.142937] Endpoint(84) is for Data-In
[ 2062.142939] Endpoint(85) is for Command Rsp
[ 2062.176833] ModemManager[15341]: segfault at 0 ip 0000000000431ab3 sp 00007ffc038c3b80 error 4 in ModemManager[400000+103000]
[/CODE]
lshw and ifup outputs:
[CODE]# lshw -C net
*-network:1 DISABLED
description: Wireless interface
physical id: 3
logical name: ra0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=Ralink STA
# ifconfig ra0 up
ra0: ERROR while getting interface flags: No such device[/CODE]
Kindly please advice.
Ubuntu 16.04 and RHEL 7 are the current up-to-date Linux releases.
Please provide support to this Archer T2U USB driver
Thanks.
File:
Archer_T2U_V1_150901.pngDownload
#1
Options
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Thread Manage
Announcement Manage
25 Reply
Posts: 663
Helpful: 27
Solutions: 0
Stories: 0
Registered: 2017-06-28
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-11-28 14:49:47
In the official website, T2U only support 2.6~3.16. The chip is MT7610U
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#2
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-11-30 20:29:58
Current Ubuntu 16.04 is using kernel 4.4. Kindly please provide support on it. Thank you.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#3
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-12-01
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-01 13:47:26
Hi all.
Please find in this repository updated driver, ready for 4.13 kernel and newer : https://github.com/BZHDeveloper/mt7610u_wifi_sta_v3002_dpo_20130916
Please find in this repository updated driver, ready for 4.13 kernel and newer : https://github.com/BZHDeveloper/mt7610u_wifi_sta_v3002_dpo_20130916
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#4
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-01 21:43:53
Hi BZHDeveloper,
Thanks for the new driver. I can compile the codes successfully, but it cannot run.
Here are the outputs:
Result on Ubuntu 16.04:
[CODE]# uname -rv
4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017
# ifconfig ra0 up
# dmesg
...
...
[ 162.941023] rtusb init rt2870 --->
[ 162.941042] usbcore: registered new interface driver rt2870
[ 175.173892] usb 1-5.4: new high-speed USB device number 4 using xhci_hcd
[ 175.289802] usb 1-5.4: New USB device found, idVendor=148f, idProduct=761a
[ 175.289810] usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 175.289815] usb 1-5.4: Product: WiFi
[ 175.289819] usb 1-5.4: Manufacturer: MediaTek
[ 175.289822] usb 1-5.4: SerialNumber: 1.0
[ 175.290888]
=== pAd = ffffc90002eef000, size = 895280 ===
[ 175.291008] <-- RTMPAllocTxRxRingMemory, Status=0
[ 175.291224] <-- RTMPAllocAdapterBlock, Status=0
[ 175.291352] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 175.292236] MCUType = 2
[ 175.292363] NVM is EFUSE
[ 175.292367] Endpoint(8) is for In-band Command
[ 175.292370] Endpoint(4) is for WMM0 AC0
[ 175.292373] Endpoint(5) is for WMM0 AC1
[ 175.292375] Endpoint(6) is for WMM0 AC2
[ 175.292377] Endpoint(7) is for WMM0 AC3
[ 175.292379] Endpoint(9) is for WMM1 AC0
[ 175.292382] Endpoint(84) is for Data-In
[ 175.292384] Endpoint(85) is for Command Rsp
[ 175.308610] cfg80211: World regulatory domain updated:
[ 175.308612] cfg80211: DFS Master region: unset
[ 175.308613] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 175.308614] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308615] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308616] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308617] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 175.308618] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 175.308619] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 175.308620] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308621] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 175.827595] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
[ 175.833028] -->RTUSBVenderReset
[ 175.833107] <--RTUSBVenderReset
[ 175.838069] fw version:0.1.00 build:7640
[ 175.838070] build time:201308221655____
[ 175.838073] ilm length = 68780(bytes)
[ 175.838074] dlm length = 11476(bytes)
[ 175.913812] #
[ 175.920332] loading fw......
[ 176.029635] #
[ 176.241554] RTMP_TimerListAdd: add timer obj ffffc90002f70250!
[ 176.241556] RTMP_TimerListAdd: add timer obj ffffc90002f702c8!
[ 176.241557] RTMP_TimerListAdd: add timer obj ffffc90002f70340!
[ 176.241557] RTMP_TimerListAdd: add timer obj ffffc90002f701d8!
[ 176.241558] RTMP_TimerListAdd: add timer obj ffffc90002f70070!
[ 176.241559] RTMP_TimerListAdd: add timer obj ffffc90002f700e8!
[ 176.241559] RTMP_TimerListAdd: add timer obj ffffc90002f02d48!
[ 176.241560] RTMP_TimerListAdd: add timer obj ffffc90002ef1b80!
[ 176.241560] RTMP_TimerListAdd: add timer obj ffffc90002ef1c00!
[ 176.241561] RTMP_TimerListAdd: add timer obj ffffc90002f02ed0!
[ 176.241561] RTMP_TimerListAdd: add timer obj ffffc90002f02c58!
[ 176.241562] RTMP_TimerListAdd: add timer obj ffffc90002f02e58!
[ 176.241573] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
[ 176.241574] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
[ 176.241574] 1. Phy Mode = 6
[ 176.241580] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
[ 176.296562] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 176.306618] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x11080042) on !
[ 176.306762] receive cmd msg fail(-2)
[ 176.306784] tx_kickout_fail_count = 0
[ 176.306784] tx_timeout_fail_count = 0
[ 176.306785] rx_receive_fail_count = 0
[ 176.306785] alloc_cmd_msg = 35
[ 176.306786] free_cmd_msg = 35
[ 176.306790] !!! rt28xx init fail !!!
[ 176.314473] -->RTUSBVenderReset
[ 176.314539] <--RTUSBVenderReset
[ 176.319506] fw version:0.1.00 build:7640
[ 176.319507] build time:201308221655____
[ 176.319510] ilm length = 68780(bytes)
[ 176.319511] dlm length = 11476(bytes)
[ 176.393827] #
[ 176.399970] loading fw......
[ 176.509838] #
[ 176.721835] RTMP_TimerListAdd: add timer obj ffffc90002f70250!
[ 176.721837] RTMP_TimerListAdd: add timer obj ffffc90002f702c8!
[ 176.721837] RTMP_TimerListAdd: add timer obj ffffc90002f70340!
[ 176.721838] RTMP_TimerListAdd: add timer obj ffffc90002f701d8!
[ 176.721839] RTMP_TimerListAdd: add timer obj ffffc90002f70070!
[ 176.721840] RTMP_TimerListAdd: add timer obj ffffc90002f700e8!
[ 176.721840] RTMP_TimerListAdd: add timer obj ffffc90002f02d48!
[ 176.721841] RTMP_TimerListAdd: add timer obj ffffc90002ef1b80!
[ 176.721841] RTMP_TimerListAdd: add timer obj ffffc90002ef1c00!
[ 176.721842] RTMP_TimerListAdd: add timer obj ffffc90002f02ed0!
[ 176.721843] RTMP_TimerListAdd: add timer obj ffffc90002f02c58!
[ 176.721843] RTMP_TimerListAdd: add timer obj ffffc90002f02e58!
[ 176.721847] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
[ 176.721848] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
[ 176.721849] 1. Phy Mode = 6
[ 176.721849] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
[ 176.776794] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 176.786894] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x11080042) on !
[ 176.787071] receive cmd msg fail(-2)
[ 176.787093] tx_kickout_fail_count = 0
[ 176.787094] tx_timeout_fail_count = 0
[ 176.787094] rx_receive_fail_count = 0
[ 176.787095] alloc_cmd_msg = 35
[ 176.787095] free_cmd_msg = 35
[ 176.787100] !!! rt28xx init fail !!!
[ 177.802770] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 177.802905] tx_kickout_fail_count = 0
[ 177.802905] tx_timeout_fail_count = 0
[ 177.802906] rx_receive_fail_count = 0
[ 177.802906] alloc_cmd_msg = 35
[ 177.802906] free_cmd_msg = 35
[ 186.985929] #
[ 186.990915] #
[ 186.995885] #
[ 187.000851] #
[ 187.005817] #
[ 187.010783] #
[ 187.015750] #
[ 187.020715] #
[ 187.025712] #
[ 187.030719] #
[ 187.035697] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x80,pAd->Flags=0x508a0042
[ 187.035698] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0xff000000, Reg-WlanFunCtrl=0xffffffff
[ 187.035699] #
[ 187.040684] #
[ 187.045662] #
[ 187.050643] #
[ 187.055617] #
[ 187.060581] #
[ 187.065562] #
[ 187.070567] #
[ 187.075548] #
[ 187.080513] #
[ 187.085511] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=OUT, Req=0x6, Idx=0x80,pAd->Flags=0x508a0042
[ 187.085512] VendrCmdMultiWrite_nBytes failed!
[ 187.085532] #
[ 187.090499] #
[ 187.095469] #
[ 187.100433] #
[ 187.105471] #
[ 187.110467] #
[ 187.115446] #
[ 187.120412] #
[ 187.125388] #
[ 187.130353] #
[ 187.135335] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x508a0042
[ 187.135335] #
[ 187.140331] #
[ 187.145313] #
[ 187.150277] #
[ 187.155256] #
[ 187.160247] #
[ 187.165227] #
[ 187.170192] #
[ 187.175167] #
[ 187.180218] #
[ 187.185220] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x20,pAd->Flags=0x508a0042
[ 187.185221] #
[ 187.190204] #
[ 187.195184] #
[ 187.200151] #
[ 187.205204] #
[ 187.210187] #
[ 187.215161] #
[ 187.220143] #
[ 187.225127] #
[ 187.230092] #
[ 187.235080] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x80,pAd->Flags=0x508a0042
[ 187.235084] #
[ 187.240048] #
[ 187.245054] #
[ 187.250018] #
[ 187.254983] #
[ 187.259952] #
[ 187.264928] #
[ 187.269908] #
[ 187.274881] #
[ 187.279855] #
[ 187.284824] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.289785] #
[ 187.294752] #
[ 187.299722] #
[ 187.304695] #
[ 187.309724] #
[ 187.314700] #
[ 187.319678] #
[ 187.324643] #
[ 187.329608] #
[ 187.334579] #
[ 187.339544] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.344505] #
[ 187.349477] #
[ 187.354449] #
[ 187.359435] #
[ 187.364468] #
[ 187.369452] #
[ 187.374499] #
[ 187.379488] #
[ 187.384453] #
[ 187.389432] #
[ 187.394431] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.399392] #
[ 187.404371] #
[ 187.409346] #
[ 187.414336] #
[ 187.419306] #
[ 187.424270] #
[ 187.429255] #
[ 187.434228] #
[ 187.439204] #
[ 187.444169] #
[ 187.449137] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.454098] #
[ 187.459063] #
[ 187.464033] #
[ 187.469017] #
[ 187.473981] #
[ 187.478946] #
[ 187.483934] #
[ 187.488925] #
[ 187.493901] #
[ 187.498884] #
[ 187.503929] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.508890] #
[ 187.513856] #
[ 187.518859] #
[ 187.523868] #
[ 187.528845] #
[ 187.533854] #
[ 187.538830] #
[ 187.543810] #
[ 187.548800] #
[ 187.553788] #
[ 187.558776] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.563737] #
[ 187.568702] #
[ 187.573682] #
[ 187.578655] #
[ 187.583631] #
[ 187.588608] #
[ 187.593581] #
[ 187.598547] #
[ 187.603534] #
[ 187.608501] #
[ 187.613488] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.618449] #
[ 187.623413] #
[ 187.628378] #
[ 187.633352] #
[ 187.638317] #
[ 187.643289] #
[ 187.648265] #
[ 187.653251] #
[ 187.658215] #
[ 187.663244] #
[ 187.668226] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.673187] #
[ 187.678224] #
[ 187.683224] #
[ 187.688234] #
[ 187.693199] #
[ 187.698270] #
[ 187.703256] #
[ 187.708230] #
[ 187.713208] #
[ 187.718173] #
[ 187.723157] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.728118] #
[ 187.733125] #
[ 187.738096] #
[ 187.743078] #
[ 187.748048] #
[ 187.753027] #
[ 187.758011] #
[ 187.762976] #
[ 187.767947] #
[ 187.772912] #
[ 187.777882] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.782844] #
[ 187.787818] #
[ 187.792801] #
[ 187.797784] #
[ 187.802756] #
[ 187.807749] #
[ 187.812718] #
[ 187.817683] #
[ 187.822657] #
[ 187.827675] #
[ 187.832656] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.837618] #
[ 187.842601] #
[ 187.847566] #
[ 187.852555] #
[ 187.857542] #
[ 187.862550] #
[ 187.867526] #
[ 187.872491] #
[ 187.877475] #
[ 187.882452] #
[ 187.887416] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.892378] #
[ 187.897355] #
[ 187.902331] #
[ 187.907300] #
[ 187.912282] #
[ 187.917251] #
[ 187.922221] #
[ 187.927216] #
[ 187.932187] #
[ 187.937168] #
[ 187.942151] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.947122] #
[ 187.952097] #
[ 187.957076] #
[ 187.962051] #
[ 187.967020] #
[ 187.971993] #
[ 187.976957] #
[ 187.981934] #
[ 187.986909] #
[ 187.991886] #
[ 187.996850] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.001812] #
[ 188.006794] #
[ 188.011783] #
[ 188.016750] #
[ 188.021721] #
[ 188.026693] #
[ 188.031657] #
[ 188.036636] #
[ 188.041615] #
[ 188.046592] #
[ 188.051559] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.056520] #
[ 188.061506] #
[ 188.066477] #
[ 188.071441] #
[ 188.076406] #
[ 188.081374] #
[ 188.086344] #
[ 188.091309] #
[ 188.096284] #
[ 188.101264] #
[ 188.106242] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.111203] #
[ 188.116193] #
[ 188.121172] #
[ 188.126144] #
[ 188.131128] #
[ 188.136103] #
[ 188.141070] #
[ 188.146047] #
[ 188.151013] #
[ 188.155978] #
[ 188.160942] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.165903] #
[ 188.170885] #
[ 188.175860] #
[ 188.180825] #
[ 188.185808] #
[ 188.190784] #
[ 188.195749] #
[ 188.200725] #
[ 188.205694] #
[ 188.210680] #
[ 188.215656] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
...
...
...and so on
# iwconfig
lo no wireless extensions.
vmnet1 no wireless extensions.
vmnet8 no wireless extensions.
ra0 Ralink STA Mode:Managed
eth0 no wireless extensions.
[/CODE]
Until I performed "rmmod mt7650u_sta":
[CODE][ 354.347832] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 354.352794] #
[ 354.357761] #
[ 354.362726] #
[ 354.367740] #
[ 354.372705] #
[ 354.377699] #
[ 354.382667] #
[ 354.387639] #
[ 354.392642] #
[ 354.397608] #
[ 354.402573] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 354.407535] #
[ 354.412499] #
[ 354.417489] #
[ 354.422465] #
[ 354.427454] #
[ 354.432429] #
[ 354.437415] #
[ 354.442393] #
[ 354.447417] #
[ 354.452381] #
[ 354.457358] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 354.462320] WaitForAsicReady(0xffffffff):AsicNotReady!
[ 354.462321] !!! rt28xx init fail !!!
[ 376.791527] usbcore: deregistering interface driver rt2870
[ 377.968870] Bulk In Failed. Status=-108, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 377.968955] receive cmd msg fail(-108)
[ 377.968973] usb_rx_cmd_msg_complete:submit urb fail(-2)
[ 377.968980] usb_rx_cmd_msg_submit:submit urb fail(-2)
[ 377.968984] rtusb_disconnect: unregister usbnet usb-0000:00:14.0-5.4
[ 377.968986] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 377.987546] ---> RTMPFreeTxRxRingMemory
[ 377.987554] <--- RTMPFreeTxRxRingMemory
[ 377.987589] RTUSB disconnect successfully
[ 377.987608] <--- rtusb exit
[/CODE]
Result on Suse leap 42.3:
[CODE] # uname -rv
4.4.92-31-default #1 SMP Sun Oct 22 06:56:24 UTC 2017 (1d80e8a)
# ifconfig ra0 up
SIOCSIFFLAGS: Operation not permitted
# iwconfig
lo no wireless extensions.
vmnet1 no wireless extensions.
eth1 no wireless extensions.
vmnet8 no wireless extensions.
ra0 Ralink STA ESSID:""
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# iwlist ra0 scanning
ra0 No scan results
# dmesg
...
...
[ 278.881267] rtusb init rt2870 --->
[ 278.881327]
=== pAd = ffffc90003851000, size = 895280 ===
[ 278.881355] <-- RTMPAllocTxRxRingMemory, Status=0
[ 278.881408] <-- RTMPAllocAdapterBlock, Status=0
[ 278.881480] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000413
[ 278.881846] MCUType = 2
[ 278.881925] NVM is EFUSE
[ 278.881926] Endpoint(8) is for In-band Command
[ 278.881926] Endpoint(4) is for WMM0 AC0
[ 278.881926] Endpoint(5) is for WMM0 AC1
[ 278.881927] Endpoint(6) is for WMM0 AC2
[ 278.881927] Endpoint(7) is for WMM0 AC3
[ 278.881927] Endpoint(9) is for WMM1 AC0
[ 278.881927] Endpoint(84) is for Data-In
[ 278.881927] Endpoint(85) is for Command Rsp
[ 278.882090] usbcore: registered new interface driver rt2870
[ 325.452950] usb 1-5.4: USB disconnect, device number 4
[ 325.453199] rtusb_disconnect: unregister usbnet usb-0000:00:14.0-5.4
[ 325.453204] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 325.467739] WIFI device has been disconnected
[ 325.467748] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000413, Reg-WlanFunCtrl=0xffffffff
[ 325.467749] WIFI device has been disconnected
[ 325.467750] VendrCmdMultiWrite_nBytes failed!
[ 325.467771] WIFI device has been disconnected
[ 325.467793] ---> RTMPFreeTxRxRingMemory
[ 325.467818] <--- RTMPFreeTxRxRingMemory
[ 325.467890] RTUSB disconnect successfully
[ 328.683617] usb 1-5.3: new high-speed USB device number 5 using xhci_hcd
[ 328.799903] usb 1-5.3: New USB device found, idVendor=148f, idProduct=761a
[ 328.799910] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 328.799913] usb 1-5.3: Product: WiFi
[ 328.799915] usb 1-5.3: Manufacturer: MediaTek
[ 328.799917] usb 1-5.3: SerialNumber: 1.0
[ 328.800971]
=== pAd = ffffc9000392d000, size = 895280 ===
[ 328.801089] <-- RTMPAllocTxRxRingMemory, Status=0
[ 328.801292] <-- RTMPAllocAdapterBlock, Status=0
[ 328.801375] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 328.802095] MCUType = 2
[ 328.802220] NVM is EFUSE
[ 328.802223] Endpoint(8) is for In-band Command
[ 328.802224] Endpoint(4) is for WMM0 AC0
[ 328.802225] Endpoint(5) is for WMM0 AC1
[ 328.802226] Endpoint(6) is for WMM0 AC2
[ 328.802227] Endpoint(7) is for WMM0 AC3
[ 328.802228] Endpoint(9) is for WMM1 AC0
[ 328.802229] Endpoint(84) is for Data-In
[ 328.802230] Endpoint(85) is for Command Rsp
[ 351.358155] -->RTUSBVenderReset
[ 351.358195] <--RTUSBVenderReset
[ 351.363157] fw version:0.1.00 build:7640
[ 351.363158] build time:201308221655____
[ 351.363158] ilm length = 68780(bytes)
[ 351.363158] dlm length = 11476(bytes)
[ 351.438965] #
[ 351.445080] loading fw......
[ 351.554971] #
[ 351.767212] RTMP_TimerListAdd: add timer obj ffffc900039ae250!
[ 351.767213] RTMP_TimerListAdd: add timer obj ffffc900039ae2c8!
[ 351.767213] RTMP_TimerListAdd: add timer obj ffffc900039ae340!
[ 351.767214] RTMP_TimerListAdd: add timer obj ffffc900039ae1d8!
[ 351.767214] RTMP_TimerListAdd: add timer obj ffffc900039ae070!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc900039ae0e8!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc90003940d48!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc9000392fb80!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc9000392fc00!
[ 351.767216] RTMP_TimerListAdd: add timer obj ffffc90003940ed0!
[ 351.767216] RTMP_TimerListAdd: add timer obj ffffc90003940c58!
[ 351.767217] RTMP_TimerListAdd: add timer obj ffffc90003940e58!
[ 351.768735] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
[ 351.768736] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
[ 351.768736] 1. Phy Mode = 6
[ 351.768737] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
[ 351.823684] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 351.823747] receive cmd msg fail(-2)
[ 351.823750] tx_kickout_fail_count = 0
[ 351.823751] tx_timeout_fail_count = 0
[ 351.823751] rx_receive_fail_count = 0
[ 351.823751] alloc_cmd_msg = 35
[ 351.823751] free_cmd_msg = 35
[ 351.823756] !!! rt28xx init fail !!!
[/CODE]
Can you please advice?
Thanks.
Thanks for the new driver. I can compile the codes successfully, but it cannot run.
Here are the outputs:
Result on Ubuntu 16.04:
[CODE]# uname -rv
4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017
# ifconfig ra0 up
# dmesg
...
...
[ 162.941023] rtusb init rt2870 --->
[ 162.941042] usbcore: registered new interface driver rt2870
[ 175.173892] usb 1-5.4: new high-speed USB device number 4 using xhci_hcd
[ 175.289802] usb 1-5.4: New USB device found, idVendor=148f, idProduct=761a
[ 175.289810] usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 175.289815] usb 1-5.4: Product: WiFi
[ 175.289819] usb 1-5.4: Manufacturer: MediaTek
[ 175.289822] usb 1-5.4: SerialNumber: 1.0
[ 175.290888]
=== pAd = ffffc90002eef000, size = 895280 ===
[ 175.291008] <-- RTMPAllocTxRxRingMemory, Status=0
[ 175.291224] <-- RTMPAllocAdapterBlock, Status=0
[ 175.291352] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 175.292236] MCUType = 2
[ 175.292363] NVM is EFUSE
[ 175.292367] Endpoint(8) is for In-band Command
[ 175.292370] Endpoint(4) is for WMM0 AC0
[ 175.292373] Endpoint(5) is for WMM0 AC1
[ 175.292375] Endpoint(6) is for WMM0 AC2
[ 175.292377] Endpoint(7) is for WMM0 AC3
[ 175.292379] Endpoint(9) is for WMM1 AC0
[ 175.292382] Endpoint(84) is for Data-In
[ 175.292384] Endpoint(85) is for Command Rsp
[ 175.308610] cfg80211: World regulatory domain updated:
[ 175.308612] cfg80211: DFS Master region: unset
[ 175.308613] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 175.308614] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308615] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308616] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308617] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 175.308618] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 175.308619] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 175.308620] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 175.308621] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 175.827595] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
[ 175.833028] -->RTUSBVenderReset
[ 175.833107] <--RTUSBVenderReset
[ 175.838069] fw version:0.1.00 build:7640
[ 175.838070] build time:201308221655____
[ 175.838073] ilm length = 68780(bytes)
[ 175.838074] dlm length = 11476(bytes)
[ 175.913812] #
[ 175.920332] loading fw......
[ 176.029635] #
[ 176.241554] RTMP_TimerListAdd: add timer obj ffffc90002f70250!
[ 176.241556] RTMP_TimerListAdd: add timer obj ffffc90002f702c8!
[ 176.241557] RTMP_TimerListAdd: add timer obj ffffc90002f70340!
[ 176.241557] RTMP_TimerListAdd: add timer obj ffffc90002f701d8!
[ 176.241558] RTMP_TimerListAdd: add timer obj ffffc90002f70070!
[ 176.241559] RTMP_TimerListAdd: add timer obj ffffc90002f700e8!
[ 176.241559] RTMP_TimerListAdd: add timer obj ffffc90002f02d48!
[ 176.241560] RTMP_TimerListAdd: add timer obj ffffc90002ef1b80!
[ 176.241560] RTMP_TimerListAdd: add timer obj ffffc90002ef1c00!
[ 176.241561] RTMP_TimerListAdd: add timer obj ffffc90002f02ed0!
[ 176.241561] RTMP_TimerListAdd: add timer obj ffffc90002f02c58!
[ 176.241562] RTMP_TimerListAdd: add timer obj ffffc90002f02e58!
[ 176.241573] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
[ 176.241574] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
[ 176.241574] 1. Phy Mode = 6
[ 176.241580] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
[ 176.296562] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 176.306618] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x11080042) on !
[ 176.306762] receive cmd msg fail(-2)
[ 176.306784] tx_kickout_fail_count = 0
[ 176.306784] tx_timeout_fail_count = 0
[ 176.306785] rx_receive_fail_count = 0
[ 176.306785] alloc_cmd_msg = 35
[ 176.306786] free_cmd_msg = 35
[ 176.306790] !!! rt28xx init fail !!!
[ 176.314473] -->RTUSBVenderReset
[ 176.314539] <--RTUSBVenderReset
[ 176.319506] fw version:0.1.00 build:7640
[ 176.319507] build time:201308221655____
[ 176.319510] ilm length = 68780(bytes)
[ 176.319511] dlm length = 11476(bytes)
[ 176.393827] #
[ 176.399970] loading fw......
[ 176.509838] #
[ 176.721835] RTMP_TimerListAdd: add timer obj ffffc90002f70250!
[ 176.721837] RTMP_TimerListAdd: add timer obj ffffc90002f702c8!
[ 176.721837] RTMP_TimerListAdd: add timer obj ffffc90002f70340!
[ 176.721838] RTMP_TimerListAdd: add timer obj ffffc90002f701d8!
[ 176.721839] RTMP_TimerListAdd: add timer obj ffffc90002f70070!
[ 176.721840] RTMP_TimerListAdd: add timer obj ffffc90002f700e8!
[ 176.721840] RTMP_TimerListAdd: add timer obj ffffc90002f02d48!
[ 176.721841] RTMP_TimerListAdd: add timer obj ffffc90002ef1b80!
[ 176.721841] RTMP_TimerListAdd: add timer obj ffffc90002ef1c00!
[ 176.721842] RTMP_TimerListAdd: add timer obj ffffc90002f02ed0!
[ 176.721843] RTMP_TimerListAdd: add timer obj ffffc90002f02c58!
[ 176.721843] RTMP_TimerListAdd: add timer obj ffffc90002f02e58!
[ 176.721847] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
[ 176.721848] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
[ 176.721849] 1. Phy Mode = 6
[ 176.721849] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
[ 176.776794] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 176.786894] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x11080042) on !
[ 176.787071] receive cmd msg fail(-2)
[ 176.787093] tx_kickout_fail_count = 0
[ 176.787094] tx_timeout_fail_count = 0
[ 176.787094] rx_receive_fail_count = 0
[ 176.787095] alloc_cmd_msg = 35
[ 176.787095] free_cmd_msg = 35
[ 176.787100] !!! rt28xx init fail !!!
[ 177.802770] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 177.802905] tx_kickout_fail_count = 0
[ 177.802905] tx_timeout_fail_count = 0
[ 177.802906] rx_receive_fail_count = 0
[ 177.802906] alloc_cmd_msg = 35
[ 177.802906] free_cmd_msg = 35
[ 186.985929] #
[ 186.990915] #
[ 186.995885] #
[ 187.000851] #
[ 187.005817] #
[ 187.010783] #
[ 187.015750] #
[ 187.020715] #
[ 187.025712] #
[ 187.030719] #
[ 187.035697] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x80,pAd->Flags=0x508a0042
[ 187.035698] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0xff000000, Reg-WlanFunCtrl=0xffffffff
[ 187.035699] #
[ 187.040684] #
[ 187.045662] #
[ 187.050643] #
[ 187.055617] #
[ 187.060581] #
[ 187.065562] #
[ 187.070567] #
[ 187.075548] #
[ 187.080513] #
[ 187.085511] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=OUT, Req=0x6, Idx=0x80,pAd->Flags=0x508a0042
[ 187.085512] VendrCmdMultiWrite_nBytes failed!
[ 187.085532] #
[ 187.090499] #
[ 187.095469] #
[ 187.100433] #
[ 187.105471] #
[ 187.110467] #
[ 187.115446] #
[ 187.120412] #
[ 187.125388] #
[ 187.130353] #
[ 187.135335] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x508a0042
[ 187.135335] #
[ 187.140331] #
[ 187.145313] #
[ 187.150277] #
[ 187.155256] #
[ 187.160247] #
[ 187.165227] #
[ 187.170192] #
[ 187.175167] #
[ 187.180218] #
[ 187.185220] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x20,pAd->Flags=0x508a0042
[ 187.185221] #
[ 187.190204] #
[ 187.195184] #
[ 187.200151] #
[ 187.205204] #
[ 187.210187] #
[ 187.215161] #
[ 187.220143] #
[ 187.225127] #
[ 187.230092] #
[ 187.235080] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x80,pAd->Flags=0x508a0042
[ 187.235084] #
[ 187.240048] #
[ 187.245054] #
[ 187.250018] #
[ 187.254983] #
[ 187.259952] #
[ 187.264928] #
[ 187.269908] #
[ 187.274881] #
[ 187.279855] #
[ 187.284824] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.289785] #
[ 187.294752] #
[ 187.299722] #
[ 187.304695] #
[ 187.309724] #
[ 187.314700] #
[ 187.319678] #
[ 187.324643] #
[ 187.329608] #
[ 187.334579] #
[ 187.339544] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.344505] #
[ 187.349477] #
[ 187.354449] #
[ 187.359435] #
[ 187.364468] #
[ 187.369452] #
[ 187.374499] #
[ 187.379488] #
[ 187.384453] #
[ 187.389432] #
[ 187.394431] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.399392] #
[ 187.404371] #
[ 187.409346] #
[ 187.414336] #
[ 187.419306] #
[ 187.424270] #
[ 187.429255] #
[ 187.434228] #
[ 187.439204] #
[ 187.444169] #
[ 187.449137] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.454098] #
[ 187.459063] #
[ 187.464033] #
[ 187.469017] #
[ 187.473981] #
[ 187.478946] #
[ 187.483934] #
[ 187.488925] #
[ 187.493901] #
[ 187.498884] #
[ 187.503929] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.508890] #
[ 187.513856] #
[ 187.518859] #
[ 187.523868] #
[ 187.528845] #
[ 187.533854] #
[ 187.538830] #
[ 187.543810] #
[ 187.548800] #
[ 187.553788] #
[ 187.558776] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.563737] #
[ 187.568702] #
[ 187.573682] #
[ 187.578655] #
[ 187.583631] #
[ 187.588608] #
[ 187.593581] #
[ 187.598547] #
[ 187.603534] #
[ 187.608501] #
[ 187.613488] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.618449] #
[ 187.623413] #
[ 187.628378] #
[ 187.633352] #
[ 187.638317] #
[ 187.643289] #
[ 187.648265] #
[ 187.653251] #
[ 187.658215] #
[ 187.663244] #
[ 187.668226] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.673187] #
[ 187.678224] #
[ 187.683224] #
[ 187.688234] #
[ 187.693199] #
[ 187.698270] #
[ 187.703256] #
[ 187.708230] #
[ 187.713208] #
[ 187.718173] #
[ 187.723157] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.728118] #
[ 187.733125] #
[ 187.738096] #
[ 187.743078] #
[ 187.748048] #
[ 187.753027] #
[ 187.758011] #
[ 187.762976] #
[ 187.767947] #
[ 187.772912] #
[ 187.777882] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.782844] #
[ 187.787818] #
[ 187.792801] #
[ 187.797784] #
[ 187.802756] #
[ 187.807749] #
[ 187.812718] #
[ 187.817683] #
[ 187.822657] #
[ 187.827675] #
[ 187.832656] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.837618] #
[ 187.842601] #
[ 187.847566] #
[ 187.852555] #
[ 187.857542] #
[ 187.862550] #
[ 187.867526] #
[ 187.872491] #
[ 187.877475] #
[ 187.882452] #
[ 187.887416] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.892378] #
[ 187.897355] #
[ 187.902331] #
[ 187.907300] #
[ 187.912282] #
[ 187.917251] #
[ 187.922221] #
[ 187.927216] #
[ 187.932187] #
[ 187.937168] #
[ 187.942151] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 187.947122] #
[ 187.952097] #
[ 187.957076] #
[ 187.962051] #
[ 187.967020] #
[ 187.971993] #
[ 187.976957] #
[ 187.981934] #
[ 187.986909] #
[ 187.991886] #
[ 187.996850] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.001812] #
[ 188.006794] #
[ 188.011783] #
[ 188.016750] #
[ 188.021721] #
[ 188.026693] #
[ 188.031657] #
[ 188.036636] #
[ 188.041615] #
[ 188.046592] #
[ 188.051559] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.056520] #
[ 188.061506] #
[ 188.066477] #
[ 188.071441] #
[ 188.076406] #
[ 188.081374] #
[ 188.086344] #
[ 188.091309] #
[ 188.096284] #
[ 188.101264] #
[ 188.106242] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.111203] #
[ 188.116193] #
[ 188.121172] #
[ 188.126144] #
[ 188.131128] #
[ 188.136103] #
[ 188.141070] #
[ 188.146047] #
[ 188.151013] #
[ 188.155978] #
[ 188.160942] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 188.165903] #
[ 188.170885] #
[ 188.175860] #
[ 188.180825] #
[ 188.185808] #
[ 188.190784] #
[ 188.195749] #
[ 188.200725] #
[ 188.205694] #
[ 188.210680] #
[ 188.215656] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
...
...
...and so on
# iwconfig
lo no wireless extensions.
vmnet1 no wireless extensions.
vmnet8 no wireless extensions.
ra0 Ralink STA Mode:Managed
eth0 no wireless extensions.
[/CODE]
Until I performed "rmmod mt7650u_sta":
[CODE][ 354.347832] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 354.352794] #
[ 354.357761] #
[ 354.362726] #
[ 354.367740] #
[ 354.372705] #
[ 354.377699] #
[ 354.382667] #
[ 354.387639] #
[ 354.392642] #
[ 354.397608] #
[ 354.402573] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 354.407535] #
[ 354.412499] #
[ 354.417489] #
[ 354.422465] #
[ 354.427454] #
[ 354.432429] #
[ 354.437415] #
[ 354.442393] #
[ 354.447417] #
[ 354.452381] #
[ 354.457358] RTUSB_VendorRequest failed(-113),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x0
[ 354.462320] WaitForAsicReady(0xffffffff):AsicNotReady!
[ 354.462321] !!! rt28xx init fail !!!
[ 376.791527] usbcore: deregistering interface driver rt2870
[ 377.968870] Bulk In Failed. Status=-108, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 377.968955] receive cmd msg fail(-108)
[ 377.968973] usb_rx_cmd_msg_complete:submit urb fail(-2)
[ 377.968980] usb_rx_cmd_msg_submit:submit urb fail(-2)
[ 377.968984] rtusb_disconnect: unregister usbnet usb-0000:00:14.0-5.4
[ 377.968986] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 377.987546] ---> RTMPFreeTxRxRingMemory
[ 377.987554] <--- RTMPFreeTxRxRingMemory
[ 377.987589] RTUSB disconnect successfully
[ 377.987608] <--- rtusb exit
[/CODE]
Result on Suse leap 42.3:
[CODE] # uname -rv
4.4.92-31-default #1 SMP Sun Oct 22 06:56:24 UTC 2017 (1d80e8a)
# ifconfig ra0 up
SIOCSIFFLAGS: Operation not permitted
# iwconfig
lo no wireless extensions.
vmnet1 no wireless extensions.
eth1 no wireless extensions.
vmnet8 no wireless extensions.
ra0 Ralink STA ESSID:""
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# iwlist ra0 scanning
ra0 No scan results
# dmesg
...
...
[ 278.881267] rtusb init rt2870 --->
[ 278.881327]
=== pAd = ffffc90003851000, size = 895280 ===
[ 278.881355] <-- RTMPAllocTxRxRingMemory, Status=0
[ 278.881408] <-- RTMPAllocAdapterBlock, Status=0
[ 278.881480] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000413
[ 278.881846] MCUType = 2
[ 278.881925] NVM is EFUSE
[ 278.881926] Endpoint(8) is for In-band Command
[ 278.881926] Endpoint(4) is for WMM0 AC0
[ 278.881926] Endpoint(5) is for WMM0 AC1
[ 278.881927] Endpoint(6) is for WMM0 AC2
[ 278.881927] Endpoint(7) is for WMM0 AC3
[ 278.881927] Endpoint(9) is for WMM1 AC0
[ 278.881927] Endpoint(84) is for Data-In
[ 278.881927] Endpoint(85) is for Command Rsp
[ 278.882090] usbcore: registered new interface driver rt2870
[ 325.452950] usb 1-5.4: USB disconnect, device number 4
[ 325.453199] rtusb_disconnect: unregister usbnet usb-0000:00:14.0-5.4
[ 325.453204] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 325.467739] WIFI device has been disconnected
[ 325.467748] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000413, Reg-WlanFunCtrl=0xffffffff
[ 325.467749] WIFI device has been disconnected
[ 325.467750] VendrCmdMultiWrite_nBytes failed!
[ 325.467771] WIFI device has been disconnected
[ 325.467793] ---> RTMPFreeTxRxRingMemory
[ 325.467818] <--- RTMPFreeTxRxRingMemory
[ 325.467890] RTUSB disconnect successfully
[ 328.683617] usb 1-5.3: new high-speed USB device number 5 using xhci_hcd
[ 328.799903] usb 1-5.3: New USB device found, idVendor=148f, idProduct=761a
[ 328.799910] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 328.799913] usb 1-5.3: Product: WiFi
[ 328.799915] usb 1-5.3: Manufacturer: MediaTek
[ 328.799917] usb 1-5.3: SerialNumber: 1.0
[ 328.800971]
=== pAd = ffffc9000392d000, size = 895280 ===
[ 328.801089] <-- RTMPAllocTxRxRingMemory, Status=0
[ 328.801292] <-- RTMPAllocAdapterBlock, Status=0
[ 328.801375] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 328.802095] MCUType = 2
[ 328.802220] NVM is EFUSE
[ 328.802223] Endpoint(8) is for In-band Command
[ 328.802224] Endpoint(4) is for WMM0 AC0
[ 328.802225] Endpoint(5) is for WMM0 AC1
[ 328.802226] Endpoint(6) is for WMM0 AC2
[ 328.802227] Endpoint(7) is for WMM0 AC3
[ 328.802228] Endpoint(9) is for WMM1 AC0
[ 328.802229] Endpoint(84) is for Data-In
[ 328.802230] Endpoint(85) is for Command Rsp
[ 351.358155] -->RTUSBVenderReset
[ 351.358195] <--RTUSBVenderReset
[ 351.363157] fw version:0.1.00 build:7640
[ 351.363158] build time:201308221655____
[ 351.363158] ilm length = 68780(bytes)
[ 351.363158] dlm length = 11476(bytes)
[ 351.438965] #
[ 351.445080] loading fw......
[ 351.554971] #
[ 351.767212] RTMP_TimerListAdd: add timer obj ffffc900039ae250!
[ 351.767213] RTMP_TimerListAdd: add timer obj ffffc900039ae2c8!
[ 351.767213] RTMP_TimerListAdd: add timer obj ffffc900039ae340!
[ 351.767214] RTMP_TimerListAdd: add timer obj ffffc900039ae1d8!
[ 351.767214] RTMP_TimerListAdd: add timer obj ffffc900039ae070!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc900039ae0e8!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc90003940d48!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc9000392fb80!
[ 351.767215] RTMP_TimerListAdd: add timer obj ffffc9000392fc00!
[ 351.767216] RTMP_TimerListAdd: add timer obj ffffc90003940ed0!
[ 351.767216] RTMP_TimerListAdd: add timer obj ffffc90003940c58!
[ 351.767217] RTMP_TimerListAdd: add timer obj ffffc90003940e58!
[ 351.768735] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
[ 351.768736] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
[ 351.768736] 1. Phy Mode = 6
[ 351.768737] ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001]
[ 351.823684] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 351.823747] receive cmd msg fail(-2)
[ 351.823750] tx_kickout_fail_count = 0
[ 351.823751] tx_timeout_fail_count = 0
[ 351.823751] rx_receive_fail_count = 0
[ 351.823751] alloc_cmd_msg = 35
[ 351.823751] free_cmd_msg = 35
[ 351.823756] !!! rt28xx init fail !!!
[/CODE]
Can you please advice?
Thanks.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#5
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-12-01
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-05 03:56:04
copy configuration file in this directory
[code] cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat[/code]
if errors still occur, please try 'linux-4.10' branch
if errors still occur (again), I'll try to adapt code for kernel version 4.4
[code] cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat[/code]
if errors still occur, please try 'linux-4.10' branch
if errors still occur (again), I'll try to adapt code for kernel version 4.4
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#6
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-10 15:21:25
Hi BZHDeveloper,
After performing " cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat", I am able to see ra0.
However, it will get hung once it tries to join to wireless network SSID
I tried both master and 'linux-4.10' branch, the errors are the same
--------------------------------------
openSuse Leap 42.3, master branch
--------------------------------------
[CODE]# ifconfig ra0 up
# iwpriv ra0 set NetworkType=Infra
# iwpriv ra0 set AuthMode=WPA2PSK
# iwpriv ra0 set SSID="MYSSID"
# iwpriv ra0 set WPAPSK="MYPASSWORD"
# iwpriv ra0 set WPA2PSK="MYPASSWORD"
# iwpriv ra0 get_site_survey
ra0 get_site_survey:
Ch SSID BSSID Security Siganl(%)W-Mode ExtCH NT
# iwpriv ra0 stat
ra0 stat:
Tx success = 32
Tx retry count = 0, PER=0.0%
Tx fail to Rcv ACK after retry = 0, PLR=0.00%
Rx success = 1366
Rx with CRC = 577, PER=29.6%
Rx drop due to out of resource = 0
Rx duplicate frame = 0
False CCA = 54625
RSSI = 0 0 0
SNR-A = 0
SNR-B (if available) = 0
WpaSupplicantUP = 1
# iwconfig
lo no wireless extensions.
vmnet1 no wireless extensions.
eth1 no wireless extensions.
vmnet8 no wireless extensions.
ra0 Ralink STA ESSID:"11n-AP" Nickname:"MT7610U_STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig ra0
ra0 Link encap:Ethernet HWaddr C0:25:E9:2C:AE:FC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1366 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:366027 (357.4 Kb) TX bytes:3244 (3.1 Kb)
# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="MYSSID"
key_mgmt=WPA-PSK
pairwise=CCMP
proto=RSN
psk="MYPASSWORD"
auth_alg=OPEN
}
# wpa_supplicant -Dwext -ira0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d
wpa_supplicant v2.2
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'ra0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
Priority group 0
id=0 ssid='MYSSID'
Killed
# dmesg
dmesg
[ 437.045139] rtusb init rt2870 --->
[ 437.045200] usbcore: registered new interface driver rt2870
[ 451.612657] usb 1-11: new high-speed USB device number 4 using xhci_hcd
[ 451.756926] usb 1-11: New USB device found, idVendor=148f, idProduct=761a
[ 451.756933] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 451.756936] usb 1-11: Product: WiFi
[ 451.756938] usb 1-11: Manufacturer: MediaTek
[ 451.756940] usb 1-11: SerialNumber: 1.0
[ 451.758017]
=== pAd = ffffc90003831000, size = 895280 ===
[ 451.758140] <-- RTMPAllocTxRxRingMemory, Status=0
[ 451.758355] <-- RTMPAllocAdapterBlock, Status=0
[ 451.758475] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 451.759047] MCUType = 2
[ 451.759171] NVM is EFUSE
[ 451.759173] Endpoint(8) is for In-band Command
[ 451.759175] Endpoint(4) is for WMM0 AC0
[ 451.759176] Endpoint(5) is for WMM0 AC1
[ 451.759177] Endpoint(6) is for WMM0 AC2
[ 451.759178] Endpoint(7) is for WMM0 AC3
[ 451.759179] Endpoint(9) is for WMM1 AC0
[ 451.759180] Endpoint(84) is for Data-In
[ 451.759181] Endpoint(85) is for Command Rsp
[ 460.646087] -->RTUSBVenderReset
[ 460.646177] <--RTUSBVenderReset
[ 460.651140] fw version:0.1.00 build:7640
[ 460.651141] build time:201308221655____
[ 460.651141] ilm length = 68780(bytes)
[ 460.651142] dlm length = 11476(bytes)
[ 460.724638] #
[ 460.730662] loading fw......
[ 460.840598] #
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b2250!
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b22c8!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b2340!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b21d8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b2070!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b20e8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc90003844d48!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833b80!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833c00!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003844ed0!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844c58!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844e58!
[ 461.052723] cfg_mode=5
[ 461.052724] wmode_band_equal(): Band Not Equal!
[ 461.052818] Key1Str is Invalid key length(0) or Type(0)
[ 461.052825] Key2Str is Invalid key length(0) or Type(0)
[ 461.052831] Key3Str is Invalid key length(0) or Type(0)
[ 461.052851] Key4Str is Invalid key length(0) or Type(0)
[ 461.053017] 1. Phy Mode = 31
[ 461.053017] 2. Phy Mode = 31
[ 461.053017] NVM is Efuse and its size =1d[1e0-1fc]
[ 461.062111] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 461.063708] Temperature Tx ALC not enabled
[ 461.069320] 3. Phy Mode = 31
[ 461.069321] AntCfgInit: primary/secondary ant 0/1
[ 461.074116] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 461.074871] MCS Set = ff 00 00 00 01
[ 461.084819] <==== rt28xx_init, Status=0
[ 461.085260] 0x1300 = 00064300
[ 461.085260] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 461.085301] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 461.285862] userif-3: sent link down event.
[ 461.285867] userif-3: sent link up event.
ajie@linux-j6fj:/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_linux-4.10> dmesg
[ 437.045139] rtusb init rt2870 --->
[ 437.045200] usbcore: registered new interface driver rt2870
[ 451.612657] usb 1-11: new high-speed USB device number 4 using xhci_hcd
[ 451.756926] usb 1-11: New USB device found, idVendor=148f, idProduct=761a
[ 451.756933] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 451.756936] usb 1-11: Product: WiFi
[ 451.756938] usb 1-11: Manufacturer: MediaTek
[ 451.756940] usb 1-11: SerialNumber: 1.0
[ 451.758017]
=== pAd = ffffc90003831000, size = 895280 ===
[ 451.758140] <-- RTMPAllocTxRxRingMemory, Status=0
[ 451.758355] <-- RTMPAllocAdapterBlock, Status=0
[ 451.758475] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 451.759047] MCUType = 2
[ 451.759171] NVM is EFUSE
[ 451.759173] Endpoint(8) is for In-band Command
[ 451.759175] Endpoint(4) is for WMM0 AC0
[ 451.759176] Endpoint(5) is for WMM0 AC1
[ 451.759177] Endpoint(6) is for WMM0 AC2
[ 451.759178] Endpoint(7) is for WMM0 AC3
[ 451.759179] Endpoint(9) is for WMM1 AC0
[ 451.759180] Endpoint(84) is for Data-In
[ 451.759181] Endpoint(85) is for Command Rsp
[ 460.646087] -->RTUSBVenderReset
[ 460.646177] <--RTUSBVenderReset
[ 460.651140] fw version:0.1.00 build:7640
[ 460.651141] build time:201308221655____
[ 460.651141] ilm length = 68780(bytes)
[ 460.651142] dlm length = 11476(bytes)
[ 460.724638] #
[ 460.730662] loading fw......
[ 460.840598] #
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b2250!
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b22c8!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b2340!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b21d8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b2070!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b20e8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc90003844d48!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833b80!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833c00!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003844ed0!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844c58!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844e58!
[ 461.052723] cfg_mode=5
[ 461.052724] wmode_band_equal(): Band Not Equal!
[ 461.052818] Key1Str is Invalid key length(0) or Type(0)
[ 461.052825] Key2Str is Invalid key length(0) or Type(0)
[ 461.052831] Key3Str is Invalid key length(0) or Type(0)
[ 461.052851] Key4Str is Invalid key length(0) or Type(0)
[ 461.053017] 1. Phy Mode = 31
[ 461.053017] 2. Phy Mode = 31
[ 461.053017] NVM is Efuse and its size =1d[1e0-1fc]
[ 461.062111] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 461.063708] Temperature Tx ALC not enabled
[ 461.069320] 3. Phy Mode = 31
[ 461.069321] AntCfgInit: primary/secondary ant 0/1
[ 461.074116] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 461.074871] MCS Set = ff 00 00 00 01
[ 461.084819] <==== rt28xx_init, Status=0
[ 461.085260] 0x1300 = 00064300
[ 461.085260] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 461.085301] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 461.285862] userif-3: sent link down event.
[ 461.285867] userif-3: sent link up event.
[ 666.838231] BUG: unable to handle kernel paging request at 00007ffe16ac3190
[ 666.838234] IP: [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.838244] PGD 437408067 PUD 41587e067 PMD 450b88067 PTE 80000003c32d6867
[ 666.838246] Oops: 0001 [#1] SMP
[ 666.838247] Modules linked in: mt7650u_sta(O) ip6table_filter ip6_tables iptable_filter ip_tables x_tables vmnet(O) ppdev parport_pc parport bnep vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) tun af_packet nvidia_modeset(PO) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) iscsi_ibft iscsi_boot_sysfs msr btrfs xor snd_hda_codec_hdmi fuse intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass raid6_pq crct10dif_pclmul crc32_pclmul crc32c_intel joydev ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm_oss snd_pcm snd_seq iTCO_wdt iTCO_vendor_support drbg ansi_cprng snd_seq_device snd_timer snd_mixer_oss aesni_intel hci_uart btbcm btqca nvidia(PO) aes_x86_64 btintel alx lrw gf128mul glue_helper i2c_i801
[ 666.838263] ablk_helper pcspkr cryptd bluetooth snd mdio battery rfkill pinctrl_sunrisepoint soundcore pinctrl_intel intel_lpss_acpi intel_lpss mfd_core mei_me mei shpchp tpm_infineon acpi_pad fjes acpi_als kfifo_buf industrialio ext4 crc16 jbd2 mbcache hid_logitech_hidpp hid_logitech_dj usbhid sr_mod cdrom sd_mod mxm_wmi ahci libahci xhci_pci xhci_hcd usbcore usb_common libata wmi video i2c_hid button fan processor thermal sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_mod loop autofs4
[ 666.838276] CPU: 0 PID: 4679 Comm: wpa_supplicant Tainted: P O 4.4.92-31-default #1
[ 666.838277] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 666.838278] task: ffff8804150ad4c0 ti: ffff880451ae4000 task.ti: ffff880451ae4000
[ 666.838278] RIP: 0010:[] [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.838286] RSP: 0018:ffff880451ae7cc8 EFLAGS: 00010297
[ 666.838287] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8800805e6200
[ 666.838287] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc90003831000
[ 666.838288] RBP: 00007ffe16ac3190 R08: 0000000000000000 R09: 0000000000000000
[ 666.838289] R10: 000000000001d590 R11: 0000000000000246 R12: ffffc90003831000
[ 666.838289] R13: ffff880464088000 R14: 0000000000000000 R15: ffff88007c96e9c0
[ 666.838290] FS: 00007f4b89ed5700(0000) GS:ffff880476400000(0000) knlGS:0000000000000000
[ 666.838291] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 666.838291] CR2: 00007ffe16ac3190 CR3: 00000004641e9000 CR4: 00000000003406f0
[ 666.838292] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 666.838293] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 666.838293] Stack:
[ 666.838294] ffff8804523d6900 0000000000000000 ffffffff818c08e8 ffffffff818c08e8
[ 666.838295] ffffffff818c08e8 ffff880451ae7e30 0000000000008b36 ffffffffa17cecc0
[ 666.838296] ffffffff81617d37 ffff880464088000 ffff880400000024 ffff880464088000
[ 666.838297] Call Trace:
[ 666.838313] [] ioctl_standard_iw_point+0x157/0x3d0
[ 666.838315] [] ioctl_standard_call+0xa3/0xd0
[ 666.838317] [] wext_handle_ioctl+0x65/0xc0
[ 666.838319] [] dev_ioctl+0x2e5/0x5a0
[ 666.838322] [] sock_ioctl+0x134/0x2d0
[ 666.838325] [] do_vfs_ioctl+0x30c/0x570
[ 666.838330] [] SyS_ioctl+0x74/0x80
[ 666.838332] [] entry_SYSCALL_64_fastpath+0x16/0x71
[ 666.839128] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x16/0x71
[ 666.839129] Leftover inexact backtrace:
[ 666.839130] Code: ff 89 d8 5b 5d 41 5c 41 5d c3 48 85 ed 0f 84 8f 00 00 00 48 83 3d 93 39 05 00 02 76 0e 48 83 3d 31 bc 07 00 00 0f 84 93 00 00 00 <8b> 45 00 83 f8 03 74 5b 83 f8 02 74 60 83 f8 01 0f 94 c0 0f b6
[ 666.839143] RIP [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.839150] RSP
[ 666.839150] CR2: 00007ffe16ac3190
[ 666.839152] ---[ end trace 5e5c2dca924e8b7b ]---
[ 666.839153] BUG: sleeping function called from invalid context at ../include/linux/sched.h:2901
[ 666.839154] in_atomic(): 0, irqs_disabled(): 1, pid: 4679, name: wpa_supplicant
[ 666.839155] CPU: 0 PID: 4679 Comm: wpa_supplicant Tainted: P D O 4.4.92-31-default #1
[ 666.839155] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 666.839156] 0000000000000000 ffffffff8133a1b7 ffff8804150ad4c0 0000000000001247
[ 666.839157] ffffffff8108fd31 0000000000000046 0000000000000009 0000000000001247
[ 666.839159] ffffffff81083121 ffffffff00000000 0000000000000010 ffff880451ae7b08
[ 666.839160] Call Trace:
[ 666.839164] [] dump_trace+0x59/0x320
[ 666.839165] [] show_stack_log_lvl+0xfa/0x180
[ 666.839167] [] show_stack+0x21/0x40
[ 666.839169] [] dump_stack+0x5c/0x85
[ 666.839172] [] exit_signals+0x21/0x130
[ 666.839174] [] do_exit+0xb1/0xb60
[ 666.839176] [] oops_end+0x9c/0xd0
[ 666.839178] [] no_context+0x107/0x370
[ 666.839180] [] __do_page_fault+0x7f/0x4e0
[ 666.839181] [] do_page_fault+0x2b/0x70
[ 666.839183] [] page_fault+0x28/0x30
[ 666.839977] DWARF2 unwinder stuck at page_fault+0x28/0x30
[ 666.839978] Leftover inexact backtrace:
[ 666.839985] [] ? rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.839990] [] ? rt_ioctl_siwpmksa+0x34/0x130 [mt7650u_sta]
[ 666.839995] [] ? rt_ioctl_siwencodeext+0x190/0x190 [mt7650u_sta]
[ 666.839997] [] ? ioctl_standard_iw_point+0x157/0x3d0
[ 666.839998] [] ? terminate_walk+0x5e/0xc0
[ 666.839999] [] ? path_openat+0x2e9/0x12e0
[ 666.840000] [] ? ioctl_standard_call+0xa3/0xd0
[ 666.840001] [] ? wext_handle_ioctl+0x65/0xc0
[ 666.840003] [] ? dev_ioctl+0x2e5/0x5a0
[ 666.840004] [] ? sock_ioctl+0x134/0x2d0
[ 666.840005] [] ? do_vfs_ioctl+0x30c/0x570
[ 666.840007] [] ? rw_verify_area+0x49/0xc0
[ 666.840008] [] ? vfs_read+0x7a/0x120
[ 666.840009] [] ? SyS_ioctl+0x74/0x80
[ 666.840010] [] ? entry_SYSCALL_64_fastpath+0x16/0x71
[/CODE]
After performing " cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat", I am able to see ra0.
However, it will get hung once it tries to join to wireless network SSID
I tried both master and 'linux-4.10' branch, the errors are the same
--------------------------------------
openSuse Leap 42.3, master branch
--------------------------------------
[CODE]# ifconfig ra0 up
# iwpriv ra0 set NetworkType=Infra
# iwpriv ra0 set AuthMode=WPA2PSK
# iwpriv ra0 set SSID="MYSSID"
# iwpriv ra0 set WPAPSK="MYPASSWORD"
# iwpriv ra0 set WPA2PSK="MYPASSWORD"
# iwpriv ra0 get_site_survey
ra0 get_site_survey:
Ch SSID BSSID Security Siganl(%)W-Mode ExtCH NT
# iwpriv ra0 stat
ra0 stat:
Tx success = 32
Tx retry count = 0, PER=0.0%
Tx fail to Rcv ACK after retry = 0, PLR=0.00%
Rx success = 1366
Rx with CRC = 577, PER=29.6%
Rx drop due to out of resource = 0
Rx duplicate frame = 0
False CCA = 54625
RSSI = 0 0 0
SNR-A = 0
SNR-B (if available) = 0
WpaSupplicantUP = 1
# iwconfig
lo no wireless extensions.
vmnet1 no wireless extensions.
eth1 no wireless extensions.
vmnet8 no wireless extensions.
ra0 Ralink STA ESSID:"11n-AP" Nickname:"MT7610U_STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig ra0
ra0 Link encap:Ethernet HWaddr C0:25:E9:2C:AE:FC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1366 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:366027 (357.4 Kb) TX bytes:3244 (3.1 Kb)
# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="MYSSID"
key_mgmt=WPA-PSK
pairwise=CCMP
proto=RSN
psk="MYPASSWORD"
auth_alg=OPEN
}
# wpa_supplicant -Dwext -ira0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d
wpa_supplicant v2.2
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'ra0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
Priority group 0
id=0 ssid='MYSSID'
Killed
# dmesg
dmesg
[ 437.045139] rtusb init rt2870 --->
[ 437.045200] usbcore: registered new interface driver rt2870
[ 451.612657] usb 1-11: new high-speed USB device number 4 using xhci_hcd
[ 451.756926] usb 1-11: New USB device found, idVendor=148f, idProduct=761a
[ 451.756933] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 451.756936] usb 1-11: Product: WiFi
[ 451.756938] usb 1-11: Manufacturer: MediaTek
[ 451.756940] usb 1-11: SerialNumber: 1.0
[ 451.758017]
=== pAd = ffffc90003831000, size = 895280 ===
[ 451.758140] <-- RTMPAllocTxRxRingMemory, Status=0
[ 451.758355] <-- RTMPAllocAdapterBlock, Status=0
[ 451.758475] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 451.759047] MCUType = 2
[ 451.759171] NVM is EFUSE
[ 451.759173] Endpoint(8) is for In-band Command
[ 451.759175] Endpoint(4) is for WMM0 AC0
[ 451.759176] Endpoint(5) is for WMM0 AC1
[ 451.759177] Endpoint(6) is for WMM0 AC2
[ 451.759178] Endpoint(7) is for WMM0 AC3
[ 451.759179] Endpoint(9) is for WMM1 AC0
[ 451.759180] Endpoint(84) is for Data-In
[ 451.759181] Endpoint(85) is for Command Rsp
[ 460.646087] -->RTUSBVenderReset
[ 460.646177] <--RTUSBVenderReset
[ 460.651140] fw version:0.1.00 build:7640
[ 460.651141] build time:201308221655____
[ 460.651141] ilm length = 68780(bytes)
[ 460.651142] dlm length = 11476(bytes)
[ 460.724638] #
[ 460.730662] loading fw......
[ 460.840598] #
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b2250!
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b22c8!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b2340!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b21d8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b2070!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b20e8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc90003844d48!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833b80!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833c00!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003844ed0!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844c58!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844e58!
[ 461.052723] cfg_mode=5
[ 461.052724] wmode_band_equal(): Band Not Equal!
[ 461.052818] Key1Str is Invalid key length(0) or Type(0)
[ 461.052825] Key2Str is Invalid key length(0) or Type(0)
[ 461.052831] Key3Str is Invalid key length(0) or Type(0)
[ 461.052851] Key4Str is Invalid key length(0) or Type(0)
[ 461.053017] 1. Phy Mode = 31
[ 461.053017] 2. Phy Mode = 31
[ 461.053017] NVM is Efuse and its size =1d[1e0-1fc]
[ 461.062111] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 461.063708] Temperature Tx ALC not enabled
[ 461.069320] 3. Phy Mode = 31
[ 461.069321] AntCfgInit: primary/secondary ant 0/1
[ 461.074116] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 461.074871] MCS Set = ff 00 00 00 01
[ 461.084819] <==== rt28xx_init, Status=0
[ 461.085260] 0x1300 = 00064300
[ 461.085260] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 461.085301] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 461.285862] userif-3: sent link down event.
[ 461.285867] userif-3: sent link up event.
ajie@linux-j6fj:/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_linux-4.10> dmesg
[ 437.045139] rtusb init rt2870 --->
[ 437.045200] usbcore: registered new interface driver rt2870
[ 451.612657] usb 1-11: new high-speed USB device number 4 using xhci_hcd
[ 451.756926] usb 1-11: New USB device found, idVendor=148f, idProduct=761a
[ 451.756933] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 451.756936] usb 1-11: Product: WiFi
[ 451.756938] usb 1-11: Manufacturer: MediaTek
[ 451.756940] usb 1-11: SerialNumber: 1.0
[ 451.758017]
=== pAd = ffffc90003831000, size = 895280 ===
[ 451.758140] <-- RTMPAllocTxRxRingMemory, Status=0
[ 451.758355] <-- RTMPAllocAdapterBlock, Status=0
[ 451.758475] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 451.759047] MCUType = 2
[ 451.759171] NVM is EFUSE
[ 451.759173] Endpoint(8) is for In-band Command
[ 451.759175] Endpoint(4) is for WMM0 AC0
[ 451.759176] Endpoint(5) is for WMM0 AC1
[ 451.759177] Endpoint(6) is for WMM0 AC2
[ 451.759178] Endpoint(7) is for WMM0 AC3
[ 451.759179] Endpoint(9) is for WMM1 AC0
[ 451.759180] Endpoint(84) is for Data-In
[ 451.759181] Endpoint(85) is for Command Rsp
[ 460.646087] -->RTUSBVenderReset
[ 460.646177] <--RTUSBVenderReset
[ 460.651140] fw version:0.1.00 build:7640
[ 460.651141] build time:201308221655____
[ 460.651141] ilm length = 68780(bytes)
[ 460.651142] dlm length = 11476(bytes)
[ 460.724638] #
[ 460.730662] loading fw......
[ 460.840598] #
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b2250!
[ 461.050956] RTMP_TimerListAdd: add timer obj ffffc900038b22c8!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b2340!
[ 461.050957] RTMP_TimerListAdd: add timer obj ffffc900038b21d8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b2070!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc900038b20e8!
[ 461.050958] RTMP_TimerListAdd: add timer obj ffffc90003844d48!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833b80!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003833c00!
[ 461.050959] RTMP_TimerListAdd: add timer obj ffffc90003844ed0!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844c58!
[ 461.050960] RTMP_TimerListAdd: add timer obj ffffc90003844e58!
[ 461.052723] cfg_mode=5
[ 461.052724] wmode_band_equal(): Band Not Equal!
[ 461.052818] Key1Str is Invalid key length(0) or Type(0)
[ 461.052825] Key2Str is Invalid key length(0) or Type(0)
[ 461.052831] Key3Str is Invalid key length(0) or Type(0)
[ 461.052851] Key4Str is Invalid key length(0) or Type(0)
[ 461.053017] 1. Phy Mode = 31
[ 461.053017] 2. Phy Mode = 31
[ 461.053017] NVM is Efuse and its size =1d[1e0-1fc]
[ 461.062111] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 461.063708] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 461.063708] Temperature Tx ALC not enabled
[ 461.069320] 3. Phy Mode = 31
[ 461.069321] AntCfgInit: primary/secondary ant 0/1
[ 461.074116] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 461.074871] MCS Set = ff 00 00 00 01
[ 461.084819] <==== rt28xx_init, Status=0
[ 461.085260] 0x1300 = 00064300
[ 461.085260] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 461.085301] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 461.285862] userif-3: sent link down event.
[ 461.285867] userif-3: sent link up event.
[ 666.838231] BUG: unable to handle kernel paging request at 00007ffe16ac3190
[ 666.838234] IP: [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.838244] PGD 437408067 PUD 41587e067 PMD 450b88067 PTE 80000003c32d6867
[ 666.838246] Oops: 0001 [#1] SMP
[ 666.838247] Modules linked in: mt7650u_sta(O) ip6table_filter ip6_tables iptable_filter ip_tables x_tables vmnet(O) ppdev parport_pc parport bnep vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) tun af_packet nvidia_modeset(PO) vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) iscsi_ibft iscsi_boot_sysfs msr btrfs xor snd_hda_codec_hdmi fuse intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass raid6_pq crct10dif_pclmul crc32_pclmul crc32c_intel joydev ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm_oss snd_pcm snd_seq iTCO_wdt iTCO_vendor_support drbg ansi_cprng snd_seq_device snd_timer snd_mixer_oss aesni_intel hci_uart btbcm btqca nvidia(PO) aes_x86_64 btintel alx lrw gf128mul glue_helper i2c_i801
[ 666.838263] ablk_helper pcspkr cryptd bluetooth snd mdio battery rfkill pinctrl_sunrisepoint soundcore pinctrl_intel intel_lpss_acpi intel_lpss mfd_core mei_me mei shpchp tpm_infineon acpi_pad fjes acpi_als kfifo_buf industrialio ext4 crc16 jbd2 mbcache hid_logitech_hidpp hid_logitech_dj usbhid sr_mod cdrom sd_mod mxm_wmi ahci libahci xhci_pci xhci_hcd usbcore usb_common libata wmi video i2c_hid button fan processor thermal sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_mod loop autofs4
[ 666.838276] CPU: 0 PID: 4679 Comm: wpa_supplicant Tainted: P O 4.4.92-31-default #1
[ 666.838277] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 666.838278] task: ffff8804150ad4c0 ti: ffff880451ae4000 task.ti: ffff880451ae4000
[ 666.838278] RIP: 0010:[] [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.838286] RSP: 0018:ffff880451ae7cc8 EFLAGS: 00010297
[ 666.838287] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8800805e6200
[ 666.838287] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc90003831000
[ 666.838288] RBP: 00007ffe16ac3190 R08: 0000000000000000 R09: 0000000000000000
[ 666.838289] R10: 000000000001d590 R11: 0000000000000246 R12: ffffc90003831000
[ 666.838289] R13: ffff880464088000 R14: 0000000000000000 R15: ffff88007c96e9c0
[ 666.838290] FS: 00007f4b89ed5700(0000) GS:ffff880476400000(0000) knlGS:0000000000000000
[ 666.838291] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 666.838291] CR2: 00007ffe16ac3190 CR3: 00000004641e9000 CR4: 00000000003406f0
[ 666.838292] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 666.838293] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 666.838293] Stack:
[ 666.838294] ffff8804523d6900 0000000000000000 ffffffff818c08e8 ffffffff818c08e8
[ 666.838295] ffffffff818c08e8 ffff880451ae7e30 0000000000008b36 ffffffffa17cecc0
[ 666.838296] ffffffff81617d37 ffff880464088000 ffff880400000024 ffff880464088000
[ 666.838297] Call Trace:
[ 666.838313] [] ioctl_standard_iw_point+0x157/0x3d0
[ 666.838315] [] ioctl_standard_call+0xa3/0xd0
[ 666.838317] [] wext_handle_ioctl+0x65/0xc0
[ 666.838319] [] dev_ioctl+0x2e5/0x5a0
[ 666.838322] [] sock_ioctl+0x134/0x2d0
[ 666.838325] [] do_vfs_ioctl+0x30c/0x570
[ 666.838330] [] SyS_ioctl+0x74/0x80
[ 666.838332] [] entry_SYSCALL_64_fastpath+0x16/0x71
[ 666.839128] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x16/0x71
[ 666.839129] Leftover inexact backtrace:
[ 666.839130] Code: ff 89 d8 5b 5d 41 5c 41 5d c3 48 85 ed 0f 84 8f 00 00 00 48 83 3d 93 39 05 00 02 76 0e 48 83 3d 31 bc 07 00 00 0f 84 93 00 00 00 <8b> 45 00 83 f8 03 74 5b 83 f8 02 74 60 83 f8 01 0f 94 c0 0f b6
[ 666.839143] RIP [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.839150] RSP
[ 666.839150] CR2: 00007ffe16ac3190
[ 666.839152] ---[ end trace 5e5c2dca924e8b7b ]---
[ 666.839153] BUG: sleeping function called from invalid context at ../include/linux/sched.h:2901
[ 666.839154] in_atomic(): 0, irqs_disabled(): 1, pid: 4679, name: wpa_supplicant
[ 666.839155] CPU: 0 PID: 4679 Comm: wpa_supplicant Tainted: P D O 4.4.92-31-default #1
[ 666.839155] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 666.839156] 0000000000000000 ffffffff8133a1b7 ffff8804150ad4c0 0000000000001247
[ 666.839157] ffffffff8108fd31 0000000000000046 0000000000000009 0000000000001247
[ 666.839159] ffffffff81083121 ffffffff00000000 0000000000000010 ffff880451ae7b08
[ 666.839160] Call Trace:
[ 666.839164] [] dump_trace+0x59/0x320
[ 666.839165] [] show_stack_log_lvl+0xfa/0x180
[ 666.839167] [] show_stack+0x21/0x40
[ 666.839169] [] dump_stack+0x5c/0x85
[ 666.839172] [] exit_signals+0x21/0x130
[ 666.839174] [] do_exit+0xb1/0xb60
[ 666.839176] [] oops_end+0x9c/0xd0
[ 666.839178] [] no_context+0x107/0x370
[ 666.839180] [] __do_page_fault+0x7f/0x4e0
[ 666.839181] [] do_page_fault+0x2b/0x70
[ 666.839183] [] page_fault+0x28/0x30
[ 666.839977] DWARF2 unwinder stuck at page_fault+0x28/0x30
[ 666.839978] Leftover inexact backtrace:
[ 666.839985] [] ? rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 666.839990] [] ? rt_ioctl_siwpmksa+0x34/0x130 [mt7650u_sta]
[ 666.839995] [] ? rt_ioctl_siwencodeext+0x190/0x190 [mt7650u_sta]
[ 666.839997] [] ? ioctl_standard_iw_point+0x157/0x3d0
[ 666.839998] [] ? terminate_walk+0x5e/0xc0
[ 666.839999] [] ? path_openat+0x2e9/0x12e0
[ 666.840000] [] ? ioctl_standard_call+0xa3/0xd0
[ 666.840001] [] ? wext_handle_ioctl+0x65/0xc0
[ 666.840003] [] ? dev_ioctl+0x2e5/0x5a0
[ 666.840004] [] ? sock_ioctl+0x134/0x2d0
[ 666.840005] [] ? do_vfs_ioctl+0x30c/0x570
[ 666.840007] [] ? rw_verify_area+0x49/0xc0
[ 666.840008] [] ? vfs_read+0x7a/0x120
[ 666.840009] [] ? SyS_ioctl+0x74/0x80
[ 666.840010] [] ? entry_SYSCALL_64_fastpath+0x16/0x71
[/CODE]
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#7
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-10 15:22:40
----------------------------------------------
openSuse Leap 42.3, with branch 'linux-4.10'
----------------------------------------------
[CODE]# git checkout linux-4.10
Branch 'linux-4.10' set up to track remote branch 'linux-4.10' from 'origin'.
Switched to a new branch 'linux-4.10'
# git checkout
Your branch is up to date with 'origin/linux-4.10'.
# make
# make install
# cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
# modprobe mt7650u_sta
# ifconfig ra0 up
# iwpriv ra0 set NetworkType=Infra
# iwpriv ra0 set AuthMode=WPA2PSK
# iwpriv ra0 set SSID="MYSSID"
# iwpriv ra0 set WPAPSK="MYPASSWORD"
# iwpriv ra0 set WPA2PSK="MYPASSWORD"
# wpa_supplicant -Dwext -ira0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d
wpa_supplicant v2.2
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'ra0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
Priority group 0
id=0 ssid='MYSSID'
Killed
# dmesg
[ 79.963582] rtusb init rt2870 --->
[ 79.963645] usbcore: registered new interface driver rt2870
[ 88.378868] usb 1-5.3: new high-speed USB device number 4 using xhci_hcd
[ 88.494920] usb 1-5.3: New USB device found, idVendor=148f, idProduct=761a
[ 88.494927] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 88.494929] usb 1-5.3: Product: WiFi
[ 88.494931] usb 1-5.3: Manufacturer: MediaTek
[ 88.494933] usb 1-5.3: SerialNumber: 1.0
[ 88.495938]
=== pAd = ffffc90003851000, size = 895280 ===
[ 88.496064] <-- RTMPAllocTxRxRingMemory, Status=0
[ 88.496288] <-- RTMPAllocAdapterBlock, Status=0
[ 88.496411] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 88.497220] MCUType = 2
[ 88.497346] NVM is EFUSE
[ 88.497349] Endpoint(8) is for In-band Command
[ 88.497350] Endpoint(4) is for WMM0 AC0
[ 88.497351] Endpoint(5) is for WMM0 AC1
[ 88.497352] Endpoint(6) is for WMM0 AC2
[ 88.497353] Endpoint(7) is for WMM0 AC3
[ 88.497354] Endpoint(9) is for WMM1 AC0
[ 88.497355] Endpoint(84) is for Data-In
[ 88.497356] Endpoint(85) is for Command Rsp
[ 154.806756] -->RTUSBVenderReset
[ 154.806858] <--RTUSBVenderReset
[ 154.811828] fw version:0.1.00 build:7640
[ 154.811832] build time:201308221655____
[ 154.811833] ilm length = 68780(bytes)
[ 154.811834] dlm length = 11476(bytes)
[ 154.885080] #
[ 154.891235] loading fw......
[ 155.001069] #
[ 155.215434] RTMP_TimerListAdd: add timer obj ffffc900038d2250!
[ 155.215435] RTMP_TimerListAdd: add timer obj ffffc900038d22c8!
[ 155.215436] RTMP_TimerListAdd: add timer obj ffffc900038d2340!
[ 155.215436] RTMP_TimerListAdd: add timer obj ffffc900038d21d8!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc900038d2070!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc900038d20e8!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc90003864d48!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc90003853b80!
[ 155.215438] RTMP_TimerListAdd: add timer obj ffffc90003853c00!
[ 155.215438] RTMP_TimerListAdd: add timer obj ffffc90003864ed0!
[ 155.215439] RTMP_TimerListAdd: add timer obj ffffc90003864c58!
[ 155.215439] RTMP_TimerListAdd: add timer obj ffffc90003864e58!
[ 155.217214] cfg_mode=5
[ 155.217216] wmode_band_equal(): Band Not Equal!
[ 155.217314] Key1Str is Invalid key length(0) or Type(0)
[ 155.217335] Key2Str is Invalid key length(0) or Type(0)
[ 155.217342] Key3Str is Invalid key length(0) or Type(0)
[ 155.217349] Key4Str is Invalid key length(0) or Type(0)
[ 155.217517] 1. Phy Mode = 31
[ 155.217518] 2. Phy Mode = 31
[ 155.217519] NVM is Efuse and its size =1d[1e0-1fc]
[ 155.221859] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_linux-4.10/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 155.225797] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 155.227457] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 155.227458] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 155.227458] Temperature Tx ALC not enabled
[ 155.233086] 3. Phy Mode = 31
[ 155.233087] AntCfgInit: primary/secondary ant 0/1
[ 155.237627] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 155.238429] MCS Set = ff 00 00 00 01
[ 155.248367] <==== rt28xx_init, Status=0
[ 155.249964] 0x1300 = 00064300
[ 155.249965] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 155.250525] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 155.250916] BUG: unable to handle kernel paging request at 00007ffc211f08c0
[ 155.250918] IP: [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.250929] PGD 4101eb067 PUD 454640067 PMD 410163067 PTE 80000003fa823867
[ 155.250931] Oops: 0001 [#1] SMP
[ 155.250932] Modules linked in: mt7650u_sta(O) ip6table_filter ip6_tables iptable_filter ip_tables x_tables bnep vmnet(O) ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) tun nvidia_modeset(PO) af_packet vboxpci(O) vboxnetadp(O) vboxnetflt(O) iscsi_ibft iscsi_boot_sysfs vboxdrv(O) msr snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel btrfs kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel fuse xor ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep raid6_pq snd_pcm_oss drbg ansi_cprng snd_pcm snd_seq joydev hid_logitech_hidpp snd_seq_device snd_timer hci_uart btbcm btqca alx btintel iTCO_wdt snd_mixer_oss bluetooth aesni_intel iTCO_vendor_support aes_x86_64 intel_lpss_acpi
[ 155.250961] lrw rfkill gf128mul glue_helper snd ablk_helper cryptd nvidia(PO) pcspkr i2c_i801 mdio pinctrl_sunrisepoint intel_lpss battery soundcore pinctrl_intel mfd_core mei_me mei shpchp acpi_pad tpm_infineon acpi_als fjes kfifo_buf industrialio ext4 crc16 jbd2 mbcache hid_logitech_dj usbhid sr_mod cdrom sd_mod mxm_wmi xhci_pci ahci xhci_hcd libahci usbcore usb_common libata wmi video i2c_hid button fan processor thermal sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_mod loop autofs4
[ 155.250975] CPU: 3 PID: 3165 Comm: wpa_supplicant Tainted: P O 4.4.92-31-default #1
[ 155.250976] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 155.250977] task: ffff8804536c8940 ti: ffff8804647d0000 task.ti: ffff8804647d0000
[ 155.250978] RIP: 0010:[] [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.250986] RSP: 0018:ffff8804647d3cc8 EFLAGS: 00010297
[ 155.250986] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff880453125c00
[ 155.250987] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc90003851000
[ 155.250988] RBP: 00007ffc211f08c0 R08: 0000000000000000 R09: 0000000000000000
[ 155.250988] R10: 000000000001d590 R11: 0000000000000246 R12: ffffc90003851000
[ 155.250989] R13: ffff8804605ab000 R14: 0000000000000000 R15: ffff880452f00a40
[ 155.250990] FS: 00007f730cb71700(0000) GS:ffff880476580000(0000) knlGS:0000000000000000
[ 155.250990] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 155.250991] CR2: 00007ffc211f08c0 CR3: 0000000435361000 CR4: 00000000003406e0
[ 155.250992] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 155.250992] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 155.250993] Stack:
[ 155.250993] ffff8804526ffa00 ffffffff815ae449 ffffffff818c08e8 ffffffff818c08e8
[ 155.250995] ffffffff818c08e8 ffff8804647d3e30 0000000000008b36 ffffffffa1828ca0
[ 155.250996] ffffffff81617d37 ffff8804605ab000 ffff880400000024 ffff8804605ab000
[ 155.250997] Call Trace:
[ 155.251012] [] ioctl_standard_iw_point+0x157/0x3d0
[ 155.251015] [] ioctl_standard_call+0xa3/0xd0
[ 155.251017] [] wext_handle_ioctl+0x65/0xc0
[ 155.251019] [] dev_ioctl+0x2e5/0x5a0
[ 155.251022] [] sock_ioctl+0x134/0x2d0
[ 155.251039] [] do_vfs_ioctl+0x30c/0x570
[ 155.251044] [] SyS_ioctl+0x74/0x80
[ 155.251047] [] entry_SYSCALL_64_fastpath+0x16/0x71
[ 155.251899] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x16/0x71
[ 155.251900] Leftover inexact backtrace:
[ 155.251901] Code: ff 89 d8 5b 5d 41 5c 41 5d c3 48 85 ed 0f 84 8f 00 00 00 48 83 3d b3 49 05 00 02 76 0e 48 83 3d 51 cc 07 00 00 0f 84 93 00 00 00 <8b> 45 00 83 f8 03 74 5b 83 f8 02 74 60 83 f8 01 0f 94 c0 0f b6
[ 155.251914] RIP [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.251922] RSP
[ 155.251923] CR2: 00007ffc211f08c0
[ 155.251924] ---[ end trace 76ad5fab4fa89b5d ]---
[ 155.251925] BUG: sleeping function called from invalid context at ../include/linux/sched.h:2901
[ 155.251926] in_atomic(): 0, irqs_disabled(): 1, pid: 3165, name: wpa_supplicant
[ 155.251927] CPU: 3 PID: 3165 Comm: wpa_supplicant Tainted: P D O 4.4.92-31-default #1
[ 155.251927] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 155.251928] 0000000000000000 ffffffff8133a1b7 ffff8804536c8940 0000000000000c5d
[ 155.251929] ffffffff8108fd31 0000000000000046 0000000000000009 0000000000000c5d
[ 155.251930] ffffffff81083121 ffffffff00000000 0000000000000010 ffff8804647d3b08
[ 155.251932] Call Trace:
[ 155.251935] [] dump_trace+0x59/0x320
[ 155.251937] [] show_stack_log_lvl+0xfa/0x180
[ 155.251939] [] show_stack+0x21/0x40
[ 155.251941] [] dump_stack+0x5c/0x85
[ 155.251943] [] exit_signals+0x21/0x130
[ 155.251945] [] do_exit+0xb1/0xb60
[ 155.251947] [] oops_end+0x9c/0xd0
[ 155.251949] [] no_context+0x107/0x370
[ 155.251951] [] __do_page_fault+0x7f/0x4e0
[ 155.251953] [] do_page_fault+0x2b/0x70
[ 155.251955] [] page_fault+0x28/0x30
[ 155.252748] DWARF2 unwinder stuck at page_fault+0x28/0x30
[ 155.252749] Leftover inexact backtrace:
[ 155.252757] [] ? rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.252763] [] ? rt_ioctl_siwpmksa+0x34/0x130 [mt7650u_sta]
[ 155.252764] [] ? ip_mc_up+0x39/0x70
[ 155.252770] [] ? rt_ioctl_siwencodeext+0x190/0x190 [mt7650u_sta]
[ 155.252771] [] ? ioctl_standard_iw_point+0x157/0x3d0
[ 155.252773] [] ? notifier_call_chain+0x44/0x70
[ 155.252790] [] ? ioctl_standard_call+0xa3/0xd0
[ 155.252792] [] ? wext_handle_ioctl+0x65/0xc0
[ 155.252793] [] ? dev_ioctl+0x2e5/0x5a0
[ 155.252795] [] ? sock_ioctl+0x134/0x2d0
[ 155.252796] [] ? do_vfs_ioctl+0x30c/0x570
[ 155.252797] [] ? task_work_run+0x8a/0xa0
[ 155.252801] [] ? SyS_ioctl+0x74/0x80
[ 155.252803] [] ? entry_SYSCALL_64_fastpath+0x16/0x71
[ 155.451177] userif-3: sent link down event.
[ 155.451187] userif-3: sent link up event.
If I remove the TP-Link USB, I will get a lot of error "receive cmd msg fail(-71)"
# dmesg
...
...
[ 268.159426] receive cmd msg fail(-71)
[ 268.159506] receive cmd msg fail(-71)
[ 268.159586] receive cmd msg fail(-71)
[ 268.159666] receive cmd msg fail(-71)
[ 268.159746] receive cmd msg fail(-71)
[ 268.159826] receive cmd msg fail(-71)
[ 268.159906] receive cmd msg fail(-71)
[ 268.159986] receive cmd msg fail(-71)
[ 268.160066] receive cmd msg fail(-71)
[ 268.160129] usb 1-5.3: USB disconnect, device number 4
[ 268.160146] receive cmd msg fail(-71)
[ 268.160147] usb_rx_cmd_msg_complete:submit urb fail(-19)
[ 268.160149] usb_rx_cmd_msg_submit:submit urb fail(-19)
[ 268.160201] rtusb_disconnect: unregister usbnet usb-0000:00:14.0-5.3
[ 268.160203] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 268.161679] #
[ 268.166646] #
[ 268.166647] RTUSB_VendorRequest failed(-19),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080102
[ 268.166647] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x31080102) on !
[/CODE]
openSuse Leap 42.3, with branch 'linux-4.10'
----------------------------------------------
[CODE]# git checkout linux-4.10
Branch 'linux-4.10' set up to track remote branch 'linux-4.10' from 'origin'.
Switched to a new branch 'linux-4.10'
# git checkout
Your branch is up to date with 'origin/linux-4.10'.
# make
# make install
# cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
# modprobe mt7650u_sta
# ifconfig ra0 up
# iwpriv ra0 set NetworkType=Infra
# iwpriv ra0 set AuthMode=WPA2PSK
# iwpriv ra0 set SSID="MYSSID"
# iwpriv ra0 set WPAPSK="MYPASSWORD"
# iwpriv ra0 set WPA2PSK="MYPASSWORD"
# wpa_supplicant -Dwext -ira0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d
wpa_supplicant v2.2
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'ra0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
Priority group 0
id=0 ssid='MYSSID'
Killed
# dmesg
[ 79.963582] rtusb init rt2870 --->
[ 79.963645] usbcore: registered new interface driver rt2870
[ 88.378868] usb 1-5.3: new high-speed USB device number 4 using xhci_hcd
[ 88.494920] usb 1-5.3: New USB device found, idVendor=148f, idProduct=761a
[ 88.494927] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 88.494929] usb 1-5.3: Product: WiFi
[ 88.494931] usb 1-5.3: Manufacturer: MediaTek
[ 88.494933] usb 1-5.3: SerialNumber: 1.0
[ 88.495938]
=== pAd = ffffc90003851000, size = 895280 ===
[ 88.496064] <-- RTMPAllocTxRxRingMemory, Status=0
[ 88.496288] <-- RTMPAllocAdapterBlock, Status=0
[ 88.496411] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 88.497220] MCUType = 2
[ 88.497346] NVM is EFUSE
[ 88.497349] Endpoint(8) is for In-band Command
[ 88.497350] Endpoint(4) is for WMM0 AC0
[ 88.497351] Endpoint(5) is for WMM0 AC1
[ 88.497352] Endpoint(6) is for WMM0 AC2
[ 88.497353] Endpoint(7) is for WMM0 AC3
[ 88.497354] Endpoint(9) is for WMM1 AC0
[ 88.497355] Endpoint(84) is for Data-In
[ 88.497356] Endpoint(85) is for Command Rsp
[ 154.806756] -->RTUSBVenderReset
[ 154.806858] <--RTUSBVenderReset
[ 154.811828] fw version:0.1.00 build:7640
[ 154.811832] build time:201308221655____
[ 154.811833] ilm length = 68780(bytes)
[ 154.811834] dlm length = 11476(bytes)
[ 154.885080] #
[ 154.891235] loading fw......
[ 155.001069] #
[ 155.215434] RTMP_TimerListAdd: add timer obj ffffc900038d2250!
[ 155.215435] RTMP_TimerListAdd: add timer obj ffffc900038d22c8!
[ 155.215436] RTMP_TimerListAdd: add timer obj ffffc900038d2340!
[ 155.215436] RTMP_TimerListAdd: add timer obj ffffc900038d21d8!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc900038d2070!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc900038d20e8!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc90003864d48!
[ 155.215437] RTMP_TimerListAdd: add timer obj ffffc90003853b80!
[ 155.215438] RTMP_TimerListAdd: add timer obj ffffc90003853c00!
[ 155.215438] RTMP_TimerListAdd: add timer obj ffffc90003864ed0!
[ 155.215439] RTMP_TimerListAdd: add timer obj ffffc90003864c58!
[ 155.215439] RTMP_TimerListAdd: add timer obj ffffc90003864e58!
[ 155.217214] cfg_mode=5
[ 155.217216] wmode_band_equal(): Band Not Equal!
[ 155.217314] Key1Str is Invalid key length(0) or Type(0)
[ 155.217335] Key2Str is Invalid key length(0) or Type(0)
[ 155.217342] Key3Str is Invalid key length(0) or Type(0)
[ 155.217349] Key4Str is Invalid key length(0) or Type(0)
[ 155.217517] 1. Phy Mode = 31
[ 155.217518] 2. Phy Mode = 31
[ 155.217519] NVM is Efuse and its size =1d[1e0-1fc]
[ 155.221859] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_linux-4.10/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 155.225797] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 155.227457] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 155.227458] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 155.227458] Temperature Tx ALC not enabled
[ 155.233086] 3. Phy Mode = 31
[ 155.233087] AntCfgInit: primary/secondary ant 0/1
[ 155.237627] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 155.238429] MCS Set = ff 00 00 00 01
[ 155.248367] <==== rt28xx_init, Status=0
[ 155.249964] 0x1300 = 00064300
[ 155.249965] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 155.250525] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 155.250916] BUG: unable to handle kernel paging request at 00007ffc211f08c0
[ 155.250918] IP: [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.250929] PGD 4101eb067 PUD 454640067 PMD 410163067 PTE 80000003fa823867
[ 155.250931] Oops: 0001 [#1] SMP
[ 155.250932] Modules linked in: mt7650u_sta(O) ip6table_filter ip6_tables iptable_filter ip_tables x_tables bnep vmnet(O) ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) tun nvidia_modeset(PO) af_packet vboxpci(O) vboxnetadp(O) vboxnetflt(O) iscsi_ibft iscsi_boot_sysfs vboxdrv(O) msr snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel btrfs kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel fuse xor ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep raid6_pq snd_pcm_oss drbg ansi_cprng snd_pcm snd_seq joydev hid_logitech_hidpp snd_seq_device snd_timer hci_uart btbcm btqca alx btintel iTCO_wdt snd_mixer_oss bluetooth aesni_intel iTCO_vendor_support aes_x86_64 intel_lpss_acpi
[ 155.250961] lrw rfkill gf128mul glue_helper snd ablk_helper cryptd nvidia(PO) pcspkr i2c_i801 mdio pinctrl_sunrisepoint intel_lpss battery soundcore pinctrl_intel mfd_core mei_me mei shpchp acpi_pad tpm_infineon acpi_als fjes kfifo_buf industrialio ext4 crc16 jbd2 mbcache hid_logitech_dj usbhid sr_mod cdrom sd_mod mxm_wmi xhci_pci ahci xhci_hcd libahci usbcore usb_common libata wmi video i2c_hid button fan processor thermal sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_mod loop autofs4
[ 155.250975] CPU: 3 PID: 3165 Comm: wpa_supplicant Tainted: P O 4.4.92-31-default #1
[ 155.250976] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 155.250977] task: ffff8804536c8940 ti: ffff8804647d0000 task.ti: ffff8804647d0000
[ 155.250978] RIP: 0010:[] [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.250986] RSP: 0018:ffff8804647d3cc8 EFLAGS: 00010297
[ 155.250986] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff880453125c00
[ 155.250987] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc90003851000
[ 155.250988] RBP: 00007ffc211f08c0 R08: 0000000000000000 R09: 0000000000000000
[ 155.250988] R10: 000000000001d590 R11: 0000000000000246 R12: ffffc90003851000
[ 155.250989] R13: ffff8804605ab000 R14: 0000000000000000 R15: ffff880452f00a40
[ 155.250990] FS: 00007f730cb71700(0000) GS:ffff880476580000(0000) knlGS:0000000000000000
[ 155.250990] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 155.250991] CR2: 00007ffc211f08c0 CR3: 0000000435361000 CR4: 00000000003406e0
[ 155.250992] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 155.250992] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 155.250993] Stack:
[ 155.250993] ffff8804526ffa00 ffffffff815ae449 ffffffff818c08e8 ffffffff818c08e8
[ 155.250995] ffffffff818c08e8 ffff8804647d3e30 0000000000008b36 ffffffffa1828ca0
[ 155.250996] ffffffff81617d37 ffff8804605ab000 ffff880400000024 ffff8804605ab000
[ 155.250997] Call Trace:
[ 155.251012] [] ioctl_standard_iw_point+0x157/0x3d0
[ 155.251015] [] ioctl_standard_call+0xa3/0xd0
[ 155.251017] [] wext_handle_ioctl+0x65/0xc0
[ 155.251019] [] dev_ioctl+0x2e5/0x5a0
[ 155.251022] [] sock_ioctl+0x134/0x2d0
[ 155.251039] [] do_vfs_ioctl+0x30c/0x570
[ 155.251044] [] SyS_ioctl+0x74/0x80
[ 155.251047] [] entry_SYSCALL_64_fastpath+0x16/0x71
[ 155.251899] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x16/0x71
[ 155.251900] Leftover inexact backtrace:
[ 155.251901] Code: ff 89 d8 5b 5d 41 5c 41 5d c3 48 85 ed 0f 84 8f 00 00 00 48 83 3d b3 49 05 00 02 76 0e 48 83 3d 51 cc 07 00 00 0f 84 93 00 00 00 <8b> 45 00 83 f8 03 74 5b 83 f8 02 74 60 83 f8 01 0f 94 c0 0f b6
[ 155.251914] RIP [] rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.251922] RSP
[ 155.251923] CR2: 00007ffc211f08c0
[ 155.251924] ---[ end trace 76ad5fab4fa89b5d ]---
[ 155.251925] BUG: sleeping function called from invalid context at ../include/linux/sched.h:2901
[ 155.251926] in_atomic(): 0, irqs_disabled(): 1, pid: 3165, name: wpa_supplicant
[ 155.251927] CPU: 3 PID: 3165 Comm: wpa_supplicant Tainted: P D O 4.4.92-31-default #1
[ 155.251927] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 155.251928] 0000000000000000 ffffffff8133a1b7 ffff8804536c8940 0000000000000c5d
[ 155.251929] ffffffff8108fd31 0000000000000046 0000000000000009 0000000000000c5d
[ 155.251930] ffffffff81083121 ffffffff00000000 0000000000000010 ffff8804647d3b08
[ 155.251932] Call Trace:
[ 155.251935] [] dump_trace+0x59/0x320
[ 155.251937] [] show_stack_log_lvl+0xfa/0x180
[ 155.251939] [] show_stack+0x21/0x40
[ 155.251941] [] dump_stack+0x5c/0x85
[ 155.251943] [] exit_signals+0x21/0x130
[ 155.251945] [] do_exit+0xb1/0xb60
[ 155.251947] [] oops_end+0x9c/0xd0
[ 155.251949] [] no_context+0x107/0x370
[ 155.251951] [] __do_page_fault+0x7f/0x4e0
[ 155.251953] [] do_page_fault+0x2b/0x70
[ 155.251955] [] page_fault+0x28/0x30
[ 155.252748] DWARF2 unwinder stuck at page_fault+0x28/0x30
[ 155.252749] Leftover inexact backtrace:
[ 155.252757] [] ? rt_ioctl_siwpmksa+0x85/0x130 [mt7650u_sta]
[ 155.252763] [] ? rt_ioctl_siwpmksa+0x34/0x130 [mt7650u_sta]
[ 155.252764] [] ? ip_mc_up+0x39/0x70
[ 155.252770] [] ? rt_ioctl_siwencodeext+0x190/0x190 [mt7650u_sta]
[ 155.252771] [] ? ioctl_standard_iw_point+0x157/0x3d0
[ 155.252773] [] ? notifier_call_chain+0x44/0x70
[ 155.252790] [] ? ioctl_standard_call+0xa3/0xd0
[ 155.252792] [] ? wext_handle_ioctl+0x65/0xc0
[ 155.252793] [] ? dev_ioctl+0x2e5/0x5a0
[ 155.252795] [] ? sock_ioctl+0x134/0x2d0
[ 155.252796] [] ? do_vfs_ioctl+0x30c/0x570
[ 155.252797] [] ? task_work_run+0x8a/0xa0
[ 155.252801] [] ? SyS_ioctl+0x74/0x80
[ 155.252803] [] ? entry_SYSCALL_64_fastpath+0x16/0x71
[ 155.451177] userif-3: sent link down event.
[ 155.451187] userif-3: sent link up event.
If I remove the TP-Link USB, I will get a lot of error "receive cmd msg fail(-71)"
# dmesg
...
...
[ 268.159426] receive cmd msg fail(-71)
[ 268.159506] receive cmd msg fail(-71)
[ 268.159586] receive cmd msg fail(-71)
[ 268.159666] receive cmd msg fail(-71)
[ 268.159746] receive cmd msg fail(-71)
[ 268.159826] receive cmd msg fail(-71)
[ 268.159906] receive cmd msg fail(-71)
[ 268.159986] receive cmd msg fail(-71)
[ 268.160066] receive cmd msg fail(-71)
[ 268.160129] usb 1-5.3: USB disconnect, device number 4
[ 268.160146] receive cmd msg fail(-71)
[ 268.160147] usb_rx_cmd_msg_complete:submit urb fail(-19)
[ 268.160149] usb_rx_cmd_msg_submit:submit urb fail(-19)
[ 268.160201] rtusb_disconnect: unregister usbnet usb-0000:00:14.0-5.3
[ 268.160203] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 268.161679] #
[ 268.166646] #
[ 268.166647] RTUSB_VendorRequest failed(-19),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080102
[ 268.166647] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x31080102) on !
[/CODE]
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#8
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-10 15:24:49
------------------------------------------------------------------------
Ubuntu 16.04 (master branch, with NetworkManager)
------------------------------------------------------------------------
[CODE]
# modprobe mt7650u_sta
(hang)
# dmesg
[ 1835.149981] rtusb init rt2870 --->
[ 1835.150228] usbcore: registered new interface driver rt2870
[ 1859.017245] usb 1-5.3: new high-speed USB device number 4 using xhci_hcd
[ 1859.133219] usb 1-5.3: New USB device found, idVendor=148f, idProduct=761a
[ 1859.133227] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1859.133231] usb 1-5.3: Product: WiFi
[ 1859.133235] usb 1-5.3: Manufacturer: MediaTek
[ 1859.133239] usb 1-5.3: SerialNumber: 1.0
[ 1859.134297]
=== pAd = ffffc90002ed5000, size = 895280 ===
[ 1859.134415] <-- RTMPAllocTxRxRingMemory, Status=0
[ 1859.134630] <-- RTMPAllocAdapterBlock, Status=0
[ 1859.134751] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 1859.135463] MCUType = 2
[ 1859.135591] NVM is EFUSE
[ 1859.135594] Endpoint(8) is for In-band Command
[ 1859.135597] Endpoint(4) is for WMM0 AC0
[ 1859.135600] Endpoint(5) is for WMM0 AC1
[ 1859.135602] Endpoint(6) is for WMM0 AC2
[ 1859.135604] Endpoint(7) is for WMM0 AC3
[ 1859.135606] Endpoint(9) is for WMM1 AC0
[ 1859.135609] Endpoint(84) is for Data-In
[ 1859.135611] Endpoint(85) is for Command Rsp
[ 1859.152902] cfg80211: World regulatory domain updated:
[ 1859.152904] cfg80211: DFS Master region: unset
[ 1859.152905] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1859.152906] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152907] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152908] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152908] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1859.152910] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1859.152910] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 1859.152911] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152912] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 1859.671932] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
[ 1859.677410] -->RTUSBVenderReset
[ 1859.677490] <--RTUSBVenderReset
[ 1859.682451] fw version:0.1.00 build:7640
[ 1859.682452] build time:201308221655____
[ 1859.682455] ilm length = 68780(bytes)
[ 1859.682456] dlm length = 11476(bytes)
[ 1859.757376] #
[ 1859.764312] loading fw......
[ 1859.877329] #
[ 1860.089294] RTMP_TimerListAdd: add timer obj ffffc90002f56250!
[ 1860.089295] RTMP_TimerListAdd: add timer obj ffffc90002f562c8!
[ 1860.089296] RTMP_TimerListAdd: add timer obj ffffc90002f56340!
[ 1860.089297] RTMP_TimerListAdd: add timer obj ffffc90002f561d8!
[ 1860.089297] RTMP_TimerListAdd: add timer obj ffffc90002f56070!
[ 1860.089298] RTMP_TimerListAdd: add timer obj ffffc90002f560e8!
[ 1860.089298] RTMP_TimerListAdd: add timer obj ffffc90002ee8d48!
[ 1860.089299] RTMP_TimerListAdd: add timer obj ffffc90002ed7b80!
[ 1860.089300] RTMP_TimerListAdd: add timer obj ffffc90002ed7c00!
[ 1860.089300] RTMP_TimerListAdd: add timer obj ffffc90002ee8ed0!
[ 1860.089301] RTMP_TimerListAdd: add timer obj ffffc90002ee8c58!
[ 1860.089301] RTMP_TimerListAdd: add timer obj ffffc90002ee8e58!
[ 1860.089332] cfg_mode=5
[ 1860.089334] wmode_band_equal(): Band Not Equal!
[ 1860.089399] Key1Str is Invalid key length(0) or Type(0)
[ 1860.089405] Key2Str is Invalid key length(0) or Type(0)
[ 1860.089412] Key3Str is Invalid key length(0) or Type(0)
[ 1860.089418] Key4Str is Invalid key length(0) or Type(0)
[ 1860.089558] 1. Phy Mode = 31
[ 1860.089558] 2. Phy Mode = 31
[ 1860.089559] NVM is Efuse and its size =1d[1e0-1fc]
[ 1860.097595] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 1860.099134] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 1860.099135] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 1860.099135] Temperature Tx ALC not enabled
[ 1860.105720] 3. Phy Mode = 31
[ 1860.105721] AntCfgInit: primary/secondary ant 0/1
[ 1860.110065] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 1860.110824] MCS Set = ff 00 00 00 01
[ 1860.120777] <==== rt28xx_init, Status=0
[ 1860.121219] 0x1300 = 00064300
[ 1860.121220] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 1860.121259] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 1860.143374] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 1860.143535] receive cmd msg fail(-2)
[ 1860.143539] tx_kickout_fail_count = 0
[ 1860.143540] tx_timeout_fail_count = 0
[ 1860.143540] rx_receive_fail_count = 0
[ 1860.143541] alloc_cmd_msg = 105
[ 1860.143541] free_cmd_msg = 105
[ 1860.195701] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0xff000000, Reg-WlanFunCtrl=0xff000000
[ 1860.201235] -->RTUSBVenderReset
[ 1860.201299] <--RTUSBVenderReset
[ 1860.206260] fw version:0.1.00 build:7640
[ 1860.206261] build time:201308221655____
[ 1860.206264] ilm length = 68780(bytes)
[ 1860.206264] dlm length = 11476(bytes)
[ 1860.281301] #
[ 1860.287623] loading fw......
[ 1860.322153] userif-3: sent link down event.
[ 1860.322160] userif-3: sent link up event.
[ 1860.397116] #
[ 1860.608194] RTMP_TimerListAdd: add timer obj ffffc90002f56250!
[ 1860.608195] RTMP_TimerListAdd: add timer obj ffffc90002f562c8!
[ 1860.608196] RTMP_TimerListAdd: add timer obj ffffc90002f56340!
[ 1860.608197] RTMP_TimerListAdd: add timer obj ffffc90002f561d8!
[ 1860.608198] RTMP_TimerListAdd: add timer obj ffffc90002f56070!
[ 1860.608198] RTMP_TimerListAdd: add timer obj ffffc90002f560e8!
[ 1860.608199] RTMP_TimerListAdd: add timer obj ffffc90002ee8d48!
[ 1860.608199] RTMP_TimerListAdd: add timer obj ffffc90002ed7b80!
[ 1860.608200] RTMP_TimerListAdd: add timer obj ffffc90002ed7c00!
[ 1860.608200] RTMP_TimerListAdd: add timer obj ffffc90002ee8ed0!
[ 1860.608201] RTMP_TimerListAdd: add timer obj ffffc90002ee8c58!
[ 1860.608202] RTMP_TimerListAdd: add timer obj ffffc90002ee8e58!
[ 1860.608215] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 1860.608218] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 1860.608235] cfg_mode=5
[ 1860.608236] wmode_band_equal(): Band Not Equal!
[ 1860.608302] Key1Str is Invalid key length(0) or Type(0)
[ 1860.608308] Key2Str is Invalid key length(0) or Type(0)
[ 1860.608315] Key3Str is Invalid key length(0) or Type(0)
[ 1860.608321] Key4Str is Invalid key length(0) or Type(0)
[ 1860.608450] 1. Phy Mode = 31
[ 1860.608450] 2. Phy Mode = 31
[ 1860.608451] NVM is Efuse and its size =1d[1e0-1fc]
[ 1860.619964] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 1860.621870] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 1860.621874] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 1860.621876] Temperature Tx ALC not enabled
[ 1860.628805] 3. Phy Mode = 31
[ 1860.628808] AntCfgInit: primary/secondary ant 0/1
[ 1860.632623] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 1860.634325] MCS Set = ff 00 00 00 01
[ 1860.644269] <==== rt28xx_init, Status=0
[ 1860.644748] 0x1300 = 00064300
[ 1860.644751] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 1860.644871] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 1860.650041] BUG: unable to handle kernel paging request at 00007fffc5ad1460
[ 1860.650043] IP: [] rt_ioctl_siwpmksa+0x90/0x150 [mt7650u_sta]
[ 1860.650055] PGD 37fc4b067 PUD 37fc4a067 PMD 37fc46067 PTE 80000003c4905867
[ 1860.650057] Oops: 0001 [#1] SMP
[ 1860.650058] Modules linked in: cfg80211 mt7650u_sta(OE) nvram msr nfnetlink_queue nfnetlink_log nfnetlink vmnet(OE) vmw_vsock_vmci_transport vsock pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vmw_vmci vboxdrv(OE) vmmon(OE) snd_hrtimer bnep binfmt_misc joydev input_leds mxm_wmi snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic aes_x86_64 i915_bpo lrw gf128mul glue_helper ablk_helper intel_ips cryptd i2c_algo_bit snd_seq_midi snd_hda_intel snd_seq_midi_event snd_hda_codec snd_hda_core snd_hwdep snd_rawmidi serio_raw snd_pcm snd_seq nvidia_uvm(POE) snd_seq_device snd_timer snd soundcore mei_me mei shpchp hci_uart btbcm btqca btintel 8250_fintek
[ 1860.650075] bluetooth wmi intel_lpss_acpi intel_lpss acpi_als mac_hid tpm_infineon kfifo_buf acpi_pad industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_logitech_hidpp hid_logitech_dj usbhid nvidia_drm(POE) nvidia_modeset(POE) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm psmouse alx mdio nvidia(POE) ahci libahci video pinctrl_sunrisepoint i2c_hid pinctrl_intel hid fjes
[ 1860.650086] CPU: 2 PID: 6123 Comm: wpa_supplicant Tainted: P OE 4.4.0-98-generic #121-Ubuntu
[ 1860.650087] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 1860.650088] task: ffff8804149ae900 ti: ffff880063e9c000 task.ti: ffff880063e9c000
[ 1860.650089] RIP: 0010:[] [] rt_ioctl_siwpmksa+0x90/0x150 [mt7650u_sta]
[ 1860.650097] RSP: 0018:ffff880063e9fc58 EFLAGS: 00010297
[ 1860.650098] RAX: 0000000000000000 RBX: 00007fffc5ad1460 RCX: 0000000000000000
[ 1860.650099] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc90002ed5000
[ 1860.650099] RBP: ffff880063e9fca0 R08: 0000000000000000 R09: 0000000000000000
[ 1860.650100] R10: ffff8803806fe300 R11: ffffffffc152eee0 R12: 0000000000000000
[ 1860.650100] R13: ffffc90002ed5000 R14: ffff88037e6a7000 R15: ffffffffc152eee0
[ 1860.650101] FS: 00007f1b21b09880(0000) GS:ffff880476500000(0000) knlGS:0000000000000000
[ 1860.650102] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1860.650103] CR2: 00007fffc5ad1460 CR3: 000000037e78a000 CR4: 00000000003406e0
[ 1860.650103] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1860.650104] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1860.650105] Stack:
[ 1860.650105] ffff880463a58578 ffffffff811f0018 ffff880465801b00 ffffffff8182a1a3
[ 1860.650106] ac9723b446a10034 ffff8803806fe300 0000000000000000 ffffffff81ad1648
[ 1860.650108] ffff880063e9fe20 ffff880063e9fd28 ffffffff8182a1d1 ffff880063e9fdd0
[ 1860.650109] Call Trace:
[ 1860.650112] [] ? __kmalloc+0x208/0x250
[ 1860.650115] [] ? ioctl_standard_iw_point+0x103/0x340
[ 1860.650116] [] ioctl_standard_iw_point+0x131/0x340
[ 1860.650118] [] ? mntput+0x24/0x40
[ 1860.650120] [] ? terminate_walk+0x64/0xd0
[ 1860.650121] [] ioctl_standard_call+0x8b/0xe0
[ 1860.650123] [] ? iw_handler_get_private+0x60/0x60
[ 1860.650124] [] ? ioctl_standard_iw_point+0x340/0x340
[ 1860.650125] [] wireless_process_ioctl+0x154/0x190
[ 1860.650127] [] wext_handle_ioctl+0x78/0xd0
[ 1860.650129] [] dev_ioctl+0x29f/0x590
[ 1860.650131] [] sock_ioctl+0x126/0x290
[ 1860.650133] [] ? security_file_permission+0xa0/0xc0
[ 1860.650134] [] do_vfs_ioctl+0x29f/0x490
[ 1860.650136] [] ? __vfs_read+0x18/0x40
[ 1860.650137] [] ? vfs_read+0x86/0x130
[ 1860.650138] [] SyS_ioctl+0x79/0x90
[ 1860.650140] [] entry_SYSCALL_64_fastpath+0x16/0x71
[ 1860.650141] Code: bc 9c ff ff ff eb 75 48 85 db 0f 84 9d 00 00 00 48 83 3d cb 37 04 00 02 41 89 c4 76 0e 48 83 3d 86 ba 06 00 00 0f 84 a3 00 00 00 <8b> 03 83 f8 03 74 69 83 f8 02 74 6d 83 f8 01 0f 94 c0 0f b6 c0
[ 1860.650154] RIP [] rt_ioctl_siwpmksa+0x90/0x150 [mt7650u_sta]
[ 1860.650162] RSP
[ 1860.650163] CR2: 00007fffc5ad1460
[ 1860.650164] ---[ end trace c680f1f1669843b1 ]---
[ 1860.845021] userif-3: sent link down event.
[ 1860.845029] userif-3: sent link up event.
[ 1861.690663] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 1861.690827] receive cmd msg fail(-2)
[ 1861.690832] tx_kickout_fail_count = 0
[ 1861.690833] tx_timeout_fail_count = 0
[ 1861.690833] rx_receive_fail_count = 0
[ 1861.690834] alloc_cmd_msg = 105
[ 1861.690834] free_cmd_msg = 105
[/CODE]
Ubuntu 16.04 (master branch, with NetworkManager)
------------------------------------------------------------------------
[CODE]
# modprobe mt7650u_sta
(hang)
# dmesg
[ 1835.149981] rtusb init rt2870 --->
[ 1835.150228] usbcore: registered new interface driver rt2870
[ 1859.017245] usb 1-5.3: new high-speed USB device number 4 using xhci_hcd
[ 1859.133219] usb 1-5.3: New USB device found, idVendor=148f, idProduct=761a
[ 1859.133227] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1859.133231] usb 1-5.3: Product: WiFi
[ 1859.133235] usb 1-5.3: Manufacturer: MediaTek
[ 1859.133239] usb 1-5.3: SerialNumber: 1.0
[ 1859.134297]
=== pAd = ffffc90002ed5000, size = 895280 ===
[ 1859.134415] <-- RTMPAllocTxRxRingMemory, Status=0
[ 1859.134630] <-- RTMPAllocAdapterBlock, Status=0
[ 1859.134751] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 1859.135463] MCUType = 2
[ 1859.135591] NVM is EFUSE
[ 1859.135594] Endpoint(8) is for In-band Command
[ 1859.135597] Endpoint(4) is for WMM0 AC0
[ 1859.135600] Endpoint(5) is for WMM0 AC1
[ 1859.135602] Endpoint(6) is for WMM0 AC2
[ 1859.135604] Endpoint(7) is for WMM0 AC3
[ 1859.135606] Endpoint(9) is for WMM1 AC0
[ 1859.135609] Endpoint(84) is for Data-In
[ 1859.135611] Endpoint(85) is for Command Rsp
[ 1859.152902] cfg80211: World regulatory domain updated:
[ 1859.152904] cfg80211: DFS Master region: unset
[ 1859.152905] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1859.152906] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152907] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152908] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152908] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1859.152910] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1859.152910] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 1859.152911] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 1859.152912] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 1859.671932] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready
[ 1859.677410] -->RTUSBVenderReset
[ 1859.677490] <--RTUSBVenderReset
[ 1859.682451] fw version:0.1.00 build:7640
[ 1859.682452] build time:201308221655____
[ 1859.682455] ilm length = 68780(bytes)
[ 1859.682456] dlm length = 11476(bytes)
[ 1859.757376] #
[ 1859.764312] loading fw......
[ 1859.877329] #
[ 1860.089294] RTMP_TimerListAdd: add timer obj ffffc90002f56250!
[ 1860.089295] RTMP_TimerListAdd: add timer obj ffffc90002f562c8!
[ 1860.089296] RTMP_TimerListAdd: add timer obj ffffc90002f56340!
[ 1860.089297] RTMP_TimerListAdd: add timer obj ffffc90002f561d8!
[ 1860.089297] RTMP_TimerListAdd: add timer obj ffffc90002f56070!
[ 1860.089298] RTMP_TimerListAdd: add timer obj ffffc90002f560e8!
[ 1860.089298] RTMP_TimerListAdd: add timer obj ffffc90002ee8d48!
[ 1860.089299] RTMP_TimerListAdd: add timer obj ffffc90002ed7b80!
[ 1860.089300] RTMP_TimerListAdd: add timer obj ffffc90002ed7c00!
[ 1860.089300] RTMP_TimerListAdd: add timer obj ffffc90002ee8ed0!
[ 1860.089301] RTMP_TimerListAdd: add timer obj ffffc90002ee8c58!
[ 1860.089301] RTMP_TimerListAdd: add timer obj ffffc90002ee8e58!
[ 1860.089332] cfg_mode=5
[ 1860.089334] wmode_band_equal(): Band Not Equal!
[ 1860.089399] Key1Str is Invalid key length(0) or Type(0)
[ 1860.089405] Key2Str is Invalid key length(0) or Type(0)
[ 1860.089412] Key3Str is Invalid key length(0) or Type(0)
[ 1860.089418] Key4Str is Invalid key length(0) or Type(0)
[ 1860.089558] 1. Phy Mode = 31
[ 1860.089558] 2. Phy Mode = 31
[ 1860.089559] NVM is Efuse and its size =1d[1e0-1fc]
[ 1860.097595] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 1860.099134] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 1860.099135] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 1860.099135] Temperature Tx ALC not enabled
[ 1860.105720] 3. Phy Mode = 31
[ 1860.105721] AntCfgInit: primary/secondary ant 0/1
[ 1860.110065] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 1860.110824] MCS Set = ff 00 00 00 01
[ 1860.120777] <==== rt28xx_init, Status=0
[ 1860.121219] 0x1300 = 00064300
[ 1860.121220] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 1860.121259] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 1860.143374] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 1860.143535] receive cmd msg fail(-2)
[ 1860.143539] tx_kickout_fail_count = 0
[ 1860.143540] tx_timeout_fail_count = 0
[ 1860.143540] rx_receive_fail_count = 0
[ 1860.143541] alloc_cmd_msg = 105
[ 1860.143541] free_cmd_msg = 105
[ 1860.195701] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0xff000000, Reg-WlanFunCtrl=0xff000000
[ 1860.201235] -->RTUSBVenderReset
[ 1860.201299] <--RTUSBVenderReset
[ 1860.206260] fw version:0.1.00 build:7640
[ 1860.206261] build time:201308221655____
[ 1860.206264] ilm length = 68780(bytes)
[ 1860.206264] dlm length = 11476(bytes)
[ 1860.281301] #
[ 1860.287623] loading fw......
[ 1860.322153] userif-3: sent link down event.
[ 1860.322160] userif-3: sent link up event.
[ 1860.397116] #
[ 1860.608194] RTMP_TimerListAdd: add timer obj ffffc90002f56250!
[ 1860.608195] RTMP_TimerListAdd: add timer obj ffffc90002f562c8!
[ 1860.608196] RTMP_TimerListAdd: add timer obj ffffc90002f56340!
[ 1860.608197] RTMP_TimerListAdd: add timer obj ffffc90002f561d8!
[ 1860.608198] RTMP_TimerListAdd: add timer obj ffffc90002f56070!
[ 1860.608198] RTMP_TimerListAdd: add timer obj ffffc90002f560e8!
[ 1860.608199] RTMP_TimerListAdd: add timer obj ffffc90002ee8d48!
[ 1860.608199] RTMP_TimerListAdd: add timer obj ffffc90002ed7b80!
[ 1860.608200] RTMP_TimerListAdd: add timer obj ffffc90002ed7c00!
[ 1860.608200] RTMP_TimerListAdd: add timer obj ffffc90002ee8ed0!
[ 1860.608201] RTMP_TimerListAdd: add timer obj ffffc90002ee8c58!
[ 1860.608202] RTMP_TimerListAdd: add timer obj ffffc90002ee8e58!
[ 1860.608215] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 1860.608218] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 1860.608235] cfg_mode=5
[ 1860.608236] wmode_band_equal(): Band Not Equal!
[ 1860.608302] Key1Str is Invalid key length(0) or Type(0)
[ 1860.608308] Key2Str is Invalid key length(0) or Type(0)
[ 1860.608315] Key3Str is Invalid key length(0) or Type(0)
[ 1860.608321] Key4Str is Invalid key length(0) or Type(0)
[ 1860.608450] 1. Phy Mode = 31
[ 1860.608450] 2. Phy Mode = 31
[ 1860.608451] NVM is Efuse and its size =1d[1e0-1fc]
[ 1860.619964] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 1860.621870] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 1860.621874] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 1860.621876] Temperature Tx ALC not enabled
[ 1860.628805] 3. Phy Mode = 31
[ 1860.628808] AntCfgInit: primary/secondary ant 0/1
[ 1860.632623] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 1860.634325] MCS Set = ff 00 00 00 01
[ 1860.644269] <==== rt28xx_init, Status=0
[ 1860.644748] 0x1300 = 00064300
[ 1860.644751] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 1860.644871] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 1860.650041] BUG: unable to handle kernel paging request at 00007fffc5ad1460
[ 1860.650043] IP: [] rt_ioctl_siwpmksa+0x90/0x150 [mt7650u_sta]
[ 1860.650055] PGD 37fc4b067 PUD 37fc4a067 PMD 37fc46067 PTE 80000003c4905867
[ 1860.650057] Oops: 0001 [#1] SMP
[ 1860.650058] Modules linked in: cfg80211 mt7650u_sta(OE) nvram msr nfnetlink_queue nfnetlink_log nfnetlink vmnet(OE) vmw_vsock_vmci_transport vsock pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vmw_vmci vboxdrv(OE) vmmon(OE) snd_hrtimer bnep binfmt_misc joydev input_leds mxm_wmi snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel snd_hda_codec_realtek snd_hda_codec_generic aes_x86_64 i915_bpo lrw gf128mul glue_helper ablk_helper intel_ips cryptd i2c_algo_bit snd_seq_midi snd_hda_intel snd_seq_midi_event snd_hda_codec snd_hda_core snd_hwdep snd_rawmidi serio_raw snd_pcm snd_seq nvidia_uvm(POE) snd_seq_device snd_timer snd soundcore mei_me mei shpchp hci_uart btbcm btqca btintel 8250_fintek
[ 1860.650075] bluetooth wmi intel_lpss_acpi intel_lpss acpi_als mac_hid tpm_infineon kfifo_buf acpi_pad industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_logitech_hidpp hid_logitech_dj usbhid nvidia_drm(POE) nvidia_modeset(POE) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm psmouse alx mdio nvidia(POE) ahci libahci video pinctrl_sunrisepoint i2c_hid pinctrl_intel hid fjes
[ 1860.650086] CPU: 2 PID: 6123 Comm: wpa_supplicant Tainted: P OE 4.4.0-98-generic #121-Ubuntu
[ 1860.650087] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F6 03/01/2016
[ 1860.650088] task: ffff8804149ae900 ti: ffff880063e9c000 task.ti: ffff880063e9c000
[ 1860.650089] RIP: 0010:[] [] rt_ioctl_siwpmksa+0x90/0x150 [mt7650u_sta]
[ 1860.650097] RSP: 0018:ffff880063e9fc58 EFLAGS: 00010297
[ 1860.650098] RAX: 0000000000000000 RBX: 00007fffc5ad1460 RCX: 0000000000000000
[ 1860.650099] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc90002ed5000
[ 1860.650099] RBP: ffff880063e9fca0 R08: 0000000000000000 R09: 0000000000000000
[ 1860.650100] R10: ffff8803806fe300 R11: ffffffffc152eee0 R12: 0000000000000000
[ 1860.650100] R13: ffffc90002ed5000 R14: ffff88037e6a7000 R15: ffffffffc152eee0
[ 1860.650101] FS: 00007f1b21b09880(0000) GS:ffff880476500000(0000) knlGS:0000000000000000
[ 1860.650102] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1860.650103] CR2: 00007fffc5ad1460 CR3: 000000037e78a000 CR4: 00000000003406e0
[ 1860.650103] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1860.650104] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1860.650105] Stack:
[ 1860.650105] ffff880463a58578 ffffffff811f0018 ffff880465801b00 ffffffff8182a1a3
[ 1860.650106] ac9723b446a10034 ffff8803806fe300 0000000000000000 ffffffff81ad1648
[ 1860.650108] ffff880063e9fe20 ffff880063e9fd28 ffffffff8182a1d1 ffff880063e9fdd0
[ 1860.650109] Call Trace:
[ 1860.650112] [] ? __kmalloc+0x208/0x250
[ 1860.650115] [] ? ioctl_standard_iw_point+0x103/0x340
[ 1860.650116] [] ioctl_standard_iw_point+0x131/0x340
[ 1860.650118] [] ? mntput+0x24/0x40
[ 1860.650120] [] ? terminate_walk+0x64/0xd0
[ 1860.650121] [] ioctl_standard_call+0x8b/0xe0
[ 1860.650123] [] ? iw_handler_get_private+0x60/0x60
[ 1860.650124] [] ? ioctl_standard_iw_point+0x340/0x340
[ 1860.650125] [] wireless_process_ioctl+0x154/0x190
[ 1860.650127] [] wext_handle_ioctl+0x78/0xd0
[ 1860.650129] [] dev_ioctl+0x29f/0x590
[ 1860.650131] [] sock_ioctl+0x126/0x290
[ 1860.650133] [] ? security_file_permission+0xa0/0xc0
[ 1860.650134] [] do_vfs_ioctl+0x29f/0x490
[ 1860.650136] [] ? __vfs_read+0x18/0x40
[ 1860.650137] [] ? vfs_read+0x86/0x130
[ 1860.650138] [] SyS_ioctl+0x79/0x90
[ 1860.650140] [] entry_SYSCALL_64_fastpath+0x16/0x71
[ 1860.650141] Code: bc 9c ff ff ff eb 75 48 85 db 0f 84 9d 00 00 00 48 83 3d cb 37 04 00 02 41 89 c4 76 0e 48 83 3d 86 ba 06 00 00 0f 84 a3 00 00 00 <8b> 03 83 f8 03 74 69 83 f8 02 74 6d 83 f8 01 0f 94 c0 0f b6 c0
[ 1860.650154] RIP [] rt_ioctl_siwpmksa+0x90/0x150 [mt7650u_sta]
[ 1860.650162] RSP
[ 1860.650163] CR2: 00007fffc5ad1460
[ 1860.650164] ---[ end trace c680f1f1669843b1 ]---
[ 1860.845021] userif-3: sent link down event.
[ 1860.845029] userif-3: sent link up event.
[ 1861.690663] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 1861.690827] receive cmd msg fail(-2)
[ 1861.690832] tx_kickout_fail_count = 0
[ 1861.690833] tx_timeout_fail_count = 0
[ 1861.690833] rx_receive_fail_count = 0
[ 1861.690834] alloc_cmd_msg = 105
[ 1861.690834] free_cmd_msg = 105
[/CODE]
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#9
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 62
Helpful: 5
Solutions: 0
Stories: 0
Registered: 2017-09-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-11 22:13:56
https://www.mediatek.com/products/broadbandWifi/mt7610u
Maybe try this?
Maybe try this?
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#10
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Re:Please provide support to Archer T2U USB on current up-to-date Linux version (minimum Ubuntu 16.04, RHEL 7)
2017-12-14 19:55:11
Hi johnb_xp,
The one from https://www.mediatek.com/products/broadbandWifi/mt7610u looks worse and does not pass the compilation.
This is the output from ubuntu 16.04 (kernel 4.4)
[CODE]# make
make -C tools
make[1]: Entering directory '/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/tools'
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/Makefile
make -C /lib/modules/4.4.0-98-generic/build SUBDIRS=/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-98-generic'
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.o
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
In file included from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/rtmp_os.h:44:0,
from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/rtmp_comm.h:75,
from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/rt_config.h:33,
from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:28:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:443:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header
^
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:443:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header
^
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/assoc.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/auth.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/auth_rsp.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sync.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sanity.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/rtmp_data.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/connect.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/wpa.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.o
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.c:5401:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.c:5401:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1423: recipe for target '_module_/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux' failed
make[1]: *** [_module_/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-98-generic'
Makefile:393: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
[/CODE]
The one from https://www.mediatek.com/products/broadbandWifi/mt7610u looks worse and does not pass the compilation.
This is the output from ubuntu 16.04 (kernel 4.4)
[CODE]# make
make -C tools
make[1]: Entering directory '/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/tools'
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/Makefile
make -C /lib/modules/4.4.0-98-generic/build SUBDIRS=/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-98-generic'
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.o
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
In file included from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/rtmp_os.h:44:0,
from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/rtmp_comm.h:75,
from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/rt_config.h:33,
from /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:28:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:443:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header
^
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../os/linux/rt_profile.c:443:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header
^
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/assoc.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/auth.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/auth_rsp.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sync.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sanity.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/rtmp_data.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/connect.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/wpa.o
CC [M] /home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.o
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.c:5401:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.c:5401:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1423: recipe for target '_module_/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux' failed
make[1]: *** [_module_/home/data/share/tplink_archer_t2u/mt7610u_wifi_sta_v3002_dpo_20130916_from_mediatek/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-98-generic'
Makefile:393: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
[/CODE]
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#11
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
2017-11-26 15:39:09
Posts: 14
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2015-12-27
Information
Helpful: 0
Views: 6083
Replies: 25
Voters 0
No one has voted for it yet.
Tags
Related Articles
Report Inappropriate Content
Transfer Module
New message