LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.2 and KDE Clock Drift (https://www.linuxquestions.org/questions/slackware-14/slackware-12-2-and-kde-clock-drift-695702/)

tmerriam 01-07-2009 06:10 PM

Slackware 12.2 and KDE Clock Drift
 
I've been experiencing a very annoying bug the last week or so. The time displayed in the clock in KDE does not keep time. It runs fast, gaining about 1 minute each hour.

I have the RTC module loaded at boot from rc.local to create /dev/rtc

Code:

/sbin/modprobe rtc_cmos
For whatever reason, /etc/ntp/drift did not exist, so...

Code:

touch /etc/drift/drift
echo 0.0 > etc/ntp/drift

Reading the time directly from the hardware clock shows the 'correct' time. (It is exactly the same as the time displayed on KDE's clock on another computer running Slackware 12.1 and kernel 2.6.27.7, my wristwatch, and a clock radio.) Reading the hwclock reveals almost no deviation from those three other sources.

Code:

/sbin/hwclock
I also removed /etc/adjtime so ntp could recreate it, but still the displayed time keeps going fast. I'm really puzzled as to why this is occurring. Any suggestions?

SqdnGuns 01-07-2009 06:20 PM

I have not noticed it and just checked............mine is good to go.

I also have no drift file but I am using ntp.

Odd..........

tmerriam 01-15-2009 09:42 PM

After some trial and error and some testing, I found the fix to this. Hopefully this helps someone....

I was able to fix this by appending "clocksource=hpet" to the kernel's boot options.

Woodsman 01-15-2009 10:17 PM

Quote:

I was able to fix this by appending "clocksource=hpet" to the kernel's boot options.
Perhaps then by enabling HPET support in the BIOS the boot parameter might not be needed?


All times are GMT -5. The time now is 06:07 AM.