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] Error starting xend

To: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Error starting xend
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Mon, 22 Aug 2005 09:43:48 -0700
Cc: "Koren, Bradley J" <Bradley.Koren@xxxxxxxxxx>, "Magolan, John F" <John.Magolan@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Davis, Jason" <jason.davis@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: Mon, 22 Aug 2005 16:42:22 +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: AcWlA/XTSA8brZqaRuin51CtA97tGAAARebgAAAHLbAAAEtx4ACLSyTwAAFANmA=
Thread-topic: [Xen-devel] Error starting xend
Puthiyaparambil, Aravindh wrote:
>>> (XEN) DOM0: (file=mm.c, line=1055) Bad L1 flags 800000
>> 
>> This means non-NX/XD support is not complete yet. Can you figure out
>> who in xenlinux made that request? If you can look at the return
>> address of the hypercall, you can tell who it is.
> 
> direct_remap_area_pages() [arch/xen/x86_64/mm/ioremap.c] is the
> xenlinux function that is making the request. There are two
> HYPERVISOR_mmu_update() calls. It is happening on the second call
> (line 457).
> 
> Hope this helps.
> Aravindh

Can you try this patch?

diff -r 4adaea8679cf linux-2.6-xen-sparse/arch/xen/x86_64/mm/ioremap.c
--- a/linux-2.6-xen-sparse/arch/xen/x86_64/mm/ioremap.c Mon Aug 22
06:45:10 2005
+++ b/linux-2.6-xen-sparse/arch/xen/x86_64/mm/ioremap.c Mon Aug 22
09:40:47 2005
@@ -442,7 +442,7 @@
                 * __direct_remap_area_pages(). 
                 */
                v->val = (machine_addr & PAGE_MASK) | pgprot_val(prot);
-
+               v->val &= __supported_pte_mask;
                machine_addr += PAGE_SIZE;
                address += PAGE_SIZE; 
                v++;

Jun
---
Intel Open Source Technology Center

Attachment: ioremap.patch
Description: ioremap.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>