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

[Xen-devel] recent changes to writable page tables on -unstable and xend

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] recent changes to writable page tables on -unstable and xend
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Thu, 28 Apr 2005 16:12:46 -0700
Delivery-date: Thu, 28 Apr 2005 23:12:29 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qeMT6Jl6TcN9cSUyurrahXbJe64l++dgF7XPQVDbuO8dTlXa6032YEJLwh0viQZeuLUWNN0QOv7ngYJ9Z6YzeHzwPyYqRVKNftONMazIp3UozbOshdp6aoIdAZTiZcK0Fi8pSV4PkCUxPAIdePxQr2L4+pa2xpjUNd5OT08MS4c=
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>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Any thought on which of the recent writable pagetable changes could be
causing an update to fail where it succeeded on xen 6 days ago?

(XEN) DOM5: (file=mm.c, line=2834) ptwr: Could not update pte at fe2ffc04
Timer ISR/1: Time went backwards: delta=-69992000 cpu_delta=1780008000 shadow=
1510880000000 off=9000 processed=1510950000000 cpu_processed=1509100000000
 0: 1510950000000
 1: 1509100000000

In my current changeset this comes from:

    /* Finally, make the p.t. page writable by the guest OS. */
    l1e_add_flags(&pte, _PAGE_RW);
    if ( unlikely(__copy_to_user(&linear_pg_table[addr>>PAGE_SHIFT],
                                 &pte, sizeof(pte))) )
    {
        MEM_LOG("ptwr: Could not update pte at %p", (unsigned long *)
                &linear_pg_table[addr>>PAGE_SHIFT]);
        /* Toss the writable pagetable state and crash. */


I've added show_guest_stack to determine that I'm in the process of
mapping a page read-write in order for it to be zeroed.

This isn't an emergency as disabling writable pagetables allows me to
get running again.


On -testing xend always reaps a domain immediately after it has
crashed. On -unstable up until today it would wait to reap the guest
until I ran 'xm list'. Now it appears that I have to explicitly run xm
destroy on a guest even after it has crashed.

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

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