Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Call Trace RIP: 0010:wiphy_register+0x68a/0x940 [cfg80211] on Kernel 4.18.0-240.1.1 #47

Open
luckylittle opened this issue Dec 13, 2020 · 0 comments

Comments

@luckylittle
Copy link

My setup:

  • Red Hat Enterprise Linux release 8.3 (Ootpa)
  • Kernel 4.18.0-240.1.1.el8_3.x86_64
  • Device: EDUP EP-AC1661 2-in-1 WiFi+BT
[ 7128.250795] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7128.251010] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 7128.251119] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 7128.251122] cfg80211: failed to load regulatory.db
[ 7128.364438] WARNING: CPU: 3 PID: 49644 at net/wireless/core.c:867 wiphy_register+0x68a/0x940 [cfg80211]
[ 7128.364439] Modules linked in: 8821cu(OE+) cfg80211 hidp uinput rfcomm xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref nf_conntrack_tftp nft_counter tun bridge stp llc nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink cmac bnep sunrpc vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi irqbypass snd_hda_intel snd_intel_dspcfg btusb snd_hda_codec btrtl btbcm crct10dif_pclmul btintel crc32_pclmul snd_hda_core bluetooth snd_hwdep iTCO_wdt snd_seq mei_wdt iTCO_vendor_support wmi_bmof snd_seq_device ghash_clmulni_intel intel_cstate snd_pcm intel_uncore intel_rapl_perf ecdh_generic snd_timer rfkill i2c_i801 pcspkr lpc_ich snd mei_me mei soundcore wmi ip_tables
[ 7128.364464]  xfs libcrc32c sd_mod sg i915 cec ahci intel_gtt i2c_algo_bit libahci drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops libata drm e1000e crc32c_intel video dm_mirror dm_region_hash dm_log dm_mod fuse [last unloaded: cfg80211]
[ 7128.364474] CPU: 3 PID: 49644 Comm: modprobe Tainted: G        W  OE    --------- -  - 4.18.0-240.1.1.el8_3.x86_64 #1
[ 7128.364474] Hardware name: LENOVO 10AACTO1WW/SHARKBAY, BIOS FBKTDEAUS 06/16/2020
[ 7128.364483] RIP: 0010:wiphy_register+0x68a/0x940 [cfg80211]
[ 7128.364484] Code: 78 20 00 74 25 83 ea 01 48 8d 14 52 48 c1 e2 04 48 01 c2 48 83 78 10 00 74 1c 48 39 c2 74 5a 48 83 c0 30 48 83 78 20 00 75 e9 <0f> 0b b8 ea ff ff ff e9 8a fa ff ff 48 83 78 18 00 75 dd 0f 0b b8
[ 7128.364485] RSP: 0018:ffff9b4f0396b9f0 EFLAGS: 00010246
[ 7128.364486] RAX: ffffffffc1273de0 RBX: ffff8949974194a0 RCX: 0000000000000000
[ 7128.364486] RDX: 0000000000000003 RSI: ffff89498f628058 RDI: 0000000000000001
[ 7128.364487] RBP: ffff9b4f0396ba78 R08: 0000000000000004 R09: 0000000000000003
[ 7128.364487] R10: ffff894747c06800 R11: ffff894a4741a7e4 R12: ffff9b4f01b269d8
[ 7128.364488] R13: 0000000000000000 R14: ffff9b4f01b266d2 R15: ffffffffc1290a71
[ 7128.364489] FS:  00007f5cee4ec740(0000) GS:ffff894a4e8c0000(0000) knlGS:0000000000000000
[ 7128.364489] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7128.364490] CR2: 000055c3b8525a70 CR3: 00000003773f6005 CR4: 00000000001606e0
[ 7128.364491] Call Trace:
[ 7128.364496]  ? _cond_resched+0x15/0x30
[ 7128.364499]  ? __kmalloc+0x164/0x200
[ 7128.364542]  ? _rtw_malloc+0x29/0x2a [8821cu]
[ 7128.364573]  rtw_wiphy_register+0x16/0x18 [8821cu]
[ 7128.364603]  rtw_cfg80211_ndev_res_register+0x11/0x17 [8821cu]
[ 7128.364633]  rtw_os_ndev_register+0xe7/0x141 [8821cu]
[ 7128.364663]  rtw_os_ndevs_register+0x9e/0xce [8821cu]
[ 7128.364693]  rtw_os_ndevs_init+0x24/0x3a [8821cu]
[ 7128.364723]  rtw_drv_init+0x5c/0xa2 [8821cu]
[ 7128.364726]  usb_probe_interface+0xe4/0x2f0
[ 7128.364729]  really_probe+0x212/0x440
[ 7128.364730]  driver_probe_device+0x49/0xc0
[ 7128.364732]  device_driver_attach+0x50/0x60
[ 7128.364734]  __driver_attach+0x61/0x130
[ 7128.364735]  ? device_driver_attach+0x60/0x60
[ 7128.364736]  bus_for_each_dev+0x77/0xc0
[ 7128.364740]  ? klist_add_tail+0x3b/0x70
[ 7128.364741]  bus_add_driver+0x14d/0x1e0
[ 7128.364743]  driver_register+0x6b/0xb0
[ 7128.364744]  usb_register_driver+0x7a/0x130
[ 7128.364745]  ? 0xffffffffc135e000
[ 7128.364768]  rtw_drv_entry+0x51/0x1000 [8821cu]
[ 7128.364770]  do_one_initcall+0x46/0x1c3
[ 7128.364772]  ? _cond_resched+0x15/0x30
[ 7128.364774]  ? kmem_cache_alloc_trace+0x140/0x1c0
[ 7128.364776]  do_init_module+0x5a/0x220
[ 7128.364778]  load_module+0x14b4/0x17e0
[ 7128.364780]  ? __do_sys_finit_module+0xa8/0x110
[ 7128.364782]  __do_sys_finit_module+0xa8/0x110
[ 7128.364784]  do_syscall_64+0x5b/0x1a0
[ 7128.364785]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[ 7128.364787] RIP: 0033:0x7f5ced4d578d
[ 7128.364788] Code: 00 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 cb 56 2c 00 f7 d8 64 89 01 48
[ 7128.364789] RSP: 002b:00007fffd7503008 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 7128.364790] RAX: ffffffffffffffda RBX: 000055cc3b74ac30 RCX: 00007f5ced4d578d
[ 7128.364790] RDX: 0000000000000000 RSI: 000055cc3a236796 RDI: 0000000000000004
[ 7128.364791] RBP: 000055cc3a236796 R08: 0000000000000000 R09: 0000000000000000
[ 7128.364791] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[ 7128.364792] R13: 000055cc3b74ab10 R14: 0000000000040000 R15: 0000000000000000
[ 7128.364793] ---[ end trace ab0e10acefdcbe04 ]---
[ 7128.364829] WARNING: CPU: 3 PID: 49644 at /home/lmaly/Downloads/WiFi/rtl8821CU-whitebatman2/os_dep/linux/os_intfs.c:1505 rtw_os_ndev_register+0x64/0x141 [8821cu]
[ 7128.364829] Modules linked in: 8821cu(OE+) cfg80211 hidp uinput rfcomm xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref nf_conntrack_tftp nft_counter tun bridge stp llc nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink cmac bnep sunrpc vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi irqbypass snd_hda_intel snd_intel_dspcfg btusb snd_hda_codec btrtl btbcm crct10dif_pclmul btintel crc32_pclmul snd_hda_core bluetooth snd_hwdep iTCO_wdt snd_seq mei_wdt iTCO_vendor_support wmi_bmof snd_seq_device ghash_clmulni_intel intel_cstate snd_pcm intel_uncore intel_rapl_perf ecdh_generic snd_timer rfkill i2c_i801 pcspkr lpc_ich snd mei_me mei soundcore wmi ip_tables
[ 7128.364842]  xfs libcrc32c sd_mod sg i915 cec ahci intel_gtt i2c_algo_bit libahci drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops libata drm e1000e crc32c_intel video dm_mirror dm_region_hash dm_log dm_mod fuse [last unloaded: cfg80211]
[ 7128.364847] CPU: 3 PID: 49644 Comm: modprobe Tainted: G        W  OE    --------- -  - 4.18.0-240.1.1.el8_3.x86_64 #1
[ 7128.364848] Hardware name: LENOVO 10AACTO1WW/SHARKBAY, BIOS FBKTDEAUS 06/16/2020
[ 7128.364878] RIP: 0010:rtw_os_ndev_register+0x64/0x141 [8821cu]
[ 7128.364879] Code: 8d a7 d8 39 00 00 b9 20 00 00 00 48 c7 c2 c2 a7 1c c1 4c 89 e6 48 89 ef e8 40 c1 f7 d4 48 89 df e8 cb 45 01 00 83 f8 01 74 1a <0f> 0b 4c 89 e7 e8 09 b1 f7 d4 b8 00 00 00 00 5b 5d 41 5c 41 5d 41
[ 7128.364879] RSP: 0018:ffff9b4f0396baa0 EFLAGS: 00010297
[ 7128.364880] RAX: 0000000000000000 RBX: ffff9b4f01b23000 RCX: 0000000000000000
[ 7128.364881] RDX: 0000000000000003 RSI: ffff89498f628058 RDI: 0000000000000001
[ 7128.364881] RBP: ffff89499741e000 R08: 0000000000000004 R09: 0000000000000003
[ 7128.364882] R10: ffff894747c06800 R11: ffff894a4741a7e4 R12: ffff9b4f01b269d8
[ 7128.364882] R13: 0000000000000000 R14: ffff9b4f01b266d2 R15: ffffffffc1290a71
[ 7128.364883] FS:  00007f5cee4ec740(0000) GS:ffff894a4e8c0000(0000) knlGS:0000000000000000
[ 7128.364884] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7128.364884] CR2: 000055c3b8525a70 CR3: 00000003773f6005 CR4: 00000000001606e0
[ 7128.364885] Call Trace:
[ 7128.364915]  rtw_os_ndevs_register+0x9e/0xce [8821cu]
[ 7128.364944]  rtw_os_ndevs_init+0x24/0x3a [8821cu]
[ 7128.364974]  rtw_drv_init+0x5c/0xa2 [8821cu]
[ 7128.364976]  usb_probe_interface+0xe4/0x2f0
[ 7128.364977]  really_probe+0x212/0x440
[ 7128.364979]  driver_probe_device+0x49/0xc0
[ 7128.364980]  device_driver_attach+0x50/0x60
[ 7128.364982]  __driver_attach+0x61/0x130
[ 7128.364983]  ? device_driver_attach+0x60/0x60
[ 7128.364984]  bus_for_each_dev+0x77/0xc0
[ 7128.364986]  ? klist_add_tail+0x3b/0x70
[ 7128.364987]  bus_add_driver+0x14d/0x1e0
[ 7128.364988]  driver_register+0x6b/0xb0
[ 7128.364990]  usb_register_driver+0x7a/0x130
[ 7128.364990]  ? 0xffffffffc135e000
[ 7128.365013]  rtw_drv_entry+0x51/0x1000 [8821cu]
[ 7128.365014]  do_one_initcall+0x46/0x1c3
[ 7128.365016]  ? _cond_resched+0x15/0x30
[ 7128.365018]  ? kmem_cache_alloc_trace+0x140/0x1c0
[ 7128.365019]  do_init_module+0x5a/0x220
[ 7128.365021]  load_module+0x14b4/0x17e0
[ 7128.365023]  ? __do_sys_finit_module+0xa8/0x110
[ 7128.365024]  __do_sys_finit_module+0xa8/0x110
[ 7128.365026]  do_syscall_64+0x5b/0x1a0
[ 7128.365027]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[ 7128.365028] RIP: 0033:0x7f5ced4d578d
[ 7128.365029] Code: 00 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 cb 56 2c 00 f7 d8 64 89 01 48
[ 7128.365029] RSP: 002b:00007fffd7503008 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 7128.365030] RAX: ffffffffffffffda RBX: 000055cc3b74ac30 RCX: 00007f5ced4d578d
[ 7128.365031] RDX: 0000000000000000 RSI: 000055cc3a236796 RDI: 0000000000000004
[ 7128.365031] RBP: 000055cc3a236796 R08: 0000000000000000 R09: 0000000000000000
[ 7128.365032] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[ 7128.365032] R13: 000055cc3b74ab10 R14: 0000000000040000 R15: 0000000000000000
[ 7128.365033] ---[ end trace ab0e10acefdcbe05 ]---
[ 7128.370174] WARNING: CPU: 3 PID: 49644 at /home/lmaly/Downloads/WiFi/rtl8821CU-whitebatman2/os_dep/linux/os_intfs.c:2739 rtw_os_ndevs_register+0xa6/0xce [8821cu]
[ 7128.370175] Modules linked in: 8821cu(OE+) cfg80211 hidp uinput rfcomm xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref nf_conntrack_tftp nft_counter tun bridge stp llc nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink cmac bnep sunrpc vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi irqbypass snd_hda_intel snd_intel_dspcfg btusb snd_hda_codec btrtl btbcm crct10dif_pclmul btintel crc32_pclmul snd_hda_core bluetooth snd_hwdep iTCO_wdt snd_seq mei_wdt iTCO_vendor_support wmi_bmof snd_seq_device ghash_clmulni_intel intel_cstate snd_pcm intel_uncore intel_rapl_perf ecdh_generic snd_timer rfkill i2c_i801 pcspkr lpc_ich snd mei_me mei soundcore wmi ip_tables
[ 7128.370189]  xfs libcrc32c sd_mod sg i915 cec ahci intel_gtt i2c_algo_bit libahci drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops libata drm e1000e crc32c_intel video dm_mirror dm_region_hash dm_log dm_mod fuse [last unloaded: cfg80211]
[ 7128.370195] CPU: 3 PID: 49644 Comm: modprobe Tainted: G        W  OE    --------- -  - 4.18.0-240.1.1.el8_3.x86_64 #1
[ 7128.370195] Hardware name: LENOVO 10AACTO1WW/SHARKBAY, BIOS FBKTDEAUS 06/16/2020
[ 7128.370226] RIP: 0010:rtw_os_ndevs_register+0xa6/0xce [8821cu]
[ 7128.370227] Code: 87 a0 4d 00 00 49 8d b5 d2 36 00 00 84 c0 74 0d 49 8d b5 e2 36 00 00 3c 01 49 0f 45 f7 e8 fb f3 ff ff 41 89 c4 83 f8 01 74 b2 <0f> 0b 85 db 75 15 48 63 db 48 8b bc dd 78 01 00 00 48 85 ff 74 05
[ 7128.370227] RSP: 0018:ffff9b4f0396bad8 EFLAGS: 00010297
[ 7128.370228] RAX: 0000000000000000 RBX: 0000000000000000 RCX: dead000000000200
[ 7128.370229] RDX: ffff89499741e060 RSI: ffff9b4f01b26a70 RDI: ffff9b4f01b26a98
[ 7128.370229] RBP: ffff894a162b9000 R08: 000000000000f555 R09: 000000000000f555
[ 7128.370230] R10: 0000000000000000 R11: ffff894a4e8e8c64 R12: 0000000000000000
[ 7128.370230] R13: ffff9b4f01b23000 R14: 0000000000000001 R15: ffffffffc1290a71
[ 7128.370231] FS:  00007f5cee4ec740(0000) GS:ffff894a4e8c0000(0000) knlGS:0000000000000000
[ 7128.370232] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7128.370232] CR2: 000055c3b8525a70 CR3: 00000003773f6005 CR4: 00000000001606e0
[ 7128.370233] Call Trace:
[ 7128.370264]  rtw_os_ndevs_init+0x24/0x3a [8821cu]
[ 7128.370295]  rtw_drv_init+0x5c/0xa2 [8821cu]
[ 7128.370297]  usb_probe_interface+0xe4/0x2f0
[ 7128.370299]  really_probe+0x212/0x440
[ 7128.370300]  driver_probe_device+0x49/0xc0
[ 7128.370302]  device_driver_attach+0x50/0x60
[ 7128.370303]  __driver_attach+0x61/0x130
[ 7128.370304]  ? device_driver_attach+0x60/0x60
[ 7128.370306]  bus_for_each_dev+0x77/0xc0
[ 7128.370307]  ? klist_add_tail+0x3b/0x70
[ 7128.370308]  bus_add_driver+0x14d/0x1e0
[ 7128.370310]  driver_register+0x6b/0xb0
[ 7128.370311]  usb_register_driver+0x7a/0x130
[ 7128.370312]  ? 0xffffffffc135e000
[ 7128.370334]  rtw_drv_entry+0x51/0x1000 [8821cu]
[ 7128.370336]  do_one_initcall+0x46/0x1c3
[ 7128.370338]  ? _cond_resched+0x15/0x30
[ 7128.370340]  ? kmem_cache_alloc_trace+0x140/0x1c0
[ 7128.370341]  do_init_module+0x5a/0x220
[ 7128.370342]  load_module+0x14b4/0x17e0
[ 7128.370345]  ? __do_sys_finit_module+0xa8/0x110
[ 7128.370346]  __do_sys_finit_module+0xa8/0x110
[ 7128.370348]  do_syscall_64+0x5b/0x1a0
[ 7128.370349]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[ 7128.370350] RIP: 0033:0x7f5ced4d578d
[ 7128.370351] Code: 00 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 cb 56 2c 00 f7 d8 64 89 01 48
[ 7128.370352] RSP: 002b:00007fffd7503008 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 7128.370353] RAX: ffffffffffffffda RBX: 000055cc3b74ac30 RCX: 00007f5ced4d578d
[ 7128.370353] RDX: 0000000000000000 RSI: 000055cc3a236796 RDI: 0000000000000004
[ 7128.370354] RBP: 000055cc3a236796 R08: 0000000000000000 R09: 0000000000000000
[ 7128.370354] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[ 7128.370355] R13: 000055cc3b74ab10 R14: 0000000000040000 R15: 0000000000000000
[ 7128.370356] ---[ end trace ab0e10acefdcbe06 ]---
[ 7128.370446] usbcore: registered new interface driver rtl8821cu
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant