All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] problem with Task management services: Synchronous message passing
@ 2014-04-05  8:30 mobin Motallebizadeh
  2014-04-05  9:19 ` [Xenomai] FW: " mobin Motallebizadeh
  2014-04-05 11:47 ` [Xenomai] " Gilles Chanteperdrix
  0 siblings, 2 replies; 10+ messages in thread
From: mobin Motallebizadeh @ 2014-04-05  8:30 UTC (permalink / raw)
  To: xenomai@xenomai.org

When I try to run this code system hangs and crashes! Please help- Xenomai 2.6.3 - linux 3.8.13- default xenomai native makefile 
 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: satch.c
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140405/22017c88/attachment.c>

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

* [Xenomai] FW: problem with Task management services: Synchronous message passing
  2014-04-05  8:30 [Xenomai] problem with Task management services: Synchronous message passing mobin Motallebizadeh
@ 2014-04-05  9:19 ` mobin Motallebizadeh
  2014-04-05 11:47 ` [Xenomai] " Gilles Chanteperdrix
  1 sibling, 0 replies; 10+ messages in thread
From: mobin Motallebizadeh @ 2014-04-05  9:19 UTC (permalink / raw)
  To: xenomai@xenomai.org



When I try to run this code system hangs and crashes! Please help- Xenomai 2.6.3 - linux 3.8.13- default xenomai native makefile 
 		 	   		   		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: satch.c.txt
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140405/fbc541f7/attachment.txt>

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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-04-05  8:30 [Xenomai] problem with Task management services: Synchronous message passing mobin Motallebizadeh
  2014-04-05  9:19 ` [Xenomai] FW: " mobin Motallebizadeh
@ 2014-04-05 11:47 ` Gilles Chanteperdrix
       [not found]   ` <DUB121-W25E81E35147A9FAF3D07D81690@phx.gbl>
  1 sibling, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-05 11:47 UTC (permalink / raw)
  To: mobin Motallebizadeh; +Cc: xenomai@xenomai.org

On 04/05/2014 10:30 AM, mobin Motallebizadeh wrote:
> When I try to run this code system hangs and crashes! Please help- Xenomai 2.6.3 - linux 3.8.13- default xenomai native makefile 

The answer to your question is probably on the kernel console. Try to
retrieve it with UART or network. And also tell us on which
architecture/board you have this issue.


-- 
                                                                Gilles.


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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
       [not found]   ` <DUB121-W25E81E35147A9FAF3D07D81690@phx.gbl>
@ 2014-04-06 16:19     ` mobin Motallebizadeh
  2014-04-06 16:34       ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: mobin Motallebizadeh @ 2014-04-06 16:19 UTC (permalink / raw)
  To: xenomai@xenomai.org

I dont know what to do with kernel console.please explain more.
I'm running a x86_64 mint Linux pc (core i7)

> Date: Sat, 5 Apr 2014 13:47:20 +0200
> From: gilles.chanteperdrix@xenomai.org
> To: mobin.seven@live.com
> CC: xenomai@xenomai.org
> Subject: Re: [Xenomai] problem with Task management services: Synchronous message passing
> 
> On 04/05/2014 10:30 AM, mobin Motallebizadeh wrote:
> > When I try to run this code system hangs and crashes! Please help- Xenomai 2.6.3 - linux 3.8.13- default xenomai native makefile 
> 
> The answer to your question is probably on the kernel console. Try to
> retrieve it with UART or network. And also tell us on which
> architecture/board you have this issue.
> 
> 
> -- 
>                                                                 Gilles.
 		 	   		   		 	   		  

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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-04-06 16:19     ` mobin Motallebizadeh
@ 2014-04-06 16:34       ` Gilles Chanteperdrix
  2014-05-05  9:01         ` mobin Motallebizadeh
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-06 16:34 UTC (permalink / raw)
  To: mobin Motallebizadeh; +Cc: xenomai@xenomai.org

