Re: Clock Problem?
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: Tue, 24 Apr 2007 18:52:25 GMT
gaedhealic <gaedhealic@xxxxxxxxx> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Unruh wrote:
gaedhealic@xxxxxxxxx writes:
On Apr 22, 3:22 pm, "Rajko M." <kakomo...@xxxxxxxxxxxx> wrote:
gaedhea...@xxxxxxxxx wrote:
Nubee here....Hi Nubee,
And to be honest, having a ball with my new OpenSuSE 10.2, amd64I'm having no crystal ball, nor "this clock" so if you tell me what is wrong
install....
...but this clock IS driving me nuts already!
with a clock in many more words we can look for a solution.
What you did?
What is a problem?
Do we have a fix in t+he works?For what? Clock?
I don't have any problems with a clock, so "we" falls off in need for a fix.
Hmm...
<snip>
--
Regards, Rajko.http://en.opensuse.org/Portal
I DL the ISO for OpenSuSE 10.2 AMD64 to install on a MSI MB, AMD64.
On install, the installation program ask "Date and Time? " Set to PST,
Local, <date> <Time>
No not OK. Your bios clock is set to what? Local time or UTC. It should be
set to UTC, unless you dual boot with windows. Stting it to local time will
cause you no end of problems.
O.K., so far.
Install works, a little hitch for the Libzypp problem, all is fine,
except the clock in the KDE Panel shows incorrect time.
I have updated to Linux 2.6.18.8-0.1-default #1 SMP x86_64 GNU/Linux
Now, still, in the KDE GUI, bottom right panel, the clock is
incorrectly set. wrong time.
Using Thunderbird to post to a NG, the post failed because "Cannot
Post to Future."
O.K., right-click the clock, > click adjust date & time
Pop up window asks for SU id <suid> [enter]
KDE Control Module opens > the analog clock displays the incorrect
time.
Set the time to the correct time.
Now for the next few minutes the KDE panel Clock displays the correct
time.
Open an other window, open a konsole shell type a command # uname -a
In ten minutes the Clock is off by 10 minutes. that is, I set the
clock at 18:40 (6:40pm) and at 18:50 the KDE panel clock reads 7pm
(19:00)
OK, that is weird. It is either a severe hardware problem, or a wrong Hz
rate.
test for hardware problem?
a) Are you running ntp?
Yes, in response to earlier posts in this thread, since this AM I've
started NTP
It is not going to help. ntp cannot correct a clock that is out by more
than about 500ppm and your is out apparently by about 500000ppm.
The system corrected the time when I clicked apply and OK...
I have since set time to UTC, and the system set the correct time at boot.
OK.
However, the KDE GUI clock is still running fast by the same amount, so
at about 11 AM PST the clock shows 6:40 PM UTC.
The KDE clock should just be the same as the system time.
Open a terminal look at the system clock while you type
date
in the terminal. Compare the two times. If they are the same, then it is a
system time problem.
Now, could you estimate exactly how much the clock is out.
shut down ntpd
do
ntpdate -b pool.ntp.org
as root
and immediately run
date
record tht time.
About 100 sec later, again run
date
ntpdate pool.ntp.org
(No -b this time) this will print out the time from ntp
and compare the two times from ntp and from date. Eg date may say that 180
sec have gone by while ntp says that only 90 sec have gone by. (Note that
the first date will be the same as the first ntp time.)
convert the time difference in both cases into seconds and state how many
seconds in "date" corresponds to how many seconds in ntp.
b) What is your HZ set in the config file for the kernel ( /boot/config
maybe, or /usr/src/linux/.config
# cat /boot/config
cat: /boot/config: No such file or directory
# cat /usr/src/linux/.config
cat: /usr/src/linux/.config: No such file or directory
Using mc, i could not locate a (literal) config file in either location.
I do have a /boot/.config-2~default file, size about 64116
In this file I find:
# CONFIG_HZ_100 IS NOT SET
CONFIG_HZ_250=Y
# CONFIG_HZ_1000 IS NOT SET
CONFIG_HZ=250
OK, this is fine.
I have the same.
Type adjtimex -p
and look at the output, or post it.
# adjtimex -p
mode: 0
offset: 0
frequency: 0
maxerror: 15995
esterror: 0
status: 1
time_constant: 4
precision: 1
tolerance: 33554432
tick: 10000
This one actually confuses me -- it is the same on my system. It would seem
to say that each computer tick is 10000 usec, which is a freq of 100Hz not
250Hz.
raw time: 1177435530s 526007us = 1177435530.526007
thanks for your assistance
g
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFGLlhRAqk3z+s2AjQRAs5lAKCVfUZmY91AsBccb+4auKGEasd2EQCgnxiV.
xzwChaq7q6bx6Voh1K3ebD8=
=zXtm
-----END PGP SIGNATURE-----
- Follow-Ups:
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- References:
- Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Rajko M.
- Re: Clock Problem?
- From: gaedhealic
- Re: Clock Problem?
- From: Unruh
- Re: Clock Problem?
- From: gaedhealic
- Clock Problem?
- Prev by Date: Re: Newbie: GNOME setup issues, 10.2
- Next by Date: Re: Clock Problem?
- Previous by thread: Re: Clock Problem?
- Next by thread: Re: Clock Problem?
- Index(es):
Relevant Pages
|
|