Re: Clock Problem?
- From: gaedhealic <gaedhealic@xxxxxxxxx>
- Date: Wed, 25 Apr 2007 22:58:57 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Unruh wrote:
gaedhealic <gaedhealic@xxxxxxxxx> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Unruh wrote:
gaedhealic <gaedhealic@xxxxxxxxx> writes:
With a system which runs at double speed, ntp will make no difference. Iagreed.Now, using NTP, on boot the clock is set to the correct time, but again,That's a bit strange, but I've never used NTP. It looks as if
it runs fast.
on shutdown the time was read by NTP from a time server.
Someone with more NTP experience than me should tell us about that.
but it seems that time is set by NTP at bootup -- or when you select and
active NTP server -- then saved to the system on shutdown
have no idea how you are running ntp. If you are doing
ntpdate -b
one minute or something, then each time ntp will bring the clock back into
sync. On shutdown the on board system clock is copied to the hardware
clock.
If you are running ntpd then it should do nothing because 2000000 ppm
cannot be corrected by ntp-- either by frequency drift or by tick
rescaling.
doing ntpdate -b from a konsole command line does correct the display clock.
also, doing yast > network services > NTP configuration > During boot,
use random, finish, also corrects the display time
(this event, display time was 65 minutes fast)
But it does not keep the time correct. I mean, it does it
(corrects/resets the time) once, then the system display time runs fast.
Yes. ntpdate -b does a hard reset of the time. It simply resets the system
time to current ntp time. It does nothing to the rate or anything else.
ntp cannot correct the rate error in a clock that is running at double
speed.
One more suggestion.
cat /proc/interrupts
wait 10 sec according to your watch ( as accurately as you can) and then do
cat /proc/interrupts
again. (Pretype the command and hit the enter key on that 10 sec time )
Look at the first line, the timer interrupts. There should have been
2500 extra interrupts in that 10 sec. (Obviously your reaction time is not
perfect so it will probably be somewhere between 2400 and 2600 extra
interrupts.) If it is around 5000 extra then we know what the problem is.
first attempt---
#
Matchless:/home/owd # cat /proc/interrupts
CPU0
0: 1442001 IO-APIC-edge timer
1: 6849 IO-APIC-edge i8042
2: 0 XT-PIC cascade
6: 5 IO-APIC-edge floppy
8: 0 IO-APIC-edge rtc
12: 185258 IO-APIC-edge i8042
14: 66567 IO-APIC-edge ide0
15: 50310 IO-APIC-edge ide1
129: 13361 IO-APIC-level ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
137: 764 IO-APIC-level eth0
145: 7804 IO-APIC-level ohci1394, snd_ca0106
153: 0 IO-APIC-level libata
161: 269 IO-APIC-level libata
NMI: 492
LOC: 720951
ERR: 2
MIS: 0
# cat /proc/interrupts
CPU0
0: 1446623 IO-APIC-edge timer
1: 6859 IO-APIC-edge i8042
2: 0 XT-PIC cascade
6: 5 IO-APIC-edge floppy
8: 0 IO-APIC-edge rtc
12: 185258 IO-APIC-edge i8042
14: 66582 IO-APIC-edge ide0
15: 50472 IO-APIC-edge ide1
129: 13397 IO-APIC-level ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
137: 764 IO-APIC-level eth0
145: 7804 IO-APIC-level ohci1394, snd_ca0106
153: 0 IO-APIC-level libata
161: 269 IO-APIC-level libata
NMI: 492
LOC: 723262
ERR: 2
MIS: 0
1446623 - 1442001 = 4622
(I may have been a little under 10 seconds)
Second attempt --
# cat /proc/interrupts
CPU0
0: 1599121 IO-APIC-edge timer
1: 7026 IO-APIC-edge i8042
2: 0 XT-PIC cascade
6: 5 IO-APIC-edge floppy
8: 0 IO-APIC-edge rtc
12: 206907 IO-APIC-edge i8042
14: 67096 IO-APIC-edge ide0
15: 55836 IO-APIC-edge ide1
129: 14616 IO-APIC-level ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
137: 852 IO-APIC-level eth0
145: 8080 IO-APIC-level ohci1394, snd_ca0106
153: 0 IO-APIC-level libata
161: 269 IO-APIC-level libata
NMI: 503
LOC: 799512
ERR: 2
MIS: 0
Matchless:/home/owd # cat /proc/interrupts
CPU0
0: 1604299 IO-APIC-edge timer
1: 7036 IO-APIC-edge i8042
2: 0 XT-PIC cascade
6: 5 IO-APIC-edge floppy
8: 0 IO-APIC-edge rtc
12: 206907 IO-APIC-edge i8042
14: 67154 IO-APIC-edge ide0
15: 56034 IO-APIC-edge ide1
129: 14656 IO-APIC-level ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
137: 852 IO-APIC-level eth0
145: 8080 IO-APIC-level ohci1394, snd_ca0106
153: 0 IO-APIC-level libata
161: 269 IO-APIC-level libata
NMI: 504
LOC: 802101
ERR: 2
MIS: 0
Matchless:/home/owd #
1604299 - 1599121 = 5178
(a little over ten seconds?)
g
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFGL90xAqk3z+s2AjQRAt2NAJ0RXxXc+C4dYHKLNOBub5EpbqCqdwCfaPW7
XONCoM7kpyTfR21lvd8B4IU=
=JEE+
-----END PGP SIGNATURE-----
.
- Follow-Ups:
- Re: Clock Problem?
- From: Unruh
- Re: Clock Problem?
- References:
- Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Rajko M.
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Will Honea
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Paul J Gans
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Paul J Gans
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Unruh
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Unruh
- Clock Problem?
- Prev by Date: Re: Clock Problem?
- Next by Date: Re: Clock Problem?
- Previous by thread: Re: Clock Problem?
- Next by thread: Re: Clock Problem?
- Index(es):
Relevant Pages
|