On 04/06/2014 06:19 PM, mobin Motallebizadeh wrote:
> I dont know what to do with kernel console.please explain more.
> I'm running a x86_64 mint Linux pc (core i7)

Send us to us what the kernel console tell you... we can not guess what
the issue is if you do not send us information about it.

Also, the xenomai mailing list is an old fashioned mailing list where we
do not top post. So please, no top posting.

-- 
                                                                Gilles.


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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-04-06 16:34       ` Gilles Chanteperdrix
@ 2014-05-05  9:01         ` mobin Motallebizadeh
  2014-05-05 10:43           ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: mobin Motallebizadeh @ 2014-05-05  9:01 UTC (permalink / raw)
  To: xenomai@xenomai.org



> Date: Sun, 6 Apr 2014 18:34:14 +0200
> From: gilles.chanteperdrix@xenomai.org
> To: mobin.seven@live.com
> CC: xenomai@xenomai.org
> Subject: Re: [Xenomai] problem with Task management services: Synchronous message passing
> 
> On 04/06/2014 06:19 PM, mobin Motallebizadeh wrote:
> > I dont know what to do with kernel console.please explain more.
> > I'm running a x86_64 mint Linux pc (core i7)
> 
> Send us to us what the kernel console tell you... we can not guess what
> the issue is if you do not send us information about it.
> 
> Also, the xenomai mailing list is an old fashioned mailing list where we
> do not top post. So please, no top posting.
> 
> -- 
>                                                                 Gilles.

The attachment is the log from netconsole.Thanks in advance 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: netconsole-log.txt
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140505/c167af7c/attachment.txt>

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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-05-05  9:01         ` mobin Motallebizadeh
@ 2014-05-05 10:43           ` Gilles Chanteperdrix
  2014-05-07 11:07             ` mobin Motallebizadeh
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-05-05 10:43 UTC (permalink / raw)
  To: mobin Motallebizadeh, xenomai@xenomai.org

On 05/05/2014 11:01 AM, mobin Motallebizadeh wrote:
> 
> 
>> Date: Sun, 6 Apr 2014 18:34:14 +0200
>> From: gilles.chanteperdrix@xenomai.org
>> To: mobin.seven@live.com
>> CC: xenomai@xenomai.org
>> Subject: Re: [Xenomai] problem with Task management services: Synchronous message passing
>>
>> On 04/06/2014 06:19 PM, mobin Motallebizadeh wrote:
>>> I dont know what to do with kernel console.please explain more.
>>> I'm running a x86_64 mint Linux pc (core i7)
>>
>> Send us to us what the kernel console tell you... we can not guess what
>> the issue is if you do not send us information about it.
>>
>> Also, the xenomai mailing list is an old fashioned mailing list where we
>> do not top post. So please, no top posting.
>>
>> -- 
>>                                                                 Gilles.
> 
> The attachment is the log from netconsole.Thanks in advance

The error is on the first line of the logs:

[  111.023581] Watchdog detected hard LOCKUP on cpu 0
[  128.060170] BUG: soft lockup - CPU#1 stuck for 23s! [satch:2028]

Your program has spinned 23s without relinquishing cpu.


-- 
                                                                Gilles.


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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-05-05 10:43           ` Gilles Chanteperdrix
@ 2014-05-07 11:07             ` mobin Motallebizadeh
  2014-05-07 11:12               ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: mobin Motallebizadeh @ 2014-05-07 11:07 UTC (permalink / raw)
  To: xenomai@xenomai.org



> Date: Mon, 5 May 2014 12:43:39 +0200
> From: gilles.chanteperdrix@xenomai.org
> To: mobin.seven@live.com; xenomai@xenomai.org
> Subject: Re: [Xenomai] problem with Task management services: Synchronous message passing
> 
> On 05/05/2014 11:01 AM, mobin Motallebizadeh wrote:
> > 
> > 
> >> Date: Sun, 6 Apr 2014 18:34:14 +0200
> >> From: gilles.chanteperdrix@xenomai.org
> >> To: mobin.seven@live.com
> >> CC: xenomai@xenomai.org
> >> Subject: Re: [Xenomai] problem with Task management services: Synchronous message passing
> >>
> >> On 04/06/2014 06:19 PM, mobin Motallebizadeh wrote:
> >>> I dont know what to do with kernel console.please explain more.
> >>> I'm running a x86_64 mint Linux pc (core i7)
> >>
> >> Send us to us what the kernel console tell you... we can not guess what
> >> the issue is if you do not send us information about it.
> >>
> >> Also, the xenomai mailing list is an old fashioned mailing list where we
> >> do not top post. So please, no top posting.
> >>
> >> -- 
> >>                                                                 Gilles.
> > 
> > The attachment is the log from netconsole.Thanks in advance
> 
> The error is on the first line of the logs:
> 
> [  111.023581] Watchdog detected hard LOCKUP on cpu 0
> [  128.060170] BUG: soft lockup - CPU#1 stuck for 23s! [satch:2028]
> 
> Your program has spinned 23s without relinquishing cpu.
> 
> 
> -- 
>                                                                 Gilles.

I changed the code with bounding  tasks running time with TIMEOUT. this time log says its a bug at task.c . why this is happening? is it a real bug? 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: netconsole-log2.txt
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140507/c77ea6bf/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: satch.c.txt
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140507/c77ea6bf/attachment-0001.txt>

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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-05-07 11:07             ` mobin Motallebizadeh
@ 2014-05-07 11:12               ` Gilles Chanteperdrix
  2014-05-12 17:19                 ` mobin Motallebizadeh
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-05-07 11:12 UTC (permalink / raw)
  To: mobin Motallebizadeh, xenomai@xenomai.org

