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/
Home Products Support Community News


Re: [Xen-devel] Why set time on dom0, but takes no effect on

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Why set time on dom0, but takes no effect on
From: Pavel Matěja <pavel@xxxxxxxxxx>
Date: Sat, 2 Apr 2011 23:10:25 +0200
Delivery-date: Sat, 02 Apr 2011 14:11:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <019a01cbf0dd$ed63a400$c82aec00$@maoxy@aliyun-inc.com>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Netsafe Solutions s.r.o.
References: <SNT0-MC3-F48r7Ty1Ow00072412@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <019a01cbf0dd$ed63a400$c82aec00$@maoxy@aliyun-inc.com>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.38-2-amd64; KDE/4.4.5; x86_64; ; )
On Sat 2. of April 2011 04:30:27 xiaoyun.maoxy wrote:
> Thanks
> First I get this when run in domain 0.
> root@xmao # hwclock --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.
> Later I follow
> http://lists.xensource.com/archives/html/xen-users/2010-08/msg00012.html
> But after reboot, time is still the old one

man hwclock:
-f, --rtc=filename
overrides the default /dev file name, which is /dev/rtc on many platforms but 
may be /dev/rtc0, /dev/rtc1, and so on.

What is output of "dmesg | grep rtc"?
Pavel Mateja

Xen-devel mailing list

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