Re: P4/i845 Strange clock drifting

Chris Wilson (chris@jakdaw.org)
Tue, 9 Apr 2002 10:33:41 +0100


This is a multi-part message in MIME format.

--Multipart_Tue__9_Apr_2002_10:33:41_+0100_08f0c3b0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

An update...

> I've now applied your patch so that APIC's get enabled even though the
> bios has disabled them.
>
> I really should have saved the dmi messages to another machine when the
> machine first came up as it appears to have crashed now :(
>
> The machine was completely idle other than for an ssh session running
> ntpdate every ten minutes (my original problem is that the clock appears
> to stop/slow down periodically).

Back without APIC now - and the machine is stable again. Clock is still
screwed however.

> > This should work (and is known to work on many P6 and K7 boards),
> > but your BIOS may have problems with the local APIC.
> > - does apm --suspend work? does the resume afterwards work?
>
> I don't have APM support compiled in and will have disabled anything power
> management related in the BIOS setup.

Last night I set another machine doing:

(while sleep 600; do ssh screwedbox ntpdate goodbox; done) | tee ntp.log

The results (attached) are interesting. It appears that my clock drift
problem occurs every hour. Perhaps it is APM related?? Load doesn't seem
to make any difference. And there's never two consecutive ntpdate's that
are a long way out - suggesting that whenever the problem occurs it's then
fixed temporarily when ntpdate sets the clock.

Anyone have any suggestions as to what to try next? Shall I try compiling
a kernel with APM support and see if I can turn off anything that might be
causing troubs? I'm *sure* I turned off any mention of power management in
the BIOS....

Regards,

Chris
--Multipart_Tue__9_Apr_2002_10:33:41_+0100_08f0c3b0
Content-Type: application/octet-stream;
name="ntp.log.gz"
Content-Disposition: attachment;
filename="ntp.log.gz"
Content-Transfer-Encoding: base64

H4sICG2zsjwCA250cC5sb2cAlZnNruREDIX3PEVegMj/5eodz4FYjJgeCSRgNLeH58cVdG8csyDe
tqJPlRz7HLt68+2nr982nA+yB8/tz9fXz59ez5/J4JfH9unz79/fXtvrtz+e29vz29/P9STtaL7j
bttfX768PV8b7GDAIvHIrz9sH0C2h0ACSgdIPNkLUAKICegBfHs9v/4fDgfvLOikBagBpBM4qHNC
ZRyQgQQPCCAnoLVe2cesQAygnEBviSIkRA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BtAClAL3ZylwlWRonf+1tjbGol4yah8YZ2POG
6aWV56Hx6a8Gdw07QhmMRj3f0vh0V4oybfm1IlMh8oWIrINb74xOFblk9nRIndgzMDUsSL0gOfbV
3vDgfnGwFVKQ/+JCjsm5h9Sr1ssR4fInl8zmlWSsDhVJF2TM4nL7lmD4Hp6j+G8T/gPoUqtA3BsA
AA==

--Multipart_Tue__9_Apr_2002_10:33:41_+0100_08f0c3b0--
-
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/