Kernel crash after using wifi for few minutes
spikerguy opened this issue · 1 comments
spikerguy commented
Hello,
I am trying to use this on an Amlogic TV Box which uses this chip.
Wifi works on fresh boot, can connect to the router and after few mins it starts crashing the kernel.
OS: Manjaro ARM
Kernel : 6.1.6
Pkg Used: rtl8723ds-dkms-git from aur.
[ 76.261603] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 366.552757] INFO: task kworker/u8:0:9 blocked for more than 122 seconds.
[ 366.552782] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.552788] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.552791] task:kworker/u8:0 state:D stack:0 pid:9 ppid:2 flags:0x00000008
[ 366.552809] Workqueue: netns cleanup_net
[ 366.552828] Call trace:
[ 366.552832] __switch_to+0xb8/0xe0
[ 366.552845] __schedule+0x23c/0x660
[ 366.552856] schedule+0x5c/0x100
[ 366.552865] schedule_preempt_disabled+0x24/0x40
[ 366.552877] __mutex_lock.constprop.0+0x274/0x5c0
[ 366.552884] __mutex_lock_slowpath+0x14/0x20
[ 366.552892] mutex_lock+0x58/0x64
[ 366.552899] rtnl_lock+0x18/0x24
[ 366.552905] cfg80211_pernet_exit+0x1c/0xa0 [cfg80211]
[ 366.552996] ops_exit_list+0x44/0x80
[ 366.553006] cleanup_net+0x248/0x44c
[ 366.553015] process_one_work+0x1a4/0x300
[ 366.553027] worker_thread+0x6c/0x410
[ 366.553033] kthread+0xe4/0xf0
[ 366.553040] ret_from_fork+0x10/0x20
[ 366.553138] INFO: task ksdioirqd/mmc2:383 blocked for more than 122 seconds.
[ 366.553144] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.553147] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.553151] task:ksdioirqd/mmc2 state:D stack:0 pid:383 ppid:2 flags:0x00000008
[ 366.553158] Call trace:
[ 366.553161] __switch_to+0xb8/0xe0
[ 366.553170] __schedule+0x23c/0x660
[ 366.553175] schedule+0x5c/0x100
[ 366.553181] __mmc_claim_host+0xd8/0x1fc
[ 366.553189] sdio_irq_thread+0x70/0x1e0
[ 366.553196] kthread+0xe4/0xf0
[ 366.553201] ret_from_fork+0x10/0x20
[ 366.553213] INFO: task NetworkManager:419 blocked for more than 122 seconds.
[ 366.553216] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.553219] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.553222] task:NetworkManager state:D stack:0 pid:419 ppid:1 flags:0x00000004
[ 366.553229] Call trace:
[ 366.553231] __switch_to+0xb8/0xe0
[ 366.553239] __schedule+0x23c/0x660
[ 366.553244] schedule+0x5c/0x100
[ 366.553249] schedule_preempt_disabled+0x24/0x40
[ 366.553255] __mutex_lock.constprop.0+0x274/0x5c0
[ 366.553261] __mutex_lock_slowpath+0x14/0x20
[ 366.553266] mutex_lock+0x58/0x64
[ 366.553272] nl80211_pre_doit+0x180/0x234 [cfg80211]
[ 366.553344] genl_family_rcv_msg_doit+0xb0/0x150
[ 366.553354] genl_family_rcv_msg+0xf8/0x1e4
[ 366.553359] genl_rcv_msg+0x5c/0xdc
[ 366.553365] netlink_rcv_skb+0x5c/0x12c
[ 366.553372] genl_rcv+0x38/0x50
[ 366.553377] netlink_unicast+0x2ec/0x344
[ 366.553382] netlink_sendmsg+0x1bc/0x430
[ 366.553388] sock_sendmsg+0x54/0x60
[ 366.553395] ____sys_sendmsg+0x258/0x27c
[ 366.553400] ___sys_sendmsg+0x80/0xe0
[ 366.553406] __sys_sendmsg+0x68/0xd0
[ 366.553411] __arm64_sys_sendmsg+0x24/0x30
[ 366.553418] invoke_syscall+0x48/0x114
[ 366.553426] el0_svc_common.constprop.0+0x44/0xec
[ 366.553433] do_el0_svc+0x28/0x34
[ 366.553439] el0_svc+0x2c/0x84
[ 366.553446] el0t_64_sync_handler+0xf4/0x120
[ 366.553451] el0t_64_sync+0x18c/0x190
[ 366.553471] INFO: task RTW_XMIT_THREAD:561 blocked for more than 122 seconds.
[ 366.553475] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.553478] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.553481] task:RTW_XMIT_THREAD state:D stack:0 pid:561 ppid:2 flags:0x00000008
[ 366.553487] Call trace:
[ 366.553491] __switch_to+0xb8/0xe0
[ 366.553497] __schedule+0x23c/0x660
[ 366.553502] schedule+0x5c/0x100
[ 366.553507] schedule_timeout+0xc0/0xf0
[ 366.553513] wait_for_completion+0xb8/0x180
[ 366.553520] mmc_wait_for_req_done+0x28/0xf0
[ 366.553526] mmc_wait_for_req+0xb0/0x100
[ 366.553532] mmc_io_rw_extended+0x1d4/0x2c4
[ 366.553539] sdio_io_rw_ext_helper+0x194/0x240
[ 366.553546] sdio_readl+0x30/0x60
[ 366.553553] sd_read32+0xa4/0x198 [8723ds]
[ 366.553687] SdioLocalCmd53Read4Byte+0xc0/0xcc [8723ds]
[ 366.553805] HalQueryTxBufferStatus8723DSdio+0x2c/0x74 [8723ds]
[ 366.553922] _dequeue_writeport+0xb0/0x150 [8723ds]
[ 366.554030] _rtw_mi_dequeue_writeport+0x5c/0x7c [8723ds]
[ 366.554137] rtw_mi_dequeue_writeport+0x14/0x20 [8723ds]
[ 366.554243] rtl8723ds_xmit_buf_handler+0x98/0xb4 [8723ds]
[ 366.554348] rtw_hal_xmit_thread_handler+0x14/0x20 [8723ds]
[ 366.554453] rtw_xmit_thread+0x48/0x78 [8723ds]
[ 366.554560] kthread+0xe4/0xf0
[ 366.554566] ret_from_fork+0x10/0x20
[ 366.554575] INFO: task RTW_CMD_THREAD:562 blocked for more than 122 seconds.
[ 366.554579] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.554582] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.554584] task:RTW_CMD_THREAD state:D stack:0 pid:562 ppid:2 flags:0x00000008
[ 366.554592] Call trace:
[ 366.554594] __switch_to+0xb8/0xe0
[ 366.554602] __schedule+0x23c/0x660
[ 366.554607] schedule+0x5c/0x100
[ 366.554612] __mmc_claim_host+0xd8/0x1fc
[ 366.554618] sdio_claim_host+0x24/0x40
[ 366.554625] sd_read8+0x80/0xa8 [8723ds]
[ 366.554731] sdio_read8+0x34/0x44 [8723ds]
[ 366.554934] _rtw_read8+0x1c/0x28 [8723ds]
[ 366.555048] SetHwReg8723DS+0x68/0x94 [8723ds]
[ 366.555155] rtw_hal_set_hwreg+0x14/0x20 [8723ds]
[ 366.555263] rtw_fw_ps_state+0xc4/0x100 [8723ds]
[ 366.555369] LPS_Leave+0x64/0xec [8723ds]
[ 366.555474] traffic_status_watchdog+0x18c/0x30c [8723ds]
[ 366.555580] rtw_iface_dynamic_chk_wk_hdl+0x3c/0x60 [8723ds]
[ 366.555686] _rtw_mi_dynamic_chk_wk_hdl+0x10/0x20 [8723ds]
[ 366.555790] _rtw_mi_process+0x88/0xc4 [8723ds]
[ 366.555896] rtw_mi_dynamic_chk_wk_hdl+0x20/0x2c [8723ds]
[ 366.556060] rtw_dynamic_chk_wk_hdl+0x18/0x5c [8723ds]
[ 366.556211] rtw_drvextra_cmd_hdl+0x54/0x1bc [8723ds]
[ 366.556325] rtw_cmd_thread+0x2b8/0x374 [8723ds]
[ 366.556431] kthread+0xe4/0xf0
[ 366.556442] ret_from_fork+0x10/0x20
[ 366.556486] INFO: task wpa_supplicant:567 blocked for more than 122 seconds.
[ 366.556496] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.556501] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.556505] task:wpa_supplicant state:D stack:0 pid:567 ppid:1 flags:0x0000000c
[ 366.556516] Call trace:
[ 366.556520] __switch_to+0xb8/0xe0
[ 366.556553] __schedule+0x23c/0x660
[ 366.556563] schedule+0x5c/0x100
[ 366.556569] __mmc_claim_host+0xd8/0x1fc
[ 366.556578] sdio_claim_host+0x24/0x40
[ 366.556585] sd_cmd52_write+0x94/0xc0 [8723ds]
[ 366.556697] sdio_write16+0x3c/0x4c [8723ds]
[ 366.556834] _rtw_write16+0x1c/0x2c [8723ds]
[ 366.556971] hw_var_set_mlme_disconnect+0x20/0x60 [8723ds]
[ 366.557081] SetHwReg8723D+0x190/0x75c [8723ds]
[ 366.557186] SetHwReg8723DS+0x90/0x94 [8723ds]
[ 366.557293] rtw_hal_set_hwreg+0x14/0x20 [8723ds]
[ 366.557398] rtw_mlmeext_disconnect+0x50/0x184 [8723ds]
[ 366.557503] disconnect_hdl+0x40/0xbc [8723ds]
[ 366.557609] rtw_disassoc_cmd+0xa0/0xd4 [8723ds]
[ 366.557716] cfg80211_rtw_disconnect+0x40/0x90 [8723ds]
[ 366.557822] cfg80211_disconnect+0xf0/0x11c [cfg80211]
[ 366.557925] nl80211_disconnect+0x74/0xc0 [cfg80211]
[ 366.557989] genl_family_rcv_msg_doit+0xc8/0x150
[ 366.558001] genl_family_rcv_msg+0xf8/0x1e4
[ 366.558007] genl_rcv_msg+0x5c/0xdc
[ 366.558014] netlink_rcv_skb+0x5c/0x12c
[ 366.558020] genl_rcv+0x38/0x50
[ 366.558026] netlink_unicast+0x2ec/0x344
[ 366.558032] netlink_sendmsg+0x1bc/0x430
[ 366.558038] sock_sendmsg+0x54/0x60
[ 366.558047] ____sys_sendmsg+0x258/0x27c
[ 366.558053] ___sys_sendmsg+0x80/0xe0
[ 366.558059] __sys_sendmsg+0x68/0xd0
[ 366.558064] __arm64_sys_sendmsg+0x24/0x30
[ 366.558070] invoke_syscall+0x48/0x114
[ 366.558080] el0_svc_common.constprop.0+0x44/0xec
[ 366.558087] do_el0_svc+0x28/0x34
[ 366.558093] el0_svc+0x2c/0x84
[ 366.558101] el0t_64_sync_handler+0xf4/0x120
[ 366.558106] el0t_64_sync+0x18c/0x190
[ 366.558180] INFO: task kworker/0:5:972 blocked for more than 122 seconds.
[ 366.558188] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.558192] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.558195] task:kworker/0:5 state:D stack:0 pid:972 ppid:2 flags:0x00000008
[ 366.558210] Workqueue: events sdio_irq_work
[ 366.558221] Call trace:
[ 366.558225] __switch_to+0xb8/0xe0
[ 366.558232] __schedule+0x23c/0x660
[ 366.558238] schedule+0x5c/0x100
[ 366.558243] __mmc_claim_host+0xd8/0x1fc
[ 366.558250] sdio_irq_work+0x24/0x7c
[ 366.558256] process_one_work+0x1a4/0x300
[ 366.558264] worker_thread+0x6c/0x410
[ 366.558269] kthread+0xe4/0xf0
[ 366.558277] ret_from_fork+0x10/0x20
[ 366.558285] INFO: task DNS Resolver #7:1402 blocked for more than 122 seconds.
[ 366.558289] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 366.558294] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.558296] task:DNS Resolver #7 state:D stack:0 pid:1402 ppid:759 flags:0x00000005
[ 366.558303] Call trace:
[ 366.558307] __switch_to+0xb8/0xe0
[ 366.558313] __schedule+0x23c/0x660
[ 366.558318] schedule+0x5c/0x100
[ 366.558323] schedule_preempt_disabled+0x24/0x40
[ 366.558328] __mutex_lock.constprop.0+0x274/0x5c0
[ 366.558336] __mutex_lock_slowpath+0x14/0x20
[ 366.558341] mutex_lock+0x58/0x64
[ 366.558347] __netlink_dump_start+0xbc/0x320
[ 366.558352] rtnetlink_rcv_msg+0x254/0x37c
[ 366.558359] netlink_rcv_skb+0x5c/0x12c
[ 366.558366] rtnetlink_rcv+0x18/0x24
[ 366.558370] netlink_unicast+0x2ec/0x344
[ 366.558375] netlink_sendmsg+0x1bc/0x430
[ 366.558381] sock_sendmsg+0x54/0x60
[ 366.558386] __sys_sendto+0xcc/0x124
[ 366.558392] __arm64_sys_sendto+0x28/0x3c
[ 366.558397] invoke_syscall+0x48/0x114
[ 366.558403] el0_svc_common.constprop.0+0x44/0xec
[ 366.558411] do_el0_svc+0x28/0x34
[ 366.558416] el0_svc+0x2c/0x84
[ 366.558421] el0t_64_sync_handler+0xf4/0x120
[ 366.558427] el0t_64_sync+0x18c/0x190
[ 489.432392] INFO: task kworker/u8:0:9 blocked for more than 245 seconds.
[ 489.432419] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 489.432423] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.432427] task:kworker/u8:0 state:D stack:0 pid:9 ppid:2 flags:0x00000008
[ 489.432441] Workqueue: netns cleanup_net
[ 489.432458] Call trace:
[ 489.432461] __switch_to+0xb8/0xe0
[ 489.432473] __schedule+0x23c/0x660
[ 489.432479] schedule+0x5c/0x100
[ 489.432485] schedule_preempt_disabled+0x24/0x40
[ 489.432491] __mutex_lock.constprop.0+0x274/0x5c0
[ 489.432498] __mutex_lock_slowpath+0x14/0x20
[ 489.432504] mutex_lock+0x58/0x64
[ 489.432509] rtnl_lock+0x18/0x24
[ 489.432515] cfg80211_pernet_exit+0x1c/0xa0 [cfg80211]
[ 489.432603] ops_exit_list+0x44/0x80
[ 489.432609] cleanup_net+0x248/0x44c
[ 489.432614] process_one_work+0x1a4/0x300
[ 489.432623] worker_thread+0x6c/0x410
[ 489.432628] kthread+0xe4/0xf0
[ 489.432634] ret_from_fork+0x10/0x20
[ 489.432684] INFO: task kworker/2:2:64 blocked for more than 122 seconds.
[ 489.432689] Tainted: G C O 6.1.6-1-MANJARO-ARM-AML #1
[ 489.432693] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.432695] task:kworker/2:2 state:D stack:0 pid:64 ppid:2 flags:0x00000008
[ 489.432704] Workqueue: ipv6_addrconf addrconf_verify_work
[ 489.432715] Call trace:
[ 489.432717] __switch_to+0xb8/0xe0
[ 489.432724] __schedule+0x23c/0x660
[ 489.432730] schedule+0x5c/0x100
[ 489.432736] schedule_preempt_disabled+0x24/0x40
[ 489.432742] __mutex_lock.constprop.0+0x274/0x5c0
[ 489.432748] __mutex_lock_slowpath+0x14/0x20
[ 489.432753] mutex_lock+0x58/0x64
[ 489.432758] rtnl_lock+0x18/0x24
[ 489.432765] addrconf_verify_work+0x18/0x34
[ 489.432771] process_one_work+0x1a4/0x300
[ 489.432776] worker_thread+0x6c/0x410
[ 489.432782] kthread+0xe4/0xf0
[ 489.432786] ret_from_fork+0x10/0x20
I will always be available to share debug logs, please let me know what is needed.
Thank you.
spikerguy commented
ignore this.
It was an upstream issue in meson mmc since 6.1, I completely forgot about that after reverting the patch it is working fine.
Please close the issue.
Thanks.