All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bryan Butler <Bryan.Butler@kratosdefense.com>
To: Philippe Gerum <rpm@xenomai.org>
Cc: Russell Johnson <russell.johnson@kratosdefense.com>,
	"xenomai@lists.linux.dev" <xenomai@lists.linux.dev>
Subject: RE: [External] - Re: System hanging when using condition variables
Date: Mon, 26 Sep 2022 14:20:43 +0000	[thread overview]
Message-ID: <BN2P110MB1288812BD18DBAA0E2714B618F529@BN2P110MB1288.NAMP110.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <87edvz8l5i.fsf@xenomai.org>

Thank you Philippe, this is indeed good news! We are downloading the patch and rebuilding this morning. Will start testing and get you the results ASAP.
Thanks so much for your diligence. 

-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org> 
Sent: Sunday, September 25, 2022 10:33 AM
To: Bryan Butler <Bryan.Butler@kratosdefense.com>
Cc: Russell Johnson <russell.johnson@kratosdefense.com>; xenomai@lists.linux.dev
Subject: Re: [External] - Re: System hanging when using condition variables

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Philippe Gerum <rpm@xenomai.org> writes:

> Philippe Gerum <rpm@xenomai.org> writes:
>
>> Bryan Butler <Bryan.Butler@kratosdefense.com> writes:
>>
>>> I have another system that behaves slightly differently. When it hits the watchdog, here's what I get:
>>>
>>
>> I have been able to reproduce a bug on an armv7 SoC with the test 
>> case you provided. Sometimes the RCU stall detector triggers, 
>> sometimes it's a plain hard lockup. I believe these are symptoms of 
>> the same bug, which _seems_ to hide in the PI chain management. I'm on it.
>
> Actually, the PI chain was 'only' collateral damage. The bug was a 
> fairly silly ABBA deadlock issue elsewhere, in the monitor 
> implementation. A fix is under stress test here, I'll follow up with a 
> patch asap.
>
> Thanks for the fine test case, having it made a huge difference once 
> again.

Please test this branch [1] which addresses the issue, passed a 1h runtime stress test here. I'll wait for a confirmation from your end with the real app before merging these bits to the mainline EVL code.

TIA,

[1] https://urldefense.proofpoint.com/v2/url?u=https-3A__source.denx.de_Xenomai_xenomai4_linux-2Devl_-2D_tree_testing_fix-2Dabba&d=DwIBAg&c=zeCCs5WLaN-HWPHrpXwbFoOqeS0G3NH2_2IQ_bzV13g&r=ZCxAV_wH32iGNw683_LJpz6zY-laHqPyFpuUGbfNbD8&m=j4miWzS4SlD0k9MUb_LS6XjrCKUMIzk8_ImpRAtPwW6n61PtaMYSTcv_WzIJ0tT8&s=pparDjiwRsE3zGtqgV0Nz3VNc7RfYRhH17md5-Xcw_8&e=

--
Philippe.

  reply	other threads:[~2022-09-26 14:20 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19 21:38 System hanging when using condition variables Russell Johnson
2022-09-20  6:55 ` Philippe Gerum
2022-09-20 14:31   ` [External] - " Russell Johnson
2022-09-21 14:53   ` Russell Johnson
2022-09-22 14:26 ` Philippe Gerum
2022-09-22 15:25   ` [External] - " Bryan Butler
2022-09-23 19:56   ` Bryan Butler
2022-09-24  8:21     ` Philippe Gerum
2022-09-25 14:59       ` Philippe Gerum
2022-09-25 16:32         ` Philippe Gerum
2022-09-26 14:20           ` Bryan Butler [this message]
2022-09-27 22:05             ` Russell Johnson
2022-09-27 23:04             ` Russell Johnson
2022-09-28  1:08               ` Bryan Butler
2022-09-28 10:06                 ` Philippe Gerum
2022-09-28 10:37                   ` Philippe Gerum
2022-09-28  9:59               ` Philippe Gerum
2022-09-28 18:35                 ` Russell Johnson
2022-09-29  7:04                   ` Philippe Gerum
2022-09-29 18:32                     ` Russell Johnson
2022-10-01  4:38                     ` Russell Johnson
2022-10-04 15:50                       ` Philippe Gerum
2022-10-10 17:04                         ` Russell Johnson
2022-10-12 16:11                         ` Russell Johnson
2022-10-12 16:24                           ` Eric Kuzara
2022-11-03 18:13                             ` Philippe Gerum

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=BN2P110MB1288812BD18DBAA0E2714B618F529@BN2P110MB1288.NAMP110.PROD.OUTLOOK.COM \
    --to=bryan.butler@kratosdefense.com \
    --cc=rpm@xenomai.org \
    --cc=russell.johnson@kratosdefense.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.