lkml.org 
[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.2 - System clock runs too fast
Date
Hello John

After a recompiling kernel my system clock runs now again too slow. Your patch
helps with a fast running clock but not with a slow clock. Do you have an
idea what to do now?!?

best wishes
Markus

Am Mittwoch, 11. Februar 2004 19:36 schrieb john stultz:
> On Wed, 2004-02-11 at 01:07, Markus Hofmann wrote:
> > Thank you for answering.
> > In the meantime I heard that apm could cause this problem. I tested this
> > by compiling acpi. The result was that the clock runs normal with acpi.
> > But I want to use apm. So I removed the acpi and now the system clock is
> > too slow with only apm.
> >
> > I think this is a very curious thing! :-(
>
> Indeed, normally its ACPI that causes more problems. That's a new one.
>
> I'd be curious how this drift changes using the attached patch.
>
> thanks
> -john
>
> ===== arch/i386/kernel/timers/timer_tsc.c 1.35 vs edited =====
> --- 1.35/arch/i386/kernel/timers/timer_tsc.c Wed Jan 7 00:31:11 2004
> +++ edited/arch/i386/kernel/timers/timer_tsc.c Tue Jan 20 13:22:54 2004
> @@ -226,7 +226,7 @@
> delta += delay_at_last_interrupt;
> lost = delta/(1000000/HZ);
> delay = delta%(1000000/HZ);
> - if (lost >= 2) {
> + if (0 && (lost >= 2)) {
> jiffies_64 += lost-1;
>
> /* sanity check to ensure we're not always losing ticks */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site