From owner-freebsd-virtualization@FreeBSD.ORG Tue May 20 02:46:57 2014 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 7CD0050C; Tue, 20 May 2014 02:46:57 +0000 (UTC) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 291522193; Tue, 20 May 2014 02:46:57 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id hy4so10554244vcb.39 for ; Mon, 19 May 2014 19:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=9OuluYMOYr2Kjz0DqqSbPuN7/OEnB/lFmzfkNOFDceU=; b=F+bFZn4V3kYEjb0FkwjtDD8xj+tIhiUys9n7PJhA0Kt2xoSjEch1Mt1tDM2m/TEC9T zByHnYAnd3Z87Ea+z1Uw/Wp3XOZj+gyRATKyJmMMj72/hIc1eTJ9tCnt4s3IvlYxPlXc DGcd+mBpeekl5TX7CNvxHj4nDoIfJCbf+El4Ably7HT1z61QpT186HHjh3fRrgbt9E93 /a4yYdaY/RNtpobbR9JJrDM65RWW2duK7X9LotOMG4pfWI9f3zV6ajtBNaO2BwNuEy+r hF5YmdGcb4ewdnmjYaZ68t0tHn8P77lyPL6nfKtm7SoSCzd+pN670Cfomfq+6napTdVG bVrQ== MIME-Version: 1.0 X-Received: by 10.52.95.135 with SMTP id dk7mr1143426vdb.38.1400554015910; Mon, 19 May 2014 19:46:55 -0700 (PDT) Sender: jpm820@gmail.com Received: by 10.220.104.135 with HTTP; Mon, 19 May 2014 19:46:55 -0700 (PDT) In-Reply-To: <201405190952.16343.jhb@freebsd.org> References: <201405190952.16343.jhb@freebsd.org> Date: Mon, 19 May 2014 21:46:55 -0500 X-Google-Sender-Auth: bq5zcZCr3gjROoPPB_nPEV-0E1g Message-ID: Subject: Re: clock wrong in bhyve vm's From: Joe Maloney To: John Baldwin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 20 May 2014 02:46:57 -0000 It was original off by my offset. Not sure what happened but now it's working without using ntpd to update time manually. I did confirm that /etc/localtime matched on host and VM. Perhaps the last kernel world rebuild sunday fixed and I just didn't reboot enough times. I'll try to dig up more info if it happens again. Joe Maloney On Mon, May 19, 2014 at 8:52 AM, John Baldwin wrote: > On Monday, May 19, 2014 12:15:21 am Joe Maloney wrote: > > So far I've created 2 VM's in bhyve with 11 CURRENT updated world as of > > today. One VM is running FreeBSD 10. The other is running FreeNAS > 9.2.1.6 > > Beta. It seems every VM I create has the time wrong about 5 or 6 hours. > > Using ntpdate will correct the time until the VM reboots. Has anyone > else > > noticed this or know of a possible fix other than using ntpd? > > Is that your offset from UTC? Do you have /etc/localtime set correctly in > your guests? > > -- > John Baldwin >