* Xen BUG at pci_amd_iommu.c:33
@ 2012-08-17 11:46 Ian Campbell
2012-08-17 12:10 ` Wei Wang
0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2012-08-17 11:46 UTC (permalink / raw)
To: Wei Wang, xen-devel; +Cc: 684661
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.
Ian.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xen BUG at pci_amd_iommu.c:33
2012-08-17 11:46 Xen BUG at pci_amd_iommu.c:33 Ian Campbell
@ 2012-08-17 12:10 ` Wei Wang
2012-08-17 13:07 ` Ian Campbell
0 siblings, 1 reply; 3+ messages in thread
From: Wei Wang @ 2012-08-17 12:10 UTC (permalink / raw)
To: Ian Campbell; +Cc: 684661, xen-devel
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,
Wei
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Xen BUG at pci_amd_iommu.c:33
2012-08-17 12:10 ` Wei Wang
@ 2012-08-17 13:07 ` Ian Campbell
0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2012-08-17 13:07 UTC (permalink / raw)
To: Wei Wang; +Cc: xen-devel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-17 13:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 11:46 Xen BUG at pci_amd_iommu.c:33 Ian Campbell
2012-08-17 12:10 ` Wei Wang
2012-08-17 13:07 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.