All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Giammarco Zacheo <g.zacheo@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] testsuite/clocktest hangs
Date: Thu, 30 Oct 2008 10:27:48 +0100	[thread overview]
Message-ID: <49097E14.8050708@domain.hid> (raw)
In-Reply-To: <b054e88e0810291200l51eb2c84g2c3a6277d35e0344@domain.hid>

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


  reply	other threads:[~2008-10-30  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29 19:00 [Xenomai-help] testsuite/clocktest hangs Giammarco Zacheo
2008-10-30  9:27 ` Jan Kiszka [this message]
2008-10-30 16:21   ` Giammarco Zacheo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49097E14.8050708@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=g.zacheo@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.