Hi Philppe, Failed and return with error code is <Unknown error 4294967295> and continues. I do not know the granularity of time here, if it is returning immediately or not. We have about 15 tasks spawned in this whole system. Done very very minimal changes to our VxWorks code to run on Linux over Xenomai version 2.5.6. Board does not crash. CPU Platform is Intel x86 Arch 32 Bit.
Thank you for support. Samba. -----Original Message----- From: Philippe Gerum [mailto:[email protected]] Sent: Wednesday, 03. August, 2011 13:27 To: Sambasiva Rao Manchili Cc: [email protected]; Antonio Gambin Subject: Re: [Xenomai-help] Xenomai VxWorks Skin--->semTake On Wed, 2011-08-03 at 12:15 +0200, Sambasiva Rao Manchili wrote: > Hallo , > Most of code containing semTake with (WAIT_FOREVER ) ported from > VxWorks to Linux using Xenomai is working, but only the following > semTake is always failing. Your description is a bit terse. Failing how? Hangs, returns immediately? Crashes your board? If not, any error code reported by the skin? And rehashing a previous question which was not answered IIRC: what CPU/platform are you running on, beside "linux 2.6.37" which does not help enough? What Xenomai version? Please make sure to send any relevant information that may help reproducing the issue, this tends to convince people to actually have a look at it. > > For Example:- > semTake( restab_access_smp, 1200). > > Semaphore created successfully and exists. > Any reason and any hint? > > Semaphore created without ERROR as follows. > if ((restab_access_smp = semMCreate (SEM_Q_PRIORITY | SEM_DELETE_SAFE > | SEM_INVERSION_SAFE)) == NULL) { > ERROR > } > > Thanks, > Samba. > > > Sambasiva Rao Manchili > Software Development Engineer > ________________________________ > > NEXUS TELECOM AG > Network and Service Investigation > > Feldbachstrasse 80 > 8634 Hombrechtikon > Switzerland > > Direct/mobile: +41 78 750 6808 > Main: +41 44 355 6611 > Email: [email protected] > Website: www.nexustelecom.com > > > > > > ______________________________________________________________________ > This email and any attachment may contain confidential information > which is intended for use only by the addressee(s) named above. If you > received this email by mistake, please notify the sender immediately, > and delete the email from your system. You are prohibited from > copying, disseminating or otherwise using the email or any attachment. > _______________________________________________ > Xenomai-help mailing list > [email protected] > https://mail.gna.org/listinfo/xenomai-help -- Philippe. This email and any attachment may contain confidential information which is intended for use only by the addressee(s) named above. If you received this email by mistake, please notify the sender immediately, and delete the email from your system. You are prohibited from copying, disseminating or otherwise using the email or any attachment. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
