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] Stock 2.6.27 kernel hanging on WP test

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Stock 2.6.27 kernel hanging on WP test
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 12 Oct 2009 09:14:20 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Delivery-date: Mon, 12 Oct 2009 09:14:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4ACE6E2A.1050104@xxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4ACE6874.90605@xxxxxxxx> <4ACE6E2A.1050104@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4
On 10/08/09 15:56, Jeremy Fitzhardinge wrote:
> On 10/08/09 15:32, Jeremy Fitzhardinge wrote:
>   
>> When I boot Fedora 9 with a stock 2.7.26.25 32-bit-PAE kernel, it's
>> hanging forever in the WP test.  I'm running current xen-unstable
>> 1d7221667204.
>>
>> Another kernel (I think non-PAE this time) complained that the WP test
>> failed (ie, supervisor was allowed to write to a RO page without fault).
>>
>> The previous version of Xen I tried (only a couple of days ago), crashed
>> with "(XEN) Assertion 'v->arch.paging.mode' failed at multi.c:4069" when
>> starting the same domain, but I'm not sure if it got to the same point.
>>   
>>     
> Oh, I guess I should have pointed out this is an HVM domain.  PV is no
> problem.
>
> A 64-bit HVM Linux guest seems to die very quickly, but I'm not sure
> where its dying (I don't think 64-bit kernels bother testing for WP, so
> it could be another crash with the same root cause).
>   

Any thoughts about this?  When I look at the domain context with
debug-key 'd', the eip is on the write to the RO page doing the WP test,
and the VCPU is stuck in run state.  It looks like the Xen fault handler
is endlessly restarting the instruction rather than injecting a guest fault.

Presumably that path must mostly work or not much would run at all.  The
only thing that occurs to me is that some heuristic is putting Xen down
some unusual path that has a bug in it.  The fault is a bit unusual
because it's a deliberate write to a RO fixmap slot, high in the 32-bit
address space.

    J

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

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