Re: clock_nanosleep: cyclic POSIX thread freezes during timesetting

From: Thomas Gleixner
Date: Mon Oct 05 2009 - 14:59:09 EST


Markus,

On Mon, 5 Oct 2009, Mehlan, Markus wrote:
> I have the following problem on a MPC5200b customer board,
> tested with linux-2.6.24.7-rt11 and 2.6.26.8-rt16.
>
> I start the test application. Every 200ms I can see a new
> line on the console ("ping"). Then I set the time with "date
> 100509152009" a few times on
> a second console. The effect is that the output on the first console
> freezes and if I check
> the time with "date", the time doesn't progress during the "freeze
> time". After the
> "freeze time" the time makes a jump of several seconds.
>
> In the real application the "ping" should reset the watchdog-timer. The
> freezing causes
> an elapsing of the watchdog-timer and finally a reboot.
>
> Has someone an idea?

Just tested on a MPC5200 board with cyclictest and setting date on a
second console. Unfortunately I cannot reproduce that problem. Can you
try to activate the function tracer and capture what the system is
doing. That might us give some clue about the problem.

Thanks,

tglx




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/