[Xenomai-core] Bug in Linux kernel 2.6.37 blocks xenomai threads

2011-04-04 Thread Sebastian Smolorz
Hi,

there is a bug in kernel 2.6.37 (fixed in 2.6.37.1, see commit 
1cdc65e1400d863f28af868ee1e645485b04f5ed) which blocks RT threads during 
creation. They stick to a certain CPU core for a certain amount of time 
(sometimes minutes ...) before they are migrated to the proper core and run 
as expected.

Philippe, Gilles, maybe you could generate a new i-pipe patch based on the 
newest 2.6.37-series kernel. I patched a 2.6.37.6 kernel with adeos-
ipipe-2.6.37-x86-2.9-00.patch and the problem was gone.

-- 
Sebastian

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Bug in Linux kernel 2.6.37 blocks xenomai threads

2011-04-04 Thread Philippe Gerum
On Mon, 2011-04-04 at 16:41 +0200, Sebastian Smolorz wrote:
 Hi,
 
 there is a bug in kernel 2.6.37 (fixed in 2.6.37.1, see commit 
 1cdc65e1400d863f28af868ee1e645485b04f5ed) which blocks RT threads during 
 creation. They stick to a certain CPU core for a certain amount of time 
 (sometimes minutes ...) before they are migrated to the proper core and run 
 as expected.
 
 Philippe, Gilles, maybe you could generate a new i-pipe patch based on the 
 newest 2.6.37-series kernel. I patched a 2.6.37.6 kernel with adeos-
 ipipe-2.6.37-x86-2.9-00.patch and the problem was gone.
 

Ok, I'll handle this. I have some patches from Jan which have been
pending for too long in my tree to add to this one.

-- 
Philippe.



___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Bug in Linux kernel 2.6.37 blocks xenomai threads

2011-04-04 Thread Gilles Chanteperdrix
Philippe Gerum wrote:
 On Mon, 2011-04-04 at 16:41 +0200, Sebastian Smolorz wrote:
 Hi,

 there is a bug in kernel 2.6.37 (fixed in 2.6.37.1, see commit 
 1cdc65e1400d863f28af868ee1e645485b04f5ed) which blocks RT threads during 
 creation. They stick to a certain CPU core for a certain amount of time 
 (sometimes minutes ...) before they are migrated to the proper core and run 
 as expected.

 Philippe, Gilles, maybe you could generate a new i-pipe patch based on the 
 newest 2.6.37-series kernel. I patched a 2.6.37.6 kernel with adeos-
 ipipe-2.6.37-x86-2.9-00.patch and the problem was gone.

 
 Ok, I'll handle this. I have some patches from Jan which have been
 pending for too long in my tree to add to this one.

Since you are at it, could you have a look at:
https://mail.gna.org/public/adeos-main/2011-04/msg1.html

-- 
Gilles.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Bug in Linux kernel 2.6.37 blocks xenomai threads

2011-04-04 Thread Philippe Gerum
On Mon, 2011-04-04 at 16:56 +0200, Gilles Chanteperdrix wrote:
 Philippe Gerum wrote:
  On Mon, 2011-04-04 at 16:41 +0200, Sebastian Smolorz wrote:
  Hi,
 
  there is a bug in kernel 2.6.37 (fixed in 2.6.37.1, see commit 
  1cdc65e1400d863f28af868ee1e645485b04f5ed) which blocks RT threads during 
  creation. They stick to a certain CPU core for a certain amount of time 
  (sometimes minutes ...) before they are migrated to the proper core and 
  run 
  as expected.
 
  Philippe, Gilles, maybe you could generate a new i-pipe patch based on the 
  newest 2.6.37-series kernel. I patched a 2.6.37.6 kernel with adeos-
  ipipe-2.6.37-x86-2.9-00.patch and the problem was gone.
 
  
  Ok, I'll handle this. I have some patches from Jan which have been
  pending for too long in my tree to add to this one.
 
 Since you are at it, could you have a look at:
 https://mail.gna.org/public/adeos-main/2011-04/msg1.html
 

Ok, queued. Thanks.

-- 
Philippe.



___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core