All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] patch the kernel?
@ 2013-11-13 13:36 Grant
  2013-11-13 15:02 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Grant @ 2013-11-13 13:36 UTC (permalink / raw)
  To: xenomai

Is patching the kernel necessary in order to use xenomai?

- Grant


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai] patch the kernel?
  2013-11-13 13:36 [Xenomai] patch the kernel? Grant
@ 2013-11-13 15:02 ` Gilles Chanteperdrix
  2013-11-13 15:10   ` Philippe Gerum
  2013-11-14 12:31   ` Grant
  0 siblings, 2 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2013-11-13 15:02 UTC (permalink / raw)
  To: Grant; +Cc: xenomai

On 11/13/2013 02:36 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.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai] patch the kernel?
  2013-11-13 15:02 ` Gilles Chanteperdrix
@ 2013-11-13 15:10   ` Philippe Gerum
  2013-11-14 12:31   ` Grant
  1 sibling, 0 replies; 5+ messages in thread
From: Philippe Gerum @ 2013-11-13 15:10 UTC (permalink / raw)
  To: Gilles Chanteperdrix, Grant; +Cc: xenomai

On 11/13/2013 04:02 PM, Gilles Chanteperdrix wrote:
> On 11/13/2013 02:36 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.
>

blackfin and powerpc32 are ok too.
powerpc64 untested yet.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai] patch the kernel?
  2013-11-13 15:02 ` Gilles Chanteperdrix
  2013-11-13 15:10   ` Philippe Gerum
@ 2013-11-14 12:31   ` Grant
  2013-11-14 12:47     ` Gilles Chanteperdrix
  1 sibling, 1 reply; 5+ messages in thread
From: Grant @ 2013-11-14 12:31 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

>> 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

- Grant


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai] patch the kernel?
  2013-11-14 12:31   ` Grant
@ 2013-11-14 12:47     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2013-11-14 12:47 UTC (permalink / raw)
  To: Grant; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-14 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 13:36 [Xenomai] patch the kernel? Grant
2013-11-13 15:02 ` Gilles Chanteperdrix
2013-11-13 15:10   ` Philippe Gerum
2013-11-14 12:31   ` Grant
2013-11-14 12:47     ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.