From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48ADA5FF.5030703@domain.hid> Date: Thu, 21 Aug 2008 19:29:35 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <488A073F.1090403@domain.hid> <48ABDA75.70901@domain.hid> <48AC23B6.3030902@domain.hid> <48AC4A2A.8080304@domain.hid> <48AD6368.7020504@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Problem with time-out ends List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: BARRE Sebastien Cc: "xenomai@xenomai.org" BARRE Sebastien wrote: > Yes, I recompiled the kernel, copied the bzImage on my target, and rebooted it. > > I had to apply the patch mannually because it doesn't work with the patch command. I had the message : > > patch: **** malformed patch at line 6: *prev, Ok. Could you try something else: in the function gatekeeper_thread, could you replace: if (xnthread_user_task(thread)->state == TASK_INTERRUPTIBLE) { with if (xnthread_user_task(thread)->state == TASK_INTERRUPTIBLE | TASK_ATOMICSWITCH) { Or comment out the if and the closing brace ? -- Gilles.