Skip to content

BUG: scheduling while atomic: ksoftirqd/0/3/0x00010102 #24

@didyoudo

Description

@didyoudo

[2021/07/05, 13:43:52.334] BUG: scheduling while atomic: ksoftirqd/0/3/0x00010102
[2021/07/05, 13:43:52.339] Modules linked in: drv_ms_cus_sc401ai_MIPI(PO) hiNand(O) dev_clouddeck(O) soft_uart(O) Vz_gpio(O) mi_ai(PO) mi_divp(PO) mi_venc(PO) mi_vif(PO) mi_shadow(PO) mi_vpe(PO) mi_rgn(PO) mi_ao(PO) mi_sensor(PO) mi_sys(PO) mi_common(PO) mhal(PO) nls_utf8
[2021/07/05, 13:43:52.361] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: P O 4.9.84 #25
[2021/07/05, 13:43:52.368] Hardware name: SStar Soc (Flattened Device Tree)
[2021/07/05, 13:43:52.371] [] (unwind_backtrace) from [] (show_stack+0xb/0xc)
[2021/07/05, 13:43:52.380] [] (show_stack) from [] (__schedule_bug+0x3f/0x60)
[2021/07/05, 13:43:52.385] [] (__schedule_bug) from [] (__schedule+0x29/0x284)
[2021/07/05, 13:43:52.390] [] (__schedule) from [] (schedule+0x57/0x64)
[2021/07/05, 13:43:52.398] [] (schedule) from [] (schedule_preempt_disabled+0x19/0x2a)
[2021/07/05, 13:43:52.403] [] (schedule_preempt_disabled) from [] (__mutex_lock_slowpath+0xe3/0x1f4)
[2021/07/05, 13:43:52.414] [] (__mutex_lock_slowpath) from [] (mutex_lock+0x9/0x18)
[2021/07/05, 13:43:52.419] [] (mutex_lock) from [] (handle_rx+0x70/0xd8 [soft_uart])
[2021/07/05, 13:43:52.430] [] (handle_rx [soft_uart]) from [] (__hrtimer_run_queues.constprop.4+0x75/0xf0)
[2021/07/05, 13:43:52.435] [] (__hrtimer_run_queues.constprop.4) from [] (hrtimer_interrupt+0x73/0x168)
[2021/07/05, 13:43:52.448] [] (hrtimer_interrupt) from [] (arch_timer_handler_virt+0x1f/0x26)
[2021/07/05, 13:43:52.451] [] (arch_timer_handler_virt) from [] (handle_percpu_devid_irq+0x31/0x88)
[2021/07/05, 13:43:52.458] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0xd/0x16)
[2021/07/05, 13:43:52.468] [] (generic_handle_irq) from [] (__handle_domain_irq+0x4d/0x68)
[2021/07/05, 13:43:52.473] [] (__handle_domain_irq) from [] (gic_handle_irq+0x33/0x48)
[2021/07/05, 13:43:52.486] [] (gic_handle_irq) from [] (__irq_svc+0x65/0xac)
[2021/07/05, 13:43:52.487] Exception stack(0xc3c61e58 to 0xc3c61ea0)
[2021/07/05, 13:43:52.490] 1e40: c03bdaf4 20000013
[2021/07/05, 13:43:52.504] 1e60: c3c50980 00000001 20000013 c03bd988 c03bd988 c03bd988 c3c60000 20000013
[2021/07/05, 13:43:52.506] 1e80: 00000001 00000000 0000000b c3c61ea8 c0246cc1 c0246cc4 20000033 ffffffff
[2021/07/05, 13:43:52.513] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0xc/0x2e)
[2021/07/05, 13:43:52.524] [] (_raw_spin_unlock_irqrestore) from [] (rcu_process_callbacks+0xcb/0x2b0)
[2021/07/05, 13:43:52.526] [] (rcu_process_callbacks) from [] (__do_softirq+0x81/0x158)
[2021/07/05, 13:43:52.533] [] (__do_softirq) from [] (run_ksoftirqd+0xf/0x20)
[2021/07/05, 13:43:52.542] [] (run_ksoftirqd) from [] (smpboot_thread_fn+0x11f/0x12c)
[2021/07/05, 13:43:52.547] [] (smpboot_thread_fn) from [] (kthread+0xa1/0xb4)
[2021/07/05, 13:43:52.557] [] (kthread) from [] (ret_from_fork+0x11/0x30)
[2021/07/05, 13:43:52.563] ------------[ cut here ]------------
[2021/07/05, 13:43:52.566] WARNING: CPU: 0 PID: 3 at kernel/events/core.c:3420 perf_event_task_tick+0x19/0x186
[2021/07/05, 13:43:52.575] Modules linked in: drv_ms_cus_sc401ai_MIPI(PO) hiNand(O) dev_clouddeck(O) soft_uart(O) Vz_gpio(O) mi_ai(PO) mi_divp(PO) mi_venc(PO) mi_vif(PO) mi_shadow(PO) mi_vpe(PO) mi_rgn(PO) mi_ao(PO) mi_sensor(PO) mi_sys(PO) mi_common(PO) mhal(PO) nls_utf8
[2021/07/05, 13:43:52.596] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: P W O 4.9.84 #25
[2021/07/05, 13:43:52.602] Hardware name: SStar Soc (Flattened Device Tree)
[2021/07/05, 13:43:52.608] [] (unwind_backtrace) from [] (show_stack+0xb/0xc)
[2021/07/05, 13:43:52.612] [] (show_stack) from [] (__warn+0x89/0xb0)
[2021/07/05, 13:43:52.618] [] (__warn) from [] (warn_slowpath_null+0x11/0x16)
[2021/07/05, 13:43:52.626] [] (warn_slowpath_null) from [] (perf_event_task_tick+0x19/0x186)
[2021/07/05, 13:43:52.631] [] (perf_event_task_tick) from [] (update_process_times+0x3d/0x48)
[2021/07/05, 13:43:52.644] [] (update_process_times) from [] (tick_sched_timer+0x27/0x52)
[2021/07/05, 13:43:52.646] [] (tick_sched_timer) from [] (__hrtimer_run_queues.constprop.4+0x75/0xf0)
[2021/07/05, 13:43:52.655] [] (__hrtimer_run_queues.constprop.4) from [] (hrtimer_interrupt+0x73/0x168)
[2021/07/05, 13:43:52.663] [] (hrtimer_interrupt) from [] (arch_timer_handler_virt+0x1f/0x26)
[2021/07/05, 13:43:52.671] [] (arch_timer_handler_virt) from [] (handle_percpu_devid_irq+0x31/0x88)
[2021/07/05, 13:43:52.681] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0xd/0x16)
[2021/07/05, 13:43:52.687] [] (generic_handle_irq) from [] (__handle_domain_irq+0x4d/0x68)
[2021/07/05, 13:43:52.698] [] (__handle_domain_irq) from [] (gic_handle_irq+0x33/0x48)
[2021/07/05, 13:43:52.702] [] (gic_handle_irq) from [] (__irq_svc+0x65/0xac)
[2021/07/05, 13:43:52.707] Exception stack(0xc3c61e58 to 0xc3c61ea0)
[2021/07/05, 13:43:52.719] 1e40: c03bdaf4 20000013
[2021/07/05, 13:43:52.720] 1e60: c3c50980 00000001 20000013 c03bd988 c03bd988 c03bd988 c3c60000 20000013
[2021/07/05, 13:43:52.725] 1e80: 00000001 00000000 0000000b c3c61ea8 c0246cc1 c0246cc4 20000033 ffffffff
[2021/07/05, 13:43:52.737] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0xc/0x2e)
[2021/07/05, 13:43:52.739] [] (_raw_spin_unlock_irqrestore) from [] (rcu_process_callbacks+0xcb/0x2b0)
[2021/07/05, 13:43:52.753] [] (rcu_process_callbacks) from [] (__do_softirq+0x81/0x158)
[2021/07/05, 13:43:52.755] [] (__do_softirq) from [] (run_ksoftirqd+0xf/0x20)
[2021/07/05, 13:43:52.761] [] (run_ksoftirqd) from [] (smpboot_thread_fn+0x11f/0x12c)
[2021/07/05, 13:43:52.774] [] (smpboot_thread_fn) from [] (kthread+0xa1/0xb4)
[2021/07/05, 13:43:52.775] [] (kthread) from [] (ret_from_fork+0x11/0x30)
[2021/07/05, 13:43:52.781] ---[ end trace bb1682130f957d1c ]---
[2021/07/05, 13:43:52.783] ------------[ cut here ]------------
[2021/07/05, 13:43:52.791] WARNING: CPU: 0 PID: 3 at kernel/time/posix-cpu-timers.c:1162 run_posix_cpu_timers+0x31/0x336
[2021/07/05, 13:43:52.795] Modules linked in: drv_ms_cus_sc401ai_MIPI(PO) hiNand(O) dev_clouddeck(O) soft_uart(O) Vz_gpio(O) mi_ai(PO) mi_divp(PO) mi_venc(PO) mi_vif(PO) mi_shadow(PO) mi_vpe(PO) mi_rgn(PO) mi_ao(PO) mi_sensor(PO) mi_sys(PO) mi_common(PO) mhal(PO) nls_utf8
[2021/07/05, 13:43:52.816] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: P W O 4.9.84 #25
[2021/07/05, 13:43:52.822] Hardware name: SStar Soc (Flattened Device Tree)
[2021/07/05, 13:43:52.827] [] (unwind_backtrace) from [] (show_stack+0xb/0xc)
[2021/07/05, 13:43:52.841] [] (show_stack) from [] (__warn+0x89/0xb0)
[2021/07/05, 13:43:52.842] [] (__warn) from [] (warn_slowpath_null+0x11/0x16)
[2021/07/05, 13:43:52.846] [] (warn_slowpath_null) from [] (run_posix_cpu_timers+0x31/0x336)
[2021/07/05, 13:43:52.858] [] (run_posix_cpu_timers) from [] (tick_sched_timer+0x27/0x52)
[2021/07/05, 13:43:52.860] [] (tick_sched_timer) from [] (__hrtimer_run_queues.constprop.4+0x75/0xf0)
[2021/07/05, 13:43:52.869] [] (__hrtimer_run_queues.constprop.4) from [] (hrtimer_interrupt+0x73/0x168)
[2021/07/05, 13:43:52.884] [] (hrtimer_interrupt) from [] (arch_timer_handler_virt+0x1f/0x26)
[2021/07/05, 13:43:52.884] [] (arch_timer_handler_virt) from [] (handle_percpu_devid_irq+0x31/0x88)
[2021/07/05, 13:43:52.905] [] (handle_percpu_devid_irq) from [] (generic_handle_irq+0xd/0x16)
[2021/07/05, 13:43:52.905] [] (generic_handle_irq) from [] (__handle_domain_irq+0x4d/0x68)
[2021/07/05, 13:43:52.908] [] (__handle_domain_irq) from [] (gic_handle_irq+0x33/0x48)
[2021/07/05, 13:43:52.915] [] (gic_handle_irq) from [] (__irq_svc+0x65/0xac)
[2021/07/05, 13:43:52.927] Exception stack(0xc3c61e58 to 0xc3c61ea0)
[2021/07/05, 13:43:52.929] 1e40: c03bdaf4 20000013
[2021/07/05, 13:43:52.931] 1e60: c3c50980 00000001 20000013 c03bd988 c03bd988 c03bd988 c3c60000 20000013
[2021/07/05, 13:43:52.947] 1e80: 00000001 00000000 0000000b c3c61ea8 c0246cc1 c0246cc4 20000033 ffffffff
[2021/07/05, 13:43:52.947] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0xc/0x2e)
[2021/07/05, 13:43:52.960] [] (_raw_spin_unlock_irqrestore) from [] (rcu_process_callbacks+0xcb/0x2b0)
[2021/07/05, 13:43:52.962] [] (rcu_process_callbacks) from [] (__do_softirq+0x81/0x158)
[2021/07/05, 13:43:52.978] [] (__do_softirq) from [] (run_ksoftirqd+0xf/0x20)
[2021/07/05, 13:43:52.980] [] (run_ksoftirqd) from [] (smpboot_thread_fn+0x11f/0x12c)
[2021/07/05, 13:43:52.981] [] (smpboot_thread_fn) from [] (kthread+0xa1/0xb4)
[2021/07/05, 13:43:52.997] [] (kthread) from [] (ret_from_fork+0x11/0x30)
[2021/07/05, 13:43:53.002] ---[ end trace bb1682130f957d1d ]---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions