All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yigal Goldberger <yigal_gold@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] shm_open returns errno 38 - function not implemented
Date: Fri, 16 Oct 2009 05:27:00 -0700 (PDT)	[thread overview]
Message-ID: <264350.28868.qm@domain.hid> (raw)
In-Reply-To: <4AD83649.7080109@domain.hid>

Gilles,
Thanks for the answer.

I need shared memory only between user space applications , so I do prefer the second option. (our system is stable and we're satisfied from the performance , so we'd like to make as little changes as possible at this mature stage of the project ).
Can you advise me how to get the right version of the glibc (is it a stand alone change , simply replacing the glibc file , or do I need to make other changes ?)

Thanks again to the Xenomai operation , and to you personaly for your support !
Yigal Goldberger .


--- On Fri, 10/16/09, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.orgg> wrote:

> From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
> Subject: Re: [Xenomai-help] shm_open returns errno 38 - function not implemented
> To: "Yigal Goldberger" <yigal_gold@domain.hid>
> Cc: xenomai@xenomai.org
> Date: Friday, October 16, 2009, 12:00 PM
> Yigal Goldberger wrote:
> > Hi again,
> > 
> > I'm trying to create a shared memory area .
> > The system is a powerpc based board running linux
> kernel 2.6.29.4
> > and Xenomai 2.4.8 .
> > When I call shm_open from user space I get error 38 -
> function not implemented .
> 
> Normally, xenomai's shm_open tries to use the xenomai posix
> skin service
> first, and if it fails (because the shared memory option
> was not enabled
> in the posix skin configuration), falls back to linux
> service.
> 
> You get this error because:
> - Xenomai posix skin's shared memory services are not
> enabled;
> - your glibc does not support posix shared memory services
> (you can
> check this in xenomai's config.log, there is a test
> detecting it).
> 
> Now, Xenomai posix skins's shared memory services are to be
> used if you
> want to share memory between a kernel-space real-time posix
> application,
> and a user-space real-time posix application.
> 
> So, if this is what you want to do, enable the xenomai
> posix skin shared
> memory services in the kernel configuration (and please
> upgrade to
> xenomai 2.4.9.1, because some bugs in the shared memory
> support were
> fixed recently). If you want to share memory between two
> user-space
> applications, you can also use xenomai shared memory
> services, but you
> are probably better of upgrading your glibc to a glibc
> which support
> posix shared memories.
> 
> -- 
>                
>                
>           Gilles
> 
> 





  reply	other threads:[~2009-10-16 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 22:58 [Xenomai-help] shm_open returns errno 38 - function not implemented Yigal Goldberger
2009-10-16  9:00 ` Gilles Chanteperdrix
2009-10-16 12:27   ` Yigal Goldberger [this message]
2009-10-16 13:18     ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2009-10-16 16:41 Yigal Goldberger
2009-10-17 15:42 ` Gilles Chanteperdrix

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=264350.28868.qm@domain.hid \
    --to=yigal_gold@domain.hid \
    --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.