vt-d: Fixpanic in msi_msg_read_remap_rte with acpi=off
Quoted 26 lines · ----- "Keir Fraser
From: "Keir Fraser" <[email protected]>
To: "Miroslav Rezanina" <[email protected]>
Cc: [email protected], "Dexuan Cui" <[email protected]>
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 inmsi_msg_read_remap_rtewith acpi=offQuoted 6 lines · Miroslav Rezanina
Quoted 4 lines
I'll be applying Dexuan's original replacement patch.
-- Keir
I retest version with removed NULL checks and in this case, my
system crashes.
Quoted 1 line
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 setsacpi_disabled. If acpi_disabled=1,
theniommu_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.
Quoted 3 lines
-- 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.imgSignature · 2 lines
Miroslav Rezanina Software Engineer - Virtualization Team - XEN kernel
Quoted 42 lines · Miroslav Rezanina
Quoted 29 lines · ----- "Keir Fraser
From: "Keir Fraser" <[email protected]>
To: "Miroslav Rezanina" <[email protected]>
Cc: [email protected], "Dexuan Cui" <[email protected]>
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 inmsi_msg_read_remap_rtewith acpi=offQuoted 8 lines · Miroslav Rezanina
Quoted 4 lines
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 setsacpi_disabled. If acpi_disabled=1,
theniommu_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.Quoted 3 lines
-- 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:
Quoted 3 lines
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.imgStrange... 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
[email protected]
http://lists.xensource.com/xen-devel