MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 19 Mar 2017 14:08:05 -0400 From: andrija@stupar.com In-Reply-To: <305872a6-028d-64e3-4804-9c46e7407193@xenomai.org> References: <07fe7fa20faed6e818d33b54db9001b6@stupar.com> <305872a6-028d-64e3-4804-9c46e7407193@xenomai.org> Message-ID: <421f62eb9f8a46b605a2f3395c09a8fa@stupar.com> Sender: andrija@stupar.com Subject: Re: [Xenomai] RTDM driver init: interrupts and context objects List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: xenomai@xenomai.org Hi Phillipe, I was under the impression that I cannot, since Cobalt is a feature of Xenomai 3.x, and I am using Xenomai 2.6.5, where chasing the mode switches is a bit more complicated, as explained on the page https://xenomai.org//2014/06/finding-spurious-relaxes/ In any case, the causes of the mode switches that were troubling me were obvious, just buried in the code that I have been porting to Xenomai, and therefore took a while to find (doubtlessly using the debug flag would've been easier, but it did not take me weeks - this is not a project I work on full time). Thanks, Andrija On 2017-03-19 05:51, Philippe Gerum wrote: > > Actually, it does something wrong. You should always enable > CONFIG_XENO_DEBUG_COBALT to detect those spurious call sites.