Skip to contentSkip to conversation

kernel stack corrupted in xnarch_switch_to

DISCUSSION Mauro S. 2 participants 3 messages Jan 13, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mauro S.

author
#1 lore raw

Hi all,

first of all, I had to change my subscription mail address due to problems with the previous provider.

I'm using Xenomai 3.1.2 on a x86-64 Atom processor, with Copperplate. Linux kernel is 5.4.181.

Sometimes (not very frequently, but it happens) this system freezes and a hardware reset is required. Nothing is registered in the system logs, and no debug serial is available. The only useful interface is the screen, that in facts reports a kernel panic, captured in the attached screenshot.

Any hints from somebody on where to start digging/what could be the cause?

Thanks in advance, regards

Signature · 1 line
Mauro S.
#2 lore raw
Quoted 8 lines · Mauro S.

Hi all,

first of all, I had to change my subscription mail address due to problems with the previous provider.

I'm using Xenomai 3.1.2 on a x86-64 Atom processor, with Copperplate. Linux kernel is 5.4.181.

Quoted 7 lines

Sometimes (not very frequently, but it happens) this system freezes and a hardware reset is required. Nothing is registered in the system logs, and no debug serial is available. The only useful interface is the screen, that in facts reports a kernel panic, captured in the attached screenshot.

Any hints from somebody on where to start digging/what could be the cause?

First thing is to make sure that you have the very latest versions, at least from the respective stable branches (stable/v3.1.x is at e6d90930a9, and that can matter here; 5.4 is at pipe-core-5.4.228-x86-12). Also note that we do not test 3.1.x against anything newer than 4.19. It may work, but it is not in support scope. If you can update your test to stable/3.2.x, that could give some hint as well.

The final step you know already ;): Help us to reproduce your issue as well, then it is much easier to debug.

Jan

Signature · 2 lines
Siemens AG, Technology
Competence Center Embedded Linux
author
#3 lore raw

Il 13/01/23 14:59, Jan Kiszka ha scritto:

Quoted 25 lines · Mauro S.
Quoted 8 lines

Hi all,

first of all, I had to change my subscription mail address due to problems with the previous provider.

I'm using Xenomai 3.1.2 on a x86-64 Atom processor, with Copperplate. Linux kernel is 5.4.181.

Quoted 7 lines

Sometimes (not very frequently, but it happens) this system freezes and a hardware reset is required. Nothing is registered in the system logs, and no debug serial is available. The only useful interface is the screen, that in facts reports a kernel panic, captured in the attached screenshot.

Any hints from somebody on where to start digging/what could be the cause?

First thing is to make sure that you have the very latest versions, at least from the respective stable branches (stable/v3.1.x is at e6d90930a9, and that can matter here; 5.4 is at pipe-core-5.4.228-x86-12). Also note that we do not test 3.1.x against anything newer than 4.19. It may work, but it is not in support scope. If you can update your test to stable/3.2.x, that could give some hint as well.

Quoted 5 lines

The final step you know already ;): Help us to reproduce your issue as well, then it is much easier to debug.

Jan

Hi Jan,

thank you as usual :)

I will try to switch to latest stable versions both of Xenomai and kernel.

About to reproduce the issue, unfortunately it is not simple to do because this happens under different circumstances, not frequently and apparently with no specific causes.

I will report you if version upgrades mitigate the problem.

Thank you, regards

Signature · 1 line
Mauro S.