WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Resolve "Time went backwards" problem by using jiffies as cl

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Resolve "Time went backwards" problem by using jiffies as clocksource
From: Daniel Lam <daniel@xxxxxxxxxxxxxxxx>
Date: Sat, 2 Jan 2010 17:20:12 +1100
Delivery-date: Fri, 01 Jan 2010 22:20:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I'm new to Xen and... Happy New Year!

After restarting dom-0, my dom-u prints this in console once every second,

[55082.616234] __ratelimit: 1503 messages suppressed
[55082.616234] clocksource/0: Time went backwards: ret=380ab26c53a

I resolved this by following the instructions in "http://wiki.debian.org/Xen",
which is basically changing clocksource to "jiffies".

Now the problem has gone away, I'm wondering if somebody can help me:

1. Is domain-0 not able to set the system time of domain-u the root cause?
    I can see this error in console "Unable to set System Clock to: <a datetime value>",
    even after I changed clocksource to "jiffies".

2. Why can't domain-0 set the date of the domain-u?

3. If this is the only way to go (using jiffies clocksource), I will have to sync
    the domain-u system time manually using something like ntpd?


Thanks!

cheers,
Daniel

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Resolve "Time went backwards" problem by using jiffies as clocksource, Daniel Lam <=