Re: Random system freezes with Linux 6.12 + Xenomai 3.3.1 on Intel Ultra 5 125H

Jan Kiszka <[email protected]> Wed, 29 Jul 2026 11:25:22 +0200
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
On 29.07.26 10:04, 刘杨 wrote:
> Thank you for your reply. Regarding kernel ftrace, do you have any suggestions on which parts I should mainly trace? If I enable tracing for everything, the output file will become extremely large
> 

Baseline trace:
- cobalt*
- sched*
- irq and irq_vectors
- signal*

You could use continuous tracing into RAM (without writing it to disk)
and trigger the stop rcu_stall_warning:

echo traceoff > /sys/kernel/tracing/events/rcu/rcu_stall_warning/trigger
(untested, might be wrong)

If the trace is then actually stopped after the error, you can safe it
from /sys/kernel/tracing/trace, or via trace-cmd.

If the events are still too many, drop irqs first.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center