Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to passthrough my nv video card to my domU, but I could not bind my video card to the pciback driver

I only have one video card with the pci number 0000:03:00.0, so I used the following command

echo -n "0000:03:00.0" > /sys/bus/pci/drivers/nouveau/bind

to unbind the nouveau driver from my video card.

The screen went black because I have forcefully removed the video driver, therefore I ssh'd into the computer to run further commands

I ran:

echo -n "0000:03:00.0" > /sys/bus/pci/drivers/pciback/bind

to try to bind it to my pciback driver, but I got:

bash: echo: write error: No such device

I found out that this was the message shown when trying to bind a PCI device which is already bound. Therefore, I think that something was still using my video card

Can anyone help me out? Thanks a lot!

share|improve this question
add comment

migrated from stackoverflow.com Jun 30 '12 at 13:24

This question came from our site for professional and enthusiast programmers.

1 Answer

Your first step, echoing the ID into /sys/bus/pci/drivers/nouveau/bind is wrong. You need to echo it into nouveau/unbind, then in the pciback directory you need to echo the ID into new_slot, then bind.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.