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

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



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


 


Rackspace

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