lwfinger / rtl8723ds

Linux driver for RTL8723DS.
GNU General Public License v2.0
50 stars 45 forks source link

Linux 5.3 wiphy_register.cold.7+0x187/0x222 [cfg80211] #2

Closed youling257 closed 5 years ago

youling257 commented 5 years ago

This problem happen on rtl8723bs v5.2.17.1_26955.20180307_COEX20180201-6f52. https://github.com/youling257/rockchip_wlan

The Realtek wireless have similar codes, i think you can help me.

youling257 commented 5 years ago

[ 6.317814] ------------[ cut here ]------------ [ 6.318799] WARNING: CPU: 2 PID: 1154 at wiphy_register.cold.7+0x187/0x222 [cfg80211] [ 6.319794] Modules linked in: 8723bs(O+) cfg80211 hci_uart btintel btqca btbcm btrtl bluetooth ecdh_generic ecc 8250_dw snd_soc_sst_bytcr_rt5640 snd_soc_rt5640 snd_soc_rl6231 snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_atom_hifi2_platform snd_soc_acpi_intel_match snd_soc_acpi [ 6.322517] CPU: 2 PID: 1154 Comm: ueventd Tainted: G O 5.3.0-rc1-android-x86_64+ #1 [ 6.324024] Hardware name: Insyde ONDA Tablet/ONDA Tablet, BIOS ONDA.D890HBBNR0A 03/11/2015 [ 6.325640] RIP: 0010:wiphy_register.cold.7+0x187/0x222 [cfg80211] [ 6.327247] Code: ff e9 54 79 fa ff 48 c7 c7 10 2e 62 c0 e8 ec 0b 0a dc 0f 0b b8 ea ff ff ff e9 3c 79 fa ff 48 c7 c7 10 2e 62 c0 e8 d4 0b 0a dc <0f> 0b b8 ea ff ff ff e9 24 79 fa ff 48 c7 c7 10 2e 62 c0 e8 bc 0b [ 6.329168] RSP: 0018:ffffa7cfc030fa20 EFLAGS: 00010246 [ 6.331101] RAX: 0000000000000024 RBX: ffff9323b995e300 RCX: ffffffff9da390d8 [ 6.333125] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffffffff9e01560c [ 6.335179] RBP: ffffa7cfc030fa90 R08: 0000000000000474 R09: 0000000000000001 [ 6.337261] R10: ffffa7cfc28c8220 R11: 0000000000000001 R12: 000000000000030e [ 6.339374] R13: ffffa7cfc01f0178 R14: ffffa7cfc01f00f8 R15: 0000000000000001 [ 6.341514] FS: 0000000000000000(0000) GS:ffff9323bb700000(0063) knlGS:00000000081cd0b4 [ 6.343735] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 6.345987] CR2: 00000000f7e39c3c CR3: 000000007c168000 CR4: 00000000001006e0 [ 6.348310] Call Trace: [ 6.350786] rtw_wiphy_register+0x22/0x4c [8723bs] [ 6.353303] rtw_cfg80211_ndev_res_register+0x15/0x56 [8723bs] [ 6.355849] rtw_os_ndev_register+0x10c/0x186 [8723bs] [ 6.358418] rtw_os_ndevs_register+0x9a/0x11b [8723bs] [ 6.361020] rtw_os_ndevs_init+0x24/0x3a [8723bs] [ 6.363633] rtw_drv_init+0x84/0xda [8723bs] [ 6.366182] sdio_bus_probe+0x92/0x110 [ 6.368772] really_probe+0xf7/0x3a0 [ 6.371380] driver_probe_device+0x5d/0x100 [ 6.374032] device_driver_attach+0x4f/0x60 [ 6.376695] driver_attach+0x92/0x140 [ 6.379399] ? device_driver_attach+0x60/0x60 [ 6.382106] ? device_driver_attach+0x60/0x60 [ 6.384843] bus_for_each_dev+0x77/0xc0 [ 6.387606] bus_add_driver+0x1b3/0x1f0 [ 6.390473] ? rtw_sdio_resume+0xc4/0xc4 [8723bs] [ 6.393273] driver_register+0x6b/0xb0 [ 6.396218] ? rtw_sdio_resume+0xc4/0xc4 [8723bs] [ 6.399179] rtw_drv_entry+0x55/0x116 [8723bs] [ 6.402097] do_one_initcall+0x4f/0x1f4 [ 6.405043] ? __vunmap+0x21d/0x250 [ 6.407984] do_init_module+0x5a/0x220 [ 6.410970] load_module+0x2426/0x2580 [ 6.413962] ? se_sys_finit_module+0xbe/0xf0 [ 6.417013] se_sys_finit_module+0xbe/0xf0 [ 6.420070] do_fast_syscall_32+0x8e/0x250 [ 6.423179] entry_SYSENTER_compat+0x7c/0x8e [ 6.426329] ---[ end trace 1b0f8d7bf6f4fdb7 ]--- [ 6.429532] ------------[ cut here ]------------ [ 6.432640] WARNING: CPU: 2 PID: 1154 at rtw_os_ndev_register+0xb1/0x186 [8723bs] [ 6.435516] Modules linked in: 8723bs(O+) cfg80211 hci_uart btintel btqca btbcm btrtl bluetooth ecdh_generic ecc 8250_dw snd_soc_sst_bytcr_rt5640 snd_soc_rt5640 snd_soc_rl6231 snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_atom_hifi2_platform snd_soc_acpi_intel_match snd_soc_acpi [ 6.441927] CPU: 2 PID: 1154 Comm: ueventd Tainted: G W O 5.3.0-rc1-android-x86_64+ #1 [ 6.445255] Hardware name: Insyde ONDA Tablet/ONDA Tablet, BIOS ONDA.D890HBBNR0A 03/11/2015 [ 6.448726] RIP: 0010:rtw_os_ndev_register+0xb1/0x186 [8723bs] [ 6.452170] Code: 4d 39 fc 0f 85 a4 00 00 00 48 89 ef e8 43 41 64 dc 85 c0 0f 94 c0 0f b6 c0 e9 9f 00 00 00 48 c7 c7 78 33 7a c0 e8 f8 83 fd db <0f> 0b e9 b6 00 00 00 c6 83 58 42 00 00 01 e9 b7 00 00 00 0f b6 8b [ 6.455886] RSP: 0018:ffffa7cfc030fac0 EFLAGS: 00010246 [ 6.459603] RAX: 0000000000000024 RBX: ffffa7cfc01ed000 RCX: ffffffff9da390d8 [ 6.463357] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffffffff9e01560c [ 6.467160] RBP: ffff9323bc2bf000 R08: 00000000000004a1 R09: 0000000000000001 [ 6.471009] R10: ffffa7cfc28c8220 R11: 0000000000000001 R12: 0000000000000000 [ 6.474866] R13: ffffa7cfc01f0178 R14: ffffa7cfc01f00f8 R15: 0000000000000001 [ 6.478756] FS: 0000000000000000(0000) GS:ffff9323bb700000(0063) knlGS:00000000081cd0b4 [ 6.482700] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 6.486677] CR2: 00000000f7e39c3c CR3: 000000007c168000 CR4: 00000000001006e0 [ 6.490733] Call Trace: [ 6.494877] rtw_os_ndevs_register+0x9a/0x11b [8723bs] [ 6.499038] rtw_os_ndevs_init+0x24/0x3a [8723bs] [ 6.503775] rtw_drv_init+0x84/0xda [8723bs] [ 6.508268] sdio_bus_probe+0x92/0x110 [ 6.512830] really_probe+0xf7/0x3a0 [ 6.517012] driver_probe_device+0x5d/0x100 [ 6.521278] device_driver_attach+0x4f/0x60 [ 6.526191] driver_attach+0x92/0x140 [ 6.530759] ? device_driver_attach+0x60/0x60 [ 6.535635] ? device_driver_attach+0x60/0x60 [ 6.539815] bus_for_each_dev+0x77/0xc0 [ 6.544408] bus_add_driver+0x1b3/0x1f0 [ 6.548585] ? rtw_sdio_resume+0xc4/0xc4 [8723bs] [ 6.552667] driver_register+0x6b/0xb0 [ 6.556907] ? rtw_sdio_resume+0xc4/0xc4 [8723bs] [ 6.560745] rtw_drv_entry+0x55/0x116 [8723bs] [ 6.564470] do_one_initcall+0x4f/0x1f4 [ 6.568149] ? vunmap+0x21d/0x250 [ 6.571698] do_init_module+0x5a/0x220 [ 6.575512] load_module+0x2426/0x2580 [ 6.578894] ? __se_sys_finit_module+0xbe/0xf0 [ 6.582680] se_sys_finit_module+0xbe/0xf0 [ 6.586153] do_fast_syscall_32+0x8e/0x250 [ 6.589543] entry_SYSENTER_compat+0x7c/0x8e [ 6.592943] ---[ end trace 1b0f8d7bf6f4fdb8 ]--- [ 6.601628] ------------[ cut here ]------------ [ 6.606821] WARNING: CPU: 2 PID: 1154 at rtw_os_ndevs_register+0xf1/0x11b [8723bs] [ 6.610195] Modules linked in: 8723bs(O+) cfg80211 hci_uart btintel btqca btbcm btrtl bluetooth ecdh_generic ecc 8250_dw snd_soc_sst_bytcr_rt5640 snd_soc_rt5640 snd_soc_rl6231 snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_atom_hifi2_platform snd_soc_acpi_intel_match snd_soc_acpi [ 6.617496] CPU: 2 PID: 1154 Comm: ueventd Tainted: G W O 5.3.0-rc1-android-x86_64+ #1 [ 6.621422] Hardware name: Insyde ONDA Tablet/ONDA Tablet, BIOS ONDA.D890HBBNR0A 03/11/2015 [ 6.625482] RIP: 0010:rtw_os_ndevs_register+0xf1/0x11b [8723bs] [ 6.629273] Code: 90 44 00 00 49 8d b5 f8 30 00 00 84 c0 74 bf 49 8d b5 08 31 00 00 3c 01 49 0f 45 f6 eb b0 48 c7 c7 78 33 7a c0 e8 dd 75 fd db <0f> 0b 85 db 74 0d 48 89 ef e8 c3 a0 01 00 e9 3a ff ff ff 48 63 db [ 6.633849] RSP: 0018:ffffa7cfc030faf8 EFLAGS: 00010246 [ 6.638054] RAX: 0000000000000024 RBX: 0000000000000000 RCX: ffffffff9da390d8 [ 6.642116] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffffffff9e01560c [ 6.646698] RBP: ffff932377336000 R08: 00000000000004cb R09: 0000000000000001 [ 6.651027] R10: ffffa7cfc28c8220 R11: 0000000000000001 R12: 0000000000000000 [ 6.655649] R13: ffffa7cfc01ed000 R14: ffffffffc0790421 R15: 0000000000000001 [ 6.659986] FS: 0000000000000000(0000) GS:ffff9323bb700000(0063) knlGS:00000000081cd0b4 [ 6.664721] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 6.669462] CR2: 00000000f7e39c3c CR3: 000000007c168000 CR4: 00000000001006e0 [ 6.673883] Call Trace: [ 6.678779] rtw_os_ndevs_init+0x24/0x3a [8723bs] [ 6.683693] rtw_drv_init+0x84/0xda [8723bs] [ 6.688194] sdio_bus_probe+0x92/0x110 [ 6.692878] really_probe+0xf7/0x3a0 [ 6.697679] driver_probe_device+0x5d/0x100 [ 6.702084] device_driver_attach+0x4f/0x60 [ 6.706867] driver_attach+0x92/0x140 [ 6.711671] ? device_driver_attach+0x60/0x60 [ 6.716485] ? device_driver_attach+0x60/0x60 [ 6.721253] bus_for_each_dev+0x77/0xc0 [ 6.726028] bus_add_driver+0x1b3/0x1f0 [ 6.730423] ? rtw_sdio_resume+0xc4/0xc4 [8723bs] [ 6.734822] driver_register+0x6b/0xb0 [ 6.739486] ? rtw_sdio_resume+0xc4/0xc4 [8723bs] [ 6.744131] rtw_drv_entry+0x55/0x116 [8723bs] [ 6.748704] do_one_initcall+0x4f/0x1f4 [ 6.752653] ? __vunmap+0x21d/0x250 [ 6.756992] do_init_module+0x5a/0x220 [ 6.760896] load_module+0x2426/0x2580 [ 6.765062] ? se_sys_finit_module+0xbe/0xf0 [ 6.768710] __se_sys_finit_module+0xbe/0xf0 [ 6.772239] do_fast_syscall_32+0x8e/0x250 [ 6.775648] entry_SYSENTER_compat+0x7c/0x8e [ 6.779345] ---[ end trace 1b0f8d7bf6f4fdb9 ]---

youling257 commented 5 years ago

https://github.com/youling257/rockchip_wlan/commit/4cc13effcd673e703fdcee8ca2722c4e1f1646c2