[vfio-users] new video card. vm wont boot

Roger Lawhorn rll at twc.com
Wed Jun 3 21:33:19 UTC 2020


Got it. It now takes over the new radeon card.
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1002:7340] (rev c5)
     Subsystem: ASRock Incorporation Device [1849:5123]
     Kernel driver in use: vfio-pci
     Kernel modules: amdgpu
0d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 
10 HDMI Audio [1002:ab38]
     Subsystem: ASRock Incorporation Device [1849:5123]
     Kernel driver in use: vfio-pci


I had to change the vfio-pci options when adding to the boot line like this:
vfio-pci.ids=1002:7340,1002:ab38

from this:
/etc/modprobe.d/rad.conf
options vfio-pci ids=1002:7340,1002:ab38

On 6/3/20 5:03 PM, Roger Lawhorn wrote:
> Thank you,
>
> I had considered this.
> Is the format to put it on the command line different?
>
>>> You need to build it as a module and not built in.
>>> With it built in, the options need to be on the kernel boot line, and
>>> not in the modprobe.d config files.
>
>
> On 6/3/20 4:18 PM, James Courtier-Dutton wrote:
>> On Mon, 1 Jun 2020 at 14:38, Roger Lawhorn <rll at twc.com> wrote:
>>> ok.
>>>
>>> $ grep VFIO config-5.4.43-050443-generic
>>> CONFIG_KVM_VFIO=y
>>> CONFIG_VFIO_IOMMU_TYPE1=y
>>> CONFIG_VFIO_VIRQFD=y
>>> CONFIG_VFIO=y
>>> CONFIG_VFIO_NOIOMMU=y
>>> CONFIG_VFIO_PCI=y
>>> CONFIG_VFIO_PCI_VGA=y
>>> CONFIG_VFIO_PCI_MMAP=y
>>> CONFIG_VFIO_PCI_INTX=y
>>> CONFIG_VFIO_PCI_IGD=y
>>> CONFIG_VFIO_MDEV=m
>>> CONFIG_VFIO_MDEV_DEVICE=m
>>> # CONFIG_SAMPLE_VFIO_MDEV_MTTY is not set
>>> # CONFIG_SAMPLE_VFIO_MDEV_MDPY is not set
>>> # CONFIG_SAMPLE_VFIO_MDEV_MDPY_FB is not set
>>> # CONFIG_SAMPLE_VFIO_MDEV_MBOCHS is not set
>>>
>>>
>>>
>>> so if it's built in, then why does it not load?
>>> I am thinking that they changed how you define vfio-pci options in 
>>> some way.
>>> I define them in a config file in /etc/modprobe.d/ and then rebuild all
>>> ramdisks.
>>>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>




More information about the vfio-users mailing list