All of lore.kernel.org
 help / color / mirror / Atom feed
From: Makarand Pradhan <makarandpradhan@ruggedcom.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Improper closure of rt pipe
Date: Thu, 1 Nov 2012 09:16:04 -0400	[thread overview]
Message-ID: <50927614.5090101@ruggedcom.com> (raw)
In-Reply-To: <45c36ddf13bd0bd3bdc199be436c8325.squirrel@www.xenomai.org>

On 31/10/12 06:50 PM, Gilles Chanteperdrix wrote:
> Makarand Pradhan wrote:
>> Hi All,
>>
>> While working with rt pipes I noticed that:
>>
>>   >  When a process that is writing to the real time pipe is killed, I am
>> not able to write to the pipe again after restarting the process.
>>   >  When the pipe is closed properly with an fclose, then everything works.
>>   >  The only way to recover the rt pipe was to reboot the system.
>>
>> Would highly appreciate if you can comment on this behaviour.
>> Is it the expected behaviour?
>> Is there a way to recover the rt pipe without rebooting? Anything that
>> can be done, on the other side of the pipe after detecting closure? I
>> have tried deleting and recreating the pipe with no luck. I am running
>> in user space so cannot flush the pipe.
>>
>> Am attaching code that can be used to reproduce this issue.
>>
>> I am running linux 3.0.0 on MPC8360.
> Since it looks like a Xenomai bug, the really important information is the
> version of Xenomai you are using. Anyway, this looks like a bug that was
> reported a long time ago and fixed recently. Could you try the current HEAD
> of the "master" branch in xenomai 2.6 git?
>
> git://git.xenomai.org/xenomai-2.6.git
>

We are running xenomai-2.6 (stable). Will try to go to the HEAD.

Rgds,
Makarand.

-- 
___________________________________________________________________________
NOTICE OF CONFIDENTIALITY:
This e-mail and any attachments may contain confidential and privileged information.  If you are
not the intended recipient, please notify the sender immediately by return e-mail and delete this
e-mail and any copies.  Any dissemination or use of this information by a person other than the
intended recipient is unauthorized and may be illegal.
_____________________________________________________________________

  



      reply	other threads:[~2012-11-01 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 20:16 [Xenomai] Improper closure of rt pipe Makarand Pradhan
2012-10-31 22:50 ` Gilles Chanteperdrix
2012-11-01 13:16   ` Makarand Pradhan [this message]

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=50927614.5090101@ruggedcom.com \
    --to=makarandpradhan@ruggedcom.com \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /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.