All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux system got freezing when "Xenomai App" started (or terminated).
@ 2024-04-15  0:43 임준수(Junesoo Im) 수석 두산로보틱스
  2024-04-15  9:23 ` 임준수(Junesoo Im) 수석 두산로보틱스
  0 siblings, 1 reply; 11+ messages in thread
From: 임준수(Junesoo Im) 수석 두산로보틱스 @ 2024-04-15  0:43 UTC (permalink / raw)
  To: xenomai@lists.linux.dev
  Cc: 박경훈(Kyunghoon Park) 팀장 두산로보틱스

hello. I am a Linux Application Developer.


Application uses Xenomai 3.1x.
The machine environment is 64bit and kernel 5.4.255.

Repeat machine reboot at 55 second intervals.
Most of the time it works fine, but sometimes the system freezes.
The mouse doesn't move and the keyboard doesn't work.
The screen also freezes.
There are no special messages in the kernel log.
The same goes for syslog.



So I'm running some tests.
If you test without running the application, there is no problem with the system.
Problems occur when the application runs.
However, I don't see any special messages in the application log.


I haven't found the cause of Freezing yet.
I am currently viewing the “https://v3.xenomai.org/troubleshooting/” site.
I would like to test some of the things mentioned on this site.
If possible, I would like you to look at this site together.


This site is talking about Kernel configuration that needs to be removed.
"CONFIG_KGDB"
This option is currently enabled, so I removed it and tested it.
But Freezing occurred.
A problem has occurred, but should this option be removed?


This site talks about "Freeze or machine lockup".
1. “Stack space overflow issue now biting sim real-time kernel thread?”
2. “Spurious delay/timeout values computed by the application (specifically: too short)”
3. “A case of freeze is a system call called in a loop which fails without its return value being properly checked.”


There are three explanations: I have a question about the first one.
How many threads can the xenomai program create?
What is the maximum stack size per thread in the xenomai program?
Our program has at least 22 xenomai threads.
The stack size is different for each thread. It may have a maximum of 8 MB and a minimum of 2 MB.



The question is complicated and long, but I desperately need help.
Please, reply.
Thank you.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-31 20:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15  0:43 Linux system got freezing when "Xenomai App" started (or terminated) 임준수(Junesoo Im) 수석 두산로보틱스
2024-04-15  9:23 ` 임준수(Junesoo Im) 수석 두산로보틱스
2024-04-15  9:48   ` François Legal
2024-04-15 10:07     ` 임준수(Junesoo Im) 수석 두산로보틱스
2024-04-15 10:16       ` François Legal
2024-04-15 10:37         ` 임준수(Junesoo Im) 수석 두산로보틱스
2024-04-15 13:21           ` François Legal
2024-04-29  8:49             ` 임준수(Junesoo Im) 수석 두산로보틱스
2024-04-15 13:16   ` Jan Kiszka
2024-07-31  9:35     ` 임준수(Junesoo Im) 수석 두산로보틱스
2024-07-31 20:04       ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.