Skip to contentSkip to conversation

V2.3.3 and kernel 2.6.22?

Xenomai-help M. Koehrer 3 participants 3 messages Jul 30, 2007

lore
Share & tools
lore

M. Koehrer

author
#0 lore raw

Hi everybody,

I want to know if it is possible to use Xenomai 2.3.3 with the Adeos patch adeos-ipipe-2.6.22-i386-1.9-01.patch (e.g. from the Xenomai svn trunk)? Or is the 2.3.3 limited to those Adeos patches that are part of the 2.3.3 release?

If it is possible to use the adeos-ipipe-2.6.22 patch, what risks could be caused by this "not official" patch?

Or more general: What is the relation between Xenomai and Adeos patches? Are the Adeos patches used (and tested) somewhere outside of Xenomai? Or is it always the bundle Adeos + Xenomai?

Thanks for a clarification.

Regards

Mathias

Signature · 9 lines
Mathias Koehrer
[email protected]


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  34,95 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
#1 lore raw
Quoted 8 lines · M. Koehrer

Hi everybody,

I want to know if it is possible to use Xenomai 2.3.3 with the Adeos patch adeos-ipipe-2.6.22-i386-1.9-01.patch (e.g. from the Xenomai svn trunk)? Or is the 2.3.3 limited to those Adeos patches that are part of the 2.3.3 release?

If it is possible to use the adeos-ipipe-2.6.22 patch, what risks could be caused by this "not official" patch?

As Philippe explained earlier, this won't work because Xenomai 2.4 required some deeper modifications to adopt the new clockevent subsystem that came with 2.6.21 for i386. Those changes will not be backported to the official stable 2.3 series in order to avoid regressions. But you are free to do such a backport on your own - though I would rather suggest to _first_ test 2.4-rc1 if it doesn't work as well (given that it also includes the global affinity patch...).

Quoted 4 lines

Or more general: What is the relation between Xenomai and Adeos patches? Are the Adeos patches used (and tested) somewhere outside of Xenomai? Or is it always the bundle Adeos + Xenomai?

Xenomai is the only true official user of Adeos/I-pipe. Still, there are furthers as you may know: RTAI adapts the patches for its own use regularly (but fails to cooperate on the development, even doesn't report any glitches of the patches). And there is at least one user group at Siemens A&D (Nürnberg) as you can grab from the archives. But they changed the patches significantly and are probably yet on some older kernel (2.6.15).

HTH,
Jan

#2 lore raw
In reply to M. Koehrer
Quoted 4 lines · M. Koehrer

Hi everybody,

I want to know if it is possible to use Xenomai 2.3.3 with the Adeos patch adeos-ipipe-2.6.22-i386-1.9-01.patch (e.g. from the Xenomai svn trunk)?

No. 2.6.22/x86 introduces some drastic changes into the timer infrastructure Xenomai needs to cope with. Since v2.3.x is a stable series, it would not be possible to change its core the way Linux requires for supporting 2.6.22 and beyond; the changes would be too significant. So adeos-2.6.22 is only available starting from 2.4-rc1, because we may change the core Xenomai infrastructure appropriately there, and did so.

Quoted 2 lines

Or is the 2.3.3 limited to those Adeos patches that are part of the 2.3.3 release?

v2.3.3 is limited to 2.6.20 and earlier for x86. The situation may be different for other archs, like powerpc for instance which may use more recent kernels.

Quoted 2 lines

If it is possible to use the adeos-ipipe-2.6.22 patch, what risks could be caused by this "not official" patch?

Which patch are you referring too? Xenomai always uses official Adeos patches, and 2.6.22-1.9-01 is also available from the official Adeos download area. Those are the very same patches.

Quoted 5 lines

Or more general: What is the relation between Xenomai and Adeos patches? Are the Adeos patches used (and tested) somewhere outside of Xenomai? Or is it always the bundle Adeos + Xenomai?

Adeos and Xenomai projects have the same lead maintainer, i.e. /me, which somehow simplifies a number of things for users since I tend to make sure Adeos will always fullfil Xenomai's needs, but makes them conversely complex for me.

This said, Xenomai and Adeos are distinct projects founded at different times, even if in practice, Xenomai is Adeos's privileged user. I know of several projects using Adeos or part of under the hood, with or without RT extension on top, but patch validation is always conducted with Xenomai on top.

Quoted 10 lines

Thanks for a clarification.

Regards

Mathias

Signature · 1 line
Philippe.