mt7610u_wifi_sta_v3002_dpo_20130916 icon indicating copy to clipboard operation
mt7610u_wifi_sta_v3002_dpo_20130916 copied to clipboard

Version 4.8.6-1

Open Ralivraliv opened this issue 8 years ago • 3 comments

Hey,

Do you guys have the version that works for Arch 4.8.6?

Thanks.

Ralivraliv avatar Nov 03 '16 21:11 Ralivraliv

EDITED: Huh, actually it works! Seems like the problem is with NetworkManager itself who makes the driver crash and loop.

Just tried with netctl and it worked like a charm.

So, to make it work at least somehow:

  1. Stop NetworkManager

  2. Create netctl profile:

    Description='Localhost-new @ ra0' Interface=ra0 Connection=wireless Security=wpa ESSID=Localhost-new IP=dhcp Key=12345678

  3. $ netctl start ra0-Localhost-new (or whatever you named your file)

Original message:

Same here. Just tried it but dmesg shows that the driver goes into boot loop, throwing errors periodically (like each second):

http://pastebin.com/DnNNARHE

The interface ra0 shows up in NetworkManager, driver registration & deregistration works (modprobe + rmmod), but no actual wireless networks are displayed.

Kernel - Arch Linux 4.8.10-1, all packages are fresh (updated yesterday).

Nice work, by the way. It's a shame for TP LINK to not maintain their drivers.

and3rson avatar Nov 29 '16 21:11 and3rson

I'm getting the same errors I checked with dmesg but I'm running Kali Linux kali 4.8.0-kali1-amd64 #1 SMP Debian 4.8.5-1kali1 (2016-11-04) x86_64 GNU/Linux


 3539.786506] usb 1-1.3: new high-speed USB device number 8 using ehci-pci
[ 3539.910506] usb 1-1.3: New USB device found, idVendor=148f, idProduct=761a
[ 3539.910508] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3539.910509] usb 1-1.3: Product: WiFi
[ 3539.910510] usb 1-1.3: Manufacturer: MediaTek
[ 3539.910511] usb 1-1.3: SerialNumber: 1.0
[ 3539.911075] 
               
               === pAd = ffffc64740b25000, size = 892576 ===

