PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

James Neave
2011-02-05T16:34:23Z

Hi,

I'm trying to pass a NOVA-T-500 TV Tuner card through to a gust VM.
I'm getting the error "The driver 'pci-stub' is occupying your device
0000:08:06.2"

I'm running Ubuntu Server 10.10 64bit.
I've recompiled the kernel with the default options + DMAR, uname -r =
2.6.35.10-vi
I've installed a recent version of QEMU-KVM using the Ubuntu Server
Edgers ppa here:
https://launchpad.net/~ubuntu-server-edgers/+archive/server-edgers-qemu-kvm
qemu -version = QEMU emulator version 0.13.50 (qemu-kvm-devel),
Copyright (c) 2003-2008 Fabrice Bellard

The hardware is an 890FX based Gigabyte GA-890FXA-UD5 with the IOMMU
and VT enabled in the BIOS

I've followed this page as a guide on how to get pci passthrough working:
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

Can somebody help me get this working please?

Many thanks,

James.

I've tried to include all the relevant information in some pastebin
dumps (to stop this email being a headache)

/var/log/libvirt/qemu/test.log:
http://pastebin.com/hCv7XPR3

dmesg:
http://pastebin.com/swtW5tfq

dmesg | grep AMD-VI
[ 0.698863] AMD-Vi: Enabling IOMMU at 0000:00:00.2 cap 0x40
[ 0.710165] AMD-Vi: Lazy IO/TLB flushing enabled

cat /proc/interruts
http://pastebin.com/LQdB3hms

lspci -vvv
http://pastebin.com/GJDkC8B4

lspci -t -v