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

RE: [Xen-devel] more bizarre rtc behaviour...

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] more bizarre rtc behaviour...
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Dec 2005 16:33:31 +1100
Delivery-date: Wed, 28 Dec 2005 05:37:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYKl+T9nQb9eVtpQ1+ONDivK6CQrgAA6argABeN1eAAHTE3sA==
Thread-topic: [Xen-devel] more bizarre rtc behaviour...
> 
> > I have now noticed that with the rtc module loaded it
> > exhibits the behaviour I described, but if I unload the rtc
> > module, it all works fine. The underlying hardware clock
> > appears to be fine.
> 
> The rtc module isn't particularly useful in a xen environment. Any
idea
> what in user space is using /dec/rtc ?
> 

Nothing is loading it automatically, I just tried loading it as dom0 is
SMP, and the linux config recommends using rtc.ko in an SMP environment.
I thought maybe that could be explaining my rtc kernel errors.

It just occurred to me that the counting sequence appeared to be a
mismatched BCD HEX problem.... something about rtc is forcing an
interpretation of a HEX value as BCD (or maybe my bios is storing
something as HEX that should be BCD?), eg:

HEX | DEC | BCD
 00 |  00 |  00
 01 |  01 |  01
...............
 08 |  08 |  08 
 09 |  09 |  09
 0a |  10 |  00
 0b |  11 |  11
 0c |  12 |  12
 0d |  13 |  13
 0e |  14 |  14
 0f |  15 |  15
 10 |  16 |  10
 11 |  17 |  11
...............
 3a |  58 |  40
 3b |  59 |  41
 00 |  00 |  00

Could Xen be responsible for that in any way?

Thanks

James

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

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