[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [vfio-users] VFIO not claiming device



For further explanation see this : https://www.freedesktop.org/software/systemd/man/systemd-modules-load.service.html#rd.modules-load=

2016-04-23 0:24 GMT+02:00 thibaut noah <thibaut noah gmail com>:
My grub line :
"GRUB_CMDLINE_LINUX_DEFAULT="rd.modules-load=vfio-pci quiet intel_iommu=on,igfx_off pcie_acs_override=downstream" (igfx_off is because i cannot boot otherwise, got some graphic glitch at boot, if you don't have it feel, free to remove itr"

Don't forget to update grub afterwards. It is weird though, rd.modules-load is on others tutorials but not on arch wiki.
I believe that was the issue i had when first trying to get vfio to grab the device on antergos first time i wanted to do this.

2016-04-23 0:10 GMT+02:00 Alex Williamson <alex l williamson gmail com>:
On Fri, Apr 22, 2016 at 4:06 PM, Brett Peckinpaugh <erylflynn gmail com> wrote:
To start I am now running Arch with the VFIO kernel, I did not compile with the i915, my machine failed to boot with that last time.  Currently I can't seem to get VFIO to claim the devices I want to pass-through.  You can see kernel driver is still nvidia.  I added my configs below.  I even tried a script.  Every time I modify mkinitcpio.conf I regenerate my intramfd with mkinitcpio -p linux-vfio

What am I missing?

lspci -nnk -d 10de:1087
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF110 [GeForce GTX 560 Ti 448 Cores] [10de:1087] (rev a1)
        Subsystem: NVIDIA Corporation Device [10de:0000]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia


/etc/mkinitcpio.conf
MODULES="vfio vfio_iommu_type1 vfio_pci vfio_virqfd"
kernel boot options.
intel_iommu=on pcie_acs_override=downstream rd.driver.pre=vfio-pci

You're applying Fedora instructions to Arch, rd.driver.pre apparently doesn't do anything on Arch.  Look in the archive for the past couple weeks, I believe there are some working instructions there. 

_______________________________________________
vfio-users mailing list
vfio-users redhat com
https://www.redhat.com/mailman/listinfo/vfio-users




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]