All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] testsuite/clocktest hangs
@ 2008-10-29 19:00 Giammarco Zacheo
  2008-10-30  9:27 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Giammarco Zacheo @ 2008-10-29 19:00 UTC (permalink / raw)
  To: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

Hi all,
  I am running some tests on my mpc5200b board running Xenomai 2.4.5 with
kernel DENX-2.6.25. When I run the clocktest program, it hangs after a
variable period of time. Xenomai's watchdog recognizes it as a runaway task,
and gdb tells that thread 1 is hanging at nanosleep(). Same behaviour with
DENX-2.6.26

Here's the output of gdb:

Program received signal SIGINT, Interrupt.
[Switching to Thread 0x48024d90 (LWP 352)]
0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (Thread 0x48024d90 (LWP 352))]#0  0x0fe1ebb8 in
nanosleep () from /lib/libc.so.6
(gdb) bt
#0  0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
#1  0x0fe4bea0 in usleep () from /lib/libc.so.6
#2  0x1000259c in main (argc=1, argv=0xbfa6eb84) at clocktest.c:243
(gdb)

Thank you

Giammarco

[-- Attachment #2: Type: text/html, Size: 921 bytes --]

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

* Re: [Xenomai-help] testsuite/clocktest hangs
  2008-10-29 19:00 [Xenomai-help] testsuite/clocktest hangs Giammarco Zacheo
@ 2008-10-30  9:27 ` Jan Kiszka
  2008-10-30 16:21   ` Giammarco Zacheo
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2008-10-30  9:27 UTC (permalink / raw)
  To: Giammarco Zacheo; +Cc: xenomai-help

Giammarco Zacheo wrote:
> Hi all,
>   I am running some tests on my mpc5200b board running Xenomai 2.4.5 with
> kernel DENX-2.6.25. When I run the clocktest program, it hangs after a
> variable period of time. Xenomai's watchdog recognizes it as a runaway task,
> and gdb tells that thread 1 is hanging at nanosleep(). Same behaviour with
> DENX-2.6.26
> 
> Here's the output of gdb:
> 
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 0x48024d90 (LWP 352)]
> 0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
> (gdb) thread 1
> [Switching to thread 1 (Thread 0x48024d90 (LWP 352))]#0  0x0fe1ebb8 in
> nanosleep () from /lib/libc.so.6
> (gdb) bt
> #0  0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
> #1  0x0fe4bea0 in usleep () from /lib/libc.so.6
> #2  0x1000259c in main (argc=1, argv=0xbfa6eb84) at clocktest.c:243
> (gdb)

Could you try latest clocktest.c from SVN (2.4.x or trunk)? I fixed a
very similar issue recently, but I'm not sure if it applies to your
scenario.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


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

* Re: [Xenomai-help] testsuite/clocktest hangs
  2008-10-30  9:27 ` Jan Kiszka
@ 2008-10-30 16:21   ` Giammarco Zacheo
  0 siblings, 0 replies; 3+ messages in thread
From: Giammarco Zacheo @ 2008-10-30 16:21 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

Fixed. Thanks.

Giammarco

On Thu, Oct 30, 2008 at 10:27 AM, Jan Kiszka <jan.kiszka@domain.hid> wrote:

> Giammarco Zacheo wrote:
> > Hi all,
> >   I am running some tests on my mpc5200b board running Xenomai 2.4.5 with
> > kernel DENX-2.6.25. When I run the clocktest program, it hangs after a
> > variable period of time. Xenomai's watchdog recognizes it as a runaway
> task,
> > and gdb tells that thread 1 is hanging at nanosleep(). Same behaviour
> with
> > DENX-2.6.26
> >
> > Here's the output of gdb:
> >
> > Program received signal SIGINT, Interrupt.
> > [Switching to Thread 0x48024d90 (LWP 352)]
> > 0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
> > (gdb) thread 1
> > [Switching to thread 1 (Thread 0x48024d90 (LWP 352))]#0  0x0fe1ebb8 in
> > nanosleep () from /lib/libc.so.6
> > (gdb) bt
> > #0  0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
> > #1  0x0fe4bea0 in usleep () from /lib/libc.so.6
> > #2  0x1000259c in main (argc=1, argv=0xbfa6eb84) at clocktest.c:243
> > (gdb)
>
> Could you try latest clocktest.c from SVN (2.4.x or trunk)? I fixed a
> very similar issue recently, but I'm not sure if it applies to your
> scenario.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT SE 2
> Corporate Competence Center Embedded Linux
>

[-- Attachment #2: Type: text/html, Size: 1751 bytes --]

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

end of thread, other threads:[~2008-10-30 16:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 19:00 [Xenomai-help] testsuite/clocktest hangs Giammarco Zacheo
2008-10-30  9:27 ` Jan Kiszka
2008-10-30 16:21   ` Giammarco Zacheo

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.