All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Becker <becker@cs.duke.edu>
To: xen-devel@lists.sourceforge.net
Subject: repeatable time jump
Date: Tue, 28 Sep 2004 11:06:50 -0400	[thread overview]
Message-ID: <20040928150650.GD921@cs.duke.edu> (raw)


I got the time jump to reproduce.  Shutting down xenU shifts system time on
xen0 by over an hour.  xen0 hwclock stays steady:

        xen0# date
        Tue Sep 28 10:45:13 EDT 2004
        xen0# xm list
        Name              Id  Mem(MB)  CPU  State  Time(s)  Console
        Domain-0           0       34    0  r----    120.1        
        xen0# xm create  memory=800  name=athos14
        builder=linux kernel=/boot/vmlinuz-2.6.8.1-xenU ipaddr=172.16.11.24
        ip=172.16.11.24 gateway= netmask=255.255.255.0 hostname=athos14
        interface=eth0 dhcp=off disk=phy:/dev/xenvg/athos14.root,hda1,w cpu=-1
        disk=phy:/dev/xenvg/athos14.swap,hda2,w root=/dev/hda1
        Using config file "/etc/xen/xmdefconfig".
        Started domain athos14, console on port 9605
        xen0# date
        Tue Sep 28 10:47:16 EDT 2004
        xen0# xm shutdown athos14
        xen0# xm list
        Name              Id  Mem(MB)  CPU  State  Time(s)  Console
        Domain-0           0       34    0  r----    129.2        
        xen0# date
        Tue Sep 28 11:59:01 EDT 2004
        xen0# hwclock
        Tue Sep 28 10:48:02 2004  -0.000000 seconds


The xen0 shift happens when xen0 clock is correct.  Further starting/stopping
of domains after the xen0 clock is off has more effect on xen0's system time.

xenU does not run ntp or hwclock.  If xenU is started after xen0's
system time is off, xenU has the right time.  I assume xenU is synced to
the hwclock time.

This is with today's pull of 2.6.8.1. I'm using 2.6 for all domains.



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

             reply	other threads:[~2004-09-28 15:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28 15:06 David Becker [this message]
2004-09-28 15:11 ` repeatable time jump typo David Becker
2004-09-28 17:44 ` repeatable time jump Ian Pratt
2004-09-28 18:00   ` David Becker
2004-09-28 18:13     ` Ian Pratt
2004-09-28 21:08       ` David Becker
2004-09-28 21:29         ` Ian Pratt
2004-09-29 17:32           ` David Becker
2004-09-29 17:46             ` Ian Pratt
2004-09-29 18:28               ` David Becker
2004-09-30 20:46                 ` Ian Pratt
2004-10-01 14:00                   ` David Becker
2004-10-01 15:21                     ` Ian Pratt
2004-10-01 17:03                       ` David Becker
2004-10-01 17:26                       ` Adam Heath
2004-10-02  8:36                       ` Peri Hankey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040928150650.GD921@cs.duke.edu \
    --to=becker@cs.duke.edu \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.