[vfio-users] vfio pass through only works once after reboot - more tests

Blank Field ihatethisfield at gmail.com
Thu Sep 17 21:02:14 UTC 2015


Whaat. Bad Address?
I've browsed the source code today and haven't seen that kind of error
message.
Tell us your full hardware spec, and kernel command line.
On Sep 17, 2015 11:57 PM, "Karsten Elfenbein" <karsten.elfenbein at gmail.com>
wrote:

> Hi,
>
> after my first tries in
> http://lists.nongnu.org/archive/html/qemu-discuss/2015-09/msg00003.html
> I did an other round of tests.
>
> I made the GF460 the primary card and put the GF970 into vfio. With
> that config the VM could start and use the card multiple times without
> rebooting. (vfio is chowned to me)
>
> The only bad output I get from qemu while running the gf970 in the VM is:
> qemu-system-x86_64: vfio_pci_write_config(0000:06:00.0, 0x418,
> 0xe0000, 0x4) failed: Bad address
>
> Then I switched back to the GF460 for the VM and get some more of these
> lines:
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x13c, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x13c,
> 0x3ffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x150, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x150,
> 0xfffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x48c,
> 0x118008c, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x45c, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x45c,
> 0xfffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x158, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x158,
> 0xfffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x610, 0x5,
> 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x418,
> 0xe0000, 0x4) failed: Bad address
> The second boot looks the same but the card does not bring a signal.
> (not even the card bios comes up)
>
> Installing the Nvidia driver with the GF460 crashed the Windows 10 VM
> with more if these lines:
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x60c, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x610, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x138, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x138,
> 0xfffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x460, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x460, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x150, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x18c, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a8, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a4, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x138, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x138,
> 0xf007fff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x460, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x460,
> 0xfffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_write_config(0000:03:00.0, 0x138,
> 0xfffffff2, 0x4) failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a8, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a4, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a8, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a4, 0x4)
> failed: Bad address
> qemu-system-x86_64: vfio_pci_read_config(0000:03:00.0, 0x4a8, 0x4)
> failed: Bad address
>
>
> Just wondering if it is possible to get the card running or better to
> just grab a GF950.
>
> Thanks
> Karsten
>
> _______________________________________________
> vfio-users mailing list
> 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/20150918/2820d0f0/attachment.htm>


More information about the vfio-users mailing list