Open luiginesbitt opened 6 years ago
Can you try building from the fork here?
https://github.com/kaduke/Netgear-A6210
I believe this was a breaking change introduced in a recent minor version of the kernel but that fork should support up to 4.17.
Still a no go on that fork kaduke, I can see my netgear in the network mangager but when I go to connect to a wireless ap it freezes the network manager. Tried reboot and unplug/plug back in also. Here are my logs:
Kern_log
<usb 4-1.1: New USB device found, idVendor=0846, idProduct=9053, bcdDevice= 1.00 Aug 14 20:02:54 Kryptonian kernel: [ 114.570726] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Aug 14 20:02:54 Kryptonian kernel: [ 114.570731] usb 4-1.1: Product: A6210 Aug 14 20:02:54 Kryptonian kernel: [ 114.570735] usb 4-1.1: Manufacturer: NETGEAR Aug 14 20:02:54 Kryptonian kernel: [ 114.570739] usb 4-1.1: SerialNumber: 100 Aug 14 20:02:56 Kryptonian kernel: [ 116.672525] mt7662u_sta: loading out-of-tree module taints kernel. Aug 14 20:02:56 Kryptonian kernel: [ 116.685651] rtusb init rt2870 ---> Aug 14 20:02:56 Kryptonian kernel: [ 116.685832] Aug 14 20:02:56 Kryptonian kernel: [ 116.685832] === pAd = 0000000083aecabb, size = 1241112 === Aug 14 20:02:56 Kryptonian kernel: [ 116.685832] Aug 14 20:02:56 Kryptonian kernel: [ 116.685833] driver version: 3.0.0.1 (Aug 14 2018 19:52:26) . Aug 14 20:02:56 Kryptonian kernel: [ 116.686434] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a Aug 14 20:02:56 Kryptonian kernel: [ 116.698069] RtmpChipOpsEepromHook::e2p_type=0, inf_Type=2 Aug 14 20:02:56 Kryptonian kernel: [ 116.698072] RtmpEepromGetDefault::e2p_dafault=1 Aug 14 20:02:56 Kryptonian kernel: [ 116.698562] NVM is EFUSE mode Aug 14 20:02:56 Kryptonian kernel: [ 116.698565] Endpoint(8) is for In-band Command Aug 14 20:02:56 Kryptonian kernel: [ 116.698567] Endpoint(4) is for WMM0 AC0 Aug 14 20:02:56 Kryptonian kernel: [ 116.698569] Endpoint(5) is for WMM0 AC1 Aug 14 20:02:56 Kryptonian kernel: [ 116.698571] Endpoint(6) is for WMM0 AC2 Aug 14 20:02:56 Kryptonian kernel: [ 116.698573] Endpoint(7) is for WMM0 AC3 Aug 14 20:02:56 Kryptonian kernel: [ 116.698575] Endpoint(9) is for WMM1 AC0 Aug 14 20:02:56 Kryptonian kernel: [ 116.698576] Endpoint(84) is for Data-In Aug 14 20:02:56 Kryptonian kernel: [ 116.698578] Endpoint(85) is for Command Rsp Aug 14 20:02:56 Kryptonian kernel: [ 116.698827] 80211> CurTxPower = 20 dBm Aug 14 20:02:56 Kryptonian kernel: [ 116.698831] ====> Radar Channel 52 Aug 14 20:02:56 Kryptonian kernel: [ 116.698833] ====> Radar Channel 54 Aug 14 20:02:56 Kryptonian kernel: [ 116.698834] ====> Radar Channel 56 Aug 14 20:02:56 Kryptonian kernel: [ 116.698836] ====> Radar Channel 60 Aug 14 20:02:56 Kryptonian kernel: [ 116.698837] ====> Radar Channel 62 Aug 14 20:02:56 Kryptonian kernel: [ 116.698839] ====> Radar Channel 64 Aug 14 20:02:56 Kryptonian kernel: [ 116.698841] ====> Radar Channel 100 Aug 14 20:02:56 Kryptonian kernel: [ 116.698842] ====> Radar Channel 104 Aug 14 20:02:56 Kryptonian kernel: [ 116.698845] 80211> TxStream = 0 Aug 14 20:02:56 Kryptonian kernel: [ 116.699338] usbcore: registered new interface driver rt2870 Aug 14 20:02:56 Kryptonian kernel: [ 116.718439] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready Aug 14 20:02:56 Kryptonian kernel: [ 116.719184] -->RTUSBVendorReset Aug 14 20:02:56 Kryptonian kernel: [ 116.739684] <--RTUSBVendorReset Aug 14 20:02:56 Kryptonian kernel: [ 116.740926] . Aug 14 20:02:56 Kryptonian kernel: [ 116.746802] . Aug 14 20:02:56 Kryptonian kernel: [ 116.752677] . Aug 14 20:02:56 Kryptonian kernel: [ 116.758552] . Aug 14 20:02:56 Kryptonian kernel: [ 116.764552] . Aug 14 20:02:56 Kryptonian kernel: [ 116.770427] . Aug 14 20:02:56 Kryptonian kernel: [ 116.776302] . Aug 14 20:02:56 Kryptonian kernel: [ 116.782177] . Aug 14 20:02:56 Kryptonian kernel: [ 116.788053] . Aug 14 20:02:56 Kryptonian kernel: [ 116.793928] . Aug 14 20:02:56 Kryptonian kernel: [ 116.799808] . Aug 14 20:02:56 Kryptonian kernel: [ 116.809994] andes_usb_chk_crc Aug 14 20:02:56 Kryptonian kernel: [ 116.833825] andes_usb_resetwmt Aug 14 20:02:56 Kryptonian kernel: [ 116.854323] -->RTUSBVendorReset Aug 14 20:02:56 Kryptonian kernel: [ 116.874291] <--RTUSBVendorReset Aug 14 20:02:56 Kryptonian kernel: [ 116.874556] fw version:0.0.00 Aug 14 20:02:56 Kryptonian kernel: [ 116.874558] build:1 Aug 14 20:02:56 Kryptonian kernel: [ 116.874558] build time: Aug 14 20:02:56 Kryptonian kernel: [ 116.874559] 2 Aug 14 20:02:56 Kryptonian kernel: [ 116.874560] 0 Aug 14 20:02:56 Kryptonian kernel: [ 116.874560] 1 Aug 14 20:02:56 Kryptonian kernel: [ 116.874561] 4 Aug 14 20:02:56 Kryptonian kernel: [ 116.874561] 0 Aug 14 20:02:56 Kryptonian kernel: [ 116.874561] 6 Aug 14 20:02:56 Kryptonian kernel: [ 116.874562] 2 Aug 14 20:02:56 Kryptonian kernel: [ 116.874562] 4 Aug 14 20:02:56 Kryptonian kernel: [ 116.874563] 1 Aug 14 20:02:56 Kryptonian kernel: [ 116.874563] 8 Aug 14 20:02:56 Kryptonian kernel: [ 116.874563] 3 Aug 14 20:02:56 Kryptonian kernel: [ 116.874564] 0 Aug 14 20:02:56 Kryptonian kernel: [ 116.874564] Aug 14 20:02:56 Kryptonian kernel: [ 116.874565] Aug 14 20:02:56 Kryptonian kernel: [ 116.874565] Aug 14 20:02:56 Kryptonian kernel: [ 116.874565] _ Aug 14 20:02:56 Kryptonian kernel: [ 116.874566] Aug 14 20:02:56 Kryptonian kernel: [ 116.874567] fw for E3 IC Aug 14 20:02:56 Kryptonian kernel: [ 116.874568] ilm length = 59312(bytes) Aug 14 20:02:56 Kryptonian kernel: [ 116.874568] dlm length = 32068(bytes) Aug 14 20:02:56 Kryptonian kernel: [ 116.875180] loading fw Aug 14 20:02:56 Kryptonian kernel: [ 116.876179] . Aug 14 20:02:57 Kryptonian kernel: [ 116.882434] . Aug 14 20:02:57 Kryptonian kernel: [ 116.888853] . Aug 14 20:02:57 Kryptonian kernel: [ 116.895211] . Aug 14 20:02:57 Kryptonian kernel: [ 116.901210] . Aug 14 20:02:57 Kryptonian kernel: [ 116.907582] . Aug 14 20:02:57 Kryptonian kernel: [ 116.913959] . Aug 14 20:02:57 Kryptonian kernel: [ 116.919927] . Aug 14 20:02:57 Kryptonian kernel: [ 116.925137] Aug 14 20:02:57 Kryptonian kernel: [ 117.031823] cfg_mode=5 Aug 14 20:02:57 Kryptonian kernel: [ 117.032171] Key1Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.032193] Key2Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.032216] Key3Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.032242] Key4Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.032797] USBAggregation = 1 Aug 14 20:02:57 Kryptonian kernel: [ 117.032804] 1. Phy Mode = 31 Aug 14 20:02:57 Kryptonian kernel: [ 117.032807] NVM is Efuse and its size =1d[1e0-1fc] Aug 14 20:02:57 Kryptonian kernel: [ 117.063190] get_chl_grp:illegal channel (167) Aug 14 20:02:57 Kryptonian kernel: [ 117.063194] get_chl_grp:illegal channel (167) Aug 14 20:02:57 Kryptonian kernel: [ 117.063195] get_chl_grp:illegal channel (169) Aug 14 20:02:57 Kryptonian kernel: [ 117.063197] get_chl_grp:illegal channel (169) Aug 14 20:02:57 Kryptonian kernel: [ 117.063199] get_chl_grp:illegal channel (171) Aug 14 20:02:57 Kryptonian kernel: [ 117.063200] get_chl_grp:illegal channel (171) Aug 14 20:02:57 Kryptonian kernel: [ 117.063202] get_chl_grp:illegal channel (173) Aug 14 20:02:57 Kryptonian kernel: [ 117.063203] get_chl_grp:illegal channel (173) Aug 14 20:02:57 Kryptonian kernel: [ 117.065686] Country Region from e2p = ffff Aug 14 20:02:57 Kryptonian kernel: [ 117.078190] mt76x2_get_external_lna_gain::LNA type=0x0, BLNAGain=0xffffff8d, ALNAGain0=0xffffff89, ALNAGain1=0xffffff88, ALNAGain2=0xffffff87 Aug 14 20:02:57 Kryptonian kernel: [ 117.078192] 2. Phy Mode = 31 Aug 14 20:02:57 Kryptonian kernel: [ 117.078194] 3. Phy Mode = 31 Aug 14 20:02:57 Kryptonian kernel: [ 117.078436] andes_usb_fw_init Aug 14 20:02:57 Kryptonian kernel: [ 117.255439] AntCfgInit: primary/secondary ant 0/1 Aug 14 20:02:57 Kryptonian kernel: [ 117.255444] andes_load_cr:cr_type(2) Aug 14 20:02:57 Kryptonian kernel: [ 117.256686] ChipStructAssign(): MT76x2 hook ! Aug 14 20:02:57 Kryptonian kernel: [ 117.256691] ---> InitFrequencyCalibration Aug 14 20:02:57 Kryptonian kernel: [ 117.256695] InitFrequencyCalibrationMode:Unknow mode = 3 Aug 14 20:02:57 Kryptonian kernel: [ 117.256697] InitFrequencyCalibration: frequency offset in the EEPROM = 168 Aug 14 20:02:57 Kryptonian kernel: [ 117.256699] <--- InitFrequencyCalibration Aug 14 20:02:57 Kryptonian kernel: [ 117.256716] RTMPSetPhyMode: channel is out of range, use first channel=1 Aug 14 20:02:57 Kryptonian kernel: [ 117.256718] RTMPSetPhyMode: Update for STA Aug 14 20:02:57 Kryptonian kernel: [ 117.260813] MCS Set = ff ff 00 00 01 Aug 14 20:02:57 Kryptonian kernel: [ 117.261061] 80211> re-init bands... Aug 14 20:02:57 Kryptonian kernel: [ 117.261064] 80211> CurTxPower = 20 dBm Aug 14 20:02:57 Kryptonian kernel: [ 117.261068] ====> Radar Channel 52 Aug 14 20:02:57 Kryptonian kernel: [ 117.261070] ====> Radar Channel 54 Aug 14 20:02:57 Kryptonian kernel: [ 117.261071] ====> Radar Channel 56 Aug 14 20:02:57 Kryptonian kernel: [ 117.261073] ====> Radar Channel 60 Aug 14 20:02:57 Kryptonian kernel: [ 117.261074] ====> Radar Channel 62 Aug 14 20:02:57 Kryptonian kernel: [ 117.261076] ====> Radar Channel 64 Aug 14 20:02:57 Kryptonian kernel: [ 117.261077] ====> Radar Channel 100 Aug 14 20:02:57 Kryptonian kernel: [ 117.261079] ====> Radar Channel 104 Aug 14 20:02:57 Kryptonian kernel: [ 117.261082] 80211> TxStream = 2 Aug 14 20:02:57 Kryptonian kernel: [ 117.261096] Chan 167 (frq 5835): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261099] Chan 169 (frq 5845): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261101] Chan 171 (frq 5855): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261103] Chan 173 (frq 5865): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261105] Chan 184 (frq 4920): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261107] Chan 188 (frq 4940): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261109] Chan 192 (frq 4960): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261111] Chan 196 (frq 4980): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261113] Chan 208 (frq 6040): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261115] Chan 212 (frq 6060): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261117] Chan 216 (frq 6080): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.261119] RTMPDrvOpen(1):Check if PDMA is idle! Aug 14 20:02:57 Kryptonian kernel: [ 117.261315] RTMPDrvOpen(2):Check if PDMA is idle! Aug 14 20:02:57 Kryptonian kernel: [ 117.263195] CFG80211DRV_IoctlHandle: CMD_RTPRIV_IOCTL_80211_NETDEV_EVENT Aug 14 20:02:57 Kryptonian kernel: [ 117.291688] andes_usb_erasefw Aug 14 20:02:57 Kryptonian kernel: [ 117.291813] ==>rlt_wlan_chip_onoff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0x20b, Reg-WlanFunCtrl=0x20b Aug 14 20:02:57 Kryptonian kernel: [ 117.298735] receive cmd msg fail(-2) Aug 14 20:02:57 Kryptonian kernel: [ 117.298819] tx_kickout_fail_count = 0 Aug 14 20:02:57 Kryptonian kernel: [ 117.298823] tx_timeout_fail_count = 0 Aug 14 20:02:57 Kryptonian kernel: [ 117.298824] rx_receive_fail_count = 0 Aug 14 20:02:57 Kryptonian kernel: [ 117.298826] alloc_cmd_msg = 10 Aug 14 20:02:57 Kryptonian kernel: [ 117.298827] free_cmd_msg = 10 Aug 14 20:02:57 Kryptonian kernel: [ 117.354141] RTMP_TimerListRelease: release timer obj ffffb55fc679b280! Aug 14 20:02:57 Kryptonian kernel: [ 117.354143] RTMP_TimerListRelease: release timer obj ffffb55fc679b2d0! Aug 14 20:02:57 Kryptonian kernel: [ 117.354144] RTMP_TimerListRelease: release timer obj ffffb55fc679b320! Aug 14 20:02:57 Kryptonian kernel: [ 117.354145] RTMP_TimerListRelease: release timer obj ffffb55fc679b230! Aug 14 20:02:57 Kryptonian kernel: [ 117.354145] RTMP_TimerListRelease: release timer obj ffffb55fc679b140! Aug 14 20:02:57 Kryptonian kernel: [ 117.354146] RTMP_TimerListRelease: release timer obj ffffb55fc679b190! Aug 14 20:02:57 Kryptonian kernel: [ 117.354147] RTMP_TimerListRelease: release timer obj ffffb55fc672ceb0! Aug 14 20:02:57 Kryptonian kernel: [ 117.354148] RTMP_TimerListRelease: release timer obj ffffb55fc671bd78! Aug 14 20:02:57 Kryptonian kernel: [ 117.354148] RTMP_TimerListRelease: release timer obj ffffb55fc671bdd0! Aug 14 20:02:57 Kryptonian kernel: [ 117.354149] RTMP_TimerListRelease: release timer obj ffffb55fc672cfc0! Aug 14 20:02:57 Kryptonian kernel: [ 117.354150] RTMP_TimerListRelease: release timer obj ffffb55fc672ce10! Aug 14 20:02:57 Kryptonian kernel: [ 117.354151] RTMP_TimerListRelease: release timer obj ffffb55fc672cf70! Aug 14 20:02:57 Kryptonian kernel: [ 117.366939] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x208, Reg-WlanFunCtrl=0x209 Aug 14 20:02:57 Kryptonian kernel: [ 117.368600] -->RTUSBVendorReset Aug 14 20:02:57 Kryptonian kernel: [ 117.388669] <--RTUSBVendorReset Aug 14 20:02:57 Kryptonian kernel: [ 117.390807] . Aug 14 20:02:57 Kryptonian kernel: [ 117.396845] . Aug 14 20:02:57 Kryptonian kernel: [ 117.403285] . Aug 14 20:02:57 Kryptonian kernel: [ 117.409854] . Aug 14 20:02:57 Kryptonian kernel: [ 117.416100] . Aug 14 20:02:57 Kryptonian kernel: [ 117.422749] . Aug 14 20:02:57 Kryptonian kernel: [ 117.429039] . Aug 14 20:02:57 Kryptonian kernel: [ 117.435304] . Aug 14 20:02:57 Kryptonian kernel: [ 117.441923] . Aug 14 20:02:57 Kryptonian kernel: [ 117.447947] . Aug 14 20:02:57 Kryptonian kernel: [ 117.454716] . Aug 14 20:02:57 Kryptonian kernel: [ 117.465129] andes_usb_chk_crc Aug 14 20:02:57 Kryptonian kernel: [ 117.489305] andes_usb_resetwmt Aug 14 20:02:57 Kryptonian kernel: [ 117.510050] -->RTUSBVendorReset Aug 14 20:02:57 Kryptonian kernel: [ 117.530109] <--RTUSBVendorReset Aug 14 20:02:57 Kryptonian kernel: [ 117.530617] fw version:0.0.00 Aug 14 20:02:57 Kryptonian kernel: [ 117.530620] build:1 Aug 14 20:02:57 Kryptonian kernel: [ 117.530621] build time: Aug 14 20:02:57 Kryptonian kernel: [ 117.530622] 2 Aug 14 20:02:57 Kryptonian kernel: [ 117.530624] 0 Aug 14 20:02:57 Kryptonian kernel: [ 117.530625] 1 Aug 14 20:02:57 Kryptonian kernel: [ 117.530626] 4 Aug 14 20:02:57 Kryptonian kernel: [ 117.530627] 0 Aug 14 20:02:57 Kryptonian kernel: [ 117.530628] 6 Aug 14 20:02:57 Kryptonian kernel: [ 117.530629] 2 Aug 14 20:02:57 Kryptonian kernel: [ 117.530630] 4 Aug 14 20:02:57 Kryptonian kernel: [ 117.530631] 1 Aug 14 20:02:57 Kryptonian kernel: [ 117.530632] 8 Aug 14 20:02:57 Kryptonian kernel: [ 117.530633] 3 Aug 14 20:02:57 Kryptonian kernel: [ 117.530634] 0 Aug 14 20:02:57 Kryptonian kernel: [ 117.530635] Aug 14 20:02:57 Kryptonian kernel: [ 117.530636] Aug 14 20:02:57 Kryptonian kernel: [ 117.530637] Aug 14 20:02:57 Kryptonian kernel: [ 117.530638] _ Aug 14 20:02:57 Kryptonian kernel: [ 117.530640] Aug 14 20:02:57 Kryptonian kernel: [ 117.530642] fw for E3 IC Aug 14 20:02:57 Kryptonian kernel: [ 117.530644] ilm length = 59312(bytes) Aug 14 20:02:57 Kryptonian kernel: [ 117.530645] dlm length = 32068(bytes) Aug 14 20:02:57 Kryptonian kernel: [ 117.531940] loading fw Aug 14 20:02:57 Kryptonian kernel: [ 117.533236] . Aug 14 20:02:57 Kryptonian kernel: [ 117.540137] . Aug 14 20:02:57 Kryptonian kernel: [ 117.547251] . Aug 14 20:02:57 Kryptonian kernel: [ 117.554376] . Aug 14 20:02:57 Kryptonian kernel: [ 117.561021] . Aug 14 20:02:57 Kryptonian kernel: [ 117.567886] . Aug 14 20:02:57 Kryptonian kernel: [ 117.574967] . Aug 14 20:02:57 Kryptonian kernel: [ 117.581641] . Aug 14 20:02:57 Kryptonian kernel: [ 117.587082] Aug 14 20:02:57 Kryptonian kernel: [ 117.599167] cfg_mode=5 Aug 14 20:02:57 Kryptonian kernel: [ 117.599389] Key1Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.599406] Key2Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.599422] Key3Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.599439] Key4Str is Invalid key length(0) or Type(0) Aug 14 20:02:57 Kryptonian kernel: [ 117.599844] USBAggregation = 1 Aug 14 20:02:57 Kryptonian kernel: [ 117.599847] 1. Phy Mode = 31 Aug 14 20:02:57 Kryptonian kernel: [ 117.599850] NVM is Efuse and its size =1d[1e0-1fc] Aug 14 20:02:57 Kryptonian kernel: [ 117.629943] get_chl_grp:illegal channel (167) Aug 14 20:02:57 Kryptonian kernel: [ 117.629947] get_chl_grp:illegal channel (167) Aug 14 20:02:57 Kryptonian kernel: [ 117.629949] get_chl_grp:illegal channel (169) Aug 14 20:02:57 Kryptonian kernel: [ 117.629950] get_chl_grp:illegal channel (169) Aug 14 20:02:57 Kryptonian kernel: [ 117.629952] get_chl_grp:illegal channel (171) Aug 14 20:02:57 Kryptonian kernel: [ 117.629953] get_chl_grp:illegal channel (171) Aug 14 20:02:57 Kryptonian kernel: [ 117.629955] get_chl_grp:illegal channel (173) Aug 14 20:02:57 Kryptonian kernel: [ 117.629957] get_chl_grp:illegal channel (173) Aug 14 20:02:57 Kryptonian kernel: [ 117.632438] Country Region from e2p = ffff Aug 14 20:02:57 Kryptonian kernel: [ 117.645689] mt76x2_get_external_lna_gain::LNA type=0x0, BLNAGain=0xffffff8d, ALNAGain0=0xffffff89, ALNAGain1=0xffffff88, ALNAGain2=0xffffff87 Aug 14 20:02:57 Kryptonian kernel: [ 117.645714] 2. Phy Mode = 31 Aug 14 20:02:57 Kryptonian kernel: [ 117.645717] 3. Phy Mode = 31 Aug 14 20:02:57 Kryptonian kernel: [ 117.645932] andes_usb_fw_init Aug 14 20:02:57 Kryptonian kernel: [ 117.823172] AntCfgInit: primary/secondary ant 0/1 Aug 14 20:02:57 Kryptonian kernel: [ 117.823174] andes_load_cr:cr_type(2) Aug 14 20:02:57 Kryptonian kernel: [ 117.824421] ChipStructAssign(): MT76x2 hook ! Aug 14 20:02:57 Kryptonian kernel: [ 117.824670] ---> InitFrequencyCalibration Aug 14 20:02:57 Kryptonian kernel: [ 117.824671] InitFrequencyCalibrationMode:Unknow mode = 3 Aug 14 20:02:57 Kryptonian kernel: [ 117.824672] InitFrequencyCalibration: frequency offset in the EEPROM = 168 Aug 14 20:02:57 Kryptonian kernel: [ 117.824672] <--- InitFrequencyCalibration Aug 14 20:02:57 Kryptonian kernel: [ 117.824679] RTMPSetPhyMode: channel is out of range, use first channel=1 Aug 14 20:02:57 Kryptonian kernel: [ 117.824680] RTMPSetPhyMode: Update for STA Aug 14 20:02:57 Kryptonian kernel: [ 117.828672] MCS Set = ff ff 00 00 01 Aug 14 20:02:57 Kryptonian kernel: [ 117.828796] 80211> re-init bands... Aug 14 20:02:57 Kryptonian kernel: [ 117.828797] 80211> CurTxPower = 20 dBm Aug 14 20:02:57 Kryptonian kernel: [ 117.828798] ====> Radar Channel 52 Aug 14 20:02:57 Kryptonian kernel: [ 117.828798] ====> Radar Channel 54 Aug 14 20:02:57 Kryptonian kernel: [ 117.828799] ====> Radar Channel 56 Aug 14 20:02:57 Kryptonian kernel: [ 117.828799] ====> Radar Channel 60 Aug 14 20:02:57 Kryptonian kernel: [ 117.828800] ====> Radar Channel 62 Aug 14 20:02:57 Kryptonian kernel: [ 117.828800] ====> Radar Channel 64 Aug 14 20:02:57 Kryptonian kernel: [ 117.828801] ====> Radar Channel 100 Aug 14 20:02:57 Kryptonian kernel: [ 117.828801] ====> Radar Channel 104 Aug 14 20:02:57 Kryptonian kernel: [ 117.828802] 80211> TxStream = 2 Aug 14 20:02:57 Kryptonian kernel: [ 117.828806] Chan 167 (frq 5835): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828807] Chan 169 (frq 5845): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828807] Chan 171 (frq 5855): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828808] Chan 173 (frq 5865): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828809] Chan 184 (frq 4920): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828809] Chan 188 (frq 4940): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828810] Chan 192 (frq 4960): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828810] Chan 196 (frq 4980): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828811] Chan 208 (frq 6040): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828811] Chan 212 (frq 6060): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828812] Chan 216 (frq 6080): not allowed! Aug 14 20:02:57 Kryptonian kernel: [ 117.828813] RTMPDrvOpen(1):Check if PDMA is idle! Aug 14 20:02:57 Kryptonian kernel: [ 117.828923] RTMPDrvOpen(2):Check if PDMA is idle! Aug 14 20:02:57 Kryptonian kernel: [ 117.829079] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready Aug 14 20:02:57 Kryptonian kernel: [ 117.864216] 80211> CFG80211_OpsPmksaFlush ==> Aug 14 20:02:58 Kryptonian kernel: [ 117.901022] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready Aug 14 20:02:58 Kryptonian kernel: [ 117.960205] TX0 power compensation = 0x38 Aug 14 20:02:58 Kryptonian kernel: [ 117.960422] TX1 power compensation = 0x38 Aug 14 20:02:58 Kryptonian kernel: [ 117.968743] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:58 Kryptonian kernel: [ 117.973099] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:58 Kryptonian kernel: [ 117.987837] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:58 Kryptonian kernel: [ 117.992344] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:58 Kryptonian kernel: [ 117.996846] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:58 Kryptonian kernel: [ 118.001226] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:58 Kryptonian kernel: [ 118.005581] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-64-HP OfficeJet Pro 8710 [1] Aug 14 20:02:59 Kryptonian kernel: [ 119.357893] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-06-HP OfficeJet 4650 [5] Aug 14 20:02:59 Kryptonian kernel: [ 119.535833] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-06-HP OfficeJet 4650 [5] Aug 14 20:02:59 Kryptonian kernel: [ 119.628040] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-06-HP OfficeJet 4650 [5] Aug 14 20:02:59 Kryptonian kernel: [ 119.707834] PeerBeaconAtScanAction P2P_SCANNING: DIRECT-06-HP OfficeJet 4650 [5] Aug 14 20:03:08 Kryptonian kernel: [ 128.182557] CFG80211DRV_IoctlHandle: CMD_RTPRIV_IOCTL_80211_NETDEV_EVENT Aug 14 20:03:08 Kryptonian kernel: [ 128.182563] BUG: unable to handle kernel paging request at 0000000e0012d8fd Aug 14 20:03:08 Kryptonian kernel: [ 128.182568] PGD 0 P4D 0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182572] Oops: 0000 [#1] SMP PTI Aug 14 20:03:08 Kryptonian kernel: [ 128.182574] Modules linked in: mt7662u_sta(O) fuse intel_rapl uvcvideo x86_pkg_temp_thermal intel_powerclamp binfmt_misc snd_hda_codec_hdmi arc4 coretemp videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_idt iwldvm videobuf2_common videodev snd_hda_codec_generic mac80211 snd_hda_intel snd_hda_codec kvm snd_hda_core i915 media irqbypass crct10dif_pclmul snd_hwdep crc32_pclmul drm_kms_helper rtsx_pci_ms wmi_bmof iTCO_wdt ghash_clmulni_intel snd_pcm drm intel_cstate snd_timer i2c_algo_bit iwlwifi snd intel_uncore hp_wmi memstick sparse_keymap intel_rapl_perf evdev iTCO_vendor_support soundcore hp_accel cfg80211 lis3lv02d joydev pcspkr rfkill serio_raw input_polldev button video sg mei_me mei battery shpchp wmi ac ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto Aug 14 20:03:08 Kryptonian kernel: [ 128.182615] ecb sr_mod cdrom sd_mod crc32c_intel rtsx_pci_sdmmc mmc_core ahci libahci aesni_intel xhci_pci aes_x86_64 ehci_pci libata crypto_simd xhci_hcd ehci_hcd cryptd glue_helper psmouse i2c_i801 scsi_mod lpc_ich r8169 rtsx_pci usbcore mii usb_common thermal Aug 14 20:03:08 Kryptonian kernel: [ 128.182633] CPU: 5 PID: 1434 Comm: NetworkManager Tainted: G O 4.17.0-kali1-amd64 #1 Debian 4.17.8-1kali1 Aug 14 20:03:08 Kryptonian kernel: [ 128.182635] Hardware name: Hewlett-Packard HP Pavilion dv7 Notebook PC/165B, BIOS F.1B 10/05/2011 Aug 14 20:03:08 Kryptonian kernel: [ 128.182661] RIP: 0010:CFG80211DRV_IoctlHandle.cold.4+0x29b/0x3bb [mt7662u_sta] Aug 14 20:03:08 Kryptonian kernel: [ 128.182662] RSP: 0018:ffffb55fc21575d8 EFLAGS: 00010286 Aug 14 20:03:08 Kryptonian kernel: [ 128.182664] RAX: 000000000000003c RBX: 0000000e00000004 RCX: 0000000000000000 Aug 14 20:03:08 Kryptonian kernel: [ 128.182666] RDX: 0000000000000000 RSI: ffff9173cfb56738 RDI: ffff9173cfb56738 Aug 14 20:03:08 Kryptonian kernel: [ 128.182668] RBP: ffff9173c5ca2000 R08: 0000000000000418 R09: 0000000000000004 Aug 14 20:03:08 Kryptonian kernel: [ 128.182669] R10: ffffb55fc21576f0 R11: 0000000000000001 R12: 0000000000005078 Aug 14 20:03:08 Kryptonian kernel: [ 128.182671] R13: 0000000000000009 R14: ffffb55fc2157720 R15: ffff9173715cc210 Aug 14 20:03:08 Kryptonian kernel: [ 128.182673] FS: 00007f1600b34080(0000) GS:ffff9173cfb40000(0000) knlGS:0000000000000000 Aug 14 20:03:08 Kryptonian kernel: [ 128.182675] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Aug 14 20:03:08 Kryptonian kernel: [ 128.182676] CR2: 0000000e0012d8fd CR3: 00000001f1750001 CR4: 00000000000606e0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182678] Call Trace: Aug 14 20:03:08 Kryptonian kernel: [ 128.182701] ? cfg80211_netdev_notifier_call+0xa6/0x620 [cfg80211] Aug 14 20:03:08 Kryptonian kernel: [ 128.182704] ? enqueue_task_fair+0x72/0x850 Aug 14 20:03:08 Kryptonian kernel: [ 128.182708] ? addrconf_notify+0x77/0xad0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182710] ? check_preempt_curr+0x75/0x80 Aug 14 20:03:08 Kryptonian kernel: [ 128.182713] ? ttwu_do_wakeup+0x19/0x140 Aug 14 20:03:08 Kryptonian kernel: [ 128.182729] RTMP_COM_IoctlHandle+0x5b/0x790 [mt7662u_sta] Aug 14 20:03:08 Kryptonian kernel: [ 128.182747] CFG80211NetdevNotifierEvent+0xda/0xe0 [mt7662u_sta] Aug 14 20:03:08 Kryptonian kernel: [ 128.182750] notifier_call_chain+0x47/0x70 Aug 14 20:03:08 Kryptonian kernel: [ 128.182754] dev_close_many+0x5f/0x110 Aug 14 20:03:08 Kryptonian kernel: [ 128.182757] dev_change_flags+0xdd/0x1f0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182759] dev_change_flags+0x23/0x60 Aug 14 20:03:08 Kryptonian kernel: [ 128.182762] do_setlink+0x2db/0xec0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182767] ? update_load_avg_se.isra.38+0x1cf/0x1e0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182769] ? update_load_avg_se.isra.38+0x1cf/0x1e0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182772] rtnl_newlink+0x5f3/0x950 Aug 14 20:03:08 Kryptonian kernel: [ 128.182775] ? update_load_avg_se.isra.38+0x1cf/0x1e0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182778] ? cpumask_next_wrap+0x2c/0x70 Aug 14 20:03:08 Kryptonian kernel: [ 128.182784] ? refcount_inc+0x5/0x30 Aug 14 20:03:08 Kryptonian kernel: [ 128.182787] ? apparmor_sk_free_security+0x10/0x70 Aug 14 20:03:08 Kryptonian kernel: [ 128.182791] ? security_capable+0x35/0x50 Aug 14 20:03:08 Kryptonian kernel: [ 128.182794] rtnetlink_rcv_msg+0x263/0x2d0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182797] ? __wake_up_common+0x76/0x170 Aug 14 20:03:08 Kryptonian kernel: [ 128.182799] ? rtnl_calcit.isra.30+0x110/0x110 Aug 14 20:03:08 Kryptonian kernel: [ 128.182802] netlink_rcv_skb+0x4d/0x130 Aug 14 20:03:08 Kryptonian kernel: [ 128.182805] netlink_unicast+0x1c2/0x250 Aug 14 20:03:08 Kryptonian kernel: [ 128.182807] netlink_sendmsg+0x2c1/0x3b0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182810] socksendmsg+0x36/0x40 Aug 14 20:03:08 Kryptonian kernel: [ 128.182813] sys_sendmsg+0x2a0/0x2f0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182815] ? wake_up_q+0x3f/0x70 Aug 14 20:03:08 Kryptonian kernel: [ 128.182817] ? futex_wake+0x93/0x180 Aug 14 20:03:08 Kryptonian kernel: [ 128.182820] ? do_futex+0x4b5/0xad0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182823] ? handle_mm_fault+0xa14/0x1220 Aug 14 20:03:08 Kryptonian kernel: [ 128.182826] ? sys_sendmsg+0x5e/0xa0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182828] __sys_sendmsg+0x5e/0xa0 Aug 14 20:03:08 Kryptonian kernel: [ 128.182832] do_syscall_64+0x55/0x110 Aug 14 20:03:08 Kryptonian kernel: [ 128.182835] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Aug 14 20:03:08 Kryptonian kernel: [ 128.182837] RIP: 0033:0x7f160442f617 Aug 14 20:03:08 Kryptonian kernel: [ 128.182839] RSP: 002b:00007ffe16d0f720 EFLAGS: 00000293 ORIG_RAX: 000000000000002e Aug 14 20:03:08 Kryptonian kernel: [ 128.182841] RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f160442f617 Aug 14 20:03:08 Kryptonian kernel: [ 128.182842] RDX: 0000000000000000 RSI: 00007ffe16d0f770 RDI: 0000000000000007 Aug 14 20:03:08 Kryptonian kernel: [ 128.182844] RBP: 00007ffe16d0f770 R08: 0000000000000000 R09: 0000000000000000 Aug 14 20:03:08 Kryptonian kernel: [ 128.182845] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 Aug 14 20:03:08 Kryptonian kernel: [ 128.182847] R13: 0000000000000000 R14: 00007ffe16d0f928 R15: 00007ffe16d0f91c Aug 14 20:03:08 Kryptonian kernel: [ 128.182849] Code: ff c2 e9 f7 56 fd ff 48 c7 c7 d0 57 cf c0 e8 23 a2 ff c2 e9 27 58 fd ff 48 c7 c6 80 ef ce c0 48 c7 c7 c8 94 d0 c0 e8 0b a2 ff c2 <80> bb f9 d8 12 00 01 0f 85 ce 4a fd ff 83 3d 89 26 07 00 01 0f Aug 14 20:03:08 Kryptonian kernel: [ 128.182893] RIP: CFG80211DRV_IoctlHandle.cold.4+0x29b/0x3bb [mt7662u_sta] RSP: ffffb55fc21575d8 Aug 14 20:03:08 Kryptonian kernel: [ 128.182895] CR2: 0000000e0012d8fd Aug 14 20:03:08 Kryptonian kernel: [ 128.182897] ---[ end trace 729cdf1fb5e02503 ]---`
Sys_log
`Aug 14 20:02:46 Kryptonian NetworkManager[616]:
@kaduke Your fork fixed this problem for me on ubuntu 18.04. Thank you!
@kaduke fork worked for me as well. Is this a PR yet?
Tried the fix suggested by genodeftest: ` memcpy(extra, addr, i*sizeof(struct sockaddr));
instead of
`
`export DBGFLAGS
Building driver with debug messages
cp -f os/linux/Makefile.6 /root/Netgear-A6210/os/linux/Makefile make -C /lib/modules/4.17.0-kali1-amd64/build DBGFLAGS=-DDBG SUBDIRS=/root/Netgear-A6210/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.17.0-kali1-amd64' CC [M] /root/Netgear-A6210/os/linux/../../sta/assoc.o CC [M] /root/Netgear-A6210/os/linux/../../sta/auth.o CC [M] /root/Netgear-A6210/os/linux/../../sta/auth_rsp.o CC [M] /root/Netgear-A6210/os/linux/../../sta/sync.o CC [M] /root/Netgear-A6210/os/linux/../../sta/sanity.o CC [M] /root/Netgear-A6210/os/linux/../../sta/rtmp_data.o CC [M] /root/Netgear-A6210/os/linux/../../sta/connect.o CC [M] /root/Netgear-A6210/os/linux/../../sta/wpa.o CC [M] /root/Netgear-A6210/os/linux/../../sta/sta_cfg.o CC [M] /root/Netgear-A6210/os/linux/../../sta/sta.o CC [M] /root/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o In file included from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/bitmap.h:9, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/cpumask.h:12, from /usr/src/linux-headers-4.17.0-kali1-common/arch/x86/include/asm/cpumask.h:5, from /usr/src/linux-headers-4.17.0-kali1-common/arch/x86/include/asm/msr.h:11, from /usr/src/linux-headers-4.17.0-kali1-common/arch/x86/include/asm/processor.h:21, from /usr/src/linux-headers-4.17.0-kali1-common/arch/x86/include/asm/cpufeature.h:5, from /usr/src/linux-headers-4.17.0-kali1-common/arch/x86/include/asm/thread_info.h:53, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/thread_info.h:38, from /usr/src/linux-headers-4.17.0-kali1-common/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/preempt.h:81, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/spinlock.h:51, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/seqlock.h:36, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/time.h:6, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/stat.h:19, from /usr/src/linux-headers-4.17.0-kali1-common/include/linux/module.h:10, from /root/Netgear-A6210/include/os/rt_linux.h:14, from /root/Netgear-A6210/include/rtmp_os.h:30, from /root/Netgear-A6210/include/rtmp_comm.h:64, from /root/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:33: In function ‘memcpy’, inlined from ‘rt_ioctl_iwaplist’ at /root/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:549:2: /usr/src/linux-headers-4.17.0-kali1-common/include/linux/string.h:341:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter __read_overflow2(); ^
~~~~~ make[4]: [/usr/src/linux-headers-4.17.0-kali1-common/scripts/Makefile.build:318: /root/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o] Error 1 make[3]: [/usr/src/linux-headers-4.17.0-kali1-common/Makefile:1585: module/root/Netgear-A6210/os/linux] Error 2 make[2]: [Makefile:146: sub-make] Error 2 make[1]: [Makefile:8: all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.17.0-kali1-amd64' make: *** [Makefile:64: debug] Error 2`