#8759: Fix clocksource for ntp
-------------------------+--------------------------
 Reporter:  ken@…        |       Owner:  blfs-book@…
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  8.0
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+--------------------------

Comment (by ken@…):

 For the little it is worth, an update to this. After assuming the time was
 again accurate, I happened to notice it was 5 minutes slow. The cause
 appears to be frequent suspend to RAM. I tried various workarounds, e.g.
 reset it daily with ntpd -gq, retry the other clocksource. Eventually I
 noticed that after waking the box, it could have large offsets (several
 thousand milliseconds), but it did eventually sync. My thoughts now are
 that I had left it sleeping for several days and that caused the offset to
 be too great to sync.

 I've added a script into  /usr/lib/pm-utils/sleep.d/48ntpd to stop ntpd
 when going to sleep, and when waking to run ntpd -gq and then start it
 normally. That seems to keep it within less than a second (checking with
 /usr/sbin/ntpq -p). I'll add that to the wiki under ntpd.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/8759#comment:9>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to