MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18252.28684.840291.855543@domain.hid> Date: Tue, 27 Nov 2007 20:29:16 +0100 In-Reply-To: References: 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 ? -- Gilles Chanteperdrix.