lwfinger / rtl8723du

89 stars 43 forks source link

Module crashes in various circumstances #38

Closed HeroesLament closed 1 year ago

HeroesLament commented 1 year ago

Hello lwfinger and team!

My 8723du module has been crashing as of late, with traces like this:

[144976.013061] atkbd serio0: Unknown key pressed (translated set 2, code 0x55 on isa0060/serio0). [144976.013082] atkbd serio0: Use 'setkeycodes 55 ' to make it known. [144976.606490] atkbd serio0: Unknown key released (translated set 2, code 0x55 on isa0060/serio0). [144976.606502] atkbd serio0: Use 'setkeycodes 55 ' to make it known. [144980.611924] atkbd serio0: Unknown key pressed (translated set 2, code 0x55 on isa0060/serio0). [144980.611947] atkbd serio0: Use 'setkeycodes 55 ' to make it known. [144980.683930] atkbd serio0: Unknown key released (translated set 2, code 0x55 on isa0060/serio0). [144980.683954] atkbd serio0: Use 'setkeycodes 55 ' to make it known. [144980.722524] atkbd serio0: Unknown key pressed (translated set 2, code 0x55 on isa0060/serio0). [144980.722548] atkbd serio0: Use 'setkeycodes 55 ' to make it known. [144981.116142] atkbd serio0: Unknown key released (translated set 2, code 0x55 on isa0060/serio0). [144981.116153] atkbd serio0: Use 'setkeycodes 55 ' to make it known. [145260.527385] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s21f0u7i2: link becomes ready [145562.150272] ------------[ cut here ]------------ [145562.150280] WARNING: CPU: 0 PID: 60651 at net/wireless/sme.c:839 __cfg80211_connect_result+0x7bd/0x7d0 [cfg80211] [145562.150368] Modules linked in: xt_MASQUERADE xt_mark nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device intel_pmc_bxt intel_telemetry_pltdrv snd_sof_pci_intel_apl intel_punit_ipc snd_sof_intel_hda_common intel_telemetry_core soundwire_intel soundwire_generic_allocation soundwire_cadence x86_pkg_temp_thermal snd_sof_intel_hda intel_powerclamp snd_sof_pci cmac coretemp algif_hash algif_skcipher af_alg snd_sof_xtensa_dsp bnep kvm_intel hid_multitouch snd_sof kvm spi_pxa2xx_platform dw_dmac snd_sof_utils 8250_dw soundwire_bus joydev mousedev snd_soc_avs snd_soc_hda_codec intel_rapl_msr uvcvideo irqbypass snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp videobuf2_vmalloc snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress rapl videobuf2_memops videobuf2_v4l2 ac97_bus i2c_i801 btusb intel_cstate videobuf2_common snd_pcm_dmaengine i2c_smbus btrtl snd_hda_codec_hdmi [145562.150431] snd_hda_codec_realtek nfnetlink snd_hda_codec_generic tun ledtrig_audio rtsx_usb_ms btbcm btintel snd_hda_intel btmtk snd_intel_dspcfg memstick snd_intel_sdw_acpi snd_hda_codec videodev snd_hda_core mc snd_hwdep processor_thermal_device_pci_legacy processor_thermal_device snd_pcm processor_thermal_rfim bluetooth processor_thermal_mbox snd_timer processor_thermal_rapl qrtr snd intel_rapl_common intel_lpss_pci intel_soc_dts_iosf intel_lpss soundcore idma64 ecdh_generic crc16 goodix_ts int3400_thermal int3403_thermal intel_hid acpi_thermal_rel int340x_thermal_zone soc_button_array sparse_keymap vfat fat mac_hid fuse loop dm_mod zram ip_tables x_tables 8723du(OE) cfg80211 rfkill rtsx_usb_sdmmc crct10dif_pclmul rtsx_usb mmc_block crc32_pclmul i915 polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 drm_buddy serio_raw intel_gtt atkbd sdhci_pci aesni_intel cqhci libps2 crypto_simd sdhci vivaldi_fmap drm_display_helper cryptd cec xhci_pci wdat_wdt xhci_pci_renesas mmc_core [145562.150526] i2c_hid_acpi ttm i2c_hid i8042 video serio wmi btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq uinput crypto_user [145562.150542] CPU: 0 PID: 60651 Comm: kworker/u8:13 Tainted: G W OE 6.1.25-1-lts #1 0ebfa615fba354813deb87c6e669e65852f0b237 [145562.150547] Hardware name: GPU Company GWTC116-2/GPU Company, BIOS CC-BI-11.6-Y116GRX510-GF55C-268-D 06/21/2022 [145562.150549] Workqueue: cfg80211 cfg80211_event_work [cfg80211] [145562.150608] RIP: 0010:__cfg80211_connect_result+0x7bd/0x7d0 [cfg80211] [145562.150671] Code: 89 44 1f fe e9 d8 fc ff ff e8 3f ab a7 e3 45 31 ed 0f b7 d0 e9 66 fd ff ff 4c 89 e7 e8 ac df ff ff 83 3b 00 0f 85 25 fe ff ff <0f> 0b 48 89 de 4c 89 e7 e8 c6 e5 ff ff e9 f9 fa ff ff 90 f3 0f 1e [145562.150674] RSP: 0018:ffffaf374542fdb0 EFLAGS: 00010246 [145562.150676] RAX: 0000000000000000 RBX: ffff892d822e3018 RCX: 0000000000000000 [145562.150678] RDX: 0000000000000000 RSI: 00000000fffffe00 RDI: ffff892d8afa5800 [145562.150680] RBP: ffffaf374542fe10 R08: 0000000000000000 R09: 0000000000000000 [145562.150681] R10: 0000000000000002 R11: 0000000000000000 R12: ffff892d8afa5800 [145562.150683] R13: 0000000000000000 R14: ffff892d822e3341 R15: ffff892d822e3018 [145562.150685] FS: 0000000000000000(0000) GS:ffff892dfbc00000(0000) knlGS:0000000000000000 [145562.150687] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [145562.150689] CR2: 00007ff48cee9998 CR3: 0000000006108000 CR4: 0000000000350ef0 [145562.150691] Call Trace: [145562.150696] [145562.150701] ? psi_task_switch+0x122/0x230 [145562.150710] ? cfg80211_process_wdev_events+0x15c/0x1b0 [cfg80211 025db8f9feb35d275c274d597c3b30ea5f277173] [145562.150769] cfg80211_process_wdev_events+0x15c/0x1b0 [cfg80211 025db8f9feb35d275c274d597c3b30ea5f277173] [145562.150829] cfg80211_process_rdev_events+0x2a/0x40 [cfg80211 025db8f9feb35d275c274d597c3b30ea5f277173] [145562.150888] cfg80211_event_work+0x29/0x40 [cfg80211 025db8f9feb35d275c274d597c3b30ea5f277173] [145562.150946] process_one_work+0x1c4/0x380 [145562.150952] worker_thread+0x51/0x390 [145562.150956] ? rescuer_thread+0x3b0/0x3b0 [145562.150959] kthread+0xdb/0x110 [145562.150963] ? kthread_complete_and_exit+0x20/0x20 [145562.150966] ret_from_fork+0x1f/0x30 [145562.150973] [145562.150974] ---[ end trace 0000000000000000 ]--- [145570.878247] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s21f0u7i2: link becomes ready

Do you have any guidance, or is there any way I can help debugging this?

Thank you,

lwfinger commented 1 year ago

This is the vendor driver. My maximum level of support here is to make sure it compiles.

My suggestion is for you to change to the rtw8723du driver that is now part of https://github.com/lwfinger/rtw88.git. That one is fully supported by the Realtek authors of these wifi 5 drivers in the kernel.