clayfreeman / gpu-passthrough

A GPU passthrough tutorial using libvirt and KVM on GNU/Linux
https://clayfreeman.github.io/gpu-passthrough/
Other
90 stars 14 forks source link

Why I encounter the rom file I/O error when exporting the gpu rom file? #6

Closed clockzhong closed 3 years ago

clockzhong commented 3 years ago

When I export the rom file as:

root@myComputer:/home/clock/Work/temp# cat /sys/bus/pci/devices/0000\:"${PCIE_BDF_IDENT}"/rom > \
>     /usr/share/qemu/gpu-"$(date +%Y%m%dT%H%m%S)".rom
cat: '/sys/bus/pci/devices/0000:01:00.0/rom': Input/output error

all the previous step work correctly, except this one. Thanks in advance.

clayfreeman commented 3 years ago

Try booting your system using CSM to capture the device ROM. Sometimes UEFI can keep you from being able to access the device ROM.