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] Ubuntu Jaunty (9.04) as DomU Clock Issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Ubuntu Jaunty (9.04) as DomU Clock Issue
From: "Alexandr R. Ogurtzoff" <iscander@xxxxxxxxx>
Date: Tue, 23 Jun 2009 20:03:18 +0300
Delivery-date: Tue, 23 Jun 2009 10:04:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=RtgUTFQXB5Kc65jh1Rg59MAZjxOm2uedjDeYT7Y8UM4=; b=R/3CMy1s/lQjxzYS3uXj/KPYkguyng+gIGWXRQZzJUGZ/vZhVoBrgKe01s61xXgoDZ 76/2vyjP9tRmjALuXHEjCcnEaLYVImZq3+3EKx+vtnvAOnY1QNRBAOWg0k0hVjrA/3Iy falqmjUaybBdEoCgBEFbib5oyd6S3Ui9O5g0w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=vRbWjCDDjaz/OhZnXkfS+9M5efWVCtpV1wLKFVtD286VgyhPthnc4kxojsPTw3dZQL r68DTAG1Lb7/21XJsunO907dLoOcsH5YqXIHvm7VegUfTghmXXDVtGfO/qckUUI2bnA7 BIcznBKYue8HKJV+DYnl/0B4nFiwLUFxo+/2I=
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, 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Ubuntu Jaunty (9.04) as DomU Clock Issue, Alexandr R. Ogurtzoff <=