[ 3539.911171] <-- RTMPAllocTxRxRingMemory, Status=0
[ 3539.911300] <-- RTMPAllocAdapterBlock, Status=0
[ 3539.911493] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 3539.912593] MCUType = 2
[ 3539.912869] NVM is EFUSE
[ 3539.912870] Endpoint(8) is for In-band Command
[ 3539.912871] Endpoint(4) is for WMM0 AC0
[ 3539.912871] Endpoint(5) is for WMM0 AC1
[ 3539.912872] Endpoint(6) is for WMM0 AC2
[ 3539.912872] Endpoint(7) is for WMM0 AC3
[ 3539.912873] Endpoint(9) is for WMM1 AC0
[ 3539.912874] Endpoint(84) is for Data-In
[ 3539.912874] Endpoint(85) is for Command Rsp
[ 3632.642059] -->RTUSBVenderReset
[ 3632.642162] <--RTUSBVenderReset
[ 3632.647128] fw version:0.1.00 build:7640
[ 3632.647130] build time:201308221655____
[ 3632.647135] ilm length = 68780(bytes)
[ 3632.647136] dlm length = 11476(bytes)
[ 3632.729684] #
[ 3632.736655] loading fw......
[ 3632.857890] #
[ 3633.074167] RTMP_TimerListAdd: add timer obj ffffc64740ba61e0!
[ 3633.074169] RTMP_TimerListAdd: add timer obj ffffc64740ba6250!
[ 3633.074170] RTMP_TimerListAdd: add timer obj ffffc64740ba62c0!
[ 3633.074171] RTMP_TimerListAdd: add timer obj ffffc64740ba6170!
[ 3633.074172] RTMP_TimerListAdd: add timer obj ffffc64740ba6020!
[ 3633.074173] RTMP_TimerListAdd: add timer obj ffffc64740ba6090!
[ 3633.074174] RTMP_TimerListAdd: add timer obj ffffc64740b38d18!
[ 3633.074174] RTMP_TimerListAdd: add timer obj ffffc64740b27b80!
[ 3633.074175] RTMP_TimerListAdd: add timer obj ffffc64740b27bf8!
[ 3633.074176] RTMP_TimerListAdd: add timer obj ffffc64740b38e88!
[ 3633.074177] RTMP_TimerListAdd: add timer obj ffffc64740b38c38!
[ 3633.074178] RTMP_TimerListAdd: add timer obj ffffc64740b38e18!
[ 3633.086233] cfg_mode=5
[ 3633.086236] wmode_band_equal(): Band Not Equal!
[ 3633.086350] Key1Str is Invalid key length(0) or Type(0)
[ 3633.086361] Key2Str is Invalid key length(0) or Type(0)
[ 3633.086372] Key3Str is Invalid key length(0) or Type(0)
[ 3633.086383] Key4Str is Invalid key length(0) or Type(0)
[ 3633.086687] 1. Phy Mode = 31
[ 3633.086688] 2. Phy Mode = 31
[ 3633.086690] NVM is Efuse and its size =1d[1e0-1fc] 
[ 3633.097715] /root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 3633.111176] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 3633.115302] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 3633.115303] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 3633.115303] Temperature Tx ALC not enabled
[ 3633.130303] 3. Phy Mode = 31
[ 3633.130305] AntCfgInit: primary/secondary ant 0/1
[ 3633.138969] RTMPSetPhyMode: channel is out of range, use first channel=1 
[ 3633.140555] MCS Set = ff 00 00 00 01
[ 3633.150491] <==== rt28xx_init, Status=0
[ 3633.151431] 0x1300 = 00064300
[ 3633.151432] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 3633.151556] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 4260.799872] receive cmd msg fail(-71)
[ 4260.799965] Bulk In Failed. Status=-71, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 4260.804373] receive cmd msg fail(-71)
[ 4260.808616] receive cmd msg fail(-71)
[ 4260.812867] receive cmd msg fail(-71)
[ 4260.814120] #
[ 4260.817116] receive cmd msg fail(-71)
[ 4260.821590] receive cmd msg fail(-71)
[ 4260.823248] #
[ 4260.825742] receive cmd msg fail(-71)
[ 4260.829993] receive cmd msg fail(-71)
[ 4260.832271] #
[ 4260.834242] receive cmd msg fail(-71)
[ 4260.838494] receive cmd msg fail(-71)
[ 4260.841272] #
[ 4260.842743] receive cmd msg fail(-71)
[ 4260.846994] receive cmd msg fail(-71)
[ 4260.850247] #
[ 4260.851243] receive cmd msg fail(-71)
[ 4260.855520] receive cmd msg fail(-71)
[ 4260.859274] #
[ 4260.859744] receive cmd msg fail(-71)
[ 4260.863994] receive cmd msg fail(-71)
[ 4260.868251] receive cmd msg fail(-71)
[ 4260.868267] #
[ 4260.872746] receive cmd msg fail(-71)
[ 4260.877023] receive cmd msg fail(-71)
[ 4260.877276] #
[ 4260.881246] receive cmd msg fail(-71)
[ 4260.885525] receive cmd msg fail(-71)
[ 4260.886250] #
[ 4260.889747] receive cmd msg fail(-71)
[ 4260.893998] receive cmd msg fail(-71)
[ 4260.895251] #
[ 4260.898248] receive cmd msg fail(-71)
[ 4260.900248] RTUSB_VendorRequest failed(-71),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080002
[ 4260.902500] receive cmd msg fail(-71)
[ 4260.904250] Bulk In Failed. Status=-71, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 4260.906749] receive cmd msg fail(-71)
[ 4260.911000] receive cmd msg fail(-71)
[ 4260.915250] receive cmd msg fail(-71)
[ 4260.918130] #
[ 4260.919501] receive cmd msg fail(-71)
[ 4260.923776] receive cmd msg fail(-71)
[ 4260.927131] #
[ 4260.928001] receive cmd msg fail(-71)
[ 4260.932251] receive cmd msg fail(-71)
[ 4260.936132] #
[ 4260.936502] receive cmd msg fail(-71)
[ 4260.940753] receive cmd msg fail(-71)
[ 4260.945005] receive cmd msg fail(-71)
[ 4260.945008] #
[ 4260.949504] receive cmd msg fail(-71)
[ 4260.953753] receive cmd msg fail(-71)
[ 4260.954007] #
[ 4260.958005] receive cmd msg fail(-71)
[ 4260.962254] receive cmd msg fail(-71)
[ 4260.963008] #
[ 4260.966505] receive cmd msg fail(-71)
[ 4260.970781] receive cmd msg fail(-71)
[ 4260.972009] #
[ 4260.975006] receive cmd msg fail(-71)
[ 4260.979256] receive cmd msg fail(-71)
[ 4260.980911] #
[ 4260.983506] receive cmd msg fail(-71)
[ 4260.987757] receive cmd msg fail(-71)
[ 4260.989886] #
[ 4260.992006] receive cmd msg fail(-71)
[ 4260.996257] receive cmd msg fail(-71)
[ 4260.998887] #
[ 4261.000507] receive cmd msg fail(-71)
[ 4261.003855] RTUSB_VendorRequest failed(-71),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080002
[ 4261.004758] receive cmd msg fail(-71)
[ 4261.007759] Bulk In Failed. Status=-71, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 4261.009009] receive cmd msg fail(-71)
[ 4261.013259] receive cmd msg fail(-71)
[ 4261.017509] receive cmd msg fail(-71)
[ 4261.021639] #
[ 4261.021759] receive cmd msg fail(-71)
[ 4261.026135] receive cmd msg fail(-71)
[ 4261.030385] receive cmd msg fail(-71)
[ 4261.030639] #
[ 4261.034139] usb 1-1.3: USB disconnect, device number 8
[ 4261.034509] receive cmd msg fail(-108)
[ 4261.034511] usb_rx_cmd_msg_complete:submit urb fail(-19)
[ 4261.034517] usb_rx_cmd_msg_submit:submit urb fail(-19)
[ 4261.034519] rtusb_disconnect: unregister usbnet usb-0000:00:1d.0-1.3
[ 4261.034522] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 4261.035606] #
[ 4261.035608] RTUSB_VendorRequest failed(-19),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080542
[ 4261.035609] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x31080542) on !
[ 4261.049617] WIFI device has been disconnected
[ 4261.049668] WIFI device has been disconnected
[ 4261.049668] WIFI device has been disconnected
[ 4261.049669] WIFI device has been disconnected
[ 4261.049673] tx_kickout_fail_count = 0
[ 4261.049673] tx_timeout_fail_count = 0
[ 4261.049674] rx_receive_fail_count = 58
[ 4261.049674] alloc_cmd_msg = 7672
[ 4261.049675] free_cmd_msg = 7672
[ 4261.132674] WIFI device has been disconnected
[ 4261.132677] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xffffffff
[ 4261.132677] WIFI device has been disconnected
[ 4261.132678] VendrCmdMultiWrite_nBytes failed!
[ 4261.132698] WIFI device has been disconnected
[ 4261.132708] ---> RTMPFreeTxRxRingMemory
[ 4261.132722] <--- RTMPFreeTxRxRingMemory
[ 4261.132759]  RTUSB disconnect successfully
[ 4981.190839] usb 1-1.3: new high-speed USB device number 9 using ehci-pci
[ 4981.315282] usb 1-1.3: New USB device found, idVendor=148f, idProduct=761a
[ 4981.315284] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4981.315285] usb 1-1.3: Product: WiFi
[ 4981.315286] usb 1-1.3: Manufacturer: MediaTek
[ 4981.315287] usb 1-1.3: SerialNumber: 1.0
[ 4981.315819] 
               
               === pAd = ffffc64740b25000, size = 892576 ===

