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-users] No access to hwclock on Dom0 / Xen 4.0.1-rc5-pre / pv_o

To: Iain Kay <i.kay@xxxxxx>
Subject: Re: [Xen-users] No access to hwclock on Dom0 / Xen 4.0.1-rc5-pre / pv_ops
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 2 Aug 2010 01:06:30 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 01 Aug 2010 11:07:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FE627330-1142-4F1D-8960-C5D73F89BE52@xxxxxx>
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: <FE627330-1142-4F1D-8960-C5D73F89BE52@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Aug 2, 2010 at 12:57 AM, Iain Kay <i.kay@xxxxxx> wrote:
> Here's what happens:
> [root@indigo ~]# hwclock --systohc
> Cannot access the Hardware Clock via any known method.
> Use the --debug option to see the details of our search for an access method.
> [root@indigo ~]#
> I was able to use the hwclock command fine before booting the Xen pv_ops 
> kernel. I have gone through kernel config lines and ensured that 
> CONFIG_RTC_...etc is enabled, have tried compiling the modules for rtc 
> drivers and loading them one by one but to no avail.
> Any input would be greatly appreciated.

Try this:
mv /dev/rtc /dev/rtc.old
cp -a /dev/rtc0 /dev/rtc
hwclock --systohc


Xen-users mailing list

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