Date: Wed, 25 Feb 2015 00:34:39 +0100 From: Gilles Chanteperdrix Message-ID: <20150224233439.GL14148@hermes.click-hack.org> References: <44bnkqho7e.fsf@lowell-desk.lan> <20150218220804.GR30317@hermes.click-hack.org> <44pp9633yh.fsf@lowell-desk.lan> <447fvc5q6z.fsf@be-well.ilk.org> <20150220225712.GE2356@hermes.click-hack.org> <448ufmewxt.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448ufmewxt.fsf@be-well.ilk.org> Subject: Re: [Xenomai] interrupt service List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lowell Gilbert Cc: xenomai@xenomai.org On Tue, Feb 24, 2015 at 06:01:18PM -0500, Lowell Gilbert wrote: > Gilles Chanteperdrix writes: > > > On Fri, Feb 20, 2015 at 02:38:12PM -0500, Lowell Gilbert wrote: > > >> The mailing list stripped my code, so I'll attach it inline. > > > > It does not strip it, it puts it on a server that can be accessed > > with http, so that only the people who want to see it download it, > > instead of forcibly sending it to all the subscribers. > > And if I'd actually *read* the autogenerated text including the link, > I'd have known that... > > > Will look at your code later. But at a quick glance I see nothing > > wrong. > > That's unfortunate, because I'm kind of stuck on this. If I don't > resolve it soon my colleagues will move the real-time functionality into > hardware, which I really don't want to see. > > I thought it might have been something in my kernel set-up, but I get > the same results after I worked my setup back to basics: latest 3.14 > kernel, merged in the i-pipe code from the 3.14 branch in the > Xenomai.org repository, checked out the v2.6.4 release of Xenomai, ran > the prepare-kernel script, To have a real basic configuration, you should use Xenomai 2.6.4 and with the latest I-pipe patch for Linux 3.14. Unmodified. > put the i-pipe TSC code back into smp_twd.c > to get a high-resolution clock. The TSC code in smp_twd.c conflicts with Linux global timer driver. Simply enable the global timer driver if you want to use the global timer as tsc. -- Gilles.