[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Ubuntu Jaunty (9.04) as DomU Clock Issue
Hi, there I got another issue with Ubuntu's 9.04 Xen-able for DomU kernel: I run it as virtual instance and see my clocks are wrong, and I have no way to tune clocks inside VM: VM's config is: /etc/xen/app.cluster.xen # this is autogenerated by Ganeti, please do not edit # kernel = '/boot/vmlinuz-2.6-xenU' ramdisk = '/boot/initrd-2.6-xenU' memory = 256 vcpus = 1 name = 'app.cluster.xen' vif = ['mac=aa:00:00:3e:98:e4, bridge=br0'] disk = ['phy:/var/run/ganeti/instance-disks/app.cluster.xen:0,sda,w'] root = '/dev/xvda1' on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' extra = 'clock=jiffies' ^^^^^^ I set it to jiffies after Debian's expirence. /boot/initrd-2.6-xenU -> initrd.img-2.6.28-11-server /boot/vmlinuz-2.6-xenU -> vmlinuz-2.6.28-11-server That's almost fine. I got ntp run on VM, but time is wrong and it seems it is 5 times slowly. But I found another surprise from Ubuntu's kernel - there is no xen.independent_wallclock option for this kernel! The VM's kernel uname -a Linux app.cluster.xen 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux root@app:~# sysctl -w xen.independent_wallclock=1 error: "xen.independent_wallclock" is an unknown key root@app:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource jiffies root@app:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksource xen tsc jiffies Is any solution to run it with correct clocks? For Dom0 I'm trying Ubuntu's xen 3.3 with Debian's 2.6.26-2-xen-686 kernel. It is PVM and I have not "vt" option for my CPU so HVM unavailable. Thank you in advance for solution -- My best wishes. Alexandr Ogurtsov. Linux is very friendly it is just picky who its friends are _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |