linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Stuart Hodgson <stuart@quadrics.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Semaphores in eldk4.1
Date: Fri, 30 Nov 2007 23:27:26 +0100	[thread overview]
Message-ID: <20071130222726.1E0DB247C1@gemini.denx.de> (raw)
In-Reply-To: Your message of "Fri, 30 Nov 2007 16:33:30 GMT." <47503B5A.6090604@quadrics.com>

In message <47503B5A.6090604@quadrics.com> you wrote:
> 
> I have been suing the eldk4.1 tool chain for a few months now and have 

Please post ELDK related questions on the ELDK mailing list instead,
see http://lists.denx.de/mailman/listinfo/eldk

> The problem I have come up against is related to some of the semaphore 
> functions in semaphore.h, namely sem_wait, sem_post. This was originally 
> noticed in a third party driver I am porting from one board to another 
--------------------------^^^^^^^^
> but a small test program has shown the same results.

What exactly are you talking about? Device driver (i. e. kernel)
code, or application (i. e. user space) code ?

> Calls to these functions on the ppc_82xx platform return -1 with an 
> error code of 38, in this case meaning  ENOSYS (not implemented). On the 

Did you enable the CONFIG_SYSVIPC option in your Linux kernel
configuration?

> ppc_85xx the same program executes fine, thus I conclude that it is 
> specific to the libc-2.3.5 for ppc_82xx. Has anyone else come across 
> this problem, I did find one thread but there was no conclusion listed.

There is absolutley no difference between ppc_85xx and ppc_82xx as
far as library sources or configuration are concerned. The problem is
most probably in your Linux kernel, I guess.

> I also can not find anything stating that these functions are not 
> implemented for the 82xx arch compared with others for the eldk4.1

Provide a test program that fails for yuou, and we can provide much
better comments.

But please post followups on the ELDK mailing list.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Old programmers never die, they just become managers.

      parent reply	other threads:[~2007-11-30 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30 16:33 Semaphores in eldk4.1 Stuart Hodgson
2007-11-30 18:10 ` Ben Warren
2007-11-30 22:27 ` Wolfgang Denk [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=20071130222726.1E0DB247C1@gemini.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=stuart@quadrics.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).