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] FYI: gcc segfault also meet with as

To: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] FYI: gcc segfault also meet with as
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Wed, 5 Apr 2006 11:24:36 +0800
Delivery-date: Tue, 04 Apr 2006 20:24:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZX4KQi2IH9pJ+hTEuHiyD+HdEGFgAQfyXgAAwqP7A=
Thread-topic: [Xen-ia64-devel] FYI: gcc segfault also meet with as
>From: Magenheimer,
>Dan (HP Labs Fort Collins)
>Yes this problem has been with us for several months and
>anybody who exercises Xen/ia64 heavily will probably see it
>occur.  It is definitely not specific to gcc... it may even
>be occuring in ltp, but since it is not repeatable (the
>failure appears almost randomly), it is hard to link a
>single ltp test failure to the "gcc segfault" problem.
>
>Based on what I have seen, I suspect it has something
>to do with a stale translation... perhaps some flush/purge
>is not working properly or maybe a region id is being
>incorrectly re-used.
>
>Isolating this problem will take a lot of effort and
>some sophisticated debug tools/hardware.  However, I
>would not recommend Xen/ia64 be "released" to customers
>until it is found/fixed.
>
I also saw gcc segmentation on dom0 recently, and I got chance to debug this,
I caught this issue once,and I found this gcc segmentation is due to process 
access 
a address which is not belong to this process.
I also found the machine address of this fault address belongs to the high 
memory block(16M), which is used to avoid VIRTUAL_MEMMAP issue.

I looked into the code, and found xen uses this 16M just below max_page.
and this 16M can't be guaranteed not used by box firmware.
But I didn't find the area was used by firmware from memmap dumped in efi 
shell. 

Though, I still dropped down this 16M from dom0, and run kernel build,
I haven't see gcc segmentation fault since then.

I'm not sure if it is the root cause, just FYI.


Thanks,
Anthony


>Dan
>

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

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