I seem to know what happened to me. Now I pass throught 00.12.{0,1,2} and there's no problem now. But if I plug in my keyboard and mouse, then because of the USB controller is passed to the VM, then I have no keyboard or mouse to use, so the system seems to hang.

However, I still don't know why there exists some kernel oops in previous tests.

On Fri, Sep 8, 2017 at 2:33 PM, Taiidan@gmx.com <Taiidan@gmx.com> wrote:
On 09/08/2017 02:12 AM, Iru Cai wrote:

On Fri, Sep 8, 2017 at 2:02 PM, Taiidan@gmx.com <Taiidan@gmx.com> wrote:

On 09/08/2017 12:44 AM, Iru Cai wrote:

On Fri, Sep 8, 2017 at 11:42 AM, Taiidan@gmx.com <Taiidan@gmx.com> wrote:
On 09/07/2017 11:21 PM, Iru Cai wrote:
Hi,

I have a problem about PCI passthrough on KGPE-D16. I plugged in a PCI
to
USB adapter to the PCI slot, and it's in IOMMU group 7 with the ASpeed
video card and the LSI 1394a controller. I try to pass them all to a VM,
but then kernel crashes. I tried in Linux 4.9.47 and Linux 4.12.10.

Does anyone with KGPE-D16 have this problem?

Iru

You are attempting to pass the primary video device to a VM which hardly
ever works, I tried the same thing and it didn't work (I wanted my PCI
sound card in the VM, and as PCI doesn't support ACS and all the PCI
devices on the D16 are behind the same bridge they are in the same IOMMU
group so I had to do that - I ended up buying a USB sound adapter)

Now I'm using GTX 650 as my primary video device and not using the on
board
ASpeedĀ  video card.

Also I tried to pass the onboard USB controller to the VM, and also
crashed
the kernel.

Damn :[
FYI you forgot to reply all - please re post this to the list :]

Hmm can I have dmesg logs and your libvirt or w/e VM config files? for the
new config you are trying.
I am playing games right now with my pass thru usb ports.

So are you using vfio-pci or pci-stub? I don't know if I can use pci-stub
in libvirt, but vfio-pci will require all devices
in an IOMMU group passed to a VM, and I don't use a modded kernel.
VFIO-PCI
I pass thru my video card, an onboard nic and an onboard usb controller (all three usb subdevices) - works great and they're all in their own iommu group.



--
Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/