Closed darkblaze69 closed 1 week ago
Do you often see "Rate marked as a VHT rate but data is invalid: MCS: 0, NSS: 0"? I have only seen it once.
What about "failed to get urb length:32768"? I have never seen that on my computer.
If you don't have to wait weeks for them to appear again, I would ask you to apply some patches in order to gather more information.
Does the wifi connection still work when these messages appear?
Hi, I have the same problem on latest rtw88 git with Arch Linux + linux-lts.
I have two APs:
rtw_8812au 2-1:1.0: failed to get urb length:32768
I can reliably reproduce the bug starting iperf3 -s
somewhere on the network, and executing iperf3 -c server.ip -t 30 -R
on the machine with the rtl8812au adapter.
Full report:
[ 187.494405] wlan0: associated
[ 187.563562] wlan0: Limiting TX power to 20 (30 - 10) dBm as advertised by 80:2a:a8:xx:xx:xx
[ 192.549552] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 192.621840] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 192.641487] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 192.659191] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 193.031068] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 193.198498] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 193.332539] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 193.496463] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 193.639115] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 193.815311] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.017287] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.169972] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.338895] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.493368] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.493432] ------------[ cut here ]------------
[ 194.493436] Rate marked as a VHT rate but data is invalid: MCS: 0, NSS: 0
[ 194.493487] WARNING: CPU: 1 PID: 26 at net/mac80211/rx.c:5344 ieee80211_rx_list+0x2b5/0xea0 [mac80211]
[ 194.493636] Modules linked in: sctp ip6_udp_tunnel udp_tunnel cmac rtw_8812au(OE) rtw_8821a(OE) rtw_usb(OE) rtw_core(OE) ccm bnep overlay snd_seq_dummy snd_hrtimer snd_seq snd_seq_device intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel ath3k btusb kvm spi_nor uvcvideo btrtl snd_hda_codec_hdmi mtd videobuf2_vmalloc btintel ath9k_common irqbypass crct10dif_pclmul snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio crc32_pclmul btbcm ath9k_hw uvc joydev btmtk spi_intel_platform mousedev polyval_generic videobuf2_memops at24 iTCO_wdt gf128mul videobuf2_v4l2 ath ghash_clmulni_intel intel_pmc_bxt acer_wmi spi_intel iTCO_vendor_support mac80211 mei_hdcp hid_multitouch mei_pxp sparse_keymap wmi_bmof intel_rapl_msr videodev cryptd bluetooth sha512_ssse3 snd_hda_intel sha1_ssse3 i915 snd_intel_dspcfg intel_cstate libarc4 videobuf2_common snd_intel_sdw_acpi pcspkr drm_buddy i2c_i801 r8169 i2c_algo_bit ecdh_generic mc realtek i2c_smbus ttm snd_hda_codec cfg80211 crc16 snd_hda_core
[ 194.493753] drm_display_helper rfkill mdio_devres lpc_ich snd_hwdep cec snd_pcm snd_timer libphy intel_gtt snd mei_txe mei soundcore int3401_thermal i2c_hid_acpi i2c_hid processor_thermal_device vfat dw_dmac processor_thermal_rfim fat video processor_thermal_mbox wmi processor_thermal_rapl int3403_thermal pwm_lpss_platform intel_rapl_common int3400_thermal acpi_thermal_rel int340x_thermal_zone pwm_lpss mac_hid pkcs8_key_parser i2c_dev crypto_user loop fuse dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 i8042 xhci_pci xhci_pci_renesas serio sdhci_acpi sdhci mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq [last unloaded: ath9k]
[ 194.493839] CPU: 1 PID: 26 Comm: ksoftirqd/1 Tainted: G OE 6.6.46-1-lts #1 180e79e37528e3108a25b78d18bc12bb7965e9b7
[ 194.493846] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 194.493848] RIP: 0010:ieee80211_rx_list+0x2b5/0xea0 [mac80211]
[ 194.493970] Code: 0f 86 4d 06 00 00 80 3d ac 95 08 00 00 0f 85 31 ff ff ff 0f b6 53 4a 48 c7 c7 78 b2 2c c1 c6 05 94 95 08 00 01 e8 fb a5 6e ee <0f> 0b e9 13 ff ff ff 40 80 fe 0b 0f 86 97 05 00 00 80 3d 76 95 08
[ 194.493973] RSP: 0018:ffffc9000011fcd8 EFLAGS: 00010282
[ 194.493978] RAX: 0000000000000000 RBX: ffff8881017f8700 RCX: 0000000000000027
[ 194.493981] RDX: ffff888277ca16c8 RSI: 0000000000000001 RDI: ffff888277ca16c0
[ 194.493983] RBP: ffff8881d09c8900 R08: 0000000000000000 R09: ffffc9000011fb48
[ 194.493986] R10: ffffffffb16b23e8 R11: 0000000000000003 R12: 0000000000000000
[ 194.493988] R13: 0000000000000001 R14: ffff8881017f8700 R15: ffffc9000011fdd0
[ 194.493992] FS: 0000000000000000(0000) GS:ffff888277c80000(0000) knlGS:0000000000000000
[ 194.493995] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 194.493998] CR2: 00007fad6a0b2740 CR3: 00000001799b2000 CR4: 00000000001006e0
[ 194.494001] Call Trace:
[ 194.494005] <TASK>
[ 194.494008] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 194.494130] ? __warn+0x81/0x130
[ 194.494141] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 194.494264] ? report_bug+0x16f/0x1a0
[ 194.494271] ? handle_bug+0x3c/0x80
[ 194.494275] ? exc_invalid_op+0x17/0x70
[ 194.494280] ? asm_exc_invalid_op+0x1a/0x20
[ 194.494286] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 194.494413] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 194.494543] ? update_load_avg+0x7e/0x760
[ 194.494550] ? psi_group_change+0x21e/0x3d0
[ 194.494555] ? dequeue_entity+0x138/0x4e0
[ 194.494562] ieee80211_rx_napi+0x54/0xf0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 194.494688] ? __switch_to_asm+0x3e/0x70
[ 194.494695] ieee80211_handle_queued_frames+0xbe/0xd0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 194.494809] tasklet_action_common.isra.0+0xc3/0x230
[ 194.494817] handle_softirqs+0xe5/0x2e0
[ 194.494824] ? __pfx_smpboot_thread_fn+0x10/0x10
[ 194.494829] run_ksoftirqd+0x31/0x40
[ 194.494834] smpboot_thread_fn+0xdc/0x1d0
[ 194.494840] kthread+0xe8/0x120
[ 194.494845] ? __pfx_kthread+0x10/0x10
[ 194.494851] ret_from_fork+0x34/0x50
[ 194.494857] ? __pfx_kthread+0x10/0x10
[ 194.494862] ret_from_fork_asm+0x1b/0x30
[ 194.494869] </TASK>
[ 194.494871] ---[ end trace 0000000000000000 ]---
[ 194.643518] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.860125] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 194.979049] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 195.092419] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 195.250880] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 195.403637] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 195.603193] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 195.715248] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 195.963469] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 196.246528] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 196.359211] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 196.653506] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 196.848481] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 196.961089] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 197.206843] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 197.438162] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 197.697689] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 197.855896] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 198.062819] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 198.193516] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 198.362971] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 198.668780] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 198.780256] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 199.230286] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 199.369760] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 199.548871] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 199.683008] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 200.305712] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 590.715333] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 590.897921] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 590.898046] ------------[ cut here ]------------
[ 590.898050] WARNING: CPU: 0 PID: 17 at net/mac80211/rx.c:803 ieee80211_rx_list+0x907/0xea0 [mac80211]
[ 590.898200] Modules linked in: sctp ip6_udp_tunnel udp_tunnel cmac rtw_8812au(OE) rtw_8821a(OE) rtw_usb(OE) rtw_core(OE) ccm bnep overlay snd_seq_dummy snd_hrtimer snd_seq snd_seq_device intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel ath3k btusb kvm spi_nor uvcvideo btrtl snd_hda_codec_hdmi mtd videobuf2_vmalloc btintel ath9k_common irqbypass crct10dif_pclmul snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio crc32_pclmul btbcm ath9k_hw uvc joydev btmtk spi_intel_platform mousedev polyval_generic videobuf2_memops at24 iTCO_wdt gf128mul videobuf2_v4l2 ath ghash_clmulni_intel intel_pmc_bxt acer_wmi spi_intel iTCO_vendor_support mac80211 mei_hdcp hid_multitouch mei_pxp sparse_keymap wmi_bmof intel_rapl_msr videodev cryptd bluetooth sha512_ssse3 snd_hda_intel sha1_ssse3 i915 snd_intel_dspcfg intel_cstate libarc4 videobuf2_common snd_intel_sdw_acpi pcspkr drm_buddy i2c_i801 r8169 i2c_algo_bit ecdh_generic mc realtek i2c_smbus ttm snd_hda_codec cfg80211 crc16 snd_hda_core
[ 590.898318] drm_display_helper rfkill mdio_devres lpc_ich snd_hwdep cec snd_pcm snd_timer libphy intel_gtt snd mei_txe mei soundcore int3401_thermal i2c_hid_acpi i2c_hid processor_thermal_device vfat dw_dmac processor_thermal_rfim fat video processor_thermal_mbox wmi processor_thermal_rapl int3403_thermal pwm_lpss_platform intel_rapl_common int3400_thermal acpi_thermal_rel int340x_thermal_zone pwm_lpss mac_hid pkcs8_key_parser i2c_dev crypto_user loop fuse dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 i8042 xhci_pci xhci_pci_renesas serio sdhci_acpi sdhci mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq [last unloaded: ath9k]
[ 590.898404] CPU: 0 PID: 17 Comm: ksoftirqd/0 Tainted: G W OE 6.6.46-1-lts #1 180e79e37528e3108a25b78d18bc12bb7965e9b7
[ 590.898410] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 590.898412] RIP: 0010:ieee80211_rx_list+0x907/0xea0 [mac80211]
[ 590.898534] Code: ff 0f b6 7b 4a 8d 57 ff 80 fa 07 0f 87 a3 f9 ff ff e9 7a ff ff ff 41 8d 48 04 c7 44 24 08 04 00 00 00 39 d1 0f 82 ff f9 ff ff <0f> 0b 48 8b 84 24 b0 00 00 00 65 48 2b 04 25 28 00 00 00 0f 84 16
[ 590.898538] RSP: 0018:ffffc900000bfcd8 EFLAGS: 00010202
[ 590.898542] RAX: 0000000000000082 RBX: ffff888110bc9f00 RCX: 0000000000000004
[ 590.898545] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
[ 590.898547] RBP: ffff8881d09c8900 R08: 0000000000000000 R09: 0000000000000000
[ 590.898550] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 590.898552] R13: 0000000000000001 R14: ffff8881ed2c0020 R15: ffffc900000bfdd0
[ 590.898555] FS: 0000000000000000(0000) GS:ffff888277c00000(0000) knlGS:0000000000000000
[ 590.898558] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 590.898561] CR2: 00007a36ca79a000 CR3: 00000001e9304000 CR4: 00000000001006f0
[ 590.898564] Call Trace:
[ 590.898569] <TASK>
[ 590.898572] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 590.898720] ? __warn+0x81/0x130
[ 590.898732] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 590.898869] ? report_bug+0x16f/0x1a0
[ 590.898878] ? handle_bug+0x3c/0x80
[ 590.898882] ? exc_invalid_op+0x17/0x70
[ 590.898887] ? asm_exc_invalid_op+0x1a/0x20
[ 590.898894] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 590.899027] ? sched_clock+0x10/0x30
[ 590.899033] ? sched_clock_cpu+0xf/0x1d0
[ 590.899038] ? psi_group_change+0x21e/0x3d0
[ 590.899044] ieee80211_rx_napi+0x54/0xf0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 590.899168] ? __switch_to_asm+0x3e/0x70
[ 590.899175] ieee80211_handle_queued_frames+0xbe/0xd0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 590.899289] tasklet_action_common.isra.0+0xc3/0x230
[ 590.899296] handle_softirqs+0xe5/0x2e0
[ 590.899302] ? __pfx_smpboot_thread_fn+0x10/0x10
[ 590.899307] run_ksoftirqd+0x31/0x40
[ 590.899312] smpboot_thread_fn+0xdc/0x1d0
[ 590.899317] kthread+0xe8/0x120
[ 590.899323] ? __pfx_kthread+0x10/0x10
[ 590.899328] ret_from_fork+0x34/0x50
[ 590.899334] ? __pfx_kthread+0x10/0x10
[ 590.899339] ret_from_fork_asm+0x1b/0x30
[ 590.899346] </TASK>
[ 590.899348] ---[ end trace 0000000000000000 ]---
[ 591.022279] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 591.475268] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 591.905642] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 591.906248] ------------[ cut here ]------------
[ 591.906258] WARNING: CPU: 0 PID: 210 at net/mac80211/rx.c:803 ieee80211_rx_list+0x907/0xea0 [mac80211]
[ 591.906421] Modules linked in: sctp ip6_udp_tunnel udp_tunnel cmac rtw_8812au(OE) rtw_8821a(OE) rtw_usb(OE) rtw_core(OE) ccm bnep overlay snd_seq_dummy snd_hrtimer snd_seq snd_seq_device intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel ath3k btusb kvm spi_nor uvcvideo btrtl snd_hda_codec_hdmi mtd videobuf2_vmalloc btintel ath9k_common irqbypass crct10dif_pclmul snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio crc32_pclmul btbcm ath9k_hw uvc joydev btmtk spi_intel_platform mousedev polyval_generic videobuf2_memops at24 iTCO_wdt gf128mul videobuf2_v4l2 ath ghash_clmulni_intel intel_pmc_bxt acer_wmi spi_intel iTCO_vendor_support mac80211 mei_hdcp hid_multitouch mei_pxp sparse_keymap wmi_bmof intel_rapl_msr videodev cryptd bluetooth sha512_ssse3 snd_hda_intel sha1_ssse3 i915 snd_intel_dspcfg intel_cstate libarc4 videobuf2_common snd_intel_sdw_acpi pcspkr drm_buddy i2c_i801 r8169 i2c_algo_bit ecdh_generic mc realtek i2c_smbus ttm snd_hda_codec cfg80211 crc16 snd_hda_core
[ 591.906589] drm_display_helper rfkill mdio_devres lpc_ich snd_hwdep cec snd_pcm snd_timer libphy intel_gtt snd mei_txe mei soundcore int3401_thermal i2c_hid_acpi i2c_hid processor_thermal_device vfat dw_dmac processor_thermal_rfim fat video processor_thermal_mbox wmi processor_thermal_rapl int3403_thermal pwm_lpss_platform intel_rapl_common int3400_thermal acpi_thermal_rel int340x_thermal_zone pwm_lpss mac_hid pkcs8_key_parser i2c_dev crypto_user loop fuse dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 i8042 xhci_pci xhci_pci_renesas serio sdhci_acpi sdhci mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq [last unloaded: ath9k]
[ 591.906678] CPU: 0 PID: 210 Comm: kworker/u8:4 Tainted: G W OE 6.6.46-1-lts #1 180e79e37528e3108a25b78d18bc12bb7965e9b7
[ 591.906685] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 591.906689] Workqueue: rtw88_usb: rx wq rtw_usb_rx_handler [rtw_usb]
[ 591.906703] RIP: 0010:ieee80211_rx_list+0x907/0xea0 [mac80211]
[ 591.906853] Code: ff 0f b6 7b 4a 8d 57 ff 80 fa 07 0f 87 a3 f9 ff ff e9 7a ff ff ff 41 8d 48 04 c7 44 24 08 04 00 00 00 39 d1 0f 82 ff f9 ff ff <0f> 0b 48 8b 84 24 b0 00 00 00 65 48 2b 04 25 28 00 00 00 0f 84 16
[ 591.906857] RSP: 0018:ffffc90000003de8 EFLAGS: 00010202
[ 591.906861] RAX: 00000000000000a0 RBX: ffff888110bc2b00 RCX: 0000000000000004
[ 591.906864] RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000001
[ 591.906866] RBP: ffff8881d09c8900 R08: 0000000000000000 R09: 0000000000000000
[ 591.906869] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 591.906871] R13: 0000000000000001 R14: ffff8881ed260020 R15: ffffc90000003ee0
[ 591.906874] FS: 0000000000000000(0000) GS:ffff888277c00000(0000) knlGS:0000000000000000
[ 591.906877] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 591.906880] CR2: 00007a36c80f7000 CR3: 00000001266ba000 CR4: 00000000001006f0
[ 591.906883] Call Trace:
[ 591.906889] <IRQ>
[ 591.906892] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 591.907032] ? __warn+0x81/0x130
[ 591.907043] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 591.907168] ? report_bug+0x16f/0x1a0
[ 591.907175] ? handle_bug+0x3c/0x80
[ 591.907180] ? exc_invalid_op+0x17/0x70
[ 591.907184] ? asm_exc_invalid_op+0x1a/0x20
[ 591.907191] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 591.907312] ? usb_hcd_submit_urb+0xc7/0xca0
[ 591.907318] ? __kmalloc_node_track_caller+0xc2/0x130
[ 591.907324] ? kmalloc_reserve+0x62/0xf0
[ 591.907331] ? usb_hcd_unlink_urb_from_ep+0x1e/0x60
[ 591.907337] ? xhci_giveback_urb_in_irq.isra.0+0x48/0xb0
[ 591.907343] ? usb_hcd_giveback_urb+0x91/0xe0
[ 591.907348] ieee80211_rx_napi+0x54/0xf0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 591.907484] ieee80211_handle_queued_frames+0xbe/0xd0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 591.907599] tasklet_action_common.isra.0+0xc3/0x230
[ 591.907607] handle_softirqs+0xe5/0x2e0
[ 591.907614] __irq_exit_rcu+0xa5/0xc0
[ 591.907619] common_interrupt+0x86/0xa0
[ 591.907626] </IRQ>
[ 591.907628] <TASK>
[ 591.907630] asm_common_interrupt+0x26/0x40
[ 591.907635] RIP: 0010:__tasklet_schedule_common+0x60/0xd0
[ 591.907642] Code: 90 b8 01 00 00 00 48 d3 e0 65 66 09 05 71 09 77 50 65 8b 05 4a 09 77 50 a9 00 ff ff 00 74 5e 80 e7 02 74 06 fb 0f 1f 44 00 00 <48> 83 c4 08 5b c3 cc cc cc cc 65 8b 05 2b 09 77 50 89 c0 48 0f a3
[ 591.907645] RSP: 0018:ffffc9000143bd70 EFLAGS: 00000202
[ 591.907650] RAX: 0000000000000001 RBX: 0000000000000282 RCX: 0000000000000b4d
[ 591.907652] RDX: 0000000000000000 RSI: 0000000000000087 RDI: ffff8881002e9944
[ 591.907655] RBP: ffff888110bc2b00 R08: 0000000000000400 R09: 0000000000000002
[ 591.907657] R10: ffff888277c34310 R11: 0000000000000000 R12: ffffc9000143bdb0
[ 591.907660] R13: 0000000000000000 R14: 0000000000000018 R15: ffff8881d09ca080
[ 591.907666] ? ieee80211_rx_irqsafe+0x2c/0x50 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 591.907788] rtw_usb_rx_handler+0x1d3/0x260 [rtw_usb 91825363ae30bf9e0e7e0ea545ff1b58a1c127f9]
[ 591.907802] process_one_work+0x180/0x350
[ 591.907808] worker_thread+0x315/0x450
[ 591.907814] ? __pfx_worker_thread+0x10/0x10
[ 591.907818] kthread+0xe8/0x120
[ 591.907824] ? __pfx_kthread+0x10/0x10
[ 591.907829] ret_from_fork+0x34/0x50
[ 591.907835] ? __pfx_kthread+0x10/0x10
[ 591.907840] ret_from_fork_asm+0x1b/0x30
[ 591.907847] </TASK>
[ 591.907849] ---[ end trace 0000000000000000 ]---
[ 592.046382] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 592.251166] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 592.437035] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 592.660712] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 592.975060] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 593.272581] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 593.275156] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 593.479996] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 593.787258] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 593.992124] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 594.127545] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 594.274118] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 594.404362] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 594.580202] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 603.764825] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 603.960460] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 604.314554] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 604.429317] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 604.592286] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 604.751819] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 604.868301] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 605.051364] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 605.051434] BUG: kernel NULL pointer dereference, address: 0000000000000010
[ 605.051441] #PF: supervisor read access in kernel mode
[ 605.051446] #PF: error_code(0x0000) - not-present page
[ 605.051450] PGD 0 P4D 0
[ 605.051456] Oops: 0000 [#1] PREEMPT SMP PTI
[ 605.051462] CPU: 1 PID: 34 Comm: kworker/u8:2 Tainted: G W OE 6.6.46-1-lts #1 180e79e37528e3108a25b78d18bc12bb7965e9b7
[ 605.051469] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 605.051472] Workqueue: rtw88_usb: rx wq rtw_usb_rx_handler [rtw_usb]
[ 605.051487] RIP: 0010:rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core]
[ 605.051529] Code: b6 4d 04 44 0f b6 45 03 48 c7 c2 70 d5 73 c1 4c 8b b0 30 01 00 00 0f b6 45 07 50 0f b6 45 06 50 0f b6 45 05 50 e8 66 df fe ff <45> 8b 6e 10 48 8b 43 10 48 89 df 41 8b 76 0c 4c 89 ed 48 8b 40 68
[ 605.051533] RSP: 0018:ffffc90000163d38 EFLAGS: 00010246
[ 605.051539] RAX: 0000000000000000 RBX: ffff8881d09ca080 RCX: ffffc90000163d38
[ 605.051542] RDX: ffffc90000163cf8 RSI: 0000000000000000 RDI: ffff8881d09ca080
[ 605.051546] RBP: ffff8881eae70048 R08: 00000000000000a6 R09: 000000000000005e
[ 605.051549] R10: 0000000000000011 R11: 0000000000000011 R12: ffff888110be9800
[ 605.051553] R13: 0000000000000048 R14: 0000000000000000 R15: ffff8881d09ca080
[ 605.051556] FS: 0000000000000000(0000) GS:ffff888277c80000(0000) knlGS:0000000000000000
[ 605.051561] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 605.051564] CR2: 0000000000000010 CR3: 00000001fe820000 CR4: 00000000001006e0
[ 605.051568] Call Trace:
[ 605.051574] <TASK>
[ 605.051580] ? __die+0x23/0x70
[ 605.051589] ? page_fault_oops+0x174/0x530
[ 605.051597] ? rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core 48417a49067cee8b96c52e990238b42bc30a3d47]
[ 605.051636] ? search_module_extables+0x19/0x60
[ 605.051643] ? search_bpf_extables+0x5f/0x80
[ 605.051652] ? exc_page_fault+0x7f/0x180
[ 605.051660] ? asm_exc_page_fault+0x26/0x30
[ 605.051668] ? rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core 48417a49067cee8b96c52e990238b42bc30a3d47]
[ 605.051707] ? rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core 48417a49067cee8b96c52e990238b42bc30a3d47]
[ 605.051746] rtw_usb_rx_handler+0x13d/0x260 [rtw_usb 91825363ae30bf9e0e7e0ea545ff1b58a1c127f9]
[ 605.051761] process_one_work+0x180/0x350
[ 605.051768] worker_thread+0x315/0x450
[ 605.051774] ? __pfx_worker_thread+0x10/0x10
[ 605.051780] kthread+0xe8/0x120
[ 605.051787] ? __pfx_kthread+0x10/0x10
[ 605.051793] ret_from_fork+0x34/0x50
[ 605.051800] ? __pfx_kthread+0x10/0x10
[ 605.051806] ret_from_fork_asm+0x1b/0x30
[ 605.051814] </TASK>
[ 605.051817] Modules linked in: sctp ip6_udp_tunnel udp_tunnel cmac rtw_8812au(OE) rtw_8821a(OE) rtw_usb(OE) rtw_core(OE) ccm bnep overlay snd_seq_dummy snd_hrtimer snd_seq snd_seq_device intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel ath3k btusb kvm spi_nor uvcvideo btrtl snd_hda_codec_hdmi mtd videobuf2_vmalloc btintel ath9k_common irqbypass crct10dif_pclmul snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio crc32_pclmul btbcm ath9k_hw uvc joydev btmtk spi_intel_platform mousedev polyval_generic videobuf2_memops at24 iTCO_wdt gf128mul videobuf2_v4l2 ath ghash_clmulni_intel intel_pmc_bxt acer_wmi spi_intel iTCO_vendor_support mac80211 mei_hdcp hid_multitouch mei_pxp sparse_keymap wmi_bmof intel_rapl_msr videodev cryptd bluetooth sha512_ssse3 snd_hda_intel sha1_ssse3 i915 snd_intel_dspcfg intel_cstate libarc4 videobuf2_common snd_intel_sdw_acpi pcspkr drm_buddy i2c_i801 r8169 i2c_algo_bit ecdh_generic mc realtek i2c_smbus ttm snd_hda_codec cfg80211 crc16 snd_hda_core
[ 605.051937] drm_display_helper rfkill mdio_devres lpc_ich snd_hwdep cec snd_pcm snd_timer libphy intel_gtt snd mei_txe mei soundcore int3401_thermal i2c_hid_acpi i2c_hid processor_thermal_device vfat dw_dmac processor_thermal_rfim fat video processor_thermal_mbox wmi processor_thermal_rapl int3403_thermal pwm_lpss_platform intel_rapl_common int3400_thermal acpi_thermal_rel int340x_thermal_zone pwm_lpss mac_hid pkcs8_key_parser i2c_dev crypto_user loop fuse dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 i8042 xhci_pci xhci_pci_renesas serio sdhci_acpi sdhci mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq [last unloaded: ath9k]
[ 605.052027] CR2: 0000000000000010
[ 605.052032] ---[ end trace 0000000000000000 ]---
[ 605.052035] RIP: 0010:rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core]
[ 605.052074] Code: b6 4d 04 44 0f b6 45 03 48 c7 c2 70 d5 73 c1 4c 8b b0 30 01 00 00 0f b6 45 07 50 0f b6 45 06 50 0f b6 45 05 50 e8 66 df fe ff <45> 8b 6e 10 48 8b 43 10 48 89 df 41 8b 76 0c 4c 89 ed 48 8b 40 68
[ 605.052079] RSP: 0018:ffffc90000163d38 EFLAGS: 00010246
[ 605.052083] RAX: 0000000000000000 RBX: ffff8881d09ca080 RCX: ffffc90000163d38
[ 605.052087] RDX: ffffc90000163cf8 RSI: 0000000000000000 RDI: ffff8881d09ca080
[ 605.052090] RBP: ffff8881eae70048 R08: 00000000000000a6 R09: 000000000000005e
[ 605.052094] R10: 0000000000000011 R11: 0000000000000011 R12: ffff888110be9800
[ 605.052097] R13: 0000000000000048 R14: 0000000000000000 R15: ffff8881d09ca080
[ 605.052101] FS: 0000000000000000(0000) GS:ffff888277c80000(0000) knlGS:0000000000000000
[ 605.052105] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 605.052109] CR2: 0000000000000010 CR3: 00000001fe820000 CR4: 00000000001006e0
[ 605.052112] note: kworker/u8:2[34] exited with irqs disabled
[ 606.937777] rtw_8812au 2-1:1.0: failed to get tx report from firmware
@LuisMitaHL Hi! I have some questions and a patch for you.
First, let's make sure you are using only the right modules. lsmod | grep rtw88
should return nothing.
What speed is iperf3 showing when you get these errors?
What is the brand and model of your wifi dongle?
Are you plugging it into a USB 2 or USB 3 port?
No matter what port you used, please run this command and then plug it again and run iperf3: echo 0 > /sys/module/rtw_usb/parameters/switch_usb_mode
. Do you still get the errors?
And now the patch. Make sure to reload all the modules after you recompile: rtw_8812au, rtw_8821a, rtw_usb, and rtw_core.
diff --git a/drivers/net/wireless/realtek/rtw88/usb.c b/drivers/net/wireless/realtek/rtw88/usb.c
index bf55360f9daf..2ade04c6414c 100644
--- a/usb.c
+++ b/usb.c
@@ -639,7 +639,7 @@ static void rtw_usb_read_port_complete(struct urb *urb)
struct sk_buff *skb = rxcb->rx_skb;
if (urb->status == 0) {
- if (urb->actual_length >= RTW_USB_MAX_RECVBUF_SZ ||
+ if (urb->actual_length > RTW_USB_MAX_RECVBUF_SZ ||
urb->actual_length < 24) {
rtw_err(rtwdev, "failed to get urb length:%d\n",
urb->actual_length);
Hopefully this will get rid of the "failed to get urb length:32768" errors without causing other problems.
First, let's make sure you are using only the right modules.
lsmod | grep rtw88
should return nothing.
Yes, the command does return nothing.
What speed is iperf3 showing when you get these errors?
~ % iperf3 -c 192.168.20.20 -t 90 -R
Connecting to host 192.168.20.20, port 5201
Reverse mode, remote host 192.168.20.20 is sending
[ 5] local 192.168.20.153 port 39132 connected to 192.168.20.20 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 38.6 MBytes 324 Mbits/sec
[ 5] 1.00-2.00 sec 32.1 MBytes 270 Mbits/sec
[ 5] 2.00-3.00 sec 20.0 MBytes 168 Mbits/sec
[ 5] 3.00-4.00 sec 9.50 MBytes 79.7 Mbits/sec
[ 5] 4.00-5.00 sec 5.75 MBytes 48.2 Mbits/sec
[ 5] 5.00-6.00 sec 4.38 MBytes 36.7 Mbits/sec
[ 5] 6.00-7.00 sec 3.88 MBytes 32.5 Mbits/sec
[ 5] 7.00-8.00 sec 2.88 MBytes 24.1 Mbits/sec
[ 5] 8.00-9.00 sec 2.50 MBytes 21.0 Mbits/sec
[ 5] 9.00-10.00 sec 7.12 MBytes 59.7 Mbits/sec
[ 5] 10.00-11.00 sec 3.00 MBytes 25.2 Mbits/sec
[ 5] 11.00-12.00 sec 2.50 MBytes 21.0 Mbits/sec
[ 5] 12.00-13.00 sec 3.38 MBytes 28.3 Mbits/sec
[ 5] 13.00-14.00 sec 4.25 MBytes 35.6 Mbits/sec
[ 5] 14.00-15.00 sec 4.88 MBytes 40.9 Mbits/sec
[ 5] 15.00-16.00 sec 3.50 MBytes 29.4 Mbits/sec
[ 5] 16.00-17.00 sec 4.25 MBytes 35.7 Mbits/sec
[ 5] 17.00-18.00 sec 3.62 MBytes 30.4 Mbits/sec
[ 5] 18.00-19.00 sec 3.38 MBytes 28.3 Mbits/sec
[ 5] 19.00-20.00 sec 3.75 MBytes 31.5 Mbits/sec
[ 5] 20.00-21.00 sec 5.75 MBytes 48.2 Mbits/sec
[ 5] 21.00-22.00 sec 3.50 MBytes 29.4 Mbits/sec
[ 5] 22.00-23.00 sec 3.38 MBytes 28.3 Mbits/sec
[ 5] 23.00-24.00 sec 4.00 MBytes 33.6 Mbits/sec
[ 5] 24.00-25.00 sec 14.9 MBytes 125 Mbits/sec
[ 5] 25.00-26.00 sec 7.88 MBytes 66.1 Mbits/sec
[ 5] 26.00-27.00 sec 25.9 MBytes 217 Mbits/sec
[ 5] 27.00-28.00 sec 14.5 MBytes 122 Mbits/sec
[ 5] 28.00-29.00 sec 2.62 MBytes 22.0 Mbits/sec
[ 5] 29.00-30.00 sec 4.12 MBytes 34.6 Mbits/sec
[ 5] 30.00-31.00 sec 5.12 MBytes 43.0 Mbits/sec
[ 5] 31.00-32.00 sec 5.38 MBytes 45.1 Mbits/sec
[ 5] 32.00-33.00 sec 2.88 MBytes 24.1 Mbits/sec
[ 5] 33.00-34.00 sec 10.8 MBytes 90.2 Mbits/sec
[ 5] 34.00-35.00 sec 7.62 MBytes 63.9 Mbits/sec
[ 5] 35.00-36.00 sec 10.8 MBytes 90.2 Mbits/sec
[ 5] 36.00-37.00 sec 11.5 MBytes 96.5 Mbits/sec
[ 5] 37.00-38.00 sec 5.25 MBytes 44.0 Mbits/sec
[ 5] 38.00-39.00 sec 7.50 MBytes 62.9 Mbits/sec
[ 5] 39.00-40.00 sec 7.75 MBytes 65.0 Mbits/sec
[ 5] 40.00-41.00 sec 19.8 MBytes 166 Mbits/sec
[ 5] 41.00-42.00 sec 14.2 MBytes 120 Mbits/sec
[ 5] 42.00-43.00 sec 8.88 MBytes 74.4 Mbits/sec
[ 5] 43.00-44.00 sec 768 KBytes 6.30 Mbits/sec
[ 5] 44.00-45.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 45.00-46.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 46.00-47.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 47.00-48.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 48.00-49.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 49.00-50.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 50.00-51.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 51.00-52.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 52.00-53.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 53.00-54.00 sec 99.8 KBytes 817 Kbits/sec
[ 5] 54.00-55.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 55.00-56.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 56.00-57.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 57.00-58.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 58.00-59.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 59.00-60.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 60.00-61.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 61.00-62.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 62.00-63.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 63.00-64.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 64.00-65.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 65.00-66.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 66.00-67.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 67.00-68.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 68.00-69.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 69.00-70.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 70.00-71.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 71.00-72.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 72.00-73.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 73.00-74.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 74.00-75.00 sec 0.00 Bytes 0.00 bits/sec
[ 5] 75.00-76.00 sec 0.00 Bytes 0.00 bits/sec
After that, the laptop is on a inconsistent state (some apps freeze) and I need to press the Power button for fully power off the machine.
What is the brand and model of your wifi dongle?
The dongle is a TP-Link Archer T4UHP
Are you plugging it into a USB 2 or USB 3 port?
I'm using a USB3 port.
No matter what port you used, please run this command and then plug it again and run iperf3:
echo 0 > /sys/module/rtw_usb/parameters/switch_usb_mode
. Do you still get the errors?
No. This command fixes all the urb & kernel warnings. The iperf3 speed is just fine (~200Mb/s)
And now the patch. Make sure to reload all the modules after you recompile: rtw_8812au, rtw_8821a, rtw_usb, and rtw_core. Hopefully this will get rid of the "failed to get urb length:32768" errors without causing other problems.
This patch effectively hides the urb length 32768 warning, but Rate marked as a VHT rate but data is invalid: MCS: 0, NSS: 0
persists.
[ 59.577218] usbcore: registered new interface driver rtw_8812au
[ 59.904327] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 59.921256] usb 2-1: Int endpoint with wBytesPerInterval of 512 in config 1 interface 0 altsetting 0 ep 133: setting to 64
[ 59.921419] usb 2-1: New USB device found, idVendor=2357, idProduct=0122, bcdDevice= 0.00
[ 59.921426] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 59.921430] usb 2-1: Product: 802.11n NIC
[ 59.921433] usb 2-1: Manufacturer: Realtek
[ 59.921436] usb 2-1: SerialNumber: 123456
[ 59.924454] rtw_8812au 2-1:1.0: Firmware version 52.14.0, H2C version 0
[ 65.274842] wlan0: authenticate with 80:2a:a8:xx
[ 66.037461] wlan0: send auth to 80:2a:a8:xx (try 1/3)
[ 66.038324] wlan0: authenticated
[ 66.039126] wlan0: associate with 80:2a:a8:xx (try 1/3)
[ 66.040585] wlan0: RX AssocResp from 80:2a:a8:xx (capab=0x1011 status=30 aid=2)
[ 66.040619] wlan0: 80:2a:a8:xx rejected association temporarily; comeback duration 1000 TU (1024 ms)
[ 67.075920] wlan0: associate with 80:2a:a8:xx (try 2/3)
[ 67.178652] wlan0: associate with 80:2a:a8:xx (try 3/3)
[ 67.238903] wlan0: RX AssocResp from 80:2a:a8:xx (capab=0x1011 status=0 aid=2)
[ 67.244165] wlan0: associated
[ 67.334901] wlan0: Limiting TX power to 20 (30 - 10) dBm as advertised by 80:2a:a8:xx
[ 78.542023] ------------[ cut here ]------------
[ 78.542032] Rate marked as a VHT rate but data is invalid: MCS: 0, NSS: 0
[ 78.542105] WARNING: CPU: 1 PID: 781 at net/mac80211/rx.c:5344 ieee80211_rx_list+0x2b5/0xea0 [mac80211]
[ 78.542270] Modules linked in: rtw_8812au(OE) rtw_8821a(OE) rtw_usb(OE) rtw_core(OE) ccm overlay rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash ecb algif_skcipher af_alg bnep intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio kvm_intel spi_nor joydev kvm mtd mousedev ath3k irqbypass mei_pxp mei_hdcp i915 spi_intel_platform at24 crct10dif_pclmul crc32_pclmul uvcvideo spi_intel iTCO_wdt hid_multitouch btusb videobuf2_vmalloc acer_wmi intel_pmc_bxt polyval_generic iTCO_vendor_support gf128mul ath9k_common snd_hda_intel ath9k_hw ghash_clmulni_intel btrtl intel_rapl_msr wmi_bmof sparse_keymap uvc videobuf2_memops snd_intel_dspcfg cryptd btintel btbcm videobuf2_v4l2 ath sha512_ssse3 btmtk snd_intel_sdw_acpi sha1_ssse3 videodev drm_buddy bluetooth snd_hda_codec intel_cstate videobuf2_common i2c_algo_bit ttm mc r8169 ecdh_generic snd_hda_core drm_display_helper mac80211 snd_hwdep crc16 snd_pcm realtek
[ 78.542388] int3401_thermal pcspkr mdio_devres snd_timer libarc4 processor_thermal_device mei_txe i2c_i801 libphy cec processor_thermal_rfim i2c_smbus cfg80211 intel_gtt snd mei soundcore rfkill lpc_ich vfat fat i2c_hid_acpi video processor_thermal_mbox wmi processor_thermal_rapl int3400_thermal acpi_thermal_rel dw_dmac intel_rapl_common int3403_thermal int340x_thermal_zone i2c_hid pwm_lpss_platform pwm_lpss mac_hid pkcs8_key_parser i2c_dev crypto_user fuse loop dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 xhci_pci i8042 xhci_pci_renesas sdhci_acpi sdhci serio mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq [last unloaded: ath9k]
[ 78.542549] CPU: 1 PID: 781 Comm: kwin_wayland Tainted: G OE 6.6.46-1-lts #1 180e79e37528e3108a25b78d18bc12bb7965e9b7
[ 78.542557] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 78.542559] RIP: 0010:ieee80211_rx_list+0x2b5/0xea0 [mac80211]
[ 78.542706] Code: 0f 86 4d 06 00 00 80 3d ac 95 08 00 00 0f 85 31 ff ff ff 0f b6 53 4a 48 c7 c7 78 52 ab c0 c6 05 94 95 08 00 01 e8 fb 05 30 c6 <0f> 0b e9 13 ff ff ff 40 80 fe 0b 0f 86 97 05 00 00 80 3d 76 95 08
[ 78.542710] RSP: 0000:ffffc90000bd3d28 EFLAGS: 00010282
[ 78.542714] RAX: 0000000000000000 RBX: ffff8881060e4600 RCX: 0000000000000027
[ 78.542717] RDX: ffff888277ca16c8 RSI: 0000000000000001 RDI: ffff888277ca16c0
[ 78.542720] RBP: ffff8881113e0900 R08: 0000000000000000 R09: ffffc90000bd3b98
[ 78.542722] R10: ffffffff88ab23e8 R11: 0000000000000003 R12: 0000000000000000
[ 78.542725] R13: 0000000000000001 R14: ffff8881060e4600 R15: ffffc90000bd3e20
[ 78.542728] FS: 000074d1e1ff7a00(0000) GS:ffff888277c80000(0000) knlGS:0000000000000000
[ 78.542731] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 78.542734] CR2: 000074d1c83b3000 CR3: 000000010e532000 CR4: 00000000001006e0
[ 78.542737] Call Trace:
[ 78.542742] <TASK>
[ 78.542745] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 78.542884] ? __warn+0x81/0x130
[ 78.542894] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 78.543027] ? report_bug+0x16f/0x1a0
[ 78.543034] ? handle_bug+0x3c/0x80
[ 78.543038] ? exc_invalid_op+0x17/0x70
[ 78.543042] ? asm_exc_invalid_op+0x1a/0x20
[ 78.543049] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 78.543211] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 78.543352] ieee80211_rx_napi+0x54/0xf0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 78.543478] ieee80211_handle_queued_frames+0xbe/0xd0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 78.543599] tasklet_action_common.isra.0+0xc3/0x230
[ 78.543609] handle_softirqs+0xe5/0x2e0
[ 78.543615] __irq_exit_rcu+0xa5/0xc0
[ 78.543621] common_interrupt+0x48/0xa0
[ 78.543627] asm_common_interrupt+0x26/0x40
[ 78.543633] RIP: 0033:0x74d1e8543fbd
[ 78.543680] Code: 8b 71 58 48 85 f6 7e 75 49 89 fc 49 89 d7 4c 8d 2d f8 50 04 00 31 db eb 3c 0f 1f 40 00 48 8b 78 08 48 85 ff 74 77 48 8b 47 08 <48> 8b 40 58 49 8b 54 24 58 48 39 c2 0f 85 79 32 f5 ff 48 8b 07 48
[ 78.543684] RSP: 002b:00007fff53187a70 EFLAGS: 00000202
[ 78.543689] RAX: 00005a3d4b78c150 RBX: 0000000000000012 RCX: 00005a3d4b7c5770
[ 78.543692] RDX: 00000000ffffffff RSI: 000000000000001c RDI: 00005a3d4b75d020
[ 78.543694] RBP: 00007fff53187ad0 R08: 0000000000000000 R09: 0000000000000000
[ 78.543697] R10: 0000000000000000 R11: 00005a3d4b8f0b30 R12: 00005a3d4b742230
[ 78.543699] R13: 000074d1e85890a0 R14: 00005a3d4b8f0b30 R15: 000074d1b0007ef0
[ 78.543705] </TASK>
[ 78.543707] ---[ end trace 0000000000000000 ]---
[ 81.934329] rtw_8812au 2-1:1.0: failed to get urb length:0
[ 82.021159] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 104.519050] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 104.531581] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 120.196798] ------------[ cut here ]------------
[ 120.196806] WARNING: CPU: 0 PID: 1241 at net/mac80211/rx.c:803 ieee80211_rx_list+0x907/0xea0 [mac80211]
[ 120.196956] Modules linked in: rtw_8812au(OE) rtw_8821a(OE) rtw_usb(OE) rtw_core(OE) ccm overlay rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash ecb algif_skcipher af_alg bnep intel_soc_dts_thermal intel_soc_dts_iosf intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio kvm_intel spi_nor joydev kvm mtd mousedev ath3k irqbypass mei_pxp mei_hdcp i915 spi_intel_platform at24 crct10dif_pclmul crc32_pclmul uvcvideo spi_intel iTCO_wdt hid_multitouch btusb videobuf2_vmalloc acer_wmi intel_pmc_bxt polyval_generic iTCO_vendor_support gf128mul ath9k_common snd_hda_intel ath9k_hw ghash_clmulni_intel btrtl intel_rapl_msr wmi_bmof sparse_keymap uvc videobuf2_memops snd_intel_dspcfg cryptd btintel btbcm videobuf2_v4l2 ath sha512_ssse3 btmtk snd_intel_sdw_acpi sha1_ssse3 videodev drm_buddy bluetooth snd_hda_codec intel_cstate videobuf2_common i2c_algo_bit ttm mc r8169 ecdh_generic snd_hda_core drm_display_helper mac80211 snd_hwdep crc16 snd_pcm realtek
[ 120.197075] int3401_thermal pcspkr mdio_devres snd_timer libarc4 processor_thermal_device mei_txe i2c_i801 libphy cec processor_thermal_rfim i2c_smbus cfg80211 intel_gtt snd mei soundcore rfkill lpc_ich vfat fat i2c_hid_acpi video processor_thermal_mbox wmi processor_thermal_rapl int3400_thermal acpi_thermal_rel dw_dmac intel_rapl_common int3403_thermal int340x_thermal_zone i2c_hid pwm_lpss_platform pwm_lpss mac_hid pkcs8_key_parser i2c_dev crypto_user fuse loop dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 xhci_pci i8042 xhci_pci_renesas sdhci_acpi sdhci serio mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq [last unloaded: ath9k]
[ 120.197164] CPU: 0 PID: 1241 Comm: Renderer Tainted: G W OE 6.6.46-1-lts #1 180e79e37528e3108a25b78d18bc12bb7965e9b7
[ 120.197170] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 120.197173] RIP: 0010:ieee80211_rx_list+0x907/0xea0 [mac80211]
[ 120.197302] Code: ff 0f b6 7b 4a 8d 57 ff 80 fa 07 0f 87 a3 f9 ff ff e9 7a ff ff ff 41 8d 48 04 c7 44 24 08 04 00 00 00 39 d1 0f 82 ff f9 ff ff <0f> 0b 48 8b 84 24 b0 00 00 00 65 48 2b 04 25 28 00 00 00 0f 84 16
[ 120.197305] RSP: 0018:ffffc90000003df8 EFLAGS: 00010202
[ 120.197310] RAX: 0000000000000082 RBX: ffff888106116b00 RCX: 0000000000000004
[ 120.197313] RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
[ 120.197315] RBP: ffff8881113e0900 R08: 0000000000000000 R09: 0000000000000000
[ 120.197318] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 120.197320] R13: 0000000000000001 R14: ffff8881d32e0020 R15: ffffc90000003ef0
[ 120.197323] FS: 00007abc6b2be6c0(0000) GS:ffff888277c00000(0000) knlGS:0000000000000000
[ 120.197326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 120.197329] CR2: 00007abc5b4c4000 CR3: 0000000101e46000 CR4: 00000000001006f0
[ 120.197332] Call Trace:
[ 120.197338] <IRQ>
[ 120.197341] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 120.197476] ? __warn+0x81/0x130
[ 120.197488] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 120.197642] ? report_bug+0x16f/0x1a0
[ 120.197653] ? handle_bug+0x3c/0x80
[ 120.197657] ? exc_invalid_op+0x17/0x70
[ 120.197662] ? asm_exc_invalid_op+0x1a/0x20
[ 120.197668] ? ieee80211_rx_list+0x907/0xea0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 120.197822] ? __slab_free+0xf1/0x370
[ 120.197833] ieee80211_rx_napi+0x54/0xf0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 120.197958] ieee80211_handle_queued_frames+0xbe/0xd0 [mac80211 f6a0049740f21ea8fef6adac16fa3f2582a87e99]
[ 120.198073] tasklet_action_common.isra.0+0xc3/0x230
[ 120.198082] handle_softirqs+0xe5/0x2e0
[ 120.198088] do_softirq.part.0+0x3d/0x60
[ 120.198095] </IRQ>
[ 120.198097] <TASK>
[ 120.198099] __local_bh_enable_ip+0x68/0x70
[ 120.198106] i915_gem_do_execbuffer+0x1bae/0x2d00 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.198429] ? __slab_free+0xf1/0x370
[ 120.198436] ? timerqueue_add+0x71/0xc0
[ 120.198453] i915_gem_execbuffer2_ioctl+0x139/0x250 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.198737] ? __pfx_i915_gem_execbuffer2_ioctl+0x10/0x10 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.199037] drm_ioctl_kernel+0xd4/0x180
[ 120.199044] ? __pfx_i915_gem_madvise_ioctl+0x10/0x10 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.199336] drm_ioctl+0x26e/0x4c0
[ 120.199341] ? __pfx_i915_gem_execbuffer2_ioctl+0x10/0x10 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.199626] __x64_sys_ioctl+0x97/0xd0
[ 120.199632] do_syscall_64+0x5a/0x80
[ 120.199642] ? __x64_sys_ioctl+0xaf/0xd0
[ 120.199646] ? syscall_exit_to_user_mode+0x22/0x40
[ 120.199653] ? do_syscall_64+0x66/0x80
[ 120.199659] ? __pfx_i915_gem_busy_ioctl+0x10/0x10 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.199940] ? drm_ioctl_kernel+0xd4/0x180
[ 120.199945] ? __check_object_size+0x4b/0x2c0
[ 120.199951] ? _copy_to_user+0x24/0x40
[ 120.199956] ? drm_ioctl+0x297/0x4c0
[ 120.199961] ? __pfx_i915_gem_busy_ioctl+0x10/0x10 [i915 fe82d545f6f4d60a6f656de31ca6dfeb36cf6ccb]
[ 120.200243] ? __x64_sys_ioctl+0xaf/0xd0
[ 120.200248] ? syscall_exit_to_user_mode+0x22/0x40
[ 120.200254] ? do_syscall_64+0x66/0x80
[ 120.200259] ? do_syscall_64+0x66/0x80
[ 120.200265] ? __x64_sys_ioctl+0xaf/0xd0
[ 120.200269] ? syscall_exit_to_user_mode+0x22/0x40
[ 120.200275] ? do_syscall_64+0x66/0x80
[ 120.200279] ? exit_to_user_mode_prepare+0x132/0x1f0
[ 120.200285] entry_SYSCALL_64_after_hwframe+0x78/0xe2
[ 120.200291] RIP: 0033:0x7abc85834ced
[ 120.200340] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[ 120.200343] RSP: 002b:00007abc6b2bba60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 120.200349] RAX: ffffffffffffffda RBX: 00007abc6b3945d8 RCX: 00007abc85834ced
[ 120.200352] RDX: 00007abc6b2bbaf0 RSI: 0000000040406469 RDI: 0000000000000032
[ 120.200354] RBP: 00007abc6b2bbab0 R08: 0000000000000000 R09: 0000000000000004
[ 120.200357] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
[ 120.200359] R13: 00007abc6b2bbaf0 R14: 00007abc6b34e830 R15: 0000000000000032
[ 120.200365] </TASK>
[ 120.200368] ---[ end trace 0000000000000000 ]---
[ 120.679755] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 122.088892] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 126.085665] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 154.732665] rtw_8812au 2-1:1.0: failed to get urb length:12
[ 155.037621] rtw_8812au 2-1:1.0: failed to get urb length:12
[ 155.285109] rtw_8812au 2-1:1.0: failed to get urb length:12
[ 156.486541] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 173.595379] rtw_8812au 2-1:1.0: failed to get urb length:16
[ 179.410824] rtw_8812au 2-1:1.0: failed to get urb length:16
No matter what port you used, please run this command and then plug it again and run iperf3: echo 0 > /sys/module/rtw_usb/parameters/switch_usb_mode. Do you still get the errors?
No. This command fixes all the urb & kernel warnings. The iperf3 speed is just fine (~200Mb/s)
That's good, that's a clue.
Now, please reset switch_usb_mode to the default value, which is 1, and plug the device in a USB 2 port. Do you get the errors?
And here is another patch to try:
diff --git a/rtw8821a.c b/rtw8821a.c
index 7031ca1..db4b731 100644
--- a/rtw8821a.c
+++ b/rtw8821a.c
@@ -572,6 +572,7 @@ static void rtw8821au_rx_aggregation(struct rtw_dev *rtwdev, bool enable)
val16 = (rxagg_usb_timeout << 8) | rxagg_usb_size;
rtw_write16(rtwdev, REG_RXDMA_AGG_PG_TH, val16);
+ rtw_write32_set(rtwdev, REG_RXDMA_AGG_PG_TH, BIT_EN_PRE_CALC);
rtw_write8_set(rtwdev, REG_TXDMA_PQ_MAP, BIT_RXDMA_AGG_EN);
}
Now, please reset switch_usb_mode to the default value, which is 1, and plug the device in a USB 2 port. Do you get the errors?
No, I can't reproduce the error. Everything is normal (with usb2 speeds)
And here is another patch to try:
diff --git a/rtw8821a.c b/rtw8821a.c index 7031ca1..db4b731 100644 --- a/rtw8821a.c +++ b/rtw8821a.c @@ -572,6 +572,7 @@ static void rtw8821au_rx_aggregation(struct rtw_dev *rtwdev, bool enable) val16 = (rxagg_usb_timeout << 8) | rxagg_usb_size; rtw_write16(rtwdev, REG_RXDMA_AGG_PG_TH, val16); + rtw_write32_set(rtwdev, REG_RXDMA_AGG_PG_TH, BIT_EN_PRE_CALC); rtw_write8_set(rtwdev, REG_TXDMA_PQ_MAP, BIT_RXDMA_AGG_EN); }
I am obtaining the same problems (urb and kernel warnings)
Another experiment:
diff --git a/usb.c b/usb.c
index 3dd1bc5..193893c 100644
--- a/usb.c
+++ b/usb.c
@@ -331,7 +331,7 @@ static int rtw_usb_write_port(struct rtw_dev *rtwdev, u8 qsel, struct sk_buff *s
return -ENOMEM;
usb_fill_bulk_urb(urb, usbd, pipe, skb->data, skb->len, cb, context);
- urb->transfer_flags |= URB_ZERO_PACKET;
+ // urb->transfer_flags |= URB_ZERO_PACKET;
ret = usb_submit_urb(urb, GFP_ATOMIC);
usb_free_urb(urb);
This is going to cause other problems, but I'm curious if "failed to get urb length:..." errors go away.
Hi, The error continues, nothing has changed.
@LuisMitaHL Do you still have this problem?
Yes, with the latest code the error continues.
[ 303.456556] wlan1: Limiting TX power to 23 (30 - 7) dBm as advertised by xx:xx:xx:xx:xx:xx
[ 353.752604] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 353.918557] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 354.029746] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 354.250890] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 354.534210] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 354.683478] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 354.800034] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 355.101466] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 355.339014] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 355.445166] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 355.748265] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 355.748383] ------------[ cut here ]------------
[ 355.748387] Rate marked as a VHT rate but data is invalid: MCS: 0, NSS: 0
[ 355.748451] WARNING: CPU: 0 PID: 17 at net/mac80211/rx.c:5344 ieee80211_rx_list+0x2b5/0xea0 [mac80211]
[ 355.748607] Modules linked in: cmac rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) rtw_usb(OE) rtw_core(OE) ccm bnep overlay snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio intel_soc_dts_thermal intel_soc_dts_iosf uvcvideo intel_powerclamp coretemp kvm_intel spi_nor videobuf2_vmalloc uvc kvm ath3k mtd ath9k videobuf2_memops i915 joydev videobuf2_v4l2 irqbypass btusb ath9k_common iTCO_wdt crct10dif_pclmul mei_pxp mousedev at24 spi_intel_platform snd_hda_intel intel_pmc_bxt mei_hdcp crc32_pclmul btrtl spi_intel iTCO_vendor_support snd_intel_dspcfg videodev ath9k_hw snd_intel_sdw_acpi btintel hid_multitouch polyval_generic snd_hda_codec btbcm acer_wmi videobuf2_common btmtk gf128mul wmi_bmof ath snd_hda_core sparse_keymap ghash_clmulni_intel bluetooth intel_rapl_msr r8169 mc cryptd snd_hwdep ecdh_generic sha512_ssse3 drm_buddy realtek crc16 sha1_ssse3 mdio_devres mac80211 snd_pcm i2c_algo_bit libphy libarc4 ttm intel_cstate cfg80211 snd_timer
[ 355.748726] drm_display_helper pcspkr cec snd lpc_ich i2c_i801 mei_txe i2c_smbus rfkill soundcore intel_gtt mei i2c_hid_acpi i2c_hid int3401_thermal processor_thermal_device processor_thermal_rfim int3403_thermal vfat video processor_thermal_mbox fat pwm_lpss_platform processor_thermal_rapl wmi pwm_lpss intel_rapl_common int3400_thermal int340x_thermal_zone acpi_thermal_rel dw_dmac mac_hid pkcs8_key_parser i2c_dev crypto_user loop fuse dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 xhci_pci xhci_pci_renesas i8042 sdhci_acpi serio sdhci mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq
[ 355.748810] CPU: 0 PID: 17 Comm: ksoftirqd/0 Tainted: G OE 6.6.58-1-lts #1 1400000003000000474e5500ee53b845eb376bed
[ 355.748817] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 355.748820] RIP: 0010:ieee80211_rx_list+0x2b5/0xea0 [mac80211]
[ 355.748969] Code: 0f 86 4d 06 00 00 80 3d 0c 94 08 00 00 0f 85 31 ff ff ff 0f b6 53 4a 48 c7 c7 78 22 af c0 c6 05 f4 93 08 00 01 e8 bb 43 8c da <0f> 0b e9 13 ff ff ff 40 80 fe 0b 0f 86 97 05 00 00 80 3d d6 93 08
[ 355.748974] RSP: 0018:ffffc900000bfcd8 EFLAGS: 00010282
[ 355.748978] RAX: 0000000000000000 RBX: ffff8881a90bd500 RCX: 0000000000000027
[ 355.748981] RDX: ffff888277c216c8 RSI: 0000000000000001 RDI: ffff888277c216c0
[ 355.748984] RBP: ffff888114300900 R08: 0000000000000000 R09: ffffc900000bfb48
[ 355.748986] R10: ffffffff9d0b2748 R11: 0000000000000003 R12: 0000000000000000
[ 355.748989] R13: 0000000000000001 R14: ffff8881a90bd500 R15: ffffc900000bfdd0
[ 355.748992] FS: 0000000000000000(0000) GS:ffff888277c00000(0000) knlGS:0000000000000000
[ 355.748995] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 355.748998] CR2: 000078e928002000 CR3: 00000001f7420000 CR4: 00000000001006f0
[ 355.749001] Call Trace:
[ 355.749006] <TASK>
[ 355.749009] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 1400000003000000474e55005a70c732631132ac]
[ 355.749147] ? __warn+0x81/0x130
[ 355.749160] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 1400000003000000474e55005a70c732631132ac]
[ 355.749284] ? report_bug+0x16f/0x1a0
[ 355.749291] ? handle_bug+0x3c/0x80
[ 355.749296] ? exc_invalid_op+0x17/0x70
[ 355.749300] ? asm_exc_invalid_op+0x1a/0x20
[ 355.749307] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 1400000003000000474e55005a70c732631132ac]
[ 355.749429] ? ieee80211_rx_list+0x2b5/0xea0 [mac80211 1400000003000000474e55005a70c732631132ac]
[ 355.749553] ? sched_clock+0x10/0x30
[ 355.749558] ? sched_clock_cpu+0xf/0x1d0
[ 355.749564] ? psi_group_change+0x227/0x3f0
[ 355.749570] ieee80211_rx_napi+0x54/0xf0 [mac80211 1400000003000000474e55005a70c732631132ac]
[ 355.749703] ? __switch_to_asm+0x3e/0x70
[ 355.749711] ieee80211_handle_queued_frames+0xbe/0xd0 [mac80211 1400000003000000474e55005a70c732631132ac]
[ 355.749824] tasklet_action_common.isra.0+0xc3/0x230
[ 355.749830] handle_softirqs+0xe5/0x2e0
[ 355.749837] ? __pfx_smpboot_thread_fn+0x10/0x10
[ 355.749842] run_ksoftirqd+0x31/0x40
[ 355.749846] smpboot_thread_fn+0xdc/0x1d0
[ 355.749851] kthread+0xe8/0x120
[ 355.749858] ? __pfx_kthread+0x10/0x10
[ 355.749864] ret_from_fork+0x34/0x50
[ 355.749869] ? __pfx_kthread+0x10/0x10
[ 355.749874] ret_from_fork_asm+0x1b/0x30
[ 355.749880] </TASK>
[ 355.749882] ---[ end trace 0000000000000000 ]---
[ 355.891516] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 356.003406] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 356.163383] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 356.300676] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 356.415391] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 357.084711] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 357.854261] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 358.582968] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 358.662036] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 358.665303] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 358.776327] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 358.887822] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.038460] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.289584] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.399252] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.511116] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.633894] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.634559] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.635085] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 359.908190] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 360.023611] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 360.190231] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 360.370252] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 360.481757] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 360.665810] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 360.846586] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 361.105094] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 361.393762] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 361.583055] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 361.697025] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 363.460736] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 363.543973] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 363.566635] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 363.628119] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 363.632490] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.052393] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.211636] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.234251] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.234977] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.299844] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.305020] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.512719] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 365.694933] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 366.206469] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 366.416238] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 366.579386] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 366.710973] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 366.850730] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.030838] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.403810] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.410097] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.559105] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.666013] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.673402] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.784101] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 367.947195] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 368.180204] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 368.230280] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 368.334735] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 368.651540] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 368.832768] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 368.999964] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 369.003178] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 369.160235] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 369.317629] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 369.937444] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 370.104084] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 370.155424] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 370.271667] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 370.642446] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 370.642657] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 370.814492] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 371.310383] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 371.312059] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 371.453982] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 371.529635] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 371.694135] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 371.960114] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.072605] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.175397] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.289093] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.481114] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.542058] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.828164] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 372.969372] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 373.169846] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 373.174687] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 373.335267] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 373.590416] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 373.761946] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 373.941431] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 374.193659] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 374.369265] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 374.909129] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 375.217596] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 375.284980] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 375.400520] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 375.864682] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.034111] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.045580] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.178504] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.473798] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.478334] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.597001] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.756624] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.960201] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 376.962979] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 377.378841] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 377.553424] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 377.693592] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 377.849096] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 377.970180] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 378.102597] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 378.516601] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 378.888069] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 378.974629] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.127647] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.453365] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.465103] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.578514] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.596155] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.783224] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 379.783723] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.133009] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.149543] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.210772] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.258450] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.303420] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.747473] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.794522] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.854578] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.879846] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 380.884328] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 381.228810] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 381.653311] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 381.730310] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 381.949047] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.139420] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.252677] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.281678] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.283656] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.320918] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.761442] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.804705] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.824386] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.844469] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 382.854843] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 383.369328] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 383.728663] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 384.384873] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 384.433773] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 384.516969] rtw_8812au 2-1:1.0: failed to get urb length:32768
[ 384.517205] BUG: kernel NULL pointer dereference, address: 0000000000000010
[ 384.517214] #PF: supervisor read access in kernel mode
[ 384.517219] #PF: error_code(0x0000) - not-present page
[ 384.517224] PGD 0 P4D 0
[ 384.517232] Oops: 0000 [#1] PREEMPT SMP PTI
[ 384.517238] CPU: 1 PID: 59 Comm: kworker/u8:4 Tainted: G W OE 6.6.58-1-lts #1 1400000003000000474e5500ee53b845eb376bed
[ 384.517246] Hardware name: Acer Aspire ES1-111M/R2, BIOS V1.16 10/20/2015
[ 384.517251] Workqueue: rtw88_usb: rx wq rtw_usb_rx_handler [rtw_usb]
[ 384.517268] RIP: 0010:rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core]
[ 384.517318] Code: b6 4d 04 44 0f b6 45 03 48 c7 c2 c8 7d 76 c1 4c 8b b0 30 01 00 00 0f b6 45 07 50 0f b6 45 06 50 0f b6 45 05 50 e8 a6 da fe ff <45> 8b 6e 10 48 8b 43 10 48 89 df 41 8b 76 0c 4c 89 ed 48 8b 40 70
[ 384.517324] RSP: 0018:ffffc9000036fd40 EFLAGS: 00010246
[ 384.517330] RAX: 0000000000000000 RBX: ffff888114302080 RCX: ffffc9000036fd40
[ 384.517335] RDX: ffffc9000036fd00 RSI: 0000000000000000 RDI: ffff888114302080
[ 384.517339] RBP: ffff8881aa080060 R08: 00000000000000f9 R09: 0000000000000081
[ 384.517344] R10: 0000000000000011 R11: 0000000000000011 R12: ffff888111141d00
[ 384.517348] R13: 0000000000000060 R14: 0000000000000000 R15: 0000000000000060
[ 384.517352] FS: 0000000000000000(0000) GS:ffff888277c80000(0000) knlGS:0000000000000000
[ 384.517358] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 384.517362] CR2: 0000000000000010 CR3: 00000001f7420000 CR4: 00000000001006e0
[ 384.517367] Call Trace:
[ 384.517374] <TASK>
[ 384.517381] ? __die+0x23/0x70
[ 384.517393] ? page_fault_oops+0x174/0x530
[ 384.517403] ? rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core 1400000003000000474e5500b86ed59c2e817ec2]
[ 384.517459] ? search_module_extables+0x19/0x60
[ 384.517467] ? search_bpf_extables+0x5f/0x80
[ 384.517475] ? exc_page_fault+0x7f/0x180
[ 384.517485] ? asm_exc_page_fault+0x26/0x30
[ 384.517496] ? rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core 1400000003000000474e5500b86ed59c2e817ec2]
[ 384.517544] rtw_usb_rx_handler+0x13c/0x250 [rtw_usb 1400000003000000474e55002699f39bc7f63910]
[ 384.517562] process_one_work+0x180/0x350
[ 384.517572] worker_thread+0x315/0x450
[ 384.517580] ? __pfx_worker_thread+0x10/0x10
[ 384.517587] kthread+0xe8/0x120
[ 384.517595] ? __pfx_kthread+0x10/0x10
[ 384.517603] ret_from_fork+0x34/0x50
[ 384.517611] ? __pfx_kthread+0x10/0x10
[ 384.517618] ret_from_fork_asm+0x1b/0x30
[ 384.517628] </TASK>
[ 384.517631] Modules linked in: cmac rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) rtw_usb(OE) rtw_core(OE) ccm bnep overlay snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio intel_soc_dts_thermal intel_soc_dts_iosf uvcvideo intel_powerclamp coretemp kvm_intel spi_nor videobuf2_vmalloc uvc kvm ath3k mtd ath9k videobuf2_memops i915 joydev videobuf2_v4l2 irqbypass btusb ath9k_common iTCO_wdt crct10dif_pclmul mei_pxp mousedev at24 spi_intel_platform snd_hda_intel intel_pmc_bxt mei_hdcp crc32_pclmul btrtl spi_intel iTCO_vendor_support snd_intel_dspcfg videodev ath9k_hw snd_intel_sdw_acpi btintel hid_multitouch polyval_generic snd_hda_codec btbcm acer_wmi videobuf2_common btmtk gf128mul wmi_bmof ath snd_hda_core sparse_keymap ghash_clmulni_intel bluetooth intel_rapl_msr r8169 mc cryptd snd_hwdep ecdh_generic sha512_ssse3 drm_buddy realtek crc16 sha1_ssse3 mdio_devres mac80211 snd_pcm i2c_algo_bit libphy libarc4 ttm intel_cstate cfg80211 snd_timer
[ 384.517779] drm_display_helper pcspkr cec snd lpc_ich i2c_i801 mei_txe i2c_smbus rfkill soundcore intel_gtt mei i2c_hid_acpi i2c_hid int3401_thermal processor_thermal_device processor_thermal_rfim int3403_thermal vfat video processor_thermal_mbox fat pwm_lpss_platform processor_thermal_rapl wmi pwm_lpss intel_rapl_common int3400_thermal int340x_thermal_zone acpi_thermal_rel dw_dmac mac_hid pkcs8_key_parser i2c_dev crypto_user loop fuse dm_mod nfnetlink bpf_preload ip_tables x_tables serio_raw atkbd libps2 vivaldi_fmap sha256_ssse3 xhci_pci xhci_pci_renesas i8042 sdhci_acpi serio sdhci mmc_core btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq
[ 384.517887] CR2: 0000000000000010
[ 384.517893] ---[ end trace 0000000000000000 ]---
[ 384.517897] RIP: 0010:rtw_fw_c2h_cmd_rx_irqsafe+0x12a/0x200 [rtw_core]
[ 384.517944] Code: b6 4d 04 44 0f b6 45 03 48 c7 c2 c8 7d 76 c1 4c 8b b0 30 01 00 00 0f b6 45 07 50 0f b6 45 06 50 0f b6 45 05 50 e8 a6 da fe ff <45> 8b 6e 10 48 8b 43 10 48 89 df 41 8b 76 0c 4c 89 ed 48 8b 40 70
[ 384.517950] RSP: 0018:ffffc9000036fd40 EFLAGS: 00010246
[ 384.517956] RAX: 0000000000000000 RBX: ffff888114302080 RCX: ffffc9000036fd40
[ 384.517960] RDX: ffffc9000036fd00 RSI: 0000000000000000 RDI: ffff888114302080
[ 384.517964] RBP: ffff8881aa080060 R08: 00000000000000f9 R09: 0000000000000081
[ 384.517969] R10: 0000000000000011 R11: 0000000000000011 R12: ffff888111141d00
[ 384.517973] R13: 0000000000000060 R14: 0000000000000000 R15: 0000000000000060
[ 384.517977] FS: 0000000000000000(0000) GS:ffff888277c80000(0000) knlGS:0000000000000000
[ 384.517982] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 384.517987] CR2: 0000000000000010 CR3: 00000001f7420000 CR4: 00000000001006e0
[ 384.517992] note: kworker/u8:4[59] exited with irqs disabled
[ 385.785867] rtw_8812au 2-1:1.0: failed to get tx report from firmware
[ 387.783082] rtw_8812au 2-1:1.0: failed to get tx report from firmware
Does this fix it?
diff --git a/drivers/net/wireless/realtek/rtw88/usb.c b/drivers/net/wireless/realtek/rtw88/usb.c
index d6908a93d5ef..07477083f607 100644
--- a/drivers/net/wireless/realtek/rtw88/usb.c
+++ b/drivers/net/wireless/realtek/rtw88/usb.c
@@ -815,7 +815,7 @@ static void rtw_usb_dynamic_rx_agg_v2(struct rtw_dev *rtwdev, bool enable)
u16 val16;
if (rtwusb->udev->speed == USB_SPEED_SUPER) {
- size = 0x7;
+ size = 0x6;
timeout = 0x1a;
} else {
size = 0x5;
Yes, this fix the problem. There is no more kernel errors and the connection speed is high
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------
Accepted connection from x, port 34096
[ 5] local x port 5201 connected to x port 34108
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 39.9 MBytes 334 Mbits/sec 81 676 KBytes
[ 5] 1.00-2.00 sec 36.2 MBytes 304 Mbits/sec 538 474 KBytes
[ 5] 2.00-3.00 sec 43.9 MBytes 368 Mbits/sec 0 396 KBytes
[ 5] 3.00-4.00 sec 43.0 MBytes 361 Mbits/sec 0 700 KBytes
[ 5] 4.00-5.00 sec 47.5 MBytes 398 Mbits/sec 0 482 KBytes
[ 5] 5.00-6.00 sec 43.8 MBytes 367 Mbits/sec 0 467 KBytes
[ 5] 6.00-7.00 sec 55.8 MBytes 468 Mbits/sec 0 547 KBytes
[ 5] 7.00-8.00 sec 53.2 MBytes 446 Mbits/sec 0 646 KBytes
[ 5] 8.00-9.00 sec 44.1 MBytes 370 Mbits/sec 0 577 KBytes
[ 5] 9.00-10.00 sec 35.9 MBytes 301 Mbits/sec 0 462 KBytes
[ 5] 10.00-11.00 sec 28.6 MBytes 240 Mbits/sec 0 700 KBytes
[ 5] 11.00-12.00 sec 45.0 MBytes 377 Mbits/sec 36 484 KBytes
[ 5] 12.00-13.00 sec 33.8 MBytes 283 Mbits/sec 0 748 KBytes
[ 5] 13.00-14.00 sec 48.6 MBytes 408 Mbits/sec 1 523 KBytes
[ 5] 14.00-15.00 sec 63.2 MBytes 531 Mbits/sec 0 863 KBytes
[ 5] 15.00-16.00 sec 52.0 MBytes 436 Mbits/sec 0 581 KBytes
[ 5] 16.00-17.00 sec 49.5 MBytes 415 Mbits/sec 0 474 KBytes
[ 5] 17.00-18.00 sec 61.0 MBytes 512 Mbits/sec 0 769 KBytes
[ 5] 18.00-19.00 sec 61.5 MBytes 516 Mbits/sec 0 546 KBytes
[ 5] 19.00-20.00 sec 56.6 MBytes 475 Mbits/sec 0 537 KBytes
[ 5] 20.00-21.00 sec 55.1 MBytes 462 Mbits/sec 0 658 KBytes
[ 5] 21.00-22.00 sec 49.1 MBytes 412 Mbits/sec 0 519 KBytes
[ 5] 22.00-23.00 sec 54.6 MBytes 458 Mbits/sec 0 406 KBytes
[ 5] 23.00-24.00 sec 56.4 MBytes 473 Mbits/sec 0 567 KBytes
[ 5] 24.00-25.00 sec 53.8 MBytes 451 Mbits/sec 0 491 KBytes
[ 5] 25.00-26.00 sec 55.9 MBytes 469 Mbits/sec 0 452 KBytes
[ 5] 26.00-27.00 sec 54.1 MBytes 454 Mbits/sec 0 46.7 KBytes
[ 5] 27.00-28.00 sec 57.1 MBytes 479 Mbits/sec 0 646 KBytes
[ 5] 28.00-29.00 sec 66.1 MBytes 555 Mbits/sec 0 553 KBytes
[ 5] 29.00-30.00 sec 65.1 MBytes 546 Mbits/sec 0 566 KBytes
[ 5] 30.00-31.00 sec 50.4 MBytes 423 Mbits/sec 0 882 KBytes
[ 5] 31.00-32.00 sec 34.0 MBytes 285 Mbits/sec 0 663 KBytes
[ 5] 32.00-33.00 sec 27.5 MBytes 231 Mbits/sec 0 605 KBytes
[ 5] 33.00-34.00 sec 38.2 MBytes 321 Mbits/sec 0 573 KBytes
[ 5] 34.00-35.00 sec 56.0 MBytes 470 Mbits/sec 0 492 KBytes
[ 5] 35.00-36.00 sec 45.0 MBytes 377 Mbits/sec 0 764 KBytes
[ 5] 36.00-37.00 sec 33.4 MBytes 280 Mbits/sec 0 479 KBytes
[ 5] 37.00-38.00 sec 30.1 MBytes 253 Mbits/sec 0 392 KBytes
[ 5] 38.00-39.00 sec 37.9 MBytes 318 Mbits/sec 0 370 KBytes
[ 5] 39.00-40.00 sec 49.6 MBytes 416 Mbits/sec 0 496 KBytes
[ 5] 40.00-41.00 sec 45.0 MBytes 377 Mbits/sec 0 348 KBytes
[ 5] 41.00-42.00 sec 34.1 MBytes 286 Mbits/sec 0 346 KBytes
[ 5] 42.00-43.00 sec 29.6 MBytes 248 Mbits/sec 0 274 KBytes
[ 5] 43.00-44.00 sec 32.6 MBytes 274 Mbits/sec 0 301 KBytes
[ 5] 44.00-45.00 sec 35.4 MBytes 297 Mbits/sec 0 284 KBytes
[ 5] 45.00-46.00 sec 34.0 MBytes 285 Mbits/sec 0 296 KBytes
[ 5] 46.00-47.00 sec 34.5 MBytes 289 Mbits/sec 0 478 KBytes
[ 5] 47.00-48.00 sec 32.8 MBytes 275 Mbits/sec 0 38.2 KBytes
[ 5] 48.00-49.00 sec 32.8 MBytes 275 Mbits/sec 0 386 KBytes
[ 5] 49.00-50.00 sec 35.9 MBytes 301 Mbits/sec 0 433 KBytes
[ 5] 50.00-51.00 sec 42.2 MBytes 354 Mbits/sec 0 501 KBytes
[ 5] 51.00-52.00 sec 32.8 MBytes 275 Mbits/sec 0 313 KBytes
[ 5] 52.00-53.00 sec 34.1 MBytes 286 Mbits/sec 0 300 KBytes
[ 5] 53.00-54.00 sec 27.0 MBytes 226 Mbits/sec 0 277 KBytes
[ 5] 54.00-55.00 sec 36.9 MBytes 309 Mbits/sec 0 272 KBytes
[ 5] 55.00-56.00 sec 44.8 MBytes 376 Mbits/sec 0 502 KBytes
[ 5] 56.00-57.00 sec 34.4 MBytes 288 Mbits/sec 0 294 KBytes
[ 5] 57.00-58.00 sec 36.1 MBytes 303 Mbits/sec 0 444 KBytes
[ 5] 58.00-59.00 sec 32.1 MBytes 269 Mbits/sec 0 478 KBytes
[ 5] 59.00-60.00 sec 30.5 MBytes 256 Mbits/sec 0 443 KBytes
[ 5] 60.00-61.00 sec 29.9 MBytes 251 Mbits/sec 0 404 KBytes
[ 5] 61.00-62.00 sec 22.0 MBytes 185 Mbits/sec 0 566 KBytes
[ 5] 62.00-63.00 sec 33.8 MBytes 283 Mbits/sec 0 424 KBytes
[ 5] 63.00-64.00 sec 28.4 MBytes 238 Mbits/sec 0 450 KBytes
[ 5] 64.00-65.00 sec 34.8 MBytes 292 Mbits/sec 0 379 KBytes
[ 5] 65.00-66.00 sec 41.0 MBytes 344 Mbits/sec 0 516 KBytes
[ 5] 66.00-67.00 sec 37.4 MBytes 313 Mbits/sec 0 369 KBytes
[ 5] 67.00-68.00 sec 38.5 MBytes 323 Mbits/sec 0 512 KBytes
[ 5] 68.00-69.00 sec 26.2 MBytes 220 Mbits/sec 81 553 KBytes
[ 5] 69.00-70.00 sec 39.1 MBytes 328 Mbits/sec 0 481 KBytes
[ 5] 70.00-71.00 sec 35.4 MBytes 297 Mbits/sec 0 414 KBytes
[ 5] 71.00-72.00 sec 37.8 MBytes 317 Mbits/sec 0 334 KBytes
[ 5] 72.00-73.00 sec 40.2 MBytes 338 Mbits/sec 0 403 KBytes
[ 5] 73.00-74.00 sec 35.5 MBytes 298 Mbits/sec 0 50.9 KBytes
[ 5] 74.00-75.00 sec 38.4 MBytes 322 Mbits/sec 0 706 KBytes
[ 5] 75.00-76.00 sec 32.1 MBytes 269 Mbits/sec 1 898 KBytes
[ 5] 76.00-77.00 sec 46.5 MBytes 390 Mbits/sec 0 622 KBytes
[ 5] 77.00-78.00 sec 45.5 MBytes 382 Mbits/sec 0 588 KBytes
[ 5] 78.00-79.00 sec 46.9 MBytes 394 Mbits/sec 0 848 KBytes
[ 5] 79.00-80.00 sec 38.8 MBytes 325 Mbits/sec 0 782 KBytes
[ 5] 80.00-81.00 sec 35.0 MBytes 294 Mbits/sec 0 376 KBytes
[ 5] 81.00-82.00 sec 34.9 MBytes 293 Mbits/sec 0 489 KBytes
[ 5] 82.00-83.00 sec 33.4 MBytes 280 Mbits/sec 0 556 KBytes
[ 5] 83.00-84.00 sec 40.9 MBytes 343 Mbits/sec 0 461 KBytes
[ 5] 84.00-85.00 sec 32.4 MBytes 272 Mbits/sec 0 356 KBytes
[ 5] 85.00-86.00 sec 46.1 MBytes 387 Mbits/sec 0 676 KBytes
[ 5] 86.00-87.00 sec 41.9 MBytes 351 Mbits/sec 0 334 KBytes
[ 5] 87.00-88.00 sec 34.6 MBytes 290 Mbits/sec 0 397 KBytes
[ 5] 88.00-89.00 sec 42.1 MBytes 353 Mbits/sec 0 693 KBytes
[ 5] 89.00-90.00 sec 39.4 MBytes 332 Mbits/sec 0 489 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-90.00 sec 3.63 GBytes 347 Mbits/sec 738 sender
-----------------------------------------------------------
Server listening on 5201 (test #3)
-----------------------------------------------------------
Do you often see "Rate marked as a VHT rate but data is invalid: MCS: 0, NSS: 0"? I have only seen it once.
What about "failed to get urb length:32768"? I have never seen that on my computer.
I found out why I was seeing these errors only rarely. They appear when the AP sends larger frames, like 4000-5000 bytes, and that happens only when I have excellent reception. Most of the time I use my RTL8812AU in a place where I have only good reception, not excellent. Mystery solved!
rtl8812au crashed: Rate marked as a VHT rate but data is invalid.