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] iommu=0 leading to panic when system defaults to using

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] iommu=0 leading to panic when system defaults to using x2apic
From: Yinghai Lu <yinghai@xxxxxxxxxx>
Date: Tue, 14 Dec 2010 09:52:51 -0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Suresh Siddha <suresh.b.siddha@xxxxxxxxx>, Allen M Kay <allen.m.kay@xxxxxxxxx>, Weidong Han <weidong.han@xxxxxxxxx>, Yang Z Zhang <yang.z.zhang@xxxxxxxxx>
Delivery-date: Tue, 14 Dec 2010 10:00:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D07B2A10200007800027E6E@xxxxxxxxxxxxxxxxxx>
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: <4D0215E0020000780002734A@xxxxxxxxxxxxxxxxxx> <C927C3C4.C5DD%keir@xxxxxxx> <4D0224E602000078000273AD@xxxxxxxxxxxxxxxxxx> <749B9D3DBF0F054390025D9EAFF47F22317AA2F4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4D0257D7020000780002747B@xxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D530193BB9EB8@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4D07372F0200007800027BBF@xxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D530193C384E4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4D07B2A10200007800027E6E@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11
On 12/14/2010 09:08 AM, Jan Beulich wrote:
>>>> On 14.12.10 at 17:53, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> wrote:
>>>  And why is it that Xen panics when the BIOS pre-enabled x2apic
>>> mode without also enabling interrupt re-mapping, while Linux
>>> (afaict from looking at 2.6.32 code and output from an affected
>>> machine) simply enables interrupt re-mapping in this case?
>>
>> AFAIK, Linux also requires interrupt remapping for x2apic.  I believe 
>> Weidong has fixed the panic issue in Xen when x2apic is enabled without 
>> enabling interrupt remapping.  It should now behave the same way as Linux.
> 
> Oh, and I should have added that I'm currently polishing up
> patches from Yinghai Lu to address this as well as other
> problems preventing (certain?) large boxes from booting or
> functioning correctly.

Yes, just want to make xen aligned to current Linux kernel behavior.
BIOS guys said why Linux non-xen kernel is happy but xen kernel is not.

please check attached patches. Our big box with x2apic-preenabled, AND half 
cpus' apic id are above 255.

They are on top of xen-4.0.1. and first one is from Weidong in unstable.

Thanks

Yinghai Lu

Attachment: patches_x2apic_preenabled_above_255_09010.tar.bz2
Description: application/bzip

Attachment: patches_x2apic_preenabled_above_255_dom0_2.6.32.13_0904.tar.bz2
Description: application/bzip

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