Re: Bug: timer going backward on a dual core

From: john stultz
Date: Fri Oct 28 2005 - 14:30:35 EST


On Fri, 2005-10-28 at 15:09 -0400, Claudio Scordino wrote:
> Hi all.
>
> We have a dual-core AMD64 with the new kernel 2.6.14 and the
> timer goes backward...
>
>
> CONFIGURATION:
>
> Kernel: 2.6.14
> Distribution: Gentoo Linux 2005.0
> Processor: Athlon 64 x2 4200+ (dual core)
> Motherboard: Abit KN8
> Memory: 1GB PC3200
>
>
> PROBLEM:
>
> gettimeofday goes backward and returns values that are not monotonic,
> giving values that are smaller than values returned before.
>
> The system has been tested with timer as PIT, PIT/TSC and PM and the
> problem occurs with all the configurations.
>
> Here is the config file that we used for the PM configuration.
>
> Any suggestion ?

Booting w/ idle=poll tends to work around this issue. You might check
with your motherboard vendor for an updated BIOS that supports HPET or
the ACPI PM timer.

thanks
-john

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