[ 4981.315904] <-- RTMPAllocTxRxRingMemory, Status=0
[ 4981.316006] <-- RTMPAllocAdapterBlock, Status=0
[ 4981.316133] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 4981.317259] MCUType = 2
[ 4981.317507] NVM is EFUSE
[ 4981.317508] Endpoint(8) is for In-band Command
[ 4981.317509] Endpoint(4) is for WMM0 AC0
[ 4981.317509] Endpoint(5) is for WMM0 AC1
[ 4981.317510] Endpoint(6) is for WMM0 AC2
[ 4981.317511] Endpoint(7) is for WMM0 AC3
[ 4981.317511] Endpoint(9) is for WMM1 AC0
[ 4981.317512] Endpoint(84) is for Data-In
[ 4981.317512] Endpoint(85) is for Command Rsp

Hey @and3rson do you know what would be the equivalent of netctl for debian flavors?

Here are the steps I take

cd ~/src/mt7610u_wifi_sta_v3002_dpo_20130916
make && make install 
cp -r RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

ifconfig ra0 up 
ifconfig ra0
ra0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::ee08:6bff:fe0f:831a  prefixlen 64  scopeid 0x20<link>
        ether ec:08:6b:0f:83:1a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

iwconfig 
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

systemctl restart network-manager.service

then dmesg again and at this point I get kicked off my network but I get two wifi icons on network manager the PCI wifi and the USB wifi with a message that says Unavailable I've attached images below.

238.916761] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[  238.916766] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[  238.916769] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[  239.115808] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  239.310935] r8169 0000:07:00.0 eth0: link down
[  239.310991] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  239.311865] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  240.719041] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
[  240.719043] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
[  285.069677] ERROR @wl_notify_scan_status : wlan0 Scan_results error (-22)
[  954.235212] perf: interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
[ 1193.231540] perf: interrupt took too long (3135 > 3132), lowering kernel.perf_event_max_sample_rate to 63750
[ 1470.857282] perf: interrupt took too long (4013 > 3918), lowering kernel.perf_event_max_sample_rate to 49750
[ 2345.359889] perf: interrupt took too long (5032 > 5016), lowering kernel.perf_event_max_sample_rate to 39500
[ 3539.786506] usb 1-1.3: new high-speed USB device number 8 using ehci-pci
[ 3539.910506] usb 1-1.3: New USB device found, idVendor=148f, idProduct=761a
[ 3539.910508] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3539.910509] usb 1-1.3: Product: WiFi
[ 3539.910510] usb 1-1.3: Manufacturer: MediaTek
[ 3539.910511] usb 1-1.3: SerialNumber: 1.0
[ 3539.911075] 
              
              === pAd = ffffc64740b25000, size = 892576 ===

