lwfinger / rtw89

Driver for Realtek 8852AE, an 802.11ax device
GNU General Public License v2.0
1.28k stars 163 forks source link

rtw89_8852ce 0000:04:00.0: failed to register core hw #350

Open Exlll opened 5 months ago

Exlll commented 5 months ago

I just installed the newest kernel for Debian (6.1.0-22) and rtw stopped working. It was working previously with version 6.1.0-20.

This is the error that sudo journalctl -xb is showing me:

------------[ cut here ]------------
WARNING: CPU: 0 PID: 473 at net/wireless/core.c:917 wiphy_register+0x8b9/0x8c0 [cfg80211]
Modules linked in: nls_ascii nls_cp437 vfat jitterentropy_rng fat drbg ansi_cprng intel_rapl_msr usbhid(+) intel_rapl_common ecdh_generic ecc amd64_edac(-) edac_mce_amd nvidia_drm(POE>
 hid_multitouch serio_raw evdev msr parport_pc ppdev lp parport drm fuse loop efi_pstore configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic dm_mod xhc>
CPU: 0 PID: 473 Comm: (udev-worker) Tainted: P           OE      6.1.0-22-amd64 #1  Debian 6.1.94-1
Hardware name: LENOVO 82WM/LNVNB161216, BIOS LPCN44WW 06/28/2023
RIP: 0010:wiphy_register+0x8b9/0x8c0 [cfg80211]
Code: ed 87 03 00 e9 b6 fe ff ff e8 53 72 cd d1 0f 0b e9 6e f8 ff ff 0f 0b e9 67 f8 ff ff 0f 0b e9 33 ff ff ff 0f 0b e9 59 f8 ff ff <0f> 0b e9 52 f8 ff ff 0f 1f 44 00 00 48 85 ff 74 4>
RSP: 0018:ffffbb5d01ab7860 EFLAGS: 00010246
RAX: 0000000000000e80 RBX: ffff9a2f4dd003c0 RCX: ffffffffc476a840
RDX: ffff9a2f41bd9e80 RSI: 000000000000003b RDI: 0000000000000000
RBP: ffffbb5d01ab78e0 R08: 0000000000000003 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000005 R14: 000000000000000c R15: 0000000000000065
FS:  00007fd7053a18c0(0000) GS:ffff9a326d600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f3f203a418 CR3: 000000010b916000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
 <TASK>
 ? __warn+0x7d/0xc0
 ? wiphy_register+0x8b9/0x8c0 [cfg80211]
 ? report_bug+0xe2/0x150
 ? handle_bug+0x41/0x70
 ? exc_invalid_op+0x13/0x60
 ? asm_exc_invalid_op+0x16/0x20
 ? wiphy_register+0x8b9/0x8c0 [cfg80211]
 ? __rtnl_unlock+0x33/0x60
 ? srso_alias_return_thunk+0x5/0x7f
 ? netdev_run_todo+0x60/0x4f0
 ? srso_alias_return_thunk+0x5/0x7f
 ? srso_alias_return_thunk+0x5/0x7f
 ieee80211_register_hw+0x7c2/0xc60 [mac80211]
 rtw89_core_register+0x230/0x710 [rtw89core]
 rtw89_pci_probe+0x8fa/0x970 [rtw89pci]
 local_pci_probe+0x3e/0x80
 pci_device_probe+0xc3/0x240
 really_probe+0xdb/0x380
 ? pm_runtime_barrier+0x50/0x90
 __driver_probe_device+0x78/0x120
 driver_probe_device+0x1f/0x90
 __driver_attach+0xce/0x1c0
 ? __device_attach_driver+0x110/0x110
 bus_for_each_dev+0x84/0xd0
 bus_add_driver+0x1ae/0x200
 driver_register+0x89/0xe0
 ? 0xffffffffc0826000
 do_one_initcall+0x56/0x220
 do_init_module+0x4a/0x1f0
 __do_sys_finit_module+0xac/0x120
 do_syscall_64+0x55/0xb0
 ? srso_alias_return_thunk+0x5/0x7f
 ? exit_to_user_mode_prepare+0x44/0x1f0
 ? srso_alias_return_thunk+0x5/0x7f
 ? syscall_exit_to_user_mode+0x1e/0x40
 ? srso_alias_return_thunk+0x5/0x7f
 ? do_syscall_64+0x61/0xb0
 ? srso_alias_return_thunk+0x5/0x7f
 ? syscall_exit_to_user_mode+0x1e/0x40
 ? srso_alias_return_thunk+0x5/0x7f
 ? do_syscall_64+0x61/0xb0
 ? srso_alias_return_thunk+0x5/0x7f
 ? exit_to_user_mode_prepare+0x44/0x1f0
 ? srso_alias_return_thunk+0x5/0x7f
 ? syscall_exit_to_user_mode+0x1e/0x40
 ? srso_alias_return_thunk+0x5/0x7f
 ? do_syscall_64+0x61/0xb0
 ? call_rcu+0xde/0x6b0
 ? srso_alias_return_thunk+0x5/0x7f
 ? exit_to_user_mode_prepare+0x44/0x1f0
 ? srso_alias_return_thunk+0x5/0x7f
 ? syscall_exit_to_user_mode+0x1e/0x40
 ? srso_alias_return_thunk+0x5/0x7f
 ? do_syscall_64+0x61/0xb0
 ? do_syscall_64+0x61/0xb0
 ? do_sync_core+0x26/0x30
 ? srso_alias_return_thunk+0x5/0x7f
 ? __flush_smp_call_function_queue+0x117/0x1a0
 ? srso_alias_return_thunk+0x5/0x7f
 ? exit_to_user_mode_prepare+0x44/0x1f0
 entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x7fd70562c719
Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 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 b7 06 0d 00 f>
RSP: 002b:00007ffcd5973918 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
RAX: ffffffffffffffda RBX: 0000563467356210 RCX: 00007fd70562c719
RDX: 0000000000000000 RSI: 00007fd7057bfefd RDI: 0000000000000014
RBP: 00007fd7057bfefd R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000014 R11: 0000000000000246 R12: 0000000000020000
R13: 0000000000000000 R14: 0000563467345c00 R15: 0000000000000024
 </TASK>
---[ end trace 0000000000000000 ]---
rtw89_8852ce 0000:04:00.0: failed to register hw
rtw89_8852ce 0000:04:00.0: failed to register core hw
rtw89_8852ce 0000:04:00.0: failed to register core

I have tried to uninstall/purge and to then reinstall using DKMS instruction. I've also copied the 70-rtw89.conf file. Do you have any ideas what could be causing this error? If you need any more information, please let me know.