<div dir="ltr"><div>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.<br><br></div>However, I still don't know why there exists some kernel oops in previous tests.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 8, 2017 at 2:33 PM, <a href="mailto:Taiidan@gmx.com">Taiidan@gmx.com</a> <span dir="ltr"><<a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 09/08/2017 02:12 AM, Iru Cai wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Sep 8, 2017 at 2:02 PM, <a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a> <<a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/08/2017 12:44 AM, Iru Cai wrote:<br>
<br>
On Fri, Sep 8, 2017 at 11:42 AM, <a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a> <<a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/07/2017 11:21 PM, Iru Cai wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a problem about PCI passthrough on KGPE-D16. I plugged in a PCI<br>
to<br>
USB adapter to the PCI slot, and it's in IOMMU group 7 with the ASpeed<br>
video card and the LSI 1394a controller. I try to pass them all to a VM,<br>
but then kernel crashes. I tried in Linux 4.9.47 and Linux 4.12.10.<br>
<br>
Does anyone with KGPE-D16 have this problem?<br>
<br>
Iru<br>
<br>
You are attempting to pass the primary video device to a VM which hardly<br>
</blockquote>
ever works, I tried the same thing and it didn't work (I wanted my PCI<br>
sound card in the VM, and as PCI doesn't support ACS and all the PCI<br>
devices on the D16 are behind the same bridge they are in the same IOMMU<br>
group so I had to do that - I ended up buying a USB sound adapter)<br>
<br>
Now I'm using GTX 650 as my primary video device and not using the on<br>
</blockquote>
board<br>
ASpeedĀ  video card.<br>
<br>
Also I tried to pass the onboard USB controller to the VM, and also<br>
crashed<br>
the kernel.<br>
<br>
</blockquote>
Damn :[<br>
FYI you forgot to reply all - please re post this to the list :]<br>
<br>
Hmm can I have dmesg logs and your libvirt or w/e VM config files? for the<br>
new config you are trying.<br>
I am playing games right now with my pass thru usb ports.<br>
<br>
</blockquote>
So are you using vfio-pci or pci-stub? I don't know if I can use pci-stub<br>
in libvirt, but vfio-pci will require all devices<br>
in an IOMMU group passed to a VM, and I don't use a modded kernel.<br>
</blockquote></div></div>
VFIO-PCI<br>
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.<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! <a href="http://fsf.org/campaigns/opendocument/" target="_blank">http://fsf.org/campaigns/opendocument/</a></div></div>
</div>