[vfio-users] VFIO not claiming device

Brett Peckinpaugh erylflynn at gmail.com
Fri Apr 22 23:58:41 UTC 2016


Might be working now, oddly I thought I used the format modules-load= 
and no luck but it is at the moment.  Only issue, when I rebooted I had 
to reset my dual monitor config.  Any issues with kernel modules listing 
other drivers, or is the only thing that matters the kernel driver in use?

    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: vfio-pci
             Kernel modules: nouveau, nvidia_drm, nvidia

kernel command line

    modules-load=vfio-pci quiet intel_iommu=on pcie_acs_override=downstream



On 04/22/2016 03:27 PM, thibaut noah wrote:
> 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 at gmail.com 
> <mailto:thibaut.noah at 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 at gmail.com <mailto:alex.l.williamson at gmail.com>>:
>
>         On Fri, Apr 22, 2016 at 4:06 PM, Brett Peckinpaugh
>         <erylflynn at gmail.com <mailto:erylflynn at 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 at redhat.com <mailto:vfio-users at redhat.com>
>         https://www.redhat.com/mailman/listinfo/vfio-users
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160422/7acf2850/attachment.htm>


More information about the vfio-users mailing list