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

刘杨 <[email protected]> Wed, 29 Jul 2026 14:57:36 +0800
Newsgroups dev.linux.lists.xenomai
Message-ID <ed7c43ef85386e7d9b7bfcd2895307dc2948cb81.53860c2d.1bc0.4564.872b.fffc828b78ef@feishu.cn>
Hi,
=C2=A0=C2=A0 We have already conducted long-term tests on the following har=
dware platforms using kernel 6.12.55 with Xenomai 3.3.1: N100, N97, J6412, =
i5-12400, and AMD Ryzen 7 8845HS. I am using the 6.12.y-cip-dovetail-rebase=
=C2=A0branch, and the latest kernel version available in this branch is 6.1=
2.90. I can use the xenomai-image=C2=A0provided officially by Xenomai. Coul=
d you please provide a download link for the xenomai-image=C2=A0correspondi=
ng to the 6.12 kernel version?
If we completely disable the NVIDIA driver, our test programs may not run p=
roperly. I will disable the nvidia_uvm=C2=A0driver later for further verifi=
cation.
For the 6.18 kernel, I compiled it from the 6.18.y-dovetail-rebase=C2=A0bra=
nch. The 6.18 kernel exhibits the same issue: the system hangs after runnin=
g for a certain period. However, when using the 6.18 kernel, SSH remains ac=
cessible even after the hang.

Thanks
> From: "=E5=88=98=E6=9D=A8"<[email protected]>
> Date:=C2=A0 Wed, Jul 29, 2026, 14:44
> Subject:=C2=A0 Re: Random system freezes with Linux 6.12 + Xenomai 3.3.1 =
on Intel Ultra 5 125H
> To: "Jan Kiszka"<[email protected]>
> Cc: "xenomai"<[email protected]>, "=E5=AE=8B=E5=81=A5=E7=8E=AE"<son=
[email protected]>
> Hi,
> =C2=A0=C2=A0 We have already conducted long-term tests on the following h=
ardware platforms using kernel 6.12.55 with Xenomai 3.3.1: N100, N97, J6412=
, i5-12400, and AMD Ryzen 7 8845HS. I am using the 6.12.y-cip-dovetail-reba=
se=C2=A0branch, and the latest kernel version available in this branch is 6=
.12.90. I can use the xenomai-image=C2=A0provided officially by Xenomai. Co=
uld you please provide a download link for the xenomai-image=C2=A0correspon=
ding to the 6.12 kernel version?
> If we completely disable the NVIDIA driver, our test programs may not run=
 properly. I will disable the nvidia_uvm=C2=A0driver later for further veri=
fication.
> For the 6.18 kernel, I compiled it from the 6.18.y-dovetail-rebase=C2=A0b=
ranch. The 6.18 kernel exhibits the same issue: the system hangs after runn=
ing for a certain period. However, when using the 6.18 kernel, SSH remains =
accessible even after the hang.
>=C2=A0
>=C2=A0
> Thanks
> From: "Jan Kiszka"<[email protected]>
> Date:=C2=A0 Wed, Jul 29, 2026, 14:32
> Subject:=C2=A0 Re: Random system freezes with Linux 6.12 + Xenomai 3.3.1 =
on Intel Ultra 5 125H
> To: "=E5=88=98=E6=9D=A8"<[email protected]>
> Cc: "xenomai"<[email protected]>, "=E5=AE=8B=E5=81=A5=E7=8E=AE"<son=
[email protected]>
> On 29.07.26 08:05, =E5=88=98=E6=9D=A8 wrote:
> > Hi.
> > =C2=A0=C2=A0 =C2=A0I have already performed the following tests:
> > 1. Linux 6.18.20 + Xenomai 3.3.1: the system hangs during boot, but SSH=
 login is still possible.
> > 2. Linux 6.12.90 + Xenomai 3.3.1: the system completely freezes (hard l=
ock).
>=C2=A0
> Self-ported? Latest 6.12 is only v6.12.85-cip22-dovetail1
>=C2=A0
> > 3. Linux 6.12.55 + GRUB configuration with xenomai.state=3Ddisabled: th=
e system freezes.
> > 4. Linux 6.12.55 without Dovetail and Cobalt: the system runs normally.
> > 5.Linux 6.12.55 + xenomai 3.3.1=C2=A0 Using the Xe driver instead of i9=
15 =C2=A0 the system freezes.
> > 6.Linux 6.12.55 + xenomai 3.3.1 and nvidia_uvn.ko with uvm_disable_hmm=
=3D1 uvm_perf_prefetch_enable=3D0 =C2=A0=C2=A0 the system freezes.
>=C2=A0
> That's quite a lot of variations. Pick the simplest one, with least
> dependencies on special things, reproduce the issue and compare to a
> working setup, I would say. Such hard freezes left and right are
> unusual, and there must be one more or less special variable that
> triggers them. E.g., if you just use our x86 6.12 image from
> xenomai-images, does that run the basic tests on your hardware?
>=C2=A0
> >=C2=A0
> > CONFIG_XENO_OPT_WATCHDOG is enbale and set to 30.
> >=C2=A0
> > On Ubuntu 24.04, I monitored the CPU; the CPU utilisation is around 30%=
. A Gemini 360L camera is connected to the USB controller. I ran nvidia-smi=
=C2=A0and obtained the following output (please provide the output if you n=
eed further analysis).
> > There is also an f81601a CAN interface connected to the machine, which =
uses CAN FD to connect six motors.
>=C2=A0
> Does adding/removing this part of your workload make a difference? I
> guess not when you describe those boot freeze with 6.18 above, but still
> a variation from a generic system setup.
>=C2=A0
> > +----------------------------------------------------------------------=
-------------------+
> > | NVIDIA-SMI 580.173.02 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Drive=
r Version: 580.173.02 =C2=A0 =C2=A0 CUDA Version: 13.0 =C2=A0 =C2=A0 |
> > +-----------------------------------------+------------------------+---=
-------------------+
> > | GPU=C2=A0 Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Persistence-M | Bus-Id =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 Disp.A | Volat=
ile Uncorr. ECC |
> > | Fan=C2=A0 Temp =C2=A0 Perf =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 Pwr:Usag=
e/Cap | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Memory-Usage | GPU-Util=C2=A0 Co=
mpute M. |
> > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 MIG M. |
> > |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|
> > | =C2=A0 0=C2=A0 NVIDIA GeForce RTX 4060 ... =C2=A0=C2=A0 Off | =C2=A0 =
00000000:01:00.0 Off | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0=C2=A0 N/A |
> > | N/A =C2=A0 37C =C2=A0=C2=A0 P0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 27W /=C2=A0 115W | =C2=A0 =C2=A0 141MiB / =C2=A0 8188MiB | =C2=A0 =C2=
=A0=C2=A0 1% =C2=A0 =C2=A0=C2=A0 Default |
> > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 N=
/A |
> > +-----------------------------------------+------------------------+---=
-------------------+
> >=C2=A0
> > +----------------------------------------------------------------------=
-------------------+
> > | Processes: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2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C2=A0 =C2=A0=C2=A0 C =C2=A0 /usr/NX/bin/nxnode.bin =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 131MiB |
> > +----------------------------------------------------------------------=
-------------------+
> >=C2=A0
>=C2=A0
> Not loading the nvidia driver does not make a difference for the
> freezes? Or is it mandatory to even start some reasonable load that is
> needed to trigger the freezes?
>=C2=A0
> Jan
>=C2=A0
> --=C2=A0
> Siemens AG, Foundational Technologies
> Linux Expert Center
>=C2=A0