Re: 2.6.10-rc3 vs clock

From: Rafael J. Wysocki
Date: Mon Dec 13 2004 - 09:05:05 EST


On Monday 13 of December 2004 13:29, David Weinehall wrote:
> On Sat, Dec 04, 2004 at 11:11:16AM -0500, Gene Heskett wrote:
> > At -rc2 my clock kept fairly decent time, but -rc3 is running fast,
> > about 30 seconds an hour fast.
>
> Lucky you. Each time I suspend my laptop the clock speeds up
> approximately x2... Usually, the time it takes me to get from home to
> work means that the computer tells me I arrived half an hour late...

I see something strange that may be related to these issues. When I turn off
my box and turn it on again after a couple of hours, and run Linux, the clock
is apparently late, although it shows the right time in the CMOS setup right
before booting the kernel. The amount of time the clock is late (in Linux)
depends on how much time the box has been off (it increases about 4 min. for
each hour, so the clock is about 30 min. late if the box has been off for 8
hours).

This has been present on all kernels since 2.6.8 at least (I did not run
earlier kernels on this box), but I haven't tried 2.6.10-rc3-mm1 yet.

> > I've been using ntpdate, is that now officially deprecated?
>
> I kind of doubt that...

Me too. ;-)

Greets,
RJW

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/