rom-parser icon indicating copy to clipboard operation
rom-parser copied to clipboard

Error, ran off the end

Open Maikeio opened this issue 3 years ago • 3 comments

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.

Maikeio avatar Jun 14 '21 16:06 Maikeio

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

ReenigneArcher avatar Mar 21 '22 02:03 ReenigneArcher

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

gsedej avatar Mar 10 '23 12:03 gsedej

I have encountered the same problem and found a solution as follows.

  1. Download nvflash from here, some versions have Linux support, I used nvflash_5.792_linux.zip.
  2. Unzip the file, find the proper executable file, I used nvflash_5.792_linux/x64/nvflash.
  3. Run nvflash like this nvflash --save image.rom instead of echo.
  4. Then use rom-parser to parse the iamge.rom.
  5. 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

WangYihang avatar May 09 '23 07:05 WangYihang