[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Time diferrence between dom0 and domU



Hello Jordi,
I noticed the same problem and that's pretty nasty on HVM host running windows as the system can't login on domain by defaut due to too big time drift.

I worked around by adding ~ 6 minutes to the time of the domU at startup.

On 05/11/2009 11:21, Jordi Espasa Clofent wrote:
Hi all,

In dom0:

xen01ad:/# ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 2009-07-02 10:51 /etc/localtime ->
/usr/share/zoneinfo/Europe/Madrid
xen01ad:/# ntpdate hora.rediris.es
3 Nov 18:49:46 ntpdate[9558]: adjust time server 130.206.3.166 offset
0.163783 sec

In domU:

xen-ad0006:~# date
Tue Nov 3 18:55:29 CET 2009
xen-ad0006:~# ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 Nov 3 13:24 /etc/localtime ->
/usr/share/zoneinfo/Europe/Madrid
xen-ad0006:~# ntpdate hora.rediris.es
3 Nov 18:55:44 ntpdate[19800]: step time server 130.206.3.166 offset
-294.467004 sec

As you can see, the time difference between dom0 and domU is aprox 6 min.
¿why?

It's supposed that domUs has the dom0's time.

Info:

* I don't use the independent_wallclock
* xen01ad:/# uname -a && xm info
Linux xen01ad 2.6.18-6-xen-amd64 #1 SMP Tue May 5 09:56:33 UTC 2009
x86_64 GNU/Linux
host : xen01ad
release : 2.6.18-6-xen-amd64
version : #1 SMP Tue May 5 09:56:33 UTC 2009
machine : x86_64
nr_cpus : 8
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2110
hw_caps :
178bf3ff:efd3fbff:00000000:00000110:00802001:00000000:000037ff
total_memory : 16383
free_memory : 4161
node_to_cpu : node0:0-7
xen_major : 3
xen_minor : 2
xen_extra : -1
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.3.1 (Debian 4.3.1-2)
cc_compile_by : waldi
cc_compile_domain : debian.org
cc_compile_date : Sat Jun 28 09:32:18 UTC 2008
xend_config_format : 4



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.