All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] problem with gtk
@ 2009-06-17  8:12 Ludovic Lemarchand
  2009-06-17  8:46 ` Gilles Chanteperdrix
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Ludovic Lemarchand @ 2009-06-17  8:12 UTC (permalink / raw)
  To: xenomai

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


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

* Re: [Xenomai-help] problem with gtk
  2009-06-17  8:12 [Xenomai-help] problem with gtk Ludovic Lemarchand
@ 2009-06-17  8:46 ` Gilles Chanteperdrix
  2009-06-25 13:35   ` [Xenomai-help] RE : " LEMARCHAND Ludovic
  2009-06-17 22:13 ` [Xenomai-help] " Philippe Gerum
  2009-06-25  9:36 ` [Xenomai-help] message pipe services LEMARCHAND Ludovic
  2 siblings, 1 reply; 13+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-17  8:46 UTC (permalink / raw)
  To: Ludovic Lemarchand; +Cc: xenomai

Ludovic Lemarchand wrote:
> 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.

Could you try Xenomai 2.4.8 with the included patch for Linux 2.6.29 ?

-- 
                                          Gilles



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

* Re: [Xenomai-help] problem with gtk
  2009-06-17  8:12 [Xenomai-help] problem with gtk Ludovic Lemarchand
  2009-06-17  8:46 ` Gilles Chanteperdrix
@ 2009-06-17 22:13 ` Philippe Gerum
  2009-06-25  9:36 ` [Xenomai-help] message pipe services LEMARCHAND Ludovic
  2 siblings, 0 replies; 13+ messages in thread
From: Philippe Gerum @ 2009-06-17 22:13 UTC (permalink / raw)
  To: Ludovic Lemarchand; +Cc: xenomai

On Wed, 2009-06-17 at 10:12 +0200, Ludovic Lemarchand wrote:
> 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.

> 
> I thank you for any response and suggestions.
> 
> Ludovic Lemarchand
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
-- 
Philippe.




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

* [Xenomai-help] message pipe services
  2009-06-17  8:12 [Xenomai-help] problem with gtk Ludovic Lemarchand
  2009-06-17  8:46 ` Gilles Chanteperdrix
  2009-06-17 22:13 ` [Xenomai-help] " Philippe Gerum
@ 2009-06-25  9:36 ` LEMARCHAND Ludovic
  2009-06-25 14:27   ` Gilles Chanteperdrix
  2 siblings, 1 reply; 13+ messages in thread
From: LEMARCHAND Ludovic @ 2009-06-25  9:36 UTC (permalink / raw)
  To: xenomai

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


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

* [Xenomai-help] RE :  problem with gtk
  2009-06-17  8:46 ` Gilles Chanteperdrix
@ 2009-06-25 13:35   ` LEMARCHAND Ludovic
  2009-06-25 13:56     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 13+ messages in thread
From: LEMARCHAND Ludovic @ 2009-06-25 13:35 UTC (permalink / raw)
  To: Gilles Chanteperdrix, xenomai

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:gilles.chanteperdrix@xenomai.org]
Date: mer. 17/06/2009 10:46
À: LEMARCHAND Ludovic
Cc: xenomai@xenomai.org
Objet : Re: [Xenomai-help] problem with gtk
 
Ludovic Lemarchand wrote:
> 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.

Could you try Xenomai 2.4.8 with the included patch for Linux 2.6.29 ?

-- 
                                          Gilles




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

* Re: [Xenomai-help] RE :  problem with gtk
  2009-06-25 13:35   ` [Xenomai-help] RE : " LEMARCHAND Ludovic
@ 2009-06-25 13:56     ` Gilles Chanteperdrix
  2009-06-25 14:54       ` [Xenomai-help] RE : " LEMARCHAND Ludovic
  0 siblings, 1 reply; 13+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-25 13:56 UTC (permalink / raw)
  To: LEMARCHAND Ludovic; +Cc: xenomai

LEMARCHAND Ludovic wrote:
> 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.

-- 
                                          Gilles



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

* Re: [Xenomai-help] message pipe services
  2009-06-25  9:36 ` [Xenomai-help] message pipe services LEMARCHAND Ludovic
@ 2009-06-25 14:27   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 13+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-25 14:27 UTC (permalink / raw)
  To: LEMARCHAND Ludovic; +Cc: xenomai

LEMARCHAND Ludovic wrote:
> 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.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 ?

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.

-- 
                                          Gilles



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

* [Xenomai-help] RE : RE :  problem with gtk
  2009-06-25 13:56     ` Gilles Chanteperdrix
@ 2009-06-25 14:54       ` LEMARCHAND Ludovic
  2009-06-25 15:08         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 13+ messages in thread
