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

Re: [Xen-users] Clock problems on Squeeze/Xen4 (clock jumps 50 minutes ahead)



I had severe clock drift in a Windows HVM, I was able to fix it using ntp on the host (debian) and the "localtime=1" flag in my HVM Configuration.

I am using Xen 4.2 and the xl toolstack, so I do not know if it is an option in previous versions of Xen or other toolstacks (if you are using xm for example).

Easy enough to add to a configuration though, I would give it a try.

On Mon, Aug 27, 2012 at 4:38 AM, Aleix Dorca Josa <adorca@xxxxxx> wrote:
Hi Stephan,

thanks for your suggestion but unfortunately what you propose only works in Xen 3. I am using Xen 4.

cheers,

Aleix.

El 27/08/2012, a les 10:30, Stephan Seitz <s.seitz@xxxxxxxxxxx> va escriure:

>
>
> Am Montag, den 27.08.2012, 08:29 +0200 schrieb Aleix Dorca Josa:
>
>> I see that the clocksource=pit on the grub command line does not seem to fix the problem. Any other hints? Change to Ubuntu server? Build my own xen binary? Use Debian's backports to change the kernel version?
>>
>> This is kind of a big problem for me since the error kills ntpd on DomU's and then Dovecot's processes stop themselves when time is corrected. Scripts to workaround this are fine but I would rather much prefer for the clock not to jump ahead.
>>
>
> Hi,
>
> as a quick fix, you could handle your domU's independent from xen:
>
> echo "jiffies" > /sys/devices/system/clocksource/clocksource0/current_clocksource
> echo "1" > /proc/sys/xen/independent_wallclock
>
> take a look at /sys/devices/system/clocksource/clocksource0/available_clocksource to see which clock sources are possible.
>
> cheers,
>
> Stephan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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