From: Miroslav Rezanina Subject: Re: RE: [Xen-changelog] [xen-unstable]vt-d: Fixpanic in msi_msg_read_remap_rte with acpi=off Date: Mon, 19 Oct 2009 07:57:55 -0400 (EDT) Message-ID: <1617312147.367651255953475697.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> References: <2004931766.367611255953407109.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2004931766.367611255953407109.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.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: Keir Fraser Cc: xen-devel@lists.xensource.com, Dexuan Cui List-Id: xen-devel@lists.xenproject.org ----- "Keir Fraser" wrote: > From: "Keir Fraser" > To: "Miroslav Rezanina" > Cc: xen-devel@lists.xensource.com, "Dexuan Cui" > 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" 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 -- Miroslav Rezanina Software Engineer - Virtualization Team - XEN kernel