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

vfio-pci-bind.sh Bindinh Hangs System #7

Open
Serpistica opened this issue Oct 29, 2022 · 2 comments
Open

vfio-pci-bind.sh Bindinh Hangs System #7

Serpistica opened this issue Oct 29, 2022 · 2 comments

Comments

@Serpistica
Copy link

Serpistica commented Oct 29, 2022

Hi

Thank you for your work.

When I try to use the script my system hangs (waited for 10 min and still hanged) and I have to do a manual Computer Reset (press the physical button).

I have run it using:
sudo vfio-pci-bind.sh 0000:10:00.0 10de:107d
sudo vfio-pci-bind.sh 0000:10:00.1 10de:0e08
reversing the ID orders (10de:0e08 0000:10:00.1)

sudo vfio-pci-bind.sh 0000:10:00.0
sudo vfio-pci-bind.sh 0000:10:00.1

sudo vfio-pci-bind.sh 10de:107d
sudo vfio-pci-bind.sh 10de:0e08

Using "sudo su" before executing the commands.

After I press Enter, it outputs nothing and just hangs the PC, can't even use the mouse.

I have Debian 11.5 KDE. The MB BIOS has IOMMU and virtualization turned on. Linux has it enabled also. I tried using a manual procedure and it worked, but when installing the drivers on the guest I got the Code 43 error (turned off kvm and other workaround I found on the internet with no succes.. Even tried older NVidia Drivers). So I thought it was some misstep I did or the guide was to old and was missing a step. So I formatted the PC and installed Debian again (nothing lost, the previous installation was also fresh, preferred to star over from 0 then to reverse the steps of the manual guide).

What am I doing wrong?

Thank you in advanced!

@andre-richter
Copy link
Owner

I think your problem may be more related to the device you’re trying this with rather than the script.

It seems you’re trying to pass through a GPU, which is a known difficult case. I would recommend to reach out to the VFIO mailing list, or some subreddits that are thematically close (r/virtualization, r/vfio).

@Serpistica
Copy link
Author

Hi.

Ok, thank you for quick reply! Yes, it's a GPU, Nvidia Quadro (NVS 310).

Been checking those out. I think the problem might be that my GPU is sharing the IOMMU Group 0 with another device. Have read that I would need to change the GPU to it's own group. Can't physically change it to another PCIe because my MB has only 1 slot. Will try using the ACS override in the kernel.

Thank you again. Have a good day!

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

2 participants