[bhyve] clock problem

Vladimir Laskov samflanker at gmail.com
Mon Sep 7 12:42:10 UTC 2015


I have a problem with Linux guest on  BHyve  host. Guest use io
driver virtio-blk.


**************************************************************************************
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy

# uname -a
Linux   3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux

# tail /var/log/kern.log
Sep  6 22:06:59  kernel: [110375.060025] hrtimer: interrupt took 295444 ns

# tail /var/log/ntpd.log
 5 Sep 04:00:53 ntpd[8041]: frequency error -589 PPM exceeds tolerance 500
PPM

 6 Sep 07:27:46 ntpd[5723]: 0.0.0.0 c016 06 restart
 6 Sep 07:27:46 ntpd[5723]: 0.0.0.0 c012 02 freq_set ntpd -500.000 PPM
 6 Sep 07:27:53 ntpd[5723]: 0.0.0.0 c615 05 clock_sync
 6 Sep 07:50:01 ntpd[5723]: frequency error -500 PPM exceeds tolerance 500
PPM


# cat /var/lib/ntp/ntp.drift
-500.000

# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc
**************************************************************************************
on host

# sysctl kern.timecounter.hardware
kern.timecounter.hardware: TSC-low

# ntpdate -q pool.ntp.org
server 46.254.216.12, stratum 2, offset 0.023543, delay 0.02783
server 31.135.95.60, stratum 2, offset 0.023552, delay 0.02791
server 85.21.78.23, stratum 2, offset 0.045319, delay 0.07175
server 93.180.54.115, stratum 2, offset 0.022923, delay 0.02832
 7 Sep 15:27:43 ntpdate[10554]: adjust time server 46.254.216.12 offset
0.023543 sec

# cat /var/db/ntpd.drift
0.932
**************************************************************************************


please help


--
Vladimir Laskov


More information about the freebsd-virtualization mailing list