From: Keir Fraser Subject: Re: Testing status of fully virtualized guests (Intel VT) on 64bit XEN unstable Date: Sun, 18 Jun 2006 14:40:24 +0100 Message-ID: <7eb8916b97df4e7fed95f55c09543e56@cl.cam.ac.uk> References: <44954742.7020608@virtualiron.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: multipart/mixed; boundary=Apple-Mail-1-532132814 Return-path: In-Reply-To: <44954742.7020608@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ed Smith Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Apple-Mail-1-532132814 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed > - NEW: dom0 SMP boot hangs/Kernel Oops (see failure.11) > > 11. DOM0 is getting Kernel Oops and during booting and usually hangs > before fully coming up. If I boot with nosmp passed into xen, it > comes > up fine. This should be fixed by c/s 10439, which is currently only in the staging tree. I've attached it here in case you want to give it a go. -- Keir --Apple-Mail-1-532132814 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0664; name="10439.patch" Content-Disposition: attachment; filename=10439.patch # HG changeset patch # User kaf24@firebug.cl.cam.ac.uk # Node ID 5033ffe8f53356cd7d8e52e9d4ce78c69e826d33 # Parent ef8cdd1dc8360e310423a599ff1da76fb111bc96 Small fixes to changesets 10424 and 10425 (spurious #PF detection). Signed-off-by: Keir Fraser diff -r ef8cdd1dc836 -r 5033ffe8f533 linux-2.6-xen-sparse/arch/x86_64/mm/fault-xen.c --- a/linux-2.6-xen-sparse/arch/x86_64/mm/fault-xen.c Sat Jun 17 10:29:35 2006 +++ b/linux-2.6-xen-sparse/arch/x86_64/mm/fault-xen.c Sat Jun 17 11:57:03 2006 @@ -324,7 +324,7 @@ #endif /* Reserved-bit violation or user access to kernel space? */ - if (error_code & PF_RSVD|PF_USER) + if (error_code & (PF_RSVD|PF_USER)) return 0; pgd = init_mm.pgd + pgd_index(address); diff -r ef8cdd1dc836 -r 5033ffe8f533 xen/arch/x86/traps.c --- a/xen/arch/x86/traps.c Sat Jun 17 10:29:35 2006 +++ b/xen/arch/x86/traps.c Sat Jun 17 11:57:03 2006 @@ -592,6 +592,10 @@ l1_pgentry_t l1e, *l1t; unsigned int required_flags, disallowed_flags; + /* Reserved bit violations are never spurious faults. */ + if ( regs->error_code & PGERR_reserved_bit ) + return 0; + required_flags = _PAGE_PRESENT; if ( regs->error_code & PGERR_write_access ) required_flags |= _PAGE_RW; @@ -653,10 +657,6 @@ struct vcpu *v = current; struct domain *d = v->domain; int is_spurious; - - /* Reserved bit violations are never spurious faults. */ - if ( regs->error_code & PGERR_reserved_bit ) - return 0; LOCK_BIGLOCK(d); --Apple-Mail-1-532132814 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Apple-Mail-1-532132814--