Re: "INFO: rcu_tasks_trace detected stalls on tasks in kernel/sched/core.c" in Linux kernel version 6.13.0-rc2
From: Steven Rostedt
Date: Mon Jan 06 2025 - 12:26:16 EST
On Fri, 3 Jan 2025 16:11:18 +0800
cheung wall <zzqq0103.hey@xxxxxxxxx> wrote:
> Root Cause:
>
> The system crash was triggered by a malfunction in the Linux kernel’s
> scheduler, specifically within the context_switch, __schedule,
> __schedule_loop, and schedule functions located in
> kernel/sched/core.c. These scheduler functions failed to properly
> manage task states, causing critical tasks like syz-executor.7 and
> systemd-udevd to become stuck in a running state while attempting to
> execute sleep operations. Concurrent filesystem issues, including
> unexpected loop device capacity changes and unrecognized mount
> parameters, likely exacerbated the problem by imposing additional
> stress on the scheduler. This combination led to prolonged
> Read-Copy-Update (RCU) stalls, preventing the system from efficiently
> handling task scheduling and ultimately resulting in the crash.
That looks like output from ChatGPT :-/
-- Steve