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

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] No access to hwclock on Dom0 / Xen 4.0.1-rc5-pre / pv_ops 2.6.31.13
From: Iain Kay <i.kay@xxxxxx>
Date: Sun, 01 Aug 2010 19:13:48 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 01 Aug 2010 11:15:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinHwZas7uMcGnc8evXsBzzTxg0k9Nht_JVQL=M=@xxxxxxxxxxxxxx>
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> <AANLkTinHwZas7uMcGnc8evXsBzzTxg0k9Nht_JVQL=M=@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Fajar,

You are a star! That did the trick.

Unfortunately it won't persist after reboot but adding those lines to 
/etc/rc.local is a nice quick fix.

Thanks again.


Iain Kay


On 1 Aug 2010, at 19:06, Fajar A. Nugraha wrote:

> 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
> 
> -- 
> Fajar


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

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