On 05/07/2014 01:07 PM, mobin Motallebizadeh wrote:
> 
> 
>> Date: Mon, 5 May 2014 12:43:39 +0200 From:
>> gilles.chanteperdrix@xenomai.org To: mobin.seven@live.com;
>> xenomai@xenomai.org Subject: Re: [Xenomai] problem with Task
>> management services: Synchronous message passing
>> 
>> On 05/05/2014 11:01 AM, mobin Motallebizadeh wrote:
>>> 
>>> 
>>>> Date: Sun, 6 Apr 2014 18:34:14 +0200 From:
>>>> gilles.chanteperdrix@xenomai.org To: mobin.seven@live.com CC:
>>>> xenomai@xenomai.org Subject: Re: [Xenomai] problem with Task
>>>> management services: Synchronous message passing
>>>> 
>>>> On 04/06/2014 06:19 PM, mobin Motallebizadeh wrote:
>>>>> I dont know what to do with kernel console.please explain
>>>>> more. I'm running a x86_64 mint Linux pc (core i7)
>>>> 
>>>> Send us to us what the kernel console tell you... we can not
>>>> guess what the issue is if you do not send us information about
>>>> it.
>>>> 
>>>> Also, the xenomai mailing list is an old fashioned mailing list
>>>> where we do not top post. So please, no top posting.
>>>> 
>>>> -- Gilles.
>>> 
>>> The attachment is the log from netconsole.Thanks in advance
>> 
>> The error is on the first line of the logs:
>> 
>> [  111.023581] Watchdog detected hard LOCKUP on cpu 0 [
>> 128.060170] BUG: soft lockup - CPU#1 stuck for 23s! [satch:2028]
>> 
>> Your program has spinned 23s without relinquishing cpu.
>> 
>> 
>> -- Gilles.
> 
> I changed the code with bounding  tasks running time with TIMEOUT.
> this time log says its a bug at task.c . why this is happening? is it
> a real bug?

Do you have the same bug if you sleep a reasonable time between sending
messages instead of sleeping 40 nanoseconds?

