rom-parser
rom-parser copied to clipboard
Error, ran off the end
I know this problem was already here, but the conclusion of the other questions was that the Rom is broken. So I tried to fix it and tried all the roms on Techpowerup with my device ID (https://www.techpowerup.com/vgabios/?did=1002-67DF-1682-9587-E1) but I got the error every time. To flash the rom, I used.
sudo ./amdvbflash -p 0 xyz.rom
I tried to flash my GPU (XFX RX 590 8 GB (Fatboy OC+)) through but with no result, not in unraid or proxmox, the VMs just don't boot.
Edit: I got my VMs to work, with gpu and everything, but the error remains.
Trying to get pci passthrough working in Proxmox and I'm getting the same problem.
Nvidia Quadro P4000
Valid ROM signature found @0h, PCIR offset 170h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1bb1, class: 030000
PCIR: revision 0, vendor revision: 1
Error, ran off the end
Me too. I tried Sapphire RX 480 Nitro + and Gigabyte GTX 1060 6GB
# ./rom-parser ../gtx1060giagbye.tom
Valid ROM signature found @0h, PCIR offset 1a0h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1c03, class: 030000
PCIR: revision 0, vendor revision: 1
Error, ran off the end
I have encountered the same problem and found a solution as follows.
- Download
nvflash
from here, some versions have Linux support, I usednvflash_5.792_linux.zip
. - Unzip the file, find the proper executable file, I used
nvflash_5.792_linux/x64/nvflash
. - Run nvflash like this
nvflash --save image.rom
instead ofecho
. - Then use
rom-parser
to parse theiamge.rom
. - The parsed result will be like this (Nvidia Quadro T400 for my situation).
root@pve:~/rom-parser# ./rom-parser ./image.rom
Valid ROM signature found @4600h, PCIR offset 170h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1ff2, class: 030000
PCIR: revision 0, vendor revision: 1
Valid ROM signature found @13200h, PCIR offset 1ch
PCIR: type 3 (EFI), vendor: 0000, device: 0000, class: 000000
PCIR: revision 3, vendor revision: 0
EFI: Signature Valid, Subsystem: Boot, Machine: X64
Last image