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

Re: [Xen-users] Problem in linux domU re: /dev/rtc and hwclock

To: Digimer <linux@xxxxxxxxxxx>
Subject: Re: [Xen-users] Problem in linux domU re: /dev/rtc and hwclock
From: Diego Molina <diegoaugustomolina@xxxxxxxxx>
Date: Wed, 13 Jul 2011 08:39:18 -0300
Cc: xen user <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jul 2011 04:40:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VkPOBQ8jJrgPYX1dc5HmIRrEiDxrONB4Tottev8kT0Q=; b=p1121MrJyiDNLYXkqUPUCBrWprmVRyhsX7sKTFBCr9Ep5DaMFvPsn1qANTzi6diAH0 hVmOivE8TGjL2fiJzCMQA29sG4LOpPziT4pairdaBydz1AqYw48fUVNLTLRpOzqO15bt n4TaLP/vHYddID+j/V2xXJ9GZJ8lkxbtgEYEo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E1CC789.3000104@xxxxxxxxxxx>
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>
References: <4E1CC789.3000104@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, (just to cover things up) may it be possible to change the cobol
instruction to use the system time instead of the hardware time? That
would be like executing `date' command instead 'hwclock'.

2011/7/12, Digimer <linux@xxxxxxxxxxx>:
> Hi all,
>
>   One of our domU VMs (CentOS 5.6 x86_64) runs a cobol application,
> which in turn called 'clock' to get timestamps. Changing this is
> non-trivial.
>
>   When I try to call 'clock --debug' I get:
>
> [root@vm0010 ~]# clock --debug
> hwclock from util-linux-2.13-pre7
> hwclock: Open of /dev/rtc failed, errno=19: No such device.
> No usable clock interface found.
> Cannot access the Hardware Clock via any known method.
>
>   The device exists:
>
> [root@vm0010 ~]# ls -lah /dev/rtc
> crw------- 1 root root 10, 135 Jul 12 18:00 /dev/rtc
>
>   As I understand it, this is (in part?) to prevent domU from altering
> dom0's date/time. Obviously, this is a good thing, but can the device be
> made available to domU VMs in a "read-only" mode?
>
> Thanks!
>
> --
> Digimer
> E-Mail:              digimer@xxxxxxxxxxx
> Freenode handle:     digimer
> Papers and Projects: http://alteeve.com
> Node Assassin:       http://nodeassassin.org
> "I feel confined, only free to expand myself within boundaries."
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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

<Prev in Thread] Current Thread [Next in Thread>