From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5284C64B.9010504@xenomai.org> Date: Thu, 14 Nov 2013 13:47:07 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <52839493.4040300@xenomai.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] patch the kernel? List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Grant Cc: xenomai@xenomai.org On 11/14/2013 01:31 PM, Grant wrote: >>> Is patching the kernel necessary in order to use xenomai? >> >> It depends on which version of Xenomai you are talking about. If you are >> talking about Xenomai stable version, then yes, you have to follow the >> installation instructions here: >> http://www.xenomai.org/documentation/xenomai-2.6/html/README.INSTALL/ >> >> Which include running the "prepare-kernel.sh" patch, which modifies the >> kernel. >> >> If you are talking about Xenomai current development version, a.k.a. Xenomai >> forge, then it gives you the choice of running: >> - on an unmodified kernel (but you will not have real-time guarantees); >> - a kernel patched with the PREEMPT_RT patch; >> - a kernel modified as with the stable version. >> >> The current state of Xenomai forge is that it is stable enough on the x86 >> and ARM architectures to run a latency test under load. > > Thanks I really need to try Xenomai forge. I wish Gentoo had an > ebuild but there is a bug for it: > > https://bugs.gentoo.org/show_bug.cgi?id=438236 Well, building xenomai user-space support is easy enough to compile without a packaging system. It is just a matter of untarring the sources and running ./configure make sudo make install The documentation gives details about the available options, but the defaults should be just fine. -- Gilles.