All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: "임준수(Junesoo Im) 수석 두산로보틱스" <junesoo.im@doosan.com>
To: "xenomai@lists.linux.dev" <xenomai@lists.linux.dev>
Cc: "박경훈(Kyunghoon Park) 팀장 두산로보틱스" <kyunghoon2.park@doosan.com>
Subject: Linux system got freezing when "Xenomai App" started (or terminated).
Date: Mon, 15 Apr 2024 00:43:11 +0000	[thread overview]
Message-ID: <SL2P216MB22740891EAD5CFE21E4A39E3E0092@SL2P216MB2274.KORP216.PROD.OUTLOOK.COM> (raw)

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.

             reply	other threads:[~2024-04-15  0:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15  0:43 임준수(Junesoo Im) 수석 두산로보틱스 [this message]
2024-04-15  9:23 ` Linux system got freezing when "Xenomai App" started (or terminated) 임준수(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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SL2P216MB22740891EAD5CFE21E4A39E3E0092@SL2P216MB2274.KORP216.PROD.OUTLOOK.COM \
    --to=junesoo.im@doosan.com \
    --cc=kyunghoon2.park@doosan.com \
    --cc=xenomai@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.