I keep a Linux Wi-Fi driver compatible with recent kernels. The driver worked
flawlessly on my desktop and as far as I know also on the Thinkpad. I almost
never checked on the Thinkpad, though. You can find the driver at
https://github.com/MaxG87/DWA-182_Rev-D1/.
Last week I upgraded from Debian/stable to Debian/testing (desktop) and from
Ubuntu 18.04 to 19.10 (Thinkpad T470p). I had to fix a small error that was
detected by newer g++
but besides that compilation worked fine.
However, the device does not work and I have no clue why. So my question is
twofold: I would like to know how I can find out whats wrong and possibly how
to fix it.
Please find below some information.
The driver is loaded:
sudo lsmod | egrep 88x2
88x2bu 3014656 0
cfg80211 823296 5 ath9k_htc,ath9k_common,88x2bu,ath,mac80211
usbcore 307200 5 ath9k_htc,ehci_pci,usbhid,88x2bu,ehci_hcd
The device is attached. Attaching the device leads to complete system
freeze in ~50% of the time.
sudo lsusb | egrep D-Link
Bus 002 Device 004: ID 2001:331c D-Link Corp.
The output of dmesg
after attaching the device. I admit that it looks scary but I do not learn anything from it.
[ 97.943764] usb 2-1.3: new high-speed USB device number 6 using ehci-pci
[ 97.972956] usb 2-1.3: New USB device found, idVendor=2001, idProduct=331c, bcdDevice= 2.10
[ 97.972960] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 97.972961] usb 2-1.3: Product: 802.11ac NIC
[ 97.972963] usb 2-1.3: SerialNumber: 123456
[ 98.065544] 88x2bu: loading out-of-tree module taints kernel.
[ 98.067018] 88x2bu: module verification failed: signature and/or required key missing - tainting kernel
[ 98.093187] RTW: module init start
[ 98.093189] RTW: rtl88x2bu v5.3.1_27678.20180430_COEX20180427-5959
[ 98.093190] RTW: build time: Mar 24 2020 14:27:17
[ 98.093191] RTW: rtl88x2bu BT-Coex version = COEX20180427-5959
[ 98.093201] RTW: rtw_inetaddr_notifier_register
[ 98.093226] RTW:
usb_endpoint_descriptor(0):
[ 98.093227] RTW: bLength=7
[ 98.093228] RTW: bDescriptorType=5
[ 98.093228] RTW: bEndpointAddress=84
[ 98.093229] RTW: wMaxPacketSize=512
[ 98.093229] RTW: bInterval=0
[ 98.093230] RTW: RT_usb_endpoint_is_bulk_in = 4
[ 98.093230] RTW:
usb_endpoint_descriptor(1):
[ 98.093231] RTW: bLength=7
[ 98.093231] RTW: bDescriptorType=5
[ 98.093232] RTW: bEndpointAddress=5
[ 98.093232] RTW: wMaxPacketSize=512
[ 98.093233] RTW: bInterval=0
[ 98.093233] RTW: RT_usb_endpoint_is_bulk_out = 5
[ 98.093234] RTW:
usb_endpoint_descriptor(2):
[ 98.093234] RTW: bLength=7
[ 98.093235] RTW: bDescriptorType=5
[ 98.093235] RTW: bEndpointAddress=6
[ 98.093235] RTW: wMaxPacketSize=512
[ 98.093236] RTW: bInterval=0
[ 98.093236] RTW: RT_usb_endpoint_is_bulk_out = 6
[ 98.093237] RTW:
usb_endpoint_descriptor(3):
[ 98.093237] RTW: bLength=7
[ 98.093238] RTW: bDescriptorType=5
[ 98.093238] RTW: bEndpointAddress=87
[ 98.093239] RTW: wMaxPacketSize=64
[ 98.093239] RTW: bInterval=3
[ 98.093240] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[ 98.093240] RTW:
usb_endpoint_descriptor(4):
[ 98.093241] RTW: bLength=7
[ 98.093241] RTW: bDescriptorType=5
[ 98.093241] RTW: bEndpointAddress=8
[ 98.093242] RTW: wMaxPacketSize=512
[ 98.093242] RTW: bInterval=0
[ 98.093243] RTW: RT_usb_endpoint_is_bulk_out = 8
[ 98.093244] RTW: nr_endpoint=5, in_num=2, out_num=3
[ 98.093244] RTW: USB_SPEED_HIGH
[ 98.093245] RTW: CHIP TYPE: RTL8822B
[ 98.093264] RTW: [HALMAC]11692M
HALMAC_MAJOR_VER = 1
HALMAC_PROTOTYPE_VER = 4
HALMAC_MINOR_VER = 8
HALMAC_PATCH_VER = 3
[ 98.094827] RTW: rtw_hal_config_rftype RF_Type is 2 TotalTxPath is 2
[ 98.094829] RTW: Chip Version Info: CHIP_8822B_Normal_Chip_UMC_D_CUT_2T2R_RomVer(3)
[ 98.094832] RTW: config_chip_out_EP OutEpQueueSel(0x07), OutEpNumber(3)
[ 98.095078] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[ 98.608205] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_LOGICAL_EFUSE
[ 98.608220] RTW: HW EFUSE
[ 98.608222] RTW: 0x000: 29 81 00 3C 09 00 B1 00 94 07 64 00 00 00 A3 00
[ 98.608230] RTW: 0x010: 34 34 34 34 34 34 30 30 30 30 30 02 00 00 FF FF
[ 98.608236] RTW: 0x020: FF FF 26 26 25 25 23 23 21 20 1F 1E 27 23 22 20
[ 98.608242] RTW: 0x030: 02 00 FF FF 00 FF 0C 00 FF FF 34 34 34 34 34 34
[ 98.608248] RTW: 0x040: 30 30 30 30 30 22 00 00 FF FF FF FF 22 20 20 1F
[ 98.608254] RTW: 0x050: 1F 1E 1D 1C 1C 1C 23 23 22 22 01 00 FF FF 00 FF
[ 98.608260] RTW: 0x060: 0C 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608266] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608272] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608278] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608284] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608290] RTW: 0x0B0: FF FF FF FF FF FF FF FF 26 30 20 00 FF FF FF FF
[ 98.608296] RTW: 0x0C0: FF 09 00 11 00 00 00 00 00 FF 02 FF FF FF FF FF
[ 98.608302] RTW: 0x0D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608308] RTW: 0x0E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608314] RTW: 0x0F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608320] RTW: 0x100: 01 20 1C 33 C1 67 02 28 3B 82 CB 57 05 02 03 0E
[ 98.608327] RTW: 0x110: 03 38 30 32 2E 31 31 61 63 20 4E 49 43 08 03 31
[ 98.608333] RTW: 0x120: 32 33 34 35 36 FF FF FF FF FF FF FF FF FF FF FF
[ 98.608339] RTW: 0x130: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608345] RTW: 0x140: 33 0A 1F 01 00 00 21 0F FF FF FF FF FF FF FF FF
[ 98.608351] RTW: 0x150: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608357] RTW: 0x160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608363] RTW: 0x170: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608369] RTW: 0x180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608375] RTW: 0x190: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608381] RTW: 0x1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608387] RTW: 0x1B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608393] RTW: 0x1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608399] RTW: 0x1D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608405] RTW: 0x1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608411] RTW: 0x1F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608417] RTW: 0x200: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608423] RTW: 0x210: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608429] RTW: 0x220: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608435] RTW: 0x230: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608441] RTW: 0x240: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608447] RTW: 0x250: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608453] RTW: 0x260: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608459] RTW: 0x270: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608465] RTW: 0x280: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608471] RTW: 0x290: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608477] RTW: 0x2A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608483] RTW: 0x2B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608489] RTW: 0x2C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608495] RTW: 0x2D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608501] RTW: 0x2E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608507] RTW: 0x2F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 98.608515] RTW: EEPROM ID = 0x8129
[ 98.608516] RTW: EEPROM Version = 0
[ 98.608527] RTW: EEPROM Regulatory=0x01
[ 98.608528] RTW: EEPROM Board Type=0x00
[ 98.608530] RTW: EEPROM Disable BT-coex, ant_num=1
[ 98.608532] RTW: hal_com_config_channel_plan chplan:0x26
[ 98.608533] RTW: EEPROM crystal_cap=0x30
[ 98.608534] RTW: EEPROM ThermalMeter=0x20
[ 98.608535] RTW: EEPROM Customer ID=0x00
[ 98.608535] RTW: EEPROM SupportRemoteWakeup=0
[ 98.608536] RTW: EEPROM PAType_2G is 0x0, ExternalPA_2G = 0
[ 98.608537] RTW: EEPROM PAType_5G is 0x0, external_pa_5g = 0
[ 98.608538] RTW: EEPROM LNAType_2G is 0x0, ExternalLNA_2G = 0
[ 98.608539] RTW: EEPROM LNAType_5G is 0x0, external_lna_5g = 0
[ 98.608540] RTW: EEPROM TypeGPA = 0x0
[ 98.608541] RTW: EEPROM TypeAPA = 0x0
[ 98.608541] RTW: EEPROM TypeGLNA = 0x0
[ 98.608542] RTW: EEPROM TypeALNA = 0x0
[ 98.608543] RTW: EEPROM rfe_type=0x2
[ 98.608548] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[ 98.608824] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[ 98.608827] RTW: EEPROM efuse[0x3D7]=0xf6
[ 98.608828] RTW: EEPROM efuse[0x3D8]=0xf2
[ 98.608828] RTW: EEPROM USB Switch=1
[ 98.608830] RTW: EEPROM VID = 0x2001, PID = 0x331C
[ 98.624073] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[ 98.625574] RTW: SetHwReg: bMacPwrCtrlOn=1
[ 98.625697] RTW: rtl8822b_fw_dl fw source from array
[ 98.715580] RTW: LocPsPoll: 1
[ 98.715585] RTW: LocBTQosNull: 2
[ 98.715587] RTW: LocNullData: 3
[ 98.715590] RTW: LocQosNull: 4
[ 98.715595] RTW: _cfg_drv_rsvd_pg_num: request 5 pages, but allocate 8 pages
[ 98.726573] RTW: rtl8822b_fw_dl Download Firmware from array success
[ 98.726576] RTW: NIC FW Version:22 SubVersion:6 FW size:145104
[ 98.738075] RTW: SetHwReg: bMacPwrCtrlOn=0
[ 98.738078] RTW: hal_read_mac_hidden_rpt OK! (1, 12ms), fwdl:1, id:0x19
[ 98.738079] RTW: EEPROM Disable BT-coex by hal_spec
[ 98.738081] RTW: rtw_hal_read_chip_info in 644 ms
[ 98.738092] RTW: init_channel_set((null)) ChannelPlan ID:0x26, ch num:32
[ 98.738251] RTW: NR_RECVBUFF: 8
[ 98.738252] RTW: MAX_RECVBUF_SZ: 32768
[ 98.738254] RTW: NR_PREALLOC_RECV_SKB: 8
[ 98.738309] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[ 98.738319] RTW: IQK FW offload:enable
[ 98.738322] RTW: init_phydm_cominfo: fab_ver=1 cut_ver=3
[ 98.738325] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[ 98.740505] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 98.740518] RTW: default power by rate loaded
[ 98.742075] RTW: can't get autopm:
[ 98.742079] RTW: rtw_macaddr_cfg mac addr:28:3b:82:cb:57:05
[ 98.742081] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 98.742101] RTW: rtw_wiphy_alloc(phy0)
[ 98.742104] RTW: rtw_wdev_alloc(padapter=00000000bc0acdf4)
[ 98.742107] RTW: rtw_wiphy_register(phy0)
[ 98.742108] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[ 98.742125] ------------[ cut here ]------------
[ 98.742157] WARNING: CPU: 0 PID: 2150 at net/wireless/core.c:867 wiphy_register+0x6d1/0x930 [cfg80211]
[ 98.742158] Modules linked in: 88x2bu(OE+) cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device binfmt_misc ext4 crc16 mbcache jbd2 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio kvm snd_hda_intel snd_intel_nhlt snd_hda_codec irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_pcm_oss iTCO_wdt snd_mixer_oss joydev snd_pcm intel_rapl_perf iTCO_vendor_support snd_timer pcspkr sg snd watchdog mei_me soundcore mei evdev parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 btrfs xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic crypto_simd glue_helper dm_crypt dm_mod amdgpu gpu_sched hid_generic usbhid hid sd_mod sr_mod cdrom radeon crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit ttm ahci drm_kms_helper libahci ghash_clmulni_intel libata cryptd drm i2c_i801 ehci_pci ehci_hcd scsi_mod
[ 98.742202] usbcore atl1c lpc_ich mfd_core usb_common button
[ 98.742209] CPU: 0 PID: 2150 Comm: systemd-udevd Tainted: G OE 5.4.0-4-amd64 #1 Debian 5.4.19-1
[ 98.742210] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H61M-GS, BIOS P1.10 03/07/2011
[ 98.742226] RIP: 0010:wiphy_register+0x6d1/0x930 [cfg80211]
[ 98.742229] Code: ff e9 78 fa ff ff 0f 0b b8 ea ff ff ff e9 6c fa ff ff 0f 0b b8 ea ff ff ff e9 60 fa ff ff 0f 0b b8 ea ff ff ff e9 54 fa ff ff <0f> 0b b8 ea ff ff ff e9 48 fa ff ff 0f 0b b8 ea ff ff ff e9 3c fa
[ 98.742230] RSP: 0018:ffffafd9845579d0 EFLAGS: 00010246
[ 98.742232] RAX: ffffffffc1209ef0 RBX: ffffafd98031b000 RCX: ffffffffc1209ee0
[ 98.742233] RDX: ffffffffc1209fe0 RSI: 0000000000000001 RDI: 000000000000001e
[ 98.742235] RBP: ffffafd984557a48 R08: 0000000000000004 R09: 0000000000000003
[ 98.742236] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9650a4b07300
[ 98.742237] R13: ffffafd98031e420 R14: ffffffffc121bcce R15: ffffffffc12a4300
[ 98.742239] FS: 00007f623031b880(0000) GS:ffff9650ab200000(0000) knlGS:0000000000000000
[ 98.742241] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 98.742242] CR2: 000055f0133f84a0 CR3: 000000007fbd0001 CR4: 00000000000606f0
[ 98.742243] Call Trace:
[ 98.742253] ? printk+0x58/0x6f
[ 98.742344] rtw_cfg80211_ndev_res_register+0x15/0x40 [88x2bu]
[ 98.742414] rtw_os_ndev_register+0x60/0x150 [88x2bu]
[ 98.742484] rtw_os_ndevs_register+0x76/0x100 [88x2bu]
[ 98.742553] rtw_os_ndevs_init+0x23/0x40 [88x2bu]
[ 98.742622] rtw_drv_init+0x377/0x420 [88x2bu]
[ 98.742639] usb_probe_interface+0xe0/0x280 [usbcore]
[ 98.742644] really_probe+0x298/0x3c0
[ 98.742648] driver_probe_device+0xb6/0x100
[ 98.742651] device_driver_attach+0x53/0x60
[ 98.742654] __driver_attach+0x8a/0x150
[ 98.742657] ? device_driver_attach+0x60/0x60
[ 98.742660] bus_for_each_dev+0x78/0xc0
[ 98.742663] bus_add_driver+0x14d/0x1f0
[ 98.742666] driver_register+0x6c/0xc0
[ 98.742678] usb_register_driver+0x84/0x120 [usbcore]
[ 98.742681] ? 0xffffffffc13b3000
[ 98.742735] rtw_drv_entry+0xa4/0x1000 [88x2bu]
[ 98.742739] do_one_initcall+0x46/0x1f4
[ 98.742743] ? _cond_resched+0x15/0x30
[ 98.742747] ? kmem_cache_alloc_trace+0x158/0x210
[ 98.742751] ? do_init_module+0x23/0x230
[ 98.742754] do_init_module+0x5c/0x230
[ 98.742757] load_module+0x2359/0x2500
[ 98.742763] ? __do_sys_finit_module+0xaa/0x110
[ 98.742766] __do_sys_finit_module+0xaa/0x110
[ 98.742770] do_syscall_64+0x52/0x160
[ 98.742773] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 98.742776] RIP: 0033:0x7f623088bf09
[ 98.742778] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 57 3f 0c 00 f7 d8 64 89 01 48
[ 98.742780] RSP: 002b:00007ffe41eb5898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 98.742782] RAX: ffffffffffffffda RBX: 000056298103e8e0 RCX: 00007f623088bf09
[ 98.742783] RDX: 0000000000000000 RSI: 00007f623078cded RDI: 000000000000000f
[ 98.742784] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562981002198
[ 98.742785] R10: 000000000000000f R11: 0000000000000246 R12: 00007f623078cded
[ 98.742786] R13: 0000000000000000 R14: 00005629810191c0 R15: 000056298103e8e0
[ 98.742789] ---[ end trace a0140ac240f94d39 ]---
[ 98.742791] RTW: rtw_cfg80211_ndev_res_register rtw_wiphy_register fail for if1
[ 98.742801] ------------[ cut here ]------------
[ 98.742870] WARNING: CPU: 0 PID: 2150 at /usr/src/rtl88x2bu-5.3.1.1/os_dep/linux/os_intfs.c:1621 rtw_os_ndev_register+0x65/0x150 [88x2bu]
[ 98.742870] Modules linked in: 88x2bu(OE+) cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device binfmt_misc ext4 crc16 mbcache jbd2 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio kvm snd_hda_intel snd_intel_nhlt snd_hda_codec irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_pcm_oss iTCO_wdt snd_mixer_oss joydev snd_pcm intel_rapl_perf iTCO_vendor_support snd_timer pcspkr sg snd watchdog mei_me soundcore mei evdev parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 btrfs xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic crypto_simd glue_helper dm_crypt dm_mod amdgpu gpu_sched hid_generic usbhid hid sd_mod sr_mod cdrom radeon crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit ttm ahci drm_kms_helper libahci ghash_clmulni_intel libata cryptd drm i2c_i801 ehci_pci ehci_hcd scsi_mod
[ 98.742902] usbcore atl1c lpc_ich mfd_core usb_common button
[ 98.742907] CPU: 0 PID: 2150 Comm: systemd-udevd Tainted: G W OE 5.4.0-4-amd64 #1 Debian 5.4.19-1
[ 98.742908] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H61M-GS, BIOS P1.10 03/07/2011
[ 98.742975] RIP: 0010:rtw_os_ndev_register+0x65/0x150 [88x2bu]
[ 98.742977] Code: 0f 84 97 00 00 00 4c 89 e7 b9 20 00 00 00 48 c7 c2 a0 bb 13 c1 48 89 ee e8 18 8e af dd 48 89 df e8 c0 8b 01 00 83 f8 01 74 13 <0f> 0b 48 89 ef e8 d1 83 af dd 31 c0 5b 5d 41 5c 41 5d c3 4c 89 ee
[ 98.742978] RSP: 0018:ffffafd984557a68 EFLAGS: 00010297
[ 98.742980] RAX: 0000000000000000 RBX: ffffafd98031b000 RCX: 0000000000000006
[ 98.742981] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff9650ab217680
[ 98.742982] RBP: ffffafd98031e4c8 R08: 000000000000047d R09: 0000000000000004
[ 98.742983] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9650a9f42000
[ 98.742984] R13: ffffafd98031e420 R14: ffffffffc121bcce R15: ffffffffc12a4300
[ 98.742986] FS: 00007f623031b880(0000) GS:ffff9650ab200000(0000) knlGS:0000000000000000
[ 98.742988] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 98.742989] CR2: 000055f0133f84a0 CR3: 000000007fbd0001 CR4: 00000000000606f0
[ 98.742990] Call Trace:
[ 98.743058] rtw_os_ndevs_register+0x76/0x100 [88x2bu]
[ 98.743125] rtw_os_ndevs_init+0x23/0x40 [88x2bu]
[ 98.743192] rtw_drv_init+0x377/0x420 [88x2bu]
[ 98.743205] usb_probe_interface+0xe0/0x280 [usbcore]
[ 98.743209] really_probe+0x298/0x3c0
[ 98.743212] driver_probe_device+0xb6/0x100
[ 98.743215] device_driver_attach+0x53/0x60
[ 98.743218] __driver_attach+0x8a/0x150
[ 98.743221] ? device_driver_attach+0x60/0x60
[ 98.743223] bus_for_each_dev+0x78/0xc0
[ 98.743226] bus_add_driver+0x14d/0x1f0
[ 98.743229] driver_register+0x6c/0xc0
[ 98.743240] usb_register_driver+0x84/0x120 [usbcore]
[ 98.743242] ? 0xffffffffc13b3000
[ 98.743296] rtw_drv_entry+0xa4/0x1000 [88x2bu]
[ 98.743299] do_one_initcall+0x46/0x1f4
[ 98.743302] ? _cond_resched+0x15/0x30
[ 98.743305] ? kmem_cache_alloc_trace+0x158/0x210
[ 98.743308] ? do_init_module+0x23/0x230
[ 98.743310] do_init_module+0x5c/0x230
[ 98.743313] load_module+0x2359/0x2500
[ 98.743319] ? __do_sys_finit_module+0xaa/0x110
[ 98.743321] __do_sys_finit_module+0xaa/0x110
[ 98.743325] do_syscall_64+0x52/0x160
[ 98.743329] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 98.743330] RIP: 0033:0x7f623088bf09
[ 98.743332] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 57 3f 0c 00 f7 d8 64 89 01 48
[ 98.743333] RSP: 002b:00007ffe41eb5898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 98.743335] RAX: ffffffffffffffda RBX: 000056298103e8e0 RCX: 00007f623088bf09
[ 98.743336] RDX: 0000000000000000 RSI: 00007f623078cded RDI: 000000000000000f
[ 98.743337] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562981002198
[ 98.743339] R10: 000000000000000f R11: 0000000000000246 R12: 00007f623078cded
[ 98.743340] R13: 0000000000000000 R14: 00005629810191c0 R15: 000056298103e8e0
[ 98.743342] ---[ end trace a0140ac240f94d3a ]---
[ 98.755763] ------------[ cut here ]------------
[ 98.755844] WARNING: CPU: 0 PID: 2150 at /usr/src/rtl88x2bu-5.3.1.1/os_dep/linux/os_intfs.c:3052 rtw_os_ndevs_register+0xb4/0x100 [88x2bu]
[ 98.755845] Modules linked in: 88x2bu(OE+) cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device binfmt_misc ext4 crc16 mbcache jbd2 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio kvm snd_hda_intel snd_intel_nhlt snd_hda_codec irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_pcm_oss iTCO_wdt snd_mixer_oss joydev snd_pcm intel_rapl_perf iTCO_vendor_support snd_timer pcspkr sg snd watchdog mei_me soundcore mei evdev parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 btrfs xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic crypto_simd glue_helper dm_crypt dm_mod amdgpu gpu_sched hid_generic usbhid hid sd_mod sr_mod cdrom radeon crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit ttm ahci drm_kms_helper libahci ghash_clmulni_intel libata cryptd drm i2c_i801 ehci_pci ehci_hcd scsi_mod
[ 98.755882] usbcore atl1c lpc_ich mfd_core usb_common button
[ 98.755888] CPU: 0 PID: 2150 Comm: systemd-udevd Tainted: G W OE 5.4.0-4-amd64 #1 Debian 5.4.19-1
[ 98.755889] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H61M-GS, BIOS P1.10 03/07/2011
[ 98.755960] RIP: 0010:rtw_os_ndevs_register+0xb4/0x100 [88x2bu]
[ 98.755962] Code: 7e ac 85 db 74 b6 83 3d c9 89 17 00 01 0f 87 e8 cc 0b 00 0f 0b eb dd 0f 0b 45 31 e4 5b 5d 44 89 e0 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b 48 8b bd 50 01 00 00 48 85 ff 74 09 80 bf 18 46 00 00 00 75
[ 98.755963] RSP: 0018:ffffafd984557a90 EFLAGS: 00010297
[ 98.755965] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 98.755966] RDX: ffff9650a9f42060 RSI: ffffafd98031e628 RDI: ffffafd98031e5b0
[ 98.755968] RBP: ffff9650a23d2000 R08: ffff9650a9f42060 R09: 0000000000029fa0
[ 98.755969] R10: 0000000000000005 R11: ffff9650ab229580 R12: 0000000000000001
[ 98.755970] R13: ffffafd98031b000 R14: ffffffffc121bcce R15: 0000000000000000
[ 98.755972] FS: 00007f623031b880(0000) GS:ffff9650ab200000(0000) knlGS:0000000000000000
[ 98.755973] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 98.755975] CR2: 00007f251c04a0e8 CR3: 000000007fbd0001 CR4: 00000000000606f0
[ 98.755976] Call Trace:
[ 98.756047] rtw_os_ndevs_init+0x23/0x40 [88x2bu]
[ 98.756116] rtw_drv_init+0x377/0x420 [88x2bu]
[ 98.756130] usb_probe_interface+0xe0/0x280 [usbcore]
[ 98.756135] really_probe+0x298/0x3c0
[ 98.756138] driver_probe_device+0xb6/0x100
[ 98.756141] device_driver_attach+0x53/0x60
[ 98.756144] __driver_attach+0x8a/0x150
[ 98.756147] ? device_driver_attach+0x60/0x60
[ 98.756149] bus_for_each_dev+0x78/0xc0
[ 98.756153] bus_add_driver+0x14d/0x1f0
[ 98.756156] driver_register+0x6c/0xc0
[ 98.756167] usb_register_driver+0x84/0x120 [usbcore]
[ 98.756170] ? 0xffffffffc13b3000
[ 98.756224] rtw_drv_entry+0xa4/0x1000 [88x2bu]
[ 98.756228] do_one_initcall+0x46/0x1f4
[ 98.756231] ? _cond_resched+0x15/0x30
[ 98.756234] ? kmem_cache_alloc_trace+0x158/0x210
[ 98.756237] ? do_init_module+0x23/0x230
[ 98.756240] do_init_module+0x5c/0x230
[ 98.756243] load_module+0x2359/0x2500
[ 98.756249] ? __do_sys_finit_module+0xaa/0x110
[ 98.756251] __do_sys_finit_module+0xaa/0x110
[ 98.756256] do_syscall_64+0x52/0x160
[ 98.756259] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 98.756261] RIP: 0033:0x7f623088bf09
[ 98.756263] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 57 3f 0c 00 f7 d8 64 89 01 48
[ 98.756264] RSP: 002b:00007ffe41eb5898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 98.756267] RAX: ffffffffffffffda RBX: 000056298103e8e0 RCX: 00007f623088bf09
[ 98.756268] RDX: 0000000000000000 RSI: 00007f623078cded RDI: 000000000000000f
[ 98.756269] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562981002198
[ 98.756270] R10: 000000000000000f R11: 0000000000000246 R12: 00007f623078cded
[ 98.756271] R13: 0000000000000000 R14: 00005629810191c0 R15: 000056298103e8e0
[ 98.756274] ---[ end trace a0140ac240f94d3b ]---
[ 98.756277] RTW: rtw_wdev_free(wdev=0000000002e91e33)
[ 98.756279] RTW: rtw_wiphy_free(phy0)
[ 98.756289] RTW: rtw_usb_primary_adapter_deinit((null))
[ 98.756290] RTW: rtw_dev_unload: bup==_FALSE
[ 98.757326] RTW: +r871xu_dev_remove, hw_init_completed=0
[ 98.757419] RTW: WARN free_recv_skb_queue not empty, 8
[ 98.757436] RTW: usb attached..., try to reset usb device
[ 98.843761] usb 2-1.3: reset high-speed USB device number 6 using ehci-pci
[ 98.872670] usbcore: registered new interface driver rtl88x2bu
[ 98.872673] RTW: module init ret=0