-- 
                                                                Gilles.


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

* Re: [Xenomai] problem with Task management services: Synchronous message passing
  2014-05-07 11:12               ` Gilles Chanteperdrix
@ 2014-05-12 17:19                 ` mobin Motallebizadeh
  0 siblings, 0 replies; 10+ messages in thread
From: mobin Motallebizadeh @ 2014-05-12 17:19 UTC (permalink / raw)
  To: xenomai@xenomai.org


 
> Date: Wed, 7 May 2014 13:12:41 +0200
> From: gilles.chanteperdrix@xenomai.org
> To: mobin.seven@live.com; xenomai@xenomai.org
> Subject: Re: [Xenomai] problem with Task management services: Synchronous message passing
> 
> On 05/07/2014 01:07 PM, mobin Motallebizadeh wrote:
> > 
> > 
> >> Date: Mon, 5 May 2014 12:43:39 +0200 From:
> >> gilles.chanteperdrix@xenomai.org To: mobin.seven@live.com;
> >> xenomai@xenomai.org Subject: Re: [Xenomai] problem with Task
> >> management services: Synchronous message passing
> >> 
> >> On 05/05/2014 11:01 AM, mobin Motallebizadeh wrote:
> >>> 
> >>> 
> >>>> Date: Sun, 6 Apr 2014 18:34:14 +0200 From:
> >>>> gilles.chanteperdrix@xenomai.org To: mobin.seven@live.com CC:
> >>>> xenomai@xenomai.org Subject: Re: [Xenomai] problem with Task
> >>>> management services: Synchronous message passing
> >>>> 
> >>>> On 04/06/2014 06:19 PM, mobin Motallebizadeh wrote:
> >>>>> I dont know what to do with kernel console.please explain
> >>>>> more. I'm running a x86_64 mint Linux pc (core i7)
> >>>> 
> >>>> Send us to us what the kernel console tell you... we can not
> >>>> guess what the issue is if you do not send us information about
> >>>> it.
> >>>> 
> >>>> Also, the xenomai mailing list is an old fashioned mailing list
> >>>> where we do not top post. So please, no top posting.
> >>>> 
> >>>> -- Gilles.
> >>> 
> >>> The attachment is the log from netconsole.Thanks in advance
> >> 
> >> The error is on the first line of the logs:
> >> 
> >> [  111.023581] Watchdog detected hard LOCKUP on cpu 0 [
> >> 128.060170] BUG: soft lockup - CPU#1 stuck for 23s! [satch:2028]
> >> 
> >> Your program has spinned 23s without relinquishing cpu.
> >> 
> >> 
> >> -- Gilles.
> > 
> > I changed the code with bounding  tasks running time with TIMEOUT.
> > this time log says its a bug at task.c . why this is happening? is it
> > a real bug?
> 
> Do you have the same bug if you sleep a reasonable time between sending
> messages instead of sleeping 40 nanoseconds?
> 
> -- 
>                                                                 Gilles.
Thanks. fixed . sorry for being noob! 		 	   		  

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

end of thread, other threads:[~2014-05-12 17:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05  8:30 [Xenomai] problem with Task management services: Synchronous message passing mobin Motallebizadeh
2014-04-05  9:19 ` [Xenomai] FW: " mobin Motallebizadeh
2014-04-05 11:47 ` [Xenomai] " Gilles Chanteperdrix
     [not found]   ` <DUB121-W25E81E35147A9FAF3D07D81690@phx.gbl>
2014-04-06 16:19     ` mobin Motallebizadeh
2014-04-06 16:34       ` Gilles Chanteperdrix
2014-05-05  9:01         ` mobin Motallebizadeh
2014-05-05 10:43           ` Gilles Chanteperdrix
2014-05-07 11:07             ` mobin Motallebizadeh
2014-05-07 11:12               ` Gilles Chanteperdrix
2014-05-12 17:19                 ` mobin Motallebizadeh

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.