Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

Chris Wright
2011-02-22T01:52:06Z

* James Neave (roboj1m@gmail.com) wrote:
> Finally, here is the very latest dmesg:
> http://pastebin.com/9HE61K62

OK, this is an AMD IOMMU box.

[ 0.000000] ACPI: IVRS 00000000cfcf9830 000E0 (v01 AMD RD890S 00202031 AMD 00000000)

It's discovered and enalbed properly:

[ 0.698992] AMD-Vi: Enabling IOMMU at 0000:00:00.2 cap 0x40
[ 0.710287] AMD-Vi: Lazy IO/TLB flushing enabled

> Does anybody know the debug kernel switches for iommu?

Two helpful kernel commandline options are:

amd_iommu_dump debug (and drop "quiet")

The problem is when you attach the device (function) you're getting
stuck up in conflicts with the existing domain for that function.

My guess is that all the functions are behind a PCI to PCI bridge, so the alias
lookup is finding a conflict.

thanks,
-chris