jurobystricky / Netgear-A6210

AC1200 High Gain WiFi USB Adapter Linux kernel driver
291 stars 155 forks source link

Kernel panic with WNDA3100v3 #133

Open jbbandos opened 4 years ago

jbbandos commented 4 years ago

Hi, For me the module always crashes. I am running MX-Linux on a chuwi aerobook laptop (Intel(R) Core(TM) m3-6Y30), right now with kernel 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2. I've tried with kernel 5.1.2 (had to do a couple of patches to make it compile) but had the exact same issue.

The dmesg output is this: [ 1126.489842] rtusb init rt2870 ---> [ 1126.489911] usbcore: registered new interface driver rt2870 [ 1138.732378] usb 1-5: new high-speed USB device number 6 using xhci_hcd [ 1138.881941] usb 1-5: New USB device found, idVendor=0846, idProduct=9014, bcdDevice= 1.00 [ 1138.881947] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1138.881951] usb 1-5: Product: WNDA3100v3 [ 1138.881955] usb 1-5: Manufacturer: MediaTek Inc. [ 1138.881958] usb 1-5: SerialNumber: 000000000 [ 1138.887329] === pAd = 00000000b2fc4c15, size = 1241112 ===

[ 1138.887334] driver version: 3.0.0.1 (Dec 29 2019 16:55:43) . [ 1138.888237] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a [ 1138.897869] RtmpChipOpsEepromHook::e2p_type=0, inf_Type=2 [ 1138.897872] RtmpEepromGetDefault::e2p_dafault=1 [ 1138.898100] NVM is EFUSE mode [ 1138.898103] Endpoint(8) is for In-band Command [ 1138.898105] Endpoint(4) is for WMM0 AC0 [ 1138.898107] Endpoint(5) is for WMM0 AC1 [ 1138.898109] Endpoint(6) is for WMM0 AC2 [ 1138.898111] Endpoint(7) is for WMM0 AC3 [ 1138.898113] Endpoint(9) is for WMM1 AC0 [ 1138.898115] Endpoint(84) is for Data-In [ 1138.898117] Endpoint(85) is for Command Rsp [ 1138.898325] 80211> CurTxPower = 20 dBm [ 1138.898329] ====> Radar Channel 52 [ 1138.898331] ====> Radar Channel 54 [ 1138.898332] ====> Radar Channel 56 [ 1138.898334] ====> Radar Channel 60 [ 1138.898335] ====> Radar Channel 62 [ 1138.898337] ====> Radar Channel 64 [ 1138.898339] ====> Radar Channel 100 [ 1138.898340] ====> Radar Channel 104 [ 1138.898343] 80211> TxStream = 0 [ 1138.898360] BUG: unable to handle kernel NULL pointer dereference at 0000000000000800 [ 1138.898368] PGD 0 P4D 0 [ 1138.898379] Oops: 0000 [#1] SMP PTI [ 1138.898389] CPU: 0 PID: 11543 Comm: kworker/0:4 Tainted: P OE 4.19.0-6-amd64 #1 Debian 4.19.67-2+deb10u2 [ 1138.898393] Hardware name: CHUWI INNOVATION LIMITED AeroBook/AeroBook, BIOS YZ-BI-133-X133KR110-KJ66B-106-J 04/12/2019 [ 1138.898431] Workqueue: usb_hub_wq hub_event [usbcore] [ 1138.898488] RIP: 0010:wiphy_register+0x55c/0x8a0 [cfg80211] [ 1138.898494] Code: 20 ff ff ff 7f 48 8b 32 48 01 c6 8b 7e 10 89 7e 24 48 8b 32 44 89 0c 06 39 4a 14 7f c7 0f b7 4a 44 66 85 c9 74 5a 48 8b 42 48 <0f> b7 10 66 85 d2 0f 84 85 11 05 00 0f b6 70 02 40 84 f6 0f 84 9d [ 1138.898500] RSP: 0018:ffffb8a2c2777820 EFLAGS: 00010282 [ 1138.898507] RAX: 0000000000000800 RBX: ffff921f1c5e42e0 RCX: 000000000000921f [ 1138.898511] RDX: ffff921f1efe4000 RSI: ffff921f1efe7000 RDI: 0000000000000014 [ 1138.898515] RBP: ffffb8a2c27778a8 R08: 0000000000000000 R09: 0000000000000000 [ 1138.898519] R10: 0000000000000000 R11: 0000000000000001 R12: 000000000000000e [ 1138.898523] R13: ffff921f1efe3000 R14: ffff921f1c5e18a0 R15: 0000000000000006 [ 1138.898529] FS: 0000000000000000(0000) GS:ffff921f26a00000(0000) knlGS:0000000000000000 [ 1138.898534] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1138.898539] CR2: 0000000000000800 CR3: 000000018a80a002 CR4: 00000000003606f0 [ 1138.898543] Call Trace: [ 1138.898639] ? CFG80211_SupBandInit.cold.3+0x6a/0x6f [mt7662u_sta] [ 1138.898721] CFG80211_Register+0x16c/0x2d0 [mt7662u_sta] [ 1138.898798] rt2870_probe.isra.6+0x221/0x340 [mt7662u_sta] [ 1138.898882] ? rt28xx_close+0x60/0x60 [mt7662u_sta] [ 1138.898961] ? rt28xx_open+0x140/0x140 [mt7662u_sta] [ 1138.899039] ? rt28xx_packet_xmit+0x70/0x70 [mt7662u_sta] [ 1138.899115] ? RtmpNetEthConvertDevSearch+0x70/0x70 [mt7662u_sta] [ 1138.899191] ? RtmpOSTaskWait+0x10/0x10 [mt7662u_sta] [ 1138.899264] rtusb_probe+0x4a/0x80 [mt7662u_sta] [ 1138.899300] usb_probe_interface+0xe4/0x2f0 [usbcore] [ 1138.899315] really_probe+0x23e/0x390 [ 1138.899324] ? driver_attach+0x110/0x110 [ 1138.899332] driver_probe_device+0xb3/0xf0 [ 1138.899340] ? driver_attach+0x110/0x110 [ 1138.899346] bus_for_each_drv+0x76/0xc0 [ 1138.899355] device_attach+0xd9/0x150 [ 1138.899363] bus_probe_device+0x8a/0xa0 [ 1138.899370] device_add+0x399/0x690 [ 1138.899404] usb_set_configuration+0x489/0x870 [usbcore] [ 1138.899440] generic_probe+0x48/0x70 [usbcore] [ 1138.899449] really_probe+0x23e/0x390 [ 1138.899457] ? __driver_attach+0x110/0x110 [ 1138.899464] driver_probe_device+0xb3/0xf0 [ 1138.899472] ? driver_attach+0x110/0x110 [ 1138.899478] bus_for_each_drv+0x76/0xc0 [ 1138.899486] __device_attach+0xd9/0x150 [ 1138.899494] bus_probe_device+0x8a/0xa0 [ 1138.899499] device_add+0x399/0x690 [ 1138.899529] usb_new_device+0x277/0x490 [usbcore] [ 1138.899562] hub_event+0x107a/0x15b0 [usbcore] [ 1138.899577] process_one_work+0x1a7/0x3a0 [ 1138.899586] worker_thread+0x30/0x390 [ 1138.899595] ? create_worker+0x1a0/0x1a0 [ 1138.899602] kthread+0x112/0x130 [ 1138.899609] ? kthread_bind+0x30/0x30 [ 1138.899621] ret_from_fork+0x35/0x40 [ 1138.899628] Modules linked in: mt7662u_sta(OE) ctr(E) ccm(E) rfcomm(E) devlink(E) nf_tables(E) nfnetlink(E) cpufreq_userspace(E) cpufreq_powersave(E) cpufreq_conservative(E) cmac(E) bnep(E) binfmt_misc(E) uinput(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) nfs(E) lockd(E) grace(E) fscache(E) sunrpc(E) fuse(E) nls_ascii(E) nls_cp437(E) vfat(E) fat(E) loop(E) parport_pc(E) ppdev(E) lp(E) parport(E) dm_crypt(E) dm_mod(E) btusb(E) btrtl(E) btbcm(E) btintel(E) bluetooth(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_common(E) rtsx_usb_ms(E) drbg(E) memstick(E) videodev(E) media(E) ansi_cprng(E) ecdh_generic(E) arc4(E) intel_rapl(E) iwlmvm(E) wl(POE) mac80211(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) coretemp(E) snd_soc_skl(E) joydev(E) iwlwifi(E) snd_soc_skl_ipc(E) snd_hda_codec_hdmi(E) [ 1138.899739] kvm_intel(E) snd_soc_sst_ipc(E) snd_soc_sst_dsp(E) kvm(E) snd_hda_codec_realtek(E) irqbypass(E) snd_hda_ext_core(E) cfg80211(E) snd_soc_acpi_intel_match(E) snd_soc_acpi(E) snd_hda_codec_generic(E) crct10dif_pclmul(E) crc32_pclmul(E) snd_soc_core(E) snd_compress(E) snd_hda_intel(E) snd_hda_codec(E) efi_pstore(E) snd_hda_core(E) ghash_clmulni_intel(E) snd_hwdep(E) efivars(E) snd_pcm(E) serio_raw(E) sg(E) intel_cstate(E) intel_uncore(E) snd_timer(E) snd(E) iTCO_wdt(E) soundcore(E) iTCO_vendor_support(E) rfkill(E) mei_me(E) intel_rapl_perf(E) hid_multitouch(E) mei(E) idma64(E) processor_thermal_device(E) intel_pch_thermal(E) intel_soc_dts_iosf(E) pcc_cpufreq(E) int3403_thermal(E) battery(E) intel_vbtn(E) int340x_thermal_zone(E) ac(E) tpm_crb(E) tpm_tis(E) tpm_tis_core(E) tpm(E) intel_hid(E) [ 1138.899822] rng_core(E) int3400_thermal(E) acpi_thermal_rel(E) sparse_keymap(E) evdev(E) acpi_pad(E) ext4(E) crc16(E) mbcache(E) jbd2(E) fscrypto(E) ecb(E) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhash(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) vmd(E) sd_mod(E) usbhid(E) rtsx_usb_sdmmc(E) rtsx_usb(E) spi_pxa2xx_platform(E) hid_generic(E) mmc_block(E) crc32c_intel(E) ahci(E) libahci(E) i915(E) aesni_intel(E) i2c_algo_bit(E) sdhci_pci(E) cqhci(E) sdhci(E) drm_kms_helper(E) aes_x86_64(E) crypto_simd(E) cryptd(E) glue_helper(E) libata(E) xhci_pci(E) i2c_i801(E) mmc_core(E) xhci_hcd(E) scsi_mod(E) intel_lpss_pci(E) usbcore(E) drm(E) intel_lpss(E) usb_common(E) thermal(E) wmi(E) i2c_hid(E) hid(E) video(E) button(E) [ 1138.899918] CR2: 0000000000000800 [ 1138.899926] ---[ end trace b77c584fd3d8723f ]--- [ 1139.057755] RIP: 0010:wiphy_register+0x55c/0x8a0 [cfg80211] [ 1139.057768] Code: 20 ff ff ff 7f 48 8b 32 48 01 c6 8b 7e 10 89 7e 24 48 8b 32 44 89 0c 06 39 4a 14 7f c7 0f b7 4a 44 66 85 c9 74 5a 48 8b 42 48 <0f> b7 10 66 85 d2 0f 84 85 11 05 00 0f b6 70 02 40 84 f6 0f 84 9d [ 1139.057774] RSP: 0018:ffffb8a2c2777820 EFLAGS: 00010282 [ 1139.057782] RAX: 0000000000000800 RBX: ffff921f1c5e42e0 RCX: 000000000000921f [ 1139.057787] RDX: ffff921f1efe4000 RSI: ffff921f1efe7000 RDI: 0000000000000014 [ 1139.057791] RBP: ffffb8a2c27778a8 R08: 0000000000000000 R09: 0000000000000000 [ 1139.057795] R10: 0000000000000000 R11: 0000000000000001 R12: 000000000000000e [ 1139.057799] R13: ffff921f1efe3000 R14: ffff921f1c5e18a0 R15: 0000000000000006 [ 1139.057804] FS: 0000000000000000(0000) GS:ffff921f26a00000(0000) knlGS:0000000000000000 [ 1139.057810] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1139.057814] CR2: 0000000000000800 CR3: 000000025a8f2005 CR4: 00000000003606f0