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] VT-VMX: monitor_table not zeroed when entering alloc_mon

To: dsteklof@xxxxxxxxxx
Subject: Re: [Xen-devel] VT-VMX: monitor_table not zeroed when entering alloc_monitor_pagetable
From: Khoa Huynh <khoa@xxxxxxxxxx>
Date: Fri, 28 Oct 2005 11:06:12 -0500
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Oct 2005 16:03:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1130455234.10902.23.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Sensitivity:
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 10/27/2005 06:20:34 PM:

>
> I'm hitting an ASSERT in alloc_monitor_pagetable() with debug=y and I
> can reproduce the condition when debug isn't on. The monitor_table is
> not zeroed when entering alloc_monitor_pagetable() - this happens when I
> create a vmx guest. I'm not sure why this happening at first glance.
>
> File: xen/arch/x86/shadow32.c
> Line: 689
> System: VT/VMX FC3 x86_32 (I can reproduce on FC4 x86_64 too)
>
> ASSERT(pagetable_get_paddr(v->arch.monitor_table) == 0);
>
> The monitor_table should be zeroed before coming into this function by
> free_monitor_pagetable(), unless monitor_vtable is already zeroed.
>
> File: xen/arch/x86/shadow32.c
> Line: 935
>
>         if ( v->arch.monitor_vtable )
>         {
>             free_monitor_pagetable(v);
>         }
>         if ( mode & SHM_external )
>         {
>             alloc_monitor_pagetable(v);
>         }
>
>
> Is anyone else seeing this problem?

Yes, I see this on my VT box running FC3/Xen as well.
I am currently looking into this.  Thanks.

Regards,

Khoa



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

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