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] RE: [Xen-changelog] [xen-unstable]vt-d: Fixpanic in msi_

To: Miroslav Rezanina <mrezanin@xxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: [Xen-changelog] [xen-unstable]vt-d: Fixpanic in msi_msg_read_remap_rte with acpi=off
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Mon, 19 Oct 2009 22:01:45 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 Oct 2009 07:01:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1617312147.367651255953475697.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <2004931766.367611255953407109.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1617312147.367651255953475697.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpQs2gbiyjIY6rKRjWulDUjMAK5HAAELrKQ
Thread-topic: [Xen-devel] RE: [Xen-changelog] [xen-unstable]vt-d: Fixpanic in msi_msg_read_remap_rte with acpi=off
Miroslav Rezanina wrote:
> ----- "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:
> 
>> From: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
>> To: "Miroslav Rezanina" <mrezanin@xxxxxxxxxx>
>> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Dexuan Cui"
>> <dexuan.cui@xxxxxxxxx> 
>> Sent: Monday, October 19, 2009 1:43:49 PM GMT +01:00 Amsterdam /
>> Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [Xen-devel]
>> RE: [Xen-changelog] [xen-unstable]vt-d: Fixpanic in
>> msi_msg_read_remap_rte with acpi=off  
>> 
>> On 19/10/2009 12:18, "Miroslav Rezanina" <mrezanin@xxxxxxxxxx> wrote:
>> 
>>>> I'll be applying Dexuan's original replacement patch.
>>>> 
>>>>  -- Keir
>>>> 
>>> 
>>> I retest version with removed NULL checks and in this case, my
>>> system crashes. So there has to be checks for NULL or something
>>> else is wrong. 
>> 
>> Got a backtrace and Xen boot params? If you pass acpi=off, then
>> disable_acpi() is invoked, and this sets acpi_disabled. If
>> acpi_disabled=1,
>> then iommu_setup() sets iommu_enabled=0. If iommu_enabled=0 then I
>> think all
>> the update_ire_from_* and similar hooks get disabled in the callers.
>> So
>> something unexpected must be happening.
>> 
>>  -- Keir
>> 
>> 
> Unfortunately, machine I'm working on has no serial output enabled. I
> try to  reproduce this on a machine where I can get log. I try
> xen-3.4-testing c/s 19785: 7e2169ea6687 (that is eqaul to
> xen-unstable c/s 20338: 5f28661bb2bb. Without checks - machine
> crashes during boot (when trying to init eth2)  
> with checks - machine boots successfully.
> ----
> Grub conf:
>         kernel /xen-3.4.2-rc1-pre.gz acpi=off iommu=1
>         module /vmlinuz-2.6.18.8 ro root=LABEL=/ rhgb
>         module /initrd-2.6.18.8.img

Strange... Looks before iommu_setup(), no IOAPIC IRTE read/write and msi msg 
read/write would occur.
Hi Miroslav, can you attach your serial log of the crash when you use 
xen-3.4-testing 19785? It's interesting to me. :-)

-- Dexuan

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