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] xen-unstable fails to boot on a system with Ivy Bridge s

To: Tim Deegan <tim@xxxxxxx>
Subject: Re: [Xen-devel] xen-unstable fails to boot on a system with Ivy Bridge stepping C0 cpu
From: Igor Mammedov <imammedo@xxxxxxxxxx>
Date: Thu, 03 Nov 2011 16:58:40 +0100
Cc: anthony.perard@xxxxxxxxxx, jinsong.liu@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian.Campbell@xxxxxxxxxx
Delivery-date: Thu, 03 Nov 2011 09:09:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111103131043.GB66800@xxxxxxxxxxxxxxxxxxxxx>
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: <4EB28CAD.2060401@xxxxxxxxxx> <20111103131043.GB66800@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110927 Red Hat/3.1.15-1.el6_1 Lightning/1.0b2 Thunderbird/3.1.15
On 11/03/2011 02:10 PM, Tim Deegan wrote:
At 13:44 +0100 on 03 Nov (1320327869), Igor Mammedov wrote:
Hi,

I need a help with tracking down following issue:

When trying to boot Xen on a system with Ivy Bridge stepping C0 CPU, it is
stuck on CPU initialization.
I've added some tracing to apic writes/reads and traced it so far to
sending INIT IPI.

(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging detected.
(XEN) Setting warm reset code and vector.
(XEN) apic_wrmsr (0x280,0x0)
(XEN) apic_rdmsr(0x280) = 0x0
(XEN) Asserting INIT.
(XEN) apic_wrmsr (0x300,0x10000c500)

After this ^^^^ write BSP becomes VERY slow and it takes several minutes
till it gets to sending STARTUP IPI:

Does reverting 23724:b3434f24b082 help?  Looking at it again I'm not
                 ^^^^^
reverting this c/s won't help, because the same problem exists in older xen
versions 3.x.x that doesn't have this c/s.
Actually I've tried rhel5, suse 4.1 and xen-unstable so far, all of them are
affected.

If we put printk right after sending INIT|ASSERT IPI it will show that BSP
is slowed down by printing 1 character in a several seconds. So deassert
probably is not of an issue here, since this happens on the first INIT to
the first AP.


sure that the new logic is entirely correct - in particular it no longer
deasserts the INIT on x2apic systems.

Cheers,

Tim.


--
Thanks,
 Igor

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

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