[ 3539.911171] <-- RTMPAllocTxRxRingMemory, Status=0
[ 3539.911300] <-- RTMPAllocAdapterBlock, Status=0
[ 3539.911493] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 3539.912593] MCUType = 2
[ 3539.912869] NVM is EFUSE
[ 3539.912870] Endpoint(8) is for In-band Command
[ 3539.912871] Endpoint(4) is for WMM0 AC0
[ 3539.912871] Endpoint(5) is for WMM0 AC1
[ 3539.912872] Endpoint(6) is for WMM0 AC2
[ 3539.912872] Endpoint(7) is for WMM0 AC3
[ 3539.912873] Endpoint(9) is for WMM1 AC0
[ 3539.912874] Endpoint(84) is for Data-In
[ 3539.912874] Endpoint(85) is for Command Rsp
[ 3632.642059] -->RTUSBVenderReset
[ 3632.642162] <--RTUSBVenderReset
[ 3632.647128] fw version:0.1.00 build:7640
[ 3632.647130] build time:201308221655____
[ 3632.647135] ilm length = 68780(bytes)
[ 3632.647136] dlm length = 11476(bytes)
[ 3632.729684] #
[ 3632.736655] loading fw......
[ 3632.857890] #
[ 3633.074167] RTMP_TimerListAdd: add timer obj ffffc64740ba61e0!
[ 3633.074169] RTMP_TimerListAdd: add timer obj ffffc64740ba6250!
[ 3633.074170] RTMP_TimerListAdd: add timer obj ffffc64740ba62c0!
[ 3633.074171] RTMP_TimerListAdd: add timer obj ffffc64740ba6170!
[ 3633.074172] RTMP_TimerListAdd: add timer obj ffffc64740ba6020!
[ 3633.074173] RTMP_TimerListAdd: add timer obj ffffc64740ba6090!
[ 3633.074174] RTMP_TimerListAdd: add timer obj ffffc64740b38d18!
[ 3633.074174] RTMP_TimerListAdd: add timer obj ffffc64740b27b80!
[ 3633.074175] RTMP_TimerListAdd: add timer obj ffffc64740b27bf8!
[ 3633.074176] RTMP_TimerListAdd: add timer obj ffffc64740b38e88!
[ 3633.074177] RTMP_TimerListAdd: add timer obj ffffc64740b38c38!
[ 3633.074178] RTMP_TimerListAdd: add timer obj ffffc64740b38e18!
[ 3633.086233] cfg_mode=5
[ 3633.086236] wmode_band_equal(): Band Not Equal!
[ 3633.086350] Key1Str is Invalid key length(0) or Type(0)
[ 3633.086361] Key2Str is Invalid key length(0) or Type(0)
[ 3633.086372] Key3Str is Invalid key length(0) or Type(0)
[ 3633.086383] Key4Str is Invalid key length(0) or Type(0)
[ 3633.086687] 1. Phy Mode = 31
[ 3633.086688] 2. Phy Mode = 31
[ 3633.086690] NVM is Efuse and its size =1d[1e0-1fc] 
[ 3633.097715] /root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 3633.111176] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 3633.115302] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 3633.115303] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 3633.115303] Temperature Tx ALC not enabled
[ 3633.130303] 3. Phy Mode = 31
[ 3633.130305] AntCfgInit: primary/secondary ant 0/1
[ 3633.138969] RTMPSetPhyMode: channel is out of range, use first channel=1 
[ 3633.140555] MCS Set = ff 00 00 00 01
[ 3633.150491] <==== rt28xx_init, Status=0
[ 3633.151431] 0x1300 = 00064300
[ 3633.151432] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 3633.151556] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 4260.799872] receive cmd msg fail(-71)
[ 4260.799965] Bulk In Failed. Status=-71, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 4260.804373] receive cmd msg fail(-71)
[ 4260.808616] receive cmd msg fail(-71)
[ 4260.812867] receive cmd msg fail(-71)
[ 4260.814120] #
[ 4260.817116] receive cmd msg fail(-71)
[ 4260.821590] receive cmd msg fail(-71)
[ 4260.823248] #
[ 4260.825742] receive cmd msg fail(-71)
[ 4260.829993] receive cmd msg fail(-71)
[ 4260.832271] #
[ 4260.834242] receive cmd msg fail(-71)
[ 4260.838494] receive cmd msg fail(-71)
[ 4260.841272] #
[ 4260.842743] receive cmd msg fail(-71)
[ 4260.846994] receive cmd msg fail(-71)
[ 4260.850247] #
[ 4260.851243] receive cmd msg fail(-71)
[ 4260.855520] receive cmd msg fail(-71)
[ 4260.859274] #
[ 4260.859744] receive cmd msg fail(-71)
[ 4260.863994] receive cmd msg fail(-71)
[ 4260.868251] receive cmd msg fail(-71)
[ 4260.868267] #
[ 4260.872746] receive cmd msg fail(-71)
[ 4260.877023] receive cmd msg fail(-71)
[ 4260.877276] #
[ 4260.881246] receive cmd msg fail(-71)
[ 4260.885525] receive cmd msg fail(-71)
[ 4260.886250] #
[ 4260.889747] receive cmd msg fail(-71)
[ 4260.893998] receive cmd msg fail(-71)
[ 4260.895251] #
[ 4260.898248] receive cmd msg fail(-71)
[ 4260.900248] RTUSB_VendorRequest failed(-71),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080002
[ 4260.902500] receive cmd msg fail(-71)
[ 4260.904250] Bulk In Failed. Status=-71, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 4260.906749] receive cmd msg fail(-71)
[ 4260.911000] receive cmd msg fail(-71)
[ 4260.915250] receive cmd msg fail(-71)
[ 4260.918130] #
[ 4260.919501] receive cmd msg fail(-71)
[ 4260.923776] receive cmd msg fail(-71)
[ 4260.927131] #
[ 4260.928001] receive cmd msg fail(-71)
[ 4260.932251] receive cmd msg fail(-71)
[ 4260.936132] #
[ 4260.936502] receive cmd msg fail(-71)
[ 4260.940753] receive cmd msg fail(-71)
[ 4260.945005] receive cmd msg fail(-71)
[ 4260.945008] #
[ 4260.949504] receive cmd msg fail(-71)
[ 4260.953753] receive cmd msg fail(-71)
[ 4260.954007] #
[ 4260.958005] receive cmd msg fail(-71)
[ 4260.962254] receive cmd msg fail(-71)
[ 4260.963008] #
[ 4260.966505] receive cmd msg fail(-71)
[ 4260.970781] receive cmd msg fail(-71)
[ 4260.972009] #
[ 4260.975006] receive cmd msg fail(-71)
[ 4260.979256] receive cmd msg fail(-71)
[ 4260.980911] #
[ 4260.983506] receive cmd msg fail(-71)
[ 4260.987757] receive cmd msg fail(-71)
[ 4260.989886] #
[ 4260.992006] receive cmd msg fail(-71)
[ 4260.996257] receive cmd msg fail(-71)
[ 4260.998887] #
[ 4261.000507] receive cmd msg fail(-71)
[ 4261.003855] RTUSB_VendorRequest failed(-71),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080002
[ 4261.004758] receive cmd msg fail(-71)
[ 4261.007759] Bulk In Failed. Status=-71, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 4261.009009] receive cmd msg fail(-71)
[ 4261.013259] receive cmd msg fail(-71)
[ 4261.017509] receive cmd msg fail(-71)
[ 4261.021639] #
[ 4261.021759] receive cmd msg fail(-71)
[ 4261.026135] receive cmd msg fail(-71)
[ 4261.030385] receive cmd msg fail(-71)
[ 4261.030639] #
[ 4261.034139] usb 1-1.3: USB disconnect, device number 8
[ 4261.034509] receive cmd msg fail(-108)
[ 4261.034511] usb_rx_cmd_msg_complete:submit urb fail(-19)
[ 4261.034517] usb_rx_cmd_msg_submit:submit urb fail(-19)
[ 4261.034519] rtusb_disconnect: unregister usbnet usb-0000:00:1d.0-1.3
[ 4261.034522] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 4261.035606] #
[ 4261.035608] RTUSB_VendorRequest failed(-19),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000,pAd->Flags=0x31080542
[ 4261.035609] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x31080542) on !
[ 4261.049617] WIFI device has been disconnected
[ 4261.049668] WIFI device has been disconnected
[ 4261.049668] WIFI device has been disconnected
[ 4261.049669] WIFI device has been disconnected
[ 4261.049673] tx_kickout_fail_count = 0
[ 4261.049673] tx_timeout_fail_count = 0
[ 4261.049674] rx_receive_fail_count = 58
[ 4261.049674] alloc_cmd_msg = 7672
[ 4261.049675] free_cmd_msg = 7672
[ 4261.132674] WIFI device has been disconnected
[ 4261.132677] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xffffffff
[ 4261.132677] WIFI device has been disconnected
[ 4261.132678] VendrCmdMultiWrite_nBytes failed!
[ 4261.132698] WIFI device has been disconnected
[ 4261.132708] ---> RTMPFreeTxRxRingMemory
[ 4261.132722] <--- RTMPFreeTxRxRingMemory
[ 4261.132759]  RTUSB disconnect successfully
[ 4981.190839] usb 1-1.3: new high-speed USB device number 9 using ehci-pci
[ 4981.315282] usb 1-1.3: New USB device found, idVendor=148f, idProduct=761a
[ 4981.315284] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4981.315285] usb 1-1.3: Product: WiFi
[ 4981.315286] usb 1-1.3: Manufacturer: MediaTek
[ 4981.315287] usb 1-1.3: SerialNumber: 1.0
[ 4981.315819] 
              
              === pAd = ffffc64740b25000, size = 892576 ===

