-
Notifications
You must be signed in to change notification settings - Fork 42
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
cat: rom: Input/output error #4
Comments
I have run into the same problem (as i have a optimus laptop too by looking at your spec). Basically, some dgpu in optimus laptop don't have the rom loaded from the gpu directly (afaik most desktop gpu do the reverse here) or just don't have enough permissions to do it, or even because the gpu is still in use (aka most optimus gpu don't support hotswapping); afaik that's all the reason i can think of but i could be wrong.
|
I have some problem with some older cards, especially ATI ones.. On normal desktop PC. |
you can only get the rom file in BIOS boot mode it seems, try boot your system in legacy mode with a linux distro and do that again. |
root@pve:/# cd /sys/bus/pci/devices/0000:02:00.0/ My PVE system shows this. What should I do? |
@sjkhsl, |
I want to dump the rocketlake rom, is it possible? |
Try to enable CSM in your host bios/uefi settings. |
Still it would be nice to print some error that CSM is not enable etc.. |
There is a workaround:
|
Workaround without any comment how Linuxian.. its possible just to create some script etc for normal human beings? |
Maybe I should just delete my previous comment to prevent normal human beings confusion? :) |
@startergo Hi, I try your workaround, but it doesn't work for me. :(
|
You need to first find the rom location:
Then after enabling the memory enable bit with
Just like in the example above. |
@startergo
|
Skip the above command and use absolute path to the ROM for the |
From the results, there doesn't seem to be any difference.
|
After this try:
|
root@pve:~# echo 0 > /sys/devices/pci0000:00/0000:00:02.0/power |
Try this script:
AMD also has a linux tool AMDVBFLASH You can also use |
Hi,It's seems didn't work on proxmox 5.4-11
platform:
cpu:i7-3820qm
chipset:hm77
GPU:NVIDIA Corporation GF108M [GeForce GT 635M]
root@nserver:~# cd /sys/bus/pci/devices/0000:01:00.0/
root@nserver:/sys/bus/pci/devices/0000:01:00.0# echo 1 > rom
root@nserver:/sys/bus/pci/devices/0000:01:00.0# cat rom > /tmp/image.rom
cat: rom: Input/output error
dmesg:
vfio-pci 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
what's wrong?
The text was updated successfully, but these errors were encountered: