Re: 2.6.14-rc4-rt7

From: Ingo Molnar
Date: Fri Oct 21 2005 - 03:05:35 EST



* Fernando Lopez-Lezcano <nando@xxxxxxxxxxxxxxxxxx> wrote:

> Found this on the logs:
>
> Oct 20 15:52:57 cmn3 kernel: BUG in hydrogen:4810, ktimer expired
> short without user signal!:

hm. This suggests that hydrogen executing schedule_ktimer() was waken up
45 microseconds too early, and most likely it was not woken up by the
hres timer code (which should have done the wakeup 45 microseconds later
anyway).

I've added special hres-wakeup-debugging code to the scheduler in
-rc5-rt2 to catch this particular scenario, you might want to give it a
try. The new code is always enabled and it should pinpoint the precise
place that does the wrong wakeup. You should see a new type of warning
in your log:

BUG: foo:1234 waking up bar:4321, expiring ktimer short without user signal!

in shortly before the usual "BUG: ktimer expired short" message. Both
messages will be triggered only once per bootup - but the condition
itself likely occurs much more often on your box.

Ingo
-
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/