[ 4981.315904] <-- RTMPAllocTxRxRingMemory, Status=0
[ 4981.316006] <-- RTMPAllocAdapterBlock, Status=0
[ 4981.316133] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 4981.317259] MCUType = 2
[ 4981.317507] NVM is EFUSE
[ 4981.317508] Endpoint(8) is for In-band Command
[ 4981.317509] Endpoint(4) is for WMM0 AC0
[ 4981.317509] Endpoint(5) is for WMM0 AC1
[ 4981.317510] Endpoint(6) is for WMM0 AC2
[ 4981.317511] Endpoint(7) is for WMM0 AC3
[ 4981.317511] Endpoint(9) is for WMM1 AC0
[ 4981.317512] Endpoint(84) is for Data-In
[ 4981.317512] Endpoint(85) is for Command Rsp
[ 5382.065830] -->RTUSBVenderReset
[ 5382.066025] <--RTUSBVenderReset
[ 5382.070992] fw version:0.1.00 build:7640
[ 5382.070994] build time:201308221655____
[ 5382.071000] ilm length = 68780(bytes)
[ 5382.071000] dlm length = 11476(bytes)
[ 5382.152631] #
[ 5382.158632] loading fw......
[ 5382.276688] #
[ 5382.494398] RTMP_TimerListAdd: add timer obj ffffc64740ba61e0!
[ 5382.494400] RTMP_TimerListAdd: add timer obj ffffc64740ba6250!
[ 5382.494401] RTMP_TimerListAdd: add timer obj ffffc64740ba62c0!
[ 5382.494402] RTMP_TimerListAdd: add timer obj ffffc64740ba6170!
[ 5382.494403] RTMP_TimerListAdd: add timer obj ffffc64740ba6020!
[ 5382.494404] RTMP_TimerListAdd: add timer obj ffffc64740ba6090!
[ 5382.494405] RTMP_TimerListAdd: add timer obj ffffc64740b38d18!
[ 5382.494405] RTMP_TimerListAdd: add timer obj ffffc64740b27b80!
[ 5382.494406] RTMP_TimerListAdd: add timer obj ffffc64740b27bf8!
[ 5382.494407] RTMP_TimerListAdd: add timer obj ffffc64740b38e88!
[ 5382.494408] RTMP_TimerListAdd: add timer obj ffffc64740b38c38!
[ 5382.494409] RTMP_TimerListAdd: add timer obj ffffc64740b38e18!
[ 5382.494466] cfg_mode=5
[ 5382.494468] wmode_band_equal(): Band Not Equal!
[ 5382.494582] Key1Str is Invalid key length(0) or Type(0)
[ 5382.494593] Key2Str is Invalid key length(0) or Type(0)
[ 5382.494604] Key3Str is Invalid key length(0) or Type(0)
[ 5382.494616] Key4Str is Invalid key length(0) or Type(0)
[ 5382.494856] 1. Phy Mode = 31
[ 5382.494856] 2. Phy Mode = 31
[ 5382.494858] NVM is Efuse and its size =1d[1e0-1fc] 
[ 5382.506903] /root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 5382.517405] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 5382.521530] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 5382.521531] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 5382.521532] Temperature Tx ALC not enabled
[ 5382.537531] 3. Phy Mode = 31
[ 5382.537533] AntCfgInit: primary/secondary ant 0/1
[ 5382.542790] RTMPSetPhyMode: channel is out of range, use first channel=1 
[ 5382.544283] MCS Set = ff 00 00 00 01
[ 5382.554214] <==== rt28xx_init, Status=0
[ 5382.555157] 0x1300 = 00064300
[ 5382.555158] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 5382.555314] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 5482.218330] ===>rt_ioctl_giwscan. 2(2) BSS returned, data->length = 317
[ 5550.260554] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5550.293209] ERROR!!! RTMPSetTimer failed, Halt in Progress!
[ 5550.300208] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
[ 5550.303830] receive cmd msg fail(-2)
[ 5550.303842] tx_kickout_fail_count = 0
[ 5550.303844] tx_timeout_fail_count = 0
[ 5550.303845] rx_receive_fail_count = 0
[ 5550.303846] alloc_cmd_msg = 6981
[ 5550.303846] free_cmd_msg = 6981
[ 5550.359595] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0xff000000, Reg-WlanFunCtrl=0xff000000
[ 5550.366721] -->RTUSBVenderReset
[ 5550.366846] <--RTUSBVenderReset
[ 5550.371809] fw version:0.1.00 build:7640
[ 5550.371811] build time:201308221655____
[ 5550.371825] ilm length = 68780(bytes)
[ 5550.371825] dlm length = 11476(bytes)
[ 5550.451175] #
[ 5550.457901] loading fw......
[ 5550.579110] #
[ 5550.796376] RTMP_TimerListAdd: add timer obj ffffc64740ba61e0!
[ 5550.796378] RTMP_TimerListAdd: add timer obj ffffc64740ba6250!
[ 5550.796379] RTMP_TimerListAdd: add timer obj ffffc64740ba62c0!
[ 5550.796380] RTMP_TimerListAdd: add timer obj ffffc64740ba6170!
[ 5550.796381] RTMP_TimerListAdd: add timer obj ffffc64740ba6020!
[ 5550.796382] RTMP_TimerListAdd: add timer obj ffffc64740ba6090!
[ 5550.796383] RTMP_TimerListAdd: add timer obj ffffc64740b38d18!
[ 5550.796384] RTMP_TimerListAdd: add timer obj ffffc64740b27b80!
[ 5550.796384] RTMP_TimerListAdd: add timer obj ffffc64740b27bf8!
[ 5550.796385] RTMP_TimerListAdd: add timer obj ffffc64740b38e88!
[ 5550.796386] RTMP_TimerListAdd: add timer obj ffffc64740b38c38!
[ 5550.796387] RTMP_TimerListAdd: add timer obj ffffc64740b38e18!
[ 5550.796444] cfg_mode=5
[ 5550.796446] wmode_band_equal(): Band Not Equal!
[ 5550.796559] Key1Str is Invalid key length(0) or Type(0)
[ 5550.796570] Key2Str is Invalid key length(0) or Type(0)
[ 5550.796581] Key3Str is Invalid key length(0) or Type(0)
[ 5550.796592] Key4Str is Invalid key length(0) or Type(0)
[ 5550.796832] 1. Phy Mode = 31
[ 5550.796833] 2. Phy Mode = 31
[ 5550.796834] NVM is Efuse and its size =1d[1e0-1fc] 
[ 5550.807751] /root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 5550.818252] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[ 5550.822377] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 5550.822378] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 5550.822378] Temperature Tx ALC not enabled
[ 5550.839378] 3. Phy Mode = 31
[ 5550.839379] AntCfgInit: primary/secondary ant 0/1
[ 5550.844637] RTMPSetPhyMode: channel is out of range, use first channel=1 
[ 5550.846035] MCS Set = ff 00 00 00 01
[ 5550.855972] <==== rt28xx_init, Status=0
[ 5550.857128] 0x1300 = 00064300
[ 5550.857129] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[ 5550.857255] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[ 5551.014244] BUG: unable to handle kernel paging request at 00007fff13453d00
[ 5551.014316] IP: [<ffffffffc0df441a>] rt_ioctl_siwpmksa+0x8a/0x140 [mt7650u_sta]
[ 5551.014402] PGD 116cca067 PUD 11599c067 PMD 117fd0067 PTE 800000010a6d3867
[ 5551.014467] Oops: 0001 [#1] SMP
[ 5551.014494] Modules linked in: fuse nfnetlink_queue nfnetlink_log nfnetlink binfmt_misc wl(PO) mt7650u_sta(O) snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp btusb btrtl btbcm btintel uvcvideo bluetooth videobuf2_vmalloc kvm_intel dcdbas videobuf2_memops iTCO_wdt snd_hda_codec_realtek videobuf2_v4l2 iTCO_vendor_support kvm hid_rmi dell_smm_hwmon videobuf2_core videodev irqbypass snd_hda_codec_generic cfg80211 snd_hda_intel rtsx_usb_ms hid_multitouch memstick pcspkr media snd_soc_rt5640 snd_hda_codec snd_soc_ssm4567 snd_soc_rl6231 snd_soc_core snd_hda_core joydev evdev snd_hwdep snd_compress snd_pcm sg serio_raw i915 wmi snd_timer snd shpchp dw_dmac battery video elan_i2c dell_rbtn rfkill i2c_i801 dw_dmac_core snd_soc_sst_acpi mei_me mei snd_soc_sst_match lpc_ich drm_kms_helper
[ 5551.015186]  soundcore i2c_smbus acpi_pad ac button drm i2c_algo_bit tpm_tis tpm_tis_core tpm i2c_designware_platform i2c_designware_core ip_tables x_tables autofs4 rtsx_usb_sdmmc rtsx_usb mfd_core ext4 crc16 usbhid jbd2 crc32c_generic fscrypto ecb mbcache sr_mod cdrom sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci psmouse xhci_pci xhci_hcd libata ehci_pci ehci_hcd scsi_mod r8169 mii usbcore usb_common fan thermal sdhci_acpi sdhci mmc_core fjes i2c_hid hid
[ 5551.015700] CPU: 0 PID: 838 Comm: wpa_supplicant Tainted: P           O    4.8.0-kali1-amd64 #1 Debian 4.8.5-1kali1
[ 5551.015775] Hardware name: Dell Inc. Inspiron 3543/0MGXC6, BIOS A00 10/25/2014
[ 5551.015832] task: ffff906d98270080 task.stack: ffff906d934a4000
[ 5551.015874] RIP: 0010:[<ffffffffc0df441a>]  [<ffffffffc0df441a>] rt_ioctl_siwpmksa+0x8a/0x140 [mt7650u_sta]
[ 5551.015974] RSP: 0018:ffff906d934a7ca8  EFLAGS: 00010297
[ 5551.016016] RAX: 0000000000000000 RBX: 00007fff13453d00 RCX: 0000000000000000
[ 5551.016067] RDX: 0000000000005013 RSI: 0000000000000000 RDI: ffffc64740b25000
[ 5551.016119] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 5551.016169] R10: 0000000000000036 R11: ffffffffc0df4390 R12: ffffc64740b25000
[ 5551.016224] R13: ffff906d0ca3d000 R14: ffffffff8429a888 R15: ffffffffc0df4390
[ 5551.016275] FS:  00007f275db5a880(0000) GS:ffff906d9ec00000(0000) knlGS:0000000000000000
[ 5551.016338] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5551.016382] CR2: 00007fff13453d00 CR3: 0000000116c12000 CR4: 00000000003406f0
[ 5551.016437] Stack:
[ 5551.016456]  ffff906cacae6a00 ffff906d941d1000 ffff906d93dbd900 0000000000000024
[ 5551.016522]  000000005485238f ffff906d2a0b0540 ffff906d934a7e20 0000000000000000
[ 5551.016586]  0000000000008b36 ffffffff841ce8b8 ffff906d0ca3d000 00007fff13453d00
[ 5551.016652] Call Trace:
[ 5551.016681]  [<ffffffff841ce8b8>] ? ioctl_standard_iw_point+0x2e8/0x3c0
[ 5551.016734]  [<ffffffff841cea3a>] ? ioctl_standard_call+0xaa/0xd0
[ 5551.016783]  [<ffffffff841cec55>] ? wext_handle_ioctl+0x75/0xd0
[ 5551.016828]  [<ffffffff840fa62f>] ? dev_ioctl+0x29f/0x580
[ 5551.016871]  [<ffffffff840bf8bd>] ? sock_ioctl+0x11d/0x280
[ 5551.016916]  [<ffffffff83e1334f>] ? do_vfs_ioctl+0x9f/0x5f0
[ 5551.016962]  [<ffffffff83dff6d0>] ? vfs_read+0x90/0x130
[ 5551.017006]  [<ffffffff83e13914>] ? SyS_ioctl+0x74/0x80
[ 5551.017047]  [<ffffffff841e18f6>] ? system_call_fast_compare_end+0xc/0x96
[ 5551.017100] Code: 00 bd 9c ff ff ff eb 78 48 85 db 0f 84 a0 00 00 00 48 83 3d 40 23 04 00 02 89 c5 76 0e 48 83 3d 5c a5 06 00 00 0f 84 a5 00 00 00 <8b> 03 83 f8 03 74 6b 83 f8 02 74 70 83 f8 01 0f 94 c0 0f b6 c0 
[ 5551.017394] RIP  [<ffffffffc0df441a>] rt_ioctl_siwpmksa+0x8a/0x140 [mt7650u_sta]
[ 5551.017477]  RSP <ffff906d934a7ca8>
[ 5551.017504] CR2: 00007fff13453d00
[ 5551.027427] ---[ end trace 59de0c89298499a0 ]---

screenshot from 2016-11-30 21-29-40 screenshot from 2016-11-30 21-29-28

0katz avatar Dec 01 '16 02:12 0katz

I updated the Kali Linux to 4.8.10 and getting a loop @dmesg. I can't even type 2 times "ifconfig ra0 up" without crashing my vm(VirtualBox). The first time i type it in, ill get back : SIOCSIFFLAGS : the operation is not permitted. The second time the shell crashes and i cant type anything in. I am relative new to Linux and i want to get my TP-Link Archer T2U working on the newest Kali Linux kernel. Can anybody help?

EDIT: the NetworkManager doesnt recognize ra0, but ra0 is recognized in ifconfig -a and iwconfig as ra0 Ralink STA.

SchahinRohani avatar Dec 11 '16 15:12 SchahinRohani