From mboxrd@z Thu Jan 1 00:00:00 1970 From: ke zhou Date: Wed, 3 Aug 2011 08:39:25 +0000 (UTC) Message-ID: References: <4E38F4CF.4030702@domain.hid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] latency: failed to set periodic, code -110 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Gilles Chanteperdrix xenomai.org> writes: > > On 08/03/2011 06:09 AM, ke zhou wrote: > > hello ,everyone! > > I`m trying to patch the 2.6.25 kernel with Adeos Ipipe.And the xenomai > > version is xenomai-2.4.4.tar.gz. > > But when I execute " ./latency -t0 -T60 -p100 -h " on the s3c2440 board,there > > are some errors : > > == Sampling period: 100 us > > == Test mode: periodic user-mode task > > == All results in microseconds > > warming up... > > latency: failed to set periodic, code -110 > > latency: failed to pend on semaphore, code -110 > > > > Any idea about that ? > > The latencies on s3c24x will not allow you to run with a 100us period. > Also, you should use xenomai 2.5.6. > I`d tried to run with a 100000000us period or 10000000us ,that`s the same problem.Actually,the error was thrown out by rt_task_set_periodic ().Especially,when I use rt_task_set_periodic() or rt_task_wait_period() in my program,they can`t return 0. But I`ll try to use xenomai.2.5.6. Thank you!