brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.59k stars 460 forks source link

Kernel crash with 5.8.1 #35

Open breisig opened 4 years ago

breisig commented 4 years ago

Installed the latest rtl8821CU from git today on Linux kernel 5.4.12 and I see the following kernel crash issue from the driver.

[ 502.018128] ------------[ cut here ]------------ [ 502.018148] WARNING: CPU: 4 PID: 6156 at /root/rtl8821CU/core/rtw_mlme_ext.c:12626 rtw_mlmeext_disconnect+0x15d/0x1c6 [8821cu] [ 502.018149] Modules linked in: rpcsec_gss_krb5 xt_multiport nf_nat_tftp nft_counter ip6t_REJECT nf_reject_ipv6 gp8psk_fe ip6t_rpfilter ipt_REJECT nf_reject_ipv4 xt_conntrack nf_conntrack_tftp snd_hda_codec_hdmi xt_CT ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security 8821cu(OE) nf_tables nfnetlink dvb_usb_gp8psk dvb_usb dvb_core ip6table_filter rc_core ip6_tables videobuf2_vmalloc videobuf2_memops videobuf2_common videodev iptable_filter bpfilter mc intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel snd_pcm_oss snd_mixer_oss iTCO_wdt nouveau iTCO_vendor_support aesni_intel mxm_wmi joydev crypto_simd bochs_drm wmi cryptd glue_helper drm_vram_helper video snd_hda_intel xhci_pci i2c_i801 serio_raw snd_intel_nhlt ttm snd_hda_codec xhci_hcd uhci_hcd snd_hda_core drm_kms_helper snd_hwdep drm snd_pcm snd_timer snd intel_agp intel_gtt [ 502.018192] soundcore agpgart lpc_ich ehci_pci ehci_hcd evdev sch_fq_codel ip_tables [ 502.018196] CPU: 4 PID: 6156 Comm: RTW_CMD_THREAD Tainted: G W OE 5.4.12 #1 [ 502.018196] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014 [ 502.018208] RIP: 0010:rtw_mlmeext_disconnect+0x15d/0x1c6 [8821cu] [ 502.018209] Code: ac a0 be 03 00 00 00 48 89 df e8 1b 7c 06 00 be 08 00 00 00 48 89 df e8 25 be 06 00 e9 15 ff ff ff 83 3d 40 b0 17 00 03 77 07 <0f> 0b e9 df fe ff ff 48 c7 c7 62 d4 9f a0 e8 44 43 7e e0 eb eb c6 [ 502.018210] RSP: 0018:ffff8882664a3e68 EFLAGS: 00010246 [ 502.018210] RAX: 0000000000000000 RBX: ffffc900000e7000 RCX: 0000000000000000 [ 502.018211] RDX: 0000000000000004 RSI: 0000000080000001 RDI: ffffc900000e7000 [ 502.018211] RBP: ffff88825611d200 R08: 0000000000000000 R09: 7fffffffffffffff [ 502.018211] R10: ffff88827fd21040 R11: 000000000043b243 R12: ffffc900000e80c0 [ 502.018212] R13: ffffc900000e8090 R14: ffff888274e85580 R15: ffffffffa08fb260 [ 502.018213] FS: 0000000000000000(0000) GS:ffff88827fd00000(0000) knlGS:0000000000000000 [ 502.018213] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 502.018214] CR2: 0000561b44dee1d0 CR3: 00000002693ae001 CR4: 0000000000360ee0 [ 502.018216] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 502.018216] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 502.018216] Call Trace: [ 502.018230] disconnect_hdl+0x48/0xc5 [8821cu] [ 502.018239] rtw_cmd_thread+0x424/0x5d4 [8821cu] [ 502.018241] kthread+0xf1/0x130 [ 502.018249] ? rtw_stop_cmd_thread+0x34/0x34 [8821cu] [ 502.018249] ? kthread_park+0x80/0x80 [ 502.018251] ret_from_fork+0x35/0x40 [ 502.018252] ---[ end trace c88340b50e555b08 ]---