From: Ian Campbell Subject: Re: Xen BUG at pci_amd_iommu.c:33 Date: Fri, 17 Aug 2012 14:07:57 +0100 Message-ID: <1345208877.10161.17.camel@zakaz.uk.xensource.com> References: <1345203982.10161.11.camel@zakaz.uk.xensource.com> <502E34AE.9030105@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <502E34AE.9030105@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Wang Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2012-08-17 at 13:10 +0100, Wei Wang wrote: > On 08/17/2012 01:46 PM, Ian Campbell wrote: > > Hi Wei, > > > > A Debian user has hit this message and reported it in > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684661 > > > > I think it is the BUG_ON in: > > struct amd_iommu *find_iommu_for_device(int bdf) > > { > > BUG_ON ( bdf>= ivrs_bdf_entries ); > > return ivrs_mappings[bdf].iommu; > > } > > > > It looks like ivrs_bdf_entries comes from ACPI. Unfortunately the bug > > report is a bit vague about things like stack traces etc so it's hard to > > say where BDF came from. > > > > Any ideas? I'll also follow up to the submitter to try and get some more > > details. > > It difficult to identify the issue from the description and I think a > full serial boot log would be great. Also using iommu=debug as boot > option is very helpful to get more information. Thanks, I've added that to my request to the submitter. Ian.