<div dir="ltr">Hi there,<div><br></div><div>I'm trying to do passthrough on another machine, since I can do the same thing on the original, I think it would be easy, but I was wrong.</div><div><br></div><div>Here's the info about this server.</div><div><br></div><div>CPU: Intel Xeon E5 2620 v2 x 2</div><div>OS: Ubuntu 16.04 Server (Kernel ver: 4.4.0)</div><div>QEMU verison: 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.14)</div><div>Libvirt version: 1.3.1</div><div><br></div><div>Only the different things is this server included BMC VGA, and I install Xfce virtual GUI + VNC.</div><div><br></div><div>Below is what I'm setting on Ubuntu:</div><div><br></div><div>1. Blacklist the nouveau or other drivers about Nvidia</div><div>Included <font face="monospace, monospace">nouveau, vga16fb, rivafb, nvidiafb, rivatv.</font></div><div><br></div><div>2. Add VFIO drivers into init list when boot .</div><div><font face="monospace, monospace"># cat /etc/modules</font></div><div><font face="monospace, monospace">vfio</font></div><div><font face="monospace, monospace">vfio_pci</font></div><div><font face="monospace, monospace">vfio_iommu_type1</font></div><div><font face="monospace, monospace">vfio_virqfd</font></div><div><br></div><div>3. Add K420 PID & VID and open IOMMU function into GRUB</div><div><font face="monospace, monospace">GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on vfio-pci.ids=10de:0ff3,10de:0e1b"</font></div><div><br></div><div>4. Build VM and install Windows Server 2012 R2</div><div><br></div><div>5. Shutdown VM, add kvm=off, delete everything about Hyper-V function, and passthrough K420 after installation.</div><div><br></div><div><br></div><div>But when I mount K420 into VM, VFIO shows error on kernel log.</div><div><font face="monospace, monospace">vfio-pci 0000:06:00.0: BAR 3: can't reserve [mem 0xd0000000-0xd1ffffff 64bit pref]</font></div><div><br></div><div>And I checked /proc/iomem, it shows</div><div><br></div><div><div><font face="monospace, monospace">80000000-dfffffff : PCI Bus 0000:00</font></div><div><font face="monospace, monospace">  80000000-8fffffff : PCI MMCONFIG 0000 [bus 00-ff]</font></div><div><font face="monospace, monospace">    80000000-8fffffff : reserved</font></div><div><font face="monospace, monospace">  c0000000-d1ffffff : PCI Bus 0000:06</font></div><div><font face="monospace, monospace">    c0000000-cfffffff : 0000:06:00.0</font></div><div><font face="monospace, monospace">    d0000000-d1ffffff : 0000:06:00.0</font></div><div><font face="monospace, monospace">      d1000000-d112ffff : vesafb</font></div></div><div><br></div><div><br></div><div>VM can boot, but show Code 43 after installed driver.</div><div><br></div><div>I don't know why it occupied by vesafb, since this server already have BMC chip.</div><div><br></div><div><br></div><div>Here's the VM profile:</div><div><br></div><div><a href="https://pastebin.com/PXuT4Vqg">https://pastebin.com/PXuT4Vqg</a><br></div><div><br></div><div><br></div><div>Any ideas?</div><div><br></div><div><br></div><div><br></div><div>Many thanks,</div><div>Eddie.</div></div>