From owner-freebsd-virtualization@FreeBSD.ORG Wed Dec 4 18:14:18 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32360B5A for ; Wed, 4 Dec 2013 18:14:18 +0000 (UTC) Received: from hub.org (hub.org [200.46.208.146]) by mx1.freebsd.org (Postfix) with ESMTP id 010C914B8 for ; Wed, 4 Dec 2013 18:14:17 +0000 (UTC) Received: from maia.hub.org (unknown [200.46.151.188]) by hub.org (Postfix) with ESMTP id 4D8F81EDA259 for ; Wed, 4 Dec 2013 14:14:11 -0400 (AST) Received: from hub.org ([200.46.208.146]) by maia.hub.org (mx1.hub.org [200.46.151.188]) (amavisd-maia, port 10024) with ESMTP id 11544-08 for ; Wed, 4 Dec 2013 18:14:11 +0000 (UTC) Received: from [10.5.250.186] (remote.ilcs.sd63.bc.ca [142.31.148.2]) by hub.org (Postfix) with ESMTPA id 959AC1EDA256 for ; Wed, 4 Dec 2013 14:14:10 -0400 (AST) From: Marc Fournier Content-Type: multipart/signed; boundary="Apple-Mail=_35D29EDC-CE63-4A5B-A08E-F466C91FCA00"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: time drift w/virtualbox: FreeBSD Host -> FreeBSD guest w/ guest additions active Message-Id: <059857EF-534E-4366-BD11-924AB3ED7C31@openstudent.ca> Date: Wed, 4 Dec 2013 10:14:09 -0800 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) X-Mailer: Apple Mail (2.1822) X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 18:14:18 -0000 --Apple-Mail=_35D29EDC-CE63-4A5B-A08E-F466C91FCA00 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Why is this such a difficult thing to keep in sync? :( I have a FreeBSD Host running 4.2.18 =85 Guest FreeBSD Host has = Additions 4.2.18 installed ..=20 On the Host, I believe all the kernel modules are loaded properly: # kldstat|grep vb 6 3 0xffffffff80c59000 59da0 vboxdrv.ko 8 2 0xffffffff80e20000 29f1 vboxnetflt.ko 11 1 0xffffffff80e2e000 3f8a vboxnetadp.ko On the Guest, again, I believe everything is loaded: # kldstat|grep vb 2 1 0xffffffff80c12000 26585 vboxguest.ko And the VB processes are started: # ps aux | grep VB root 606 0.0 0.1 32244 2144 ?? Ss 6:06PM 2:09.26 = /usr/local/sbin/VBoxService I don=92t have ntpd running on the Guest, but have tried it with it = running also ... But, my time is already drifting: # ssh ruralcatholicradio.com date ; date Wed Dec 4 12:01:34 EST 2013 Wed Dec 4 17:03:17 UTC 2013 So, I login and run ntpdate to bring it back in sync: # ntpdate time.nist.gov 4 Dec 12:04:02 ntpdate[71827]: step time server 66.219.116.140 offset = 102.233151 sec Note that the below is run from the FreeBSD Host that the Guest is = running on =85 same physical machine =85 we are perfectly in sync: # ssh ruralcatholicradio.com date ; date Wed Dec 4 12:04:32 EST 2013 Wed Dec 4 17:04:32 UTC 2013 An hour later, we=92ve now drifted by almost 2 minutes: # ssh ruralcatholicradio.com date ; date Wed Dec 4 13:07:18 EST 2013 Wed Dec 4 18:09:16 UTC 2013 Its hard to believe that anyone would be using VirtualBox if it time = drifted like this regularly, so I figure it has to be something that I=92m= doing wrong in my configuration =85 Thoughts? Thx=20 --Apple-Mail=_35D29EDC-CE63-4A5B-A08E-F466C91FCA00 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJSn3DxAAoJELvzmiS5N8T7WtMH/RFwOtJUF6FnfVtSsDvsvqfB 95OGT8TQ13SlmyUmHWCoMJt2/re9khYPNAl3LUiKoM5Cl1WmShACWtZCMWpUtmIg YYOOeFCq8341j65wPR4DBL8FuHrq+mz3zYpwvKLBrLCO3zkOZoEw/tgCJQ/KOgrZ 3zdd4zoNeEmsTjmrPdbCIv/jzu+3ebYBEKD6rr8Erp/o8DhcD663v50Ih8BAMg9J qWo1/gpH8WjZMzErszxjAZe90YuTXWYOlYxy9mji71UjE+GeDmN4ydG3IkWHLVBv ITdW2OBJvrQIUb7iQd+voqnnFRPELiO1mT34oawL8FkjdK19UV4ywjNeiIizJx0= =fE9m -----END PGP SIGNATURE----- --Apple-Mail=_35D29EDC-CE63-4A5B-A08E-F466C91FCA00--