problem with gtk
Hello
I have patched a debian kernel 2.6.26 with Xenomai 2.4.7.
When I use Xenomai with gnome environment my computer freeze.
So, I have install kde. Its works perfectly but when I use a gtk software like firefox or eclipse, my computer freeze too.
I don't understand why Xenomai is not compatible with gtk.
I thank you for any response and suggestions.
Ludovic Lemarchand
Quoted 6 lines · Ludovic Lemarchand
Hello
I have patched a debian kernel 2.6.26 with Xenomai 2.4.7.
When I use Xenomai with gnome environment my computer freeze.
Quoted 7 lines
So, I have install kde. Its works perfectly but when I use a gtk software like firefox or eclipse, my computer freeze too.
I don't understand why Xenomai is not compatible with gtk.
I thank you for any response and suggestions.
Could you try Xenomai 2.4.8 with the included patch for Linux 2.6.29 ?
Signature · 1 line
Gilles
Quoted 11 lines · Ludovic Lemarchand
Hello
I have patched a debian kernel 2.6.26 with Xenomai 2.4.7.
When I use Xenomai with gnome environment my computer freeze.
So, I have install kde. Its works perfectly but when I use a gtk software like firefox or eclipse, my computer freeze too.
I don't understand why Xenomai is not compatible with gtk.
Any x86 patch older than adeos-ipipe-2.6.28.9-x86-2.2-07 is broken on recent kernel releases on SMP hardware running a SMP kernel config, due to a TLB flush issue. 2.6.26 patches are known to have this issue. You should definitely use anything >= 2.2-07 for the x86 series.
Quoted 9 lines
I thank you for any response and suggestions.
Ludovic Lemarchand
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
[Xenomai-help] message pipe services
In reply to Ludovic LemarchandHello
I have an application with xenomai task and a standard linux process in order to establish a communication between them. I have read that message pipe services is the best solution.
So, I tested the pipe.c exemple, but it doesn't compile. I have include native/pipe.h library but it doesn't find RT_PIPE_MSG and rt_pipe_alloc(). So, I take a look at the library and this elements are declared between ifdef __KERNEL__ ... endif, but this condition is never validate.
How can I register my xenomai task as __KERNEL__ ? Is it automatic, have I something to do ?
Thank you for any response and suggestions.
Ludovic Lemarchand
Hello
I solved the problem of the freeze.
I disabled the Symmetric multi-processing support (SMP) and now it works with no freeze.
Ludovic Lemarchand
-------- Message d'origine--------
De: Gilles Chanteperdrix [mailto:[email protected]]
Date: mer. 17/06/2009 10:46
À: LEMARCHAND Ludovic
Cc: [email protected]
Objet : Re: [Xenomai-help] problem with gtk
Quoted 6 lines · Ludovic Lemarchand
Hello
I have patched a debian kernel 2.6.26 with Xenomai 2.4.7.
When I use Xenomai with gnome environment my computer freeze.
Quoted 7 lines
So, I have install kde. Its works perfectly but when I use a gtk software like firefox or eclipse, my computer freeze too.
I don't understand why Xenomai is not compatible with gtk.
I thank you for any response and suggestions.
Could you try Xenomai 2.4.8 with the included patch for Linux 2.6.29 ?
Signature · 1 line
Gilles
Quoted 7 lines · LEMARCHAND Ludovic
Hello
I solved the problem of the freeze.
I disabled the Symmetric multi-processing support (SMP) and now it works with no freeze.
Ludovic Lemarchand
That is not normal. Does the SMP kernel freeze with Xenomai 2.4.8 and the ipipe patch for 2.6.29 it contains ?
If yes, then please try to get the kernel logs and post them on this list.
Signature · 1 line
Gilles
Re: [Xenomai-help] message pipe services
In reply to LEMARCHAND LudovicQuoted 9 lines · LEMARCHAND Ludovic
Hello
I have an application with xenomai task and a standard linux process in order to establish a communication between them. I have read that message pipe services is the best solution.
So, I tested the
pipe.cexemple, but it doesn't compile. I have includenative/pipe.hlibrary but it doesn't findRT_PIPE_MSGandrt_pipe_alloc(). So, I take a look at the library and this elements are declared between ifdef__KERNEL__... endif, but this condition is never validate.How can I register my xenomai task as
__KERNEL__? Is it automatic, have I something to do ?
See:
http://www.xenomai.org/documentation/trunk/html/api/group__pipe.html
Each service documentation tells the context from which it may be called. Some services may only be called from kernel context (that is, if you are compiling a kernel module), some other may be called from user-space.
What you are likely looking for is rt_pipe_create.
Signature · 1 line
Gilles
Hello
I use Xenomai 2.4.7 with the ipipe patch for 2.6.26 because I should use a 2.6.26 Debian kernel.
Ludovic lemarchand
-------- Message d'origine--------
De: Gilles Chanteperdrix [mailto:[email protected]]
Date: jeu. 25/06/2009 15:56
À: LEMARCHAND Ludovic
Cc: [email protected]
Objet : Re: RE : [Xenomai-help] problem with gtk
Quoted 7 lines · LEMARCHAND Ludovic
Hello
I solved the problem of the freeze.
I disabled the Symmetric multi-processing support (SMP) and now it works with no freeze.
Ludovic Lemarchand
That is not normal. Does the SMP kernel freeze with Xenomai 2.4.8 and the ipipe patch for 2.6.29 it contains ?
If yes, then please try to get the kernel logs and post them on this list.
Signature · 1 line
Gilles
Quoted 3 lines · LEMARCHAND Ludovic
Hello
I use Xenomai 2.4.7 with the ipipe patch for 2.6.26 because I should use a 2.6.26 Debian kernel.
Well, this version of the I-pipe patch is known to be broken on SMP machines. It was fixed but in later patches (the earliest version fixed is 2.6.26 I think).
And you can compile Xenomai as a debian package without resorting to the xenomai repository, see:
http://www.xenomai.org/index.php/Building_Debian_packages
Well, I am afraid these instructions are a bit out-dated since they are refering to svn. So, please use git-buildpackage instead of svn-buildpackage (the url of xenomai git repository is available on xenomai main page at http://www.xenomai.org).
Besides, I am having SATA controller problems with the latest 2.6.26 kernel from debian (unpatched I mean), so I would recommend to stay away from it.
Signature · 1 line
Gilles
Quoted 8 lines · Gilles Chanteperdrix
Quoted 3 lines · LEMARCHAND Ludovic
Hello
I use Xenomai 2.4.7 with the ipipe patch for 2.6.26 because I should use a 2.6.26 Debian kernel.
Well, this version of the I-pipe patch is known to be broken on SMP machines. It was fixed but in later patches (the earliest version fixed is 2.6.26 I think).
I meant 2.6.28. The first fixed version is 2.6.28.
Signature · 1 line
Gilles.
Quoted 5 lines · Gilles Chanteperdrix
[...]
Besides, I am having SATA controller problems with the latest 2.6.26 kernel from debian (unpatched I mean), so I would recommend to stay away from it.
2.6.26-16 or 2.6.26-17 ?
debian changelog linux 2.6.26-17 (stable, 2009-06-21):
linux-2.6 (2.6.26-17) stable; urgency=high
* Revert "sata_nv: avoid link reset on controllers where it's broken" due to regression. (closes: #533657)
Quoted 6 lines · Stefan Kisdaroczi
Quoted 5 lines · Gilles Chanteperdrix
[...]
Besides, I am having SATA controller problems with the latest 2.6.26 kernel from debian (unpatched I mean), so I would recommend to stay away from it.
Quoted 8 lines
2.6.26-16 or 2.6.26-17 ?
debian changelog linux 2.6.26-17 (stable, 2009-06-21):
linux-2.6 (2.6.26-17) stable; urgency=high
* Revert "
sata_nv: avoid link reset on controllers where it's broken" due to regression. (closes: #533657)
I am using debian stable, so all I have is the package name 2.6.26-2, and it is an ahci sata, I would expect sata_nv to be nvidia ?
Signature · 1 line
Gilles.
Quoted 14 lines · Gilles Chanteperdrix
Quoted 12 lines · Stefan Kisdaroczi
Quoted 6 lines · Gilles Chanteperdrix
[...]
Besides, I am having SATA controller problems with the latest 2.6.26 kernel from debian (unpatched I mean), so I would recommend to stay away from it.2.6.26-16 or 2.6.26-17 ?
debian changelog linux 2.6.26-17 (stable, 2009-06-21):
Quoted 8 lines
Quoted 5 lines
linux-2.6 (2.6.26-17) stable; urgency=high
* Revert "
sata_nv: avoid link reset on controllers where it's broken" due to regression. (closes: #533657)I am using debian stable, so all I have is the package name 2.6.26-2,
box:~# apt-show-versions linux-image-2.6.26-2-686 linux-image-2.6.26-2-686/lenny uptodate 2.6.26-15lenny3
box:~# apt-show-versions linux-source-2.6.26 linux-source-2.6.26 2.6.26-17 newer than version in archive
Quoted 2 lines
and it is an ahci sata, I would expect
sata_nvto be nvidia ?
sounds like.