[vfio-users] QEMU / KVM VFIO ("no signal" message)

Alex Williamson alex.l.williamson at gmail.com
Tue Nov 3 22:14:11 UTC 2015


On Tue, Nov 3, 2015 at 2:33 PM, Leonardo Caldas <leonardo.caldas at xleox.org>
wrote:
>
> As I see, none of the roms in the list you sent has UEFI support. I tried
> the first one, without success.
> I got the files from the Gigabyte repositories, but I have no idea on how
> to extract the rom file I need.
>

Actually this one is quite easy, here are the steps:

1) Download vga_bios_n680oc2gd_f5.exe from your previous link
2) If necessary install wine and run 'wine vga_bios_n680oc2gd_f5.exe'
3) It will prompt for a location to save the file.
4) By inspection with xxd, the ROM image starts at 1K offset into that file
and appears to be 143K long.  Therefore, run 'dd if=N680O2GD.F5
of=N680O2GD.F5.rom bs=1k skip=1 count=143'

Which results in:

$ ./rom-parser N680O2GD.F5.rom
Valid ROM signature found @0h, PCIR offset 190h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1180, class: 030000
PCIR: revision 0, vendor revision: 1
Valid ROM signature found @fc00h, PCIR offset 1ch
PCIR: type 3 (EFI), vendor: 10de, device: 1180, class: 030000
PCIR: revision 3, vendor revision: 0
EFI: Signature Valid, Subsystem: Boot, Machine: X64
Last image

My rom tool can even find these without stripping off all the cruft off,
but some of it clearly looks non-ROM related.  You can even get a ROM with
only UEFI support by just getting the second image: dd if=N680O2GD.F5
of=N680O2GD.F5.rom.uefi bs=1k skip=64 count=80

I make no guarantees that these will work, I'd try it if it was my
hardware.  I'll attach the files, just unzip, pick one and use it as a
romfile= option with QEMU vfio-pci.

I'll try to get an extra harddisk and make a basic Windows instalation, so
> that I can flash the GPU using it.
> This is probably the way to go. Is this VGA arbitration method you told
> about too hard to accomplish?
>

With Intel host graphics it will disable DRI on the host and you'll need to
always be patching your host kernel to fix the i915 driver to participate
in VGA arbitration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151103/67ab90f4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: N680O2GD.F5.rom.uefi.gz
Type: application/x-gzip
Size: 66828 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151103/67ab90f4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: N680O2GD.F5.rom.gz
Type: application/x-gzip
Size: 91423 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151103/67ab90f4/attachment-0001.bin>


More information about the vfio-users mailing list