Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel module registration spits errors, however, working #38

Open
HQJaTu opened this issue Aug 29, 2024 · 0 comments
Open

Kernel module registration spits errors, however, working #38

HQJaTu opened this issue Aug 29, 2024 · 0 comments

Comments

@HQJaTu
Copy link

HQJaTu commented Aug 29, 2024

Device works, 8852bu kernel module installs and is able to establish connectivity into 802.11ac network. Any connection attempts into 802.11ax networks fail.

Dmesg log on modprobe:

[27837.885228] eric-tx CALL alloc_txring !!!!
[27837.886108] ------------[ cut here ]------------
[27837.886112] UBSAN: array-index-out-of-bounds in /root/rtl8852bu/os_dep/linux/wifi_regd.c:264:18
[27837.886116] index 0 is out of range for type 'RT_CHANNEL_INFO [*]'
[27837.886120] CPU: 0 PID: 20510 Comm: modprobe Tainted: P        W  OE      6.10.6-200.fc40.x86_64 #1
[27837.886124] Hardware name: Apple Inc. MacBookPro11,2/Mac-3CBD00234E554E41, BIOS MBP112.88Z.0142.B00.1708080655 08/08/2017
[27837.886126] Call Trace:
[27837.886129]  <TASK>
[27837.886132]  dump_stack_lvl+0x5d/0x80
[27837.886145]  ubsan_epilogue+0x5/0x30
[27837.886153]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[27837.886159]  rtw_update_wiphy_regd+0x11f/0x560 [8852bu]
[27837.886752]  ? rtw_regd_change_complete_sync+0x4e/0x140 [8852bu]
[27837.887153]  ? rtw_regd_is_wiphy_self_managed+0x1a/0x30 [8852bu]
[27837.887555]  rtw_regd_change_complete_sync+0x4e/0x140 [8852bu]
[27837.887968]  rtw_wiphy_register+0xae/0xc0 [8852bu]
[27837.888377]  rtw_cfg80211_dev_res_register+0x15/0x30 [8852bu]
[27837.888783]  rtw_os_ndevs_register+0x22/0xf0 [8852bu]
[27837.889184]  rtw_os_ndevs_init+0x2c/0x40 [8852bu]
[27837.889585]  rtw_dev_probe+0x58f/0x5d0 [8852bu]
[27837.889996]  usb_probe_interface+0xe8/0x2b0
[27837.890003]  really_probe+0xde/0x340
[27837.890010]  ? pm_runtime_barrier+0x54/0x90
[27837.890016]  ? __pfx___driver_attach+0x10/0x10
[27837.890021]  __driver_probe_device+0x78/0x110
[27837.890026]  driver_probe_device+0x1f/0xa0
[27837.890032]  __driver_attach+0xba/0x1c0
[27837.890036]  bus_for_each_dev+0x8f/0xe0
[27837.890040]  bus_add_driver+0x142/0x220
[27837.890046]  driver_register+0x72/0xd0
[27837.890051]  usb_register_driver+0x7e/0x120
[27837.890055]  rtw_drv_entry+0x5a/0xff0 [8852bu]
[27837.890472]  ? __pfx_rtw_drv_entry+0x10/0x10 [8852bu]
[27837.890884]  do_one_initcall+0x5b/0x310
[27837.890893]  do_init_module+0x90/0x250
[27837.890900]  init_module_from_file+0x86/0xc0
[27837.890908]  idempotent_init_module+0x121/0x320
[27837.890915]  __x64_sys_finit_module+0x5e/0xb0
[27837.890921]  do_syscall_64+0x82/0x160
[27837.890926]  ? vfs_read+0x159/0x370
[27837.890932]  ? vfs_read+0x159/0x370
[27837.890937]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.890943]  ? do_syscall_64+0x8e/0x160
[27837.890947]  ? do_sys_openat2+0x9c/0xe0
[27837.890951]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.890955]  ? do_syscall_64+0x8e/0x160
[27837.890959]  ? vfs_fstatat+0x94/0xb0
[27837.890966]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.890970]  ? do_syscall_64+0x8e/0x160
[27837.890974]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.890978]  ? do_syscall_64+0x8e/0x160
[27837.890981]  ? exc_page_fault+0x7e/0x180
[27837.890985]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[27837.890992] RIP: 0033:0x7f7aaf5283dd
[27837.891010] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 0b da 0c 00 f7 d8 64 89 01 48
[27837.891013] RSP: 002b:00007ffcd9b45a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[27837.891018] RAX: ffffffffffffffda RBX: 000055d242ec5c30 RCX: 00007f7aaf5283dd
[27837.891021] RDX: 0000000000000000 RSI: 000055d242ec6280 RDI: 0000000000000003
[27837.891023] RBP: 00007ffcd9b45ac0 R08: 00007f7aaf5f6b20 R09: 00007ffcd9b45a50
[27837.891025] R10: 000055d242ec6320 R11: 0000000000000246 R12: 000055d242ec6280
[27837.891028] R13: 0000000000040000 R14: 000055d242ec5b50 R15: 000055d242ec6a80
[27837.891032]  </TASK>
[27837.891096] ---[ end trace ]---
[27837.891099] ------------[ cut here ]------------
[27837.891100] UBSAN: array-index-out-of-bounds in /root/rtl8852bu/os_dep/linux/wifi_regd.c:266:24
[27837.891104] index 1 is out of range for type 'RT_CHANNEL_INFO [*]'
[27837.891107] CPU: 0 PID: 20510 Comm: modprobe Tainted: P        W  OE      6.10.6-200.fc40.x86_64 #1
[27837.891110] Hardware name: Apple Inc. MacBookPro11,2/Mac-3CBD00234E554E41, BIOS MBP112.88Z.0142.B00.1708080655 08/08/2017
[27837.891112] Call Trace:
[27837.891114]  <TASK>
[27837.891116]  dump_stack_lvl+0x5d/0x80
[27837.891123]  ubsan_epilogue+0x5/0x30
[27837.891129]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[27837.891135]  rtw_update_wiphy_regd+0xba/0x560 [8852bu]
[27837.891542]  ? rtw_regd_change_complete_sync+0x4e/0x140 [8852bu]
[27837.891947]  ? rtw_regd_is_wiphy_self_managed+0x1a/0x30 [8852bu]
[27837.892356]  rtw_regd_change_complete_sync+0x4e/0x140 [8852bu]
[27837.892761]  rtw_wiphy_register+0xae/0xc0 [8852bu]
[27837.893163]  rtw_cfg80211_dev_res_register+0x15/0x30 [8852bu]
[27837.893572]  rtw_os_ndevs_register+0x22/0xf0 [8852bu]
[27837.893971]  rtw_os_ndevs_init+0x2c/0x40 [8852bu]
[27837.894373]  rtw_dev_probe+0x58f/0x5d0 [8852bu]
[27837.894786]  usb_probe_interface+0xe8/0x2b0
[27837.894792]  really_probe+0xde/0x340
[27837.894796]  ? pm_runtime_barrier+0x54/0x90
[27837.894802]  ? __pfx___driver_attach+0x10/0x10
[27837.894806]  __driver_probe_device+0x78/0x110
[27837.894810]  driver_probe_device+0x1f/0xa0
[27837.894815]  __driver_attach+0xba/0x1c0
[27837.894820]  bus_for_each_dev+0x8f/0xe0
[27837.894824]  bus_add_driver+0x142/0x220
[27837.894830]  driver_register+0x72/0xd0
[27837.894835]  usb_register_driver+0x7e/0x120
[27837.894839]  rtw_drv_entry+0x5a/0xff0 [8852bu]
[27837.895247]  ? __pfx_rtw_drv_entry+0x10/0x10 [8852bu]
[27837.895670]  do_one_initcall+0x5b/0x310
[27837.895678]  do_init_module+0x90/0x250
[27837.895684]  init_module_from_file+0x86/0xc0
[27837.895691]  idempotent_init_module+0x121/0x320
[27837.895697]  __x64_sys_finit_module+0x5e/0xb0
[27837.895703]  do_syscall_64+0x82/0x160
[27837.895708]  ? vfs_read+0x159/0x370
[27837.895712]  ? vfs_read+0x159/0x370
[27837.895719]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.895724]  ? do_syscall_64+0x8e/0x160
[27837.895728]  ? do_sys_openat2+0x9c/0xe0
[27837.895732]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.895736]  ? do_syscall_64+0x8e/0x160
[27837.895741]  ? vfs_fstatat+0x94/0xb0
[27837.895747]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.895751]  ? do_syscall_64+0x8e/0x160
[27837.895755]  ? syscall_exit_to_user_mode+0x72/0x220
[27837.895759]  ? do_syscall_64+0x8e/0x160
[27837.895762]  ? exc_page_fault+0x7e/0x180
[27837.895766]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[27837.895771] RIP: 0033:0x7f7aaf5283dd
[27837.895780] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 0b da 0c 00 f7 d8 64 89 01 48
[27837.895784] RSP: 002b:00007ffcd9b45a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[27837.895789] RAX: ffffffffffffffda RBX: 000055d242ec5c30 RCX: 00007f7aaf5283dd
[27837.895791] RDX: 0000000000000000 RSI: 000055d242ec6280 RDI: 0000000000000003
[27837.895794] RBP: 00007ffcd9b45ac0 R08: 00007f7aaf5f6b20 R09: 00007ffcd9b45a50
[27837.895796] R10: 000055d242ec6320 R11: 0000000000000246 R12: 000055d242ec6280
[27837.895798] R13: 0000000000040000 R14: 000055d242ec5b50 R15: 000055d242ec6a80
[27837.895803]  </TASK>
[27837.895817] ---[ end trace ]---
[27837.915793] usbcore: registered new interface driver rtl8852bu
[27838.206397] rtl8852bu 1-5:1.0 wlp0s20u5: renamed from wlan0
[27838.620212] [WARNING][BB]Becareful it is fwofld mode in BB init !!
[27838.700691] [BB][halbb_la_bb_set_smp_rate] smp_rate_tmp=7, la_smp_rate_log=160 M
[27838.942452] [WARNING][BB]Skip gain error setting in scan status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant