From: Sambasiva Rao Manchili Date: Wed, 3 Aug 2011 14:44:29 +0200 Message-ID: <509DA52866E38F47878413CF102D751FD4207794F2@domain.hid> References: <509DA52866E38F47878413CF102D751FD4207794F0@domain.hid> <1312370844.2135.10.camel@domain.hid> In-Reply-To: <1312370844.2135.10.camel@domain.hid> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Xenomai-help] Xenomai VxWorks Skin--->semTake List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: Antonio Gambin , "Xenomai-help@domain.hid" Hi Philppe, Failed and return with error code is and contin= ues. I do not know the granularity of time here, if it is returning immedi= ately 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:rpm@xenomai.org] Sent: Wednesday, 03. August, 2011 13:27 To: Sambasiva Rao Manchili Cc: Xenomai-help@domain.hid; 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? C= rashes your board? If not, any error code reported by the skin? And rehashing a previous question which was not answered IIRC: what CPU/pla= tform 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 =3D semMCreate (SEM_Q_PRIORITY | SEM_DELETE_SAFE > | SEM_INVERSION_SAFE)) =3D=3D 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: sambasiva.manchili@domain.hid > 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 > Xenomai-help@domain.hid > 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 thi= s email by mistake, please notify the sender immediately, and delete the em= ail from your system. You are prohibited from copying, disseminating or oth= erwise using the email or any attachment.