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

Leonardo Caldas leonardo.caldas at xleox.org
Wed Nov 4 01:58:28 UTC 2015


2015-11-03 19:14 GMT-03:00 Alex Williamson <alex.l.williamson at gmail.com>:

> 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.
>


Thank you very much for your interest.

Well, I used your files... also tried to generate my own using your
suggestions (and passing them as parameters to "romfile"), but it keeps
without video signal...
Is there any logs I could possibly analyze in order to see whether the
romfile parameter is working?

I'm sorry for asking so many questions...

-- 
Atenciosamente,

Leonardo Caldas
leonardo.caldas at xleox.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151103/19c57e6f/attachment.htm>


More information about the vfio-users mailing list