MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18252.34775.863059.743025@domain.hid> Date: Tue, 27 Nov 2007 22:10:47 +0100 In-Reply-To: References: <18252.31008.17258.994903@domain.hid> From: Gilles Chanteperdrix Subject: Re: [Xenomai-help] Interrupts lost during sleep / unblock cycles List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kyle Howell Cc: xenomai@xenomai.org Kyle Howell wrote: > > > > > I have been debugging a stall problem for a couple of > > > > days, and I think > I've put together enough info to check > > > > with the pros. Everything below > was experienced on a P4 > > > > (Celeron) running 2.6.20 / Xenomai 2.3.4. I've > also > > > > reproduced it on 2.6.19.7 / 2.3.1. A quick test *did not* > > > > reproduce > this problem on a Core2 running x86_64 2.6.22.9 > > > > / 2.4RC3. > > > > > > > > > > I've reduced the problem to a fairly simple example below: > > > > > > > > > > The Overview: > > > > > - Running a single real-time process with one standard > > > > thread and one RT > task > - The RT task loops on a 1sec > > > > rt_task_sleep > - The standard thread loops on > > > > nanosleep(10msec) and rt_task_unblock of > the RT task. > > > > > - When an unrelated interrupt arrives at the wrong time, > > > > the entire > system will hang until the 1sec task_sleep expires. > > > > > - After resuming, everything runs normally until another > > > > interrupt lands > at the wrong moment. > > > > > > > > Do you observe the same behaviour without the interrupt shield ? > > > > > > It doesn't appear so. I'll have to let it run longer to be > > 100% sure, > > > but the usual stressing isn't causing the problem. That's > > not expected > > > behavior with the interrupt shield, is it? > > > > No, it is not an expected behavior. > > Well, that's good news. Still no stalls without the IShield, so that's > certainly narrowed it down. > > Another note: I'm currently using the IPipe 1.8-08 that is packaged with > Xenomai 2.3.4. Do you expect a change if I grab 1.10-12 or 1.11-00? Are > the Xenomai releases tightly coupled to a particular I-Pipe version (had > problems with this in the past)? Usually, a Xenomai version is compatible with past I-pipe releases. But you should expect problems using a new I-pipe release with an older version of Xenomai. -- Gilles Chanteperdrix.