Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-07-2009, 06:10 PM   #1
Registered: Dec 2008
Distribution: slackware
Posts: 50

Rep: Reputation: 16
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

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

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, my wristwatch, and a clock radio.) Reading the hwclock reveals almost no deviation from those three other sources.

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?
Old 01-07-2009, 06:20 PM   #2
Registered: Aug 2005
Distribution: Slackware64 14.2 w/ CSB & MSB
Posts: 999

Rep: Reputation: 97
I have not noticed it and just checked............mine is good to go.

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

Old 01-15-2009, 09:42 PM   #3
Registered: Dec 2008
Distribution: slackware
Posts: 50

Original Poster
Rep: Reputation: 16
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.
Old 01-15-2009, 10:17 PM   #4
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10.2 clock drift on supermicro system wapfos Linux - Software 0 06-11-2007 11:41 AM
Mandriva 2006.0 Clock Drift crxssi Mandriva 20 01-03-2006 06:52 AM
Clock Drift with Gnome Battery Applet? Matir Linux - Software 1 09-09-2005 02:56 PM
How to fix severe clock drift in FC3? rylan76 Linux - Software 1 07-03-2005 11:37 AM
Clock Drift, Any Ideas ? audie Linux - General 5 04-30-2004 03:35 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration