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

Re: [Xen-ia64-devel] translate_domain_mpaddr error message

To: Alex Williamson <alex.williamson@xxxxxx>, "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel] translate_domain_mpaddr error message
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Tue, 7 Mar 2006 16:54:59 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Mar 2006 15:51:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1141743604.3255.101.camel@localhost>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD59FF00E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1141743604.3255.101.camel@localhost>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mardi 07 Mars 2006 16:00, Alex Williamson a écrit :
> On Tue, 2006-03-07 at 06:53 -0800, Magenheimer, Dan (HP Labs Fort
>
> Collins) wrote:
> > I have seen them for a long time on one of my machines
> > so I don't think it is related to your recent SMP work.
> > I suspected they are a result of programming some MMIO
> > device but never tracked it down.
>
>    I've seen them too.  I haven't tracked them down either, but my guess
> was they might have something to do w/ playing with the EFI RTC.
Thanks.

Meanwhile I have also tracked it.
This appear when hwclock is run at boot time.  Since translate_domain_mpaddr 
is called only in metaphysical, it is not called enough.  One of the only 
place is EFI_GETTIMEOFAY.

However, it doesn't always appear.  You can run hwclock many times without the 
message.

The bogus address is in fact inside the stack.  So it is not that bogus.
And it is not bogus at all given the memmap:
(XEN) translate_domain_mpaddr: out-of-bounds dom0 mpaddr 0x7e91fde0!

XEN) domain mem: type=2, attr=0x8, 
range=[0x0000000008000000-0x0000000008100000
) (1MB)
(XEN) domain mem: type=13, attr=0x8, 
range=[0x0000000008100000-0x000000000820000
0) (1MB)
(XEN) domain mem: type=7, attr=0x8, 
range=[0x0000000008200000-0x0000000027000000
) (494MB)
(XEN) domain mem: type=7, attr=0x8, 
range=[0x000000007e000000-0x000000007f000000
) (16MB)
(XEN) domain mem: type=12, attr=0x8000000000000001, 
range=[0x00000ffffc000000-0x
0000100000000000) (64MB)

So I think the last granule is sometimes used for the stack, and this granule
doesn't belong to dom0_start .. dom0_start+dom0_size.
The test does not stand anymore.

We could either remove it or wait for VP.

Hops this is correct.
Tristan.


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

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