https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082008-10-01T20:42:02ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #1144: Incorrect clock under KVMhttps://bugs.dragonflybsd.org/issues/1144?journal_id=54562008-10-01T20:42:02Zjustin
<ul></ul><p>Did you set the clock and timezone during the install process for<br />DragonFly? As I recall, there's a separate installer step for that; the<br />DragonFly installer may assume UTC or a lack of it, depending.</p> DragonFlyBSD - Bug #1144: Incorrect clock under KVMhttps://bugs.dragonflybsd.org/issues/1144?journal_id=54572008-10-01T20:58:01Zswildner
<ul></ul><p>tzsetup(8)</p> DragonFlyBSD - Bug #1144: Incorrect clock under KVMhttps://bugs.dragonflybsd.org/issues/1144?journal_id=54582008-10-01T21:53:40Zmsylvan
<ul></ul><p>Tried tzsetup. Telling DFly that the system clock is either UTC or localtime<br />does not change the reported time at all. On booting the live CD, if I log in as<br />root, the clock is off by the same offset (+ 4 hours from the correct GMT time)<br />as after installation, when it's + 4 hours to the correct EST/EDT time.</p>
<p>Might be a qemu/KVM problem, actually. I'll install DFly on a real partition in<br />a couple of days to get a feel of how tzsetup is supposed to behave -- just want<br />to mention that FreeBSD on KVM behaves perfectly fine -- apart from the infamous<br />qemu clock drift.</p> DragonFlyBSD - Bug #1144: Incorrect clock under KVMhttps://bugs.dragonflybsd.org/issues/1144?journal_id=54612008-10-01T22:26:00Zahuete.devel
<ul></ul><p>Hi,</p>
<p>Have you tried to pass -localtime option to kvm when starting?</p>
<p>Regards,<br />Antonio Huete</p>
<blockquote>
<p>New submission from Michel Salim <<a class="email" href="mailto:salimma@fedoraproject.org">salimma@fedoraproject.org</a>>:</p>
<p>Using kvm-74-3.fc10.x86_64 on Fedora 10 beta.</p>
<p>Host machine is set to EST/EDT. The guest FreeBSD 7 installation reports the<br />correct time (whether UTC or local), but the DragonFly 2.0.1 installer, and the<br />installed system, is ahead by 4 hours.</p>
<p>It appears that, for some reason, the DragonFly/KVM combo is wrongly<br />compensating, presumably assuming (wrongly) that the host clock is set to<br />localtime (UTC-4) and thus adding four hours to it. Any difference in the way<br />the DragonFly and FreeBSD kernels handle the system clock?</p>
<p>----------<br />messages: 5455<br />nosy: msylvan<br />priority: bug<br />status: unread<br />title: Incorrect clock under KVM</p>
<p>_<em><i></em></i>__<em>_</em>_________________________________________<br />DragonFly issue tracker <<a class="email" href="mailto:bugs@lists.dragonflybsd.org">bugs@lists.dragonflybsd.org</a>><br /><<a class="external" href="https://bugs.dragonflybsd.org/issue1144">https://bugs.dragonflybsd.org/issue1144</a>><br />_<em><i></em></i>__<em>_</em>_________________________________________</p>
</blockquote>
<p>H</p> DragonFlyBSD - Bug #1144: Incorrect clock under KVMhttps://bugs.dragonflybsd.org/issues/1144?journal_id=54622008-10-01T23:21:00Zmsylvan
<ul></ul><p>Still buggy. With -localtime, DFly correctly reads the actual localtime (the<br />installation live CD reported it as GMT, because no timezone has been selected).<br />After using tzdata on the installed system, even though I answered 'no' to the<br />question 'is system clock set to UTC', it still treated the system clock as UTC<br />anyway, so my clock is now 4 hours early.</p>
<p>Bizarre.</p> DragonFlyBSD - Bug #1144: Incorrect clock under KVMhttps://bugs.dragonflybsd.org/issues/1144?journal_id=113412013-03-09T21:17:57Ztuxillo
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/11341/diff?detail_id=867">diff</a>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Assignee</strong> deleted (<del><i>0</i></del>)</li></ul><p>Hi</p>
<p>Is this still the case?</p>
<p>Cheers,<br />Antonio Huete</p>