[vfio-users] Failed to mmap 0000:01:00.0 BAR 3. Performance may be slow

Alex John alex at stty.io
Tue Aug 21 02:18:41 UTC 2018


On Mon, Aug 20, 2018 at 05:41:57PM +0200, Konrad Eisele wrote:
> How can I dump the rom image?
> I used
> $cd /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0
> $echo 1>rom
> $cat rom > /mnt/nvidia_bios.rom

This method did not work for me with a 1080 GTX. I reseated the GPU in PCIe lane
2 of my botherboard, swapped primary GPU to the iGPU and then dumped the rom
using nvflash.

While the device was still the primary GPU (after reseating and rebooting), I
had to use a patching utility[0] before it could be passed through.

Thanks
Alex

[0] https://github.com/Matoking/NVIDIA-vBIOS-VFIO-Patcher




More information about the vfio-users mailing list