Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error, ran off the end #5

Open
Maikeio opened this issue Jun 14, 2021 · 3 comments
Open

Error, ran off the end #5

Maikeio opened this issue Jun 14, 2021 · 3 comments

Comments

@Maikeio
Copy link

Maikeio commented Jun 14, 2021

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.

@ReenigneArcher
Copy link

ReenigneArcher commented Mar 21, 2022

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

@gsedej
Copy link

gsedej commented Mar 10, 2023

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

@WangYihang
Copy link

WangYihang commented May 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants