Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2016 09:26:43 -0500
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD-11.0 BHyve ntpd issues
Message-ID:  <3671ad3ac07b36b28e1583a2020a6108.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
I see this in /var/log/messages:

> Dec 28 03:57:47 SAMBA-01 ntpd[560]:
>   frequency error -500 PPM exceeds tolerance 500 PPM
> Dec 28 06:05:04 SAMBA-01 ntpd[560]:
>   frequency error -500 PPM exceeds tolerance 500 PPM

Reading up on ntpd issues wrt vm's I ran these diagnostics on the vm:


[root@SAMBA-01 ~]#  dmesg | grep Timecounter
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounter "HPET" frequency 10000000 Hz quality 950
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
Timecounters tick every 1.000 msec
[root@SAMBA-01 ~]# sysctl kern.timecounter.hardware
kern.timecounter.hardware: HPET


I also found this thread,
https://lists.freebsd.org/pipermail/freebsd-virtualization/2016-April/004382.html,
on the FreeBSd list which suggested the following fix:

> I found errors in /var/log/messages and fix adding:
>
> kern.timecounter.hardware=TSC-low
> into /etc/sysctl.conf file

I can add this as suggested but before I do can someone enlighten as
to what is happening, why it happens, what the consequences are of not
dealing with the problem, and what the recommended fix accomplishes. 
Should this suggestion be implemented or is there a better solution?

The vm in question is, as its name suggests, a samba based AD-DC. Time
synchronisation with the desktop units is critical for authentication.

Thanks,

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3671ad3ac07b36b28e1583a2020a6108.squirrel>