You are not logged in.

#1 2010-07-05 21:10:41

Loafers
Member
Registered: 2009-11-01
Posts: 92

[Solved] Time always incorrect when rebooting.

Hi,

Whenever I reboot my computer my clock is always off by around 10-15 minutes.  I set the hwclock and synchronized the system clock so I don't understand why it keeps on changing...  I am using localtime and I set my timezone to "America/Los_Angeles". 

Any suggestions

Last edited by Loafers (2010-07-05 23:45:50)

Offline

#2 2010-07-05 21:14:12

JohnVV
Member
From: Ann Arbor, Mi. U.S.A.
Registered: 2009-09-30
Posts: 107
Website

Re: [Solved] Time always incorrect when rebooting.

have you replaced the battery

Offline

#3 2010-07-05 21:24:56

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [Solved] Time always incorrect when rebooting.

This helps in many such cases:
- Remove /var/lib/hwclock/adjtime.
- Adjust the current system time.
- Synchronize the hardware clock: hwclock --systohc (as root).
- Reboot. This installs a new copy of the adjtime file.
- Check the contents of /var/lib/hwclock/adjtime. The first number should be a fairly small (absolute) value.

If this does not help or if adjtime contains a rather high value, most probably something is wrong with your hardware (probably the battery if the system is not so new already) or system set-up.


To know or not to know ...
... the questions remain forever.

Offline

#4 2010-07-05 23:45:38

Loafers
Member
Registered: 2009-11-01
Posts: 92

Re: [Solved] Time always incorrect when rebooting.

bernarcher wrote:

This helps in many such cases:
- Remove /var/lib/hwclock/adjtime.
- Adjust the current system time.
- Synchronize the hardware clock: hwclock --systohc (as root).
- Reboot. This installs a new copy of the adjtime file.
- Check the contents of /var/lib/hwclock/adjtime. The first number should be a fairly small (absolute) value.

If this does not help or if adjtime contains a rather high value, most probably something is wrong with your hardware (probably the battery if the system is not so new already) or system set-up.

Thanks!  Worked like a charm.

Offline

Board footer

Powered by FluxBB