All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai] Weird behavior during debug
@ 2017-12-18 14:49 Lange Norbert
  2017-12-19  7:16 ` Jan Kiszka
  0 siblings, 1 reply; 10+ messages in thread
From: Lange Norbert @ 2017-12-18 14:49 UTC (permalink / raw)
  To: Xenomai (xenomai@xenomai.org)

Same issue with latest ipipe. Threads look like this (when the instance is halted in the debugger).
Somehow, atleast the RT Tasks will block waiting on a timerfd when one task is in state XT (whatever that means)

# cat /proc/xenomai/sched/threads
CPU  PID    CLASS  TYPE      PRI   TIMEOUT       STAT       NAME
  0  0      idle   core       -1   -             R          [ROOT/0]
  1  0      idle   core       -1   -             R          [ROOT/1]
  2  0      idle   core       -1   -             R          [ROOT/2]
  3  0      idle   core       -1   -             R          [ROOT/3]
  2  264    rt     cobalt     20   -             XT         packetfilter
  1  279    rt     cobalt     20   -             W          packetfilter

 >-----Original Message-----
 >From: Lange Norbert
 >Sent: Montag, 18. Dezember 2017 14:43
 >To: Xenomai (xenomai@xenomai.org)
 >Subject: Weird behavior during debug
 >
 >Hello,
 >
 >I tried debugging a cobalt application, and when I hit a breakpoint most of the
 >system freezes.
 >If I run for example top over Serial or SSH, then the display won`t be refreshed
 >anymore,
 >A separate program running as RT Task, waiting for an timer-event (occurring
 >10 times a second) will block aswell.
 >
 >So the debug session seems to block a rather big amount of events.
 >
 >I am using a 4.9 kernel with ipipe at "x86/ipipe: fix detection of unhandled
 >faults over the head domain".
 >Looking at the logs and other threads there seems to be a bigger rework in
 >progress?
 >I will retry with master, and report back.
 >
 >Kind regards
 >
 >Norbert Lange

________________________________

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.

ANDRITZ HYDRO GmbH


Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation

Firmensitz/ Registered seat: Wien

Firmenbuchgericht/ Court of registry: Handelsgericht Wien

Firmenbuchnummer/ Company registration: FN 61833 g

DVR: 0605077

UID-Nr.: ATU14756806


Thank You
________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Xenomai] Weird behavior during debug
@ 2017-12-18 13:43 Lange Norbert
  0 siblings, 0 replies; 10+ messages in thread
From: Lange Norbert @ 2017-12-18 13:43 UTC (permalink / raw)
  To: Xenomai (xenomai@xenomai.org)

Hello,

I tried debugging a cobalt application, and when I hit a breakpoint most of the system freezes.
If I run for example top over Serial or SSH, then the display won`t be refreshed anymore,
A separate program running as RT Task, waiting for an timer-event (occurring 10 times a second) will block aswell.

So the debug session seems to block a rather big amount of events.

I am using a 4.9 kernel with ipipe at "x86/ipipe: fix detection of unhandled faults over the head domain".
Looking at the logs and other threads there seems to be a bigger rework in progress?
I will retry with master, and report back.

Kind regards

Norbert Lange

________________________________

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.

ANDRITZ HYDRO GmbH


Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation

Firmensitz/ Registered seat: Wien

Firmenbuchgericht/ Court of registry: Handelsgericht Wien

Firmenbuchnummer/ Company registration: FN 61833 g

DVR: 0605077

UID-Nr.: ATU14756806


Thank You
________________________________


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

end of thread, other threads:[~2017-12-20 18:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-18 14:49 [Xenomai] Weird behavior during debug Lange Norbert
2017-12-19  7:16 ` Jan Kiszka
2017-12-19  8:56   ` Lange Norbert
2017-12-19  9:34     ` Jan Kiszka
2017-12-19 13:44       ` Lange Norbert
2017-12-19 18:57         ` Jan Kiszka
2017-12-20 17:49           ` Lange Norbert
2017-12-20 18:07             ` Philippe Gerum
2017-12-20 18:15           ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2017-12-18 13:43 Lange Norbert

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.