From: LEMARCHAND Ludovic @ 2009-06-25 14:54 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

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:gilles.chanteperdrix@xenomai.org]
Date: jeu. 25/06/2009 15:56
À: LEMARCHAND Ludovic
Cc: xenomai@xenomai.org
Objet : Re: RE : [Xenomai-help] problem with gtk
 
LEMARCHAND Ludovic wrote:
> 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.

-- 
                                          Gilles




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

* Re: [Xenomai-help] RE : RE :  problem with gtk
  2009-06-25 14:54       ` [Xenomai-help] RE : " LEMARCHAND Ludovic
@ 2009-06-25 15:08         ` Gilles Chanteperdrix
  2009-06-25 20:09           ` Gilles Chanteperdrix
  2009-06-25 20:57           ` Stefan Kisdaroczi
  0 siblings, 2 replies; 13+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-25 15:08 UTC (permalink / raw)
  To: LEMARCHAND Ludovic; +Cc: xenomai

LEMARCHAND Ludovic wrote:
> 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.

-- 
                                          Gilles



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

* Re: [Xenomai-help] RE : RE :  problem with gtk
  2009-06-25 15:08         ` Gilles Chanteperdrix
@ 2009-06-25 20:09           ` Gilles Chanteperdrix
  2009-06-25 20:57           ` Stefan Kisdaroczi
  1 sibling, 0 replies; 13+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-25 20:09 UTC (permalink / raw)
  To: LEMARCHAND Ludovic; +Cc: xenomai

Gilles Chanteperdrix wrote:
> LEMARCHAND Ludovic wrote:
>> 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.

-- 
					    Gilles.


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

* Re: [Xenomai-help] RE : RE :  problem with gtk
  2009-06-25 15:08         ` Gilles Chanteperdrix
  2009-06-25 20:09           ` Gilles Chanteperdrix
@ 2009-06-25 20:57           ` Stefan Kisdaroczi
  2009-06-25 21:00             ` Gilles Chanteperdrix
  1 sibling, 1 reply; 13+ messages in thread
From: Stefan Kisdaroczi @ 2009-06-25 20:57 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Gilles Chanteperdrix schrieb:
> [...]
> 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)




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

* Re: [Xenomai-help] RE : RE :  problem with gtk
  2009-06-25 20:57           ` Stefan Kisdaroczi
@ 2009-06-25 21:00             ` Gilles Chanteperdrix
  2009-06-25 21:38               ` Stefan Kisdaroczi
  0 siblings, 1 reply; 13+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-25 21:00 UTC (permalink / raw)
  To: Stefan Kisdaroczi; +Cc: xenomai

Stefan Kisdaroczi wrote:
> Gilles Chanteperdrix schrieb:
>> [...]
>> 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)

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 ?

-- 
					    Gilles.


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

* Re: [Xenomai-help] RE : RE :  problem with gtk
  2009-06-25 21:00             ` Gilles Chanteperdrix
@ 2009-06-25 21:38               ` Stefan Kisdaroczi
  0 siblings, 0 replies; 13+ messages in thread
From: Stefan Kisdaroczi @ 2009-06-25 21:38 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Gilles Chanteperdrix schrieb:
> Stefan Kisdaroczi wrote:
>   
>> Gilles Chanteperdrix schrieb:
>>     
>>> [...]
>>> 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)
>>     
>
> 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

> and it is an ahci sata, I would expect sata_nv to be nvidia ?
>   
sounds like.



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

end of thread, other threads:[~2009-06-25 21:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17  8:12 [Xenomai-help] problem with gtk Ludovic Lemarchand
2009-06-17  8:46 ` Gilles Chanteperdrix
2009-06-25 13:35   ` [Xenomai-help] RE : " LEMARCHAND Ludovic
2009-06-25 13:56     ` Gilles Chanteperdrix
2009-06-25 14:54       ` [Xenomai-help] RE : " LEMARCHAND Ludovic
2009-06-25 15:08         ` Gilles Chanteperdrix
2009-06-25 20:09           ` Gilles Chanteperdrix
2009-06-25 20:57           ` Stefan Kisdaroczi
2009-06-25 21:00             ` Gilles Chanteperdrix
2009-06-25 21:38               ` Stefan Kisdaroczi
2009-06-17 22:13 ` [Xenomai-help] " Philippe Gerum
2009-06-25  9:36 ` [Xenomai-help] message pipe services LEMARCHAND Ludovic
2009-06-25 14:27   ` 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.