From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Neave Subject: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2 Date: Sat, 5 Feb 2011 16:34:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: kvm@vger.kernel.org Return-path: Received: from mail-qy0-f174.google.com ([209.85.216.174]:44061 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752602Ab1BEQeX (ORCPT ); Sat, 5 Feb 2011 11:34:23 -0500 Received: by qyj19 with SMTP id 19so450148qyj.19 for ; Sat, 05 Feb 2011 08:34:23 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: 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 http://pastebin.com/Ftx8Hfjt