1 |
Abhay Kedia wrote: |
2 |
> On Saturday 28 January 2006 02:55, Benno Schulenberg wrote: |
3 |
> > the /etc/adjtime file. Throw it away, as it might be the |
4 |
> > adjusting feature that thinks your clock is drifting a full |
5 |
> > hour per hour (that is: ticks away two hours in one). |
6 |
> |
7 |
> That was it!!! That was the file causing all the pain. I moved it |
8 |
> away and now there are no problems. Any ideas why it was doing |
9 |
> it. |
10 |
|
11 |
A possibility is that you've set the hwclock twice, first with a |
12 |
wrong time, then say ten minutes later you realize your watch is |
13 |
five minutes fast, and you set the clock again, with the correct |
14 |
time. Now the adjust feature thinks your CMOS clock is ticking |
15 |
away ten minutes in just five minutes, and every time you boot your |
16 |
computer it will adjust the CMOS clock for this drift and then read |
17 |
it to set the system time. |
18 |
|
19 |
This drift correction feature is useful, but one should be aware of |
20 |
it when setting the hardware clock manually: remove the /etc/adjtime |
21 |
file after 'hwclock --set' has been used with a wrong time. |
22 |
|
23 |
> The file is obviously there for some reason |
24 |
|
25 |
See man hwclock, the section on "The Adjust Function". |
26 |
|
27 |
Benno |
28 |
-- |
29 |
gentoo-user@g.o mailing list |