* [Xenomai] gdbserver hangs on rt_task_create()
@ 2015-03-03 0:16 Mathew Benson
2015-03-03 0:44 ` Gilles Chanteperdrix
0 siblings, 1 reply; 8+ messages in thread
From: Mathew Benson @ 2015-03-03 0:16 UTC (permalink / raw)
To: xenomai@xenomai.org
When I step through my code, gdbserver hangs on rt_task_create() and never
comes back. I'm using Xenomai 2.6.4. I noticed in the archives several
other people ran into similar or identical problems in previous versions,
but I don't see a fix or workaround.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-03 0:16 [Xenomai] gdbserver hangs on rt_task_create() Mathew Benson
@ 2015-03-03 0:44 ` Gilles Chanteperdrix
2015-03-03 1:14 ` Mathew Benson
0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2015-03-03 0:44 UTC (permalink / raw)
To: Mathew Benson; +Cc: xenomai@xenomai.org
On Mon, Mar 02, 2015 at 06:16:42PM -0600, Mathew Benson wrote:
> When I step through my code, gdbserver hangs on rt_task_create() and never
> comes back. I'm using Xenomai 2.6.4. I noticed in the archives several
> other people ran into similar or identical problems in previous versions,
> but I don't see a fix or workaround.
As far I know there has been several such cases which have all been
solved. But such fixes may be in the I-pipe patches, so, what
version of the I-pipe patch are you using ?
--
Gilles.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-03 0:44 ` Gilles Chanteperdrix
@ 2015-03-03 1:14 ` Mathew Benson
2015-03-03 3:07 ` Mathew Benson
0 siblings, 1 reply; 8+ messages in thread
From: Mathew Benson @ 2015-03-03 1:14 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org
To make life a bit easier, I used a prebuilt machinekit image from
http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone53/. I'm
stepping up to
http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone67/ right
now. I can give you details when I get a working build again.
On Mon, Mar 2, 2015 at 6:44 PM, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:
> On Mon, Mar 02, 2015 at 06:16:42PM -0600, Mathew Benson wrote:
> > When I step through my code, gdbserver hangs on rt_task_create() and
> never
> > comes back. I'm using Xenomai 2.6.4. I noticed in the archives several
> > other people ran into similar or identical problems in previous versions,
> > but I don't see a fix or workaround.
>
> As far I know there has been several such cases which have all been
> solved. But such fixes may be in the I-pipe patches, so, what
> version of the I-pipe patch are you using ?
>
> --
> Gilles.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-03 1:14 ` Mathew Benson
@ 2015-03-03 3:07 ` Mathew Benson
2015-03-03 14:14 ` Mathew Benson
0 siblings, 1 reply; 8+ messages in thread
From: Mathew Benson @ 2015-03-03 3:07 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org
It doesn't look like that bone67 build is completed yet so I rolled back to
the original bone53 build. With a clean load, I get the same behavior.
When I run 'cat /proc/ipipe/version', I get '3'. Also, I'm running Xenomai
2.6.3, not 2.6.4. Is there an additional patch? If so, how can I tell if
the patch is applied?
On Mon, Mar 2, 2015 at 7:14 PM, Mathew Benson <mathew.benson@gmail.com>
wrote:
> To make life a bit easier, I used a prebuilt machinekit image from
> http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone53/. I'm
> stepping up to
> http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone67/ right
> now. I can give you details when I get a working build again.
>
> On Mon, Mar 2, 2015 at 6:44 PM, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> wrote:
>
>> On Mon, Mar 02, 2015 at 06:16:42PM -0600, Mathew Benson wrote:
>> > When I step through my code, gdbserver hangs on rt_task_create() and
>> never
>> > comes back. I'm using Xenomai 2.6.4. I noticed in the archives several
>> > other people ran into similar or identical problems in previous
>> versions,
>> > but I don't see a fix or workaround.
>>
>> As far I know there has been several such cases which have all been
>> solved. But such fixes may be in the I-pipe patches, so, what
>> version of the I-pipe patch are you using ?
>>
>> --
>> Gilles.
>>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-03 3:07 ` Mathew Benson
@ 2015-03-03 14:14 ` Mathew Benson
2015-03-03 15:11 ` Gilles Chanteperdrix
0 siblings, 1 reply; 8+ messages in thread
From: Mathew Benson @ 2015-03-03 14:14 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org
Slide 13 of a presentation I found at
http://www.denx.de/en/pub/News/Xum2009AbstractsAndPresentations/About_the_Challenges_and_Successes_with_Xenomai_in_an_Industrial_Environment.pdf,
states:
">=Linux-2.6.30: gdbserver freezes when debugging code where a thread is
created inside of another thread."
This is exactly what I'm seeing now. It looks like this presentation was
written in 2009. Is this still a known problem?
On Mon, Mar 2, 2015 at 9:07 PM, Mathew Benson <mathew.benson@gmail.com>
wrote:
> It doesn't look like that bone67 build is completed yet so I rolled back
> to the original bone53 build. With a clean load, I get the same behavior.
> When I run 'cat /proc/ipipe/version', I get '3'. Also, I'm running Xenomai
> 2.6.3, not 2.6.4. Is there an additional patch? If so, how can I tell if
> the patch is applied?
>
> On Mon, Mar 2, 2015 at 7:14 PM, Mathew Benson <mathew.benson@gmail.com>
> wrote:
>
>> To make life a bit easier, I used a prebuilt machinekit image from
>> http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone53/. I'm
>> stepping up to
>> http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone67/ right
>> now. I can give you details when I get a working build again.
>>
>> On Mon, Mar 2, 2015 at 6:44 PM, Gilles Chanteperdrix <
>> gilles.chanteperdrix@xenomai.org> wrote:
>>
>>> On Mon, Mar 02, 2015 at 06:16:42PM -0600, Mathew Benson wrote:
>>> > When I step through my code, gdbserver hangs on rt_task_create() and
>>> never
>>> > comes back. I'm using Xenomai 2.6.4. I noticed in the archives
>>> several
>>> > other people ran into similar or identical problems in previous
>>> versions,
>>> > but I don't see a fix or workaround.
>>>
>>> As far I know there has been several such cases which have all been
>>> solved. But such fixes may be in the I-pipe patches, so, what
>>> version of the I-pipe patch are you using ?
>>>
>>> --
>>> Gilles.
>>>
>>
>>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-03 14:14 ` Mathew Benson
@ 2015-03-03 15:11 ` Gilles Chanteperdrix
2015-03-04 3:07 ` Mathew Benson
0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2015-03-03 15:11 UTC (permalink / raw)
To: Mathew Benson; +Cc: xenomai@xenomai.org
On Tue, Mar 03, 2015 at 08:14:52AM -0600, Mathew Benson wrote:
> Slide 13 of a presentation I found at
> http://www.denx.de/en/pub/News/Xum2009AbstractsAndPresentations/About_the_Challenges_and_Successes_with_Xenomai_in_an_Industrial_Environment.pdf,
> states:
>
> ">=Linux-2.6.30: gdbserver freezes when debugging code where a thread is
> created inside of another thread."
>
> This is exactly what I'm seeing now. It looks like this presentation was
> written in 2009. Is this still a known problem?
Not that I know of. Again: we fix issues with gdb when we are told
about ones. But if you are using an I-pipe patch from 2009, then
maybe yes, you have an issue that has been fixed. So, again, please
tell us the version the I-pipe patch you are using. An I-pipe patch
has a name like: ipipe-core-3.14.17-arm-4.patch
--
Gilles.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-03 15:11 ` Gilles Chanteperdrix
@ 2015-03-04 3:07 ` Mathew Benson
2015-03-04 9:17 ` Gilles Chanteperdrix
0 siblings, 1 reply; 8+ messages in thread
From: Mathew Benson @ 2015-03-04 3:07 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org
I didn't actually build or Xenomai myself. I used the prebuilt
MachineKit. I will check with the MachineKit maintainers, but is there a
way to determine if the patch is applied from the as-built?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai] gdbserver hangs on rt_task_create()
2015-03-04 3:07 ` Mathew Benson
@ 2015-03-04 9:17 ` Gilles Chanteperdrix
0 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2015-03-04 9:17 UTC (permalink / raw)
To: Mathew Benson; +Cc: xenomai@xenomai.org
On Tue, Mar 03, 2015 at 09:07:23PM -0600, Mathew Benson wrote:
> I didn't actually build or Xenomai myself. I used the prebuilt
> MachineKit. I will check with the MachineKit maintainers, but is there a
> way to determine if the patch is applied from the as-built?
uname -a
cat /proc/ipipe/version
--
Gilles.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-03-04 9:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 0:16 [Xenomai] gdbserver hangs on rt_task_create() Mathew Benson
2015-03-03 0:44 ` Gilles Chanteperdrix
2015-03-03 1:14 ` Mathew Benson
2015-03-03 3:07 ` Mathew Benson
2015-03-03 14:14 ` Mathew Benson
2015-03-03 15:11 ` Gilles Chanteperdrix
2015-03-04 3:07 ` Mathew Benson
2015-03-04 9:17 ` 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.