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

James Neave
2011-02-22T10:11:58Z

2011/2/22 Roedel, Joerg <Joerg.Roedel@amd.com>:
> On Tue, Feb 22, 2011 at 04:18:20AM -0500, James Neave wrote:
>> On Tue, Feb 22, 2011 at 1:51 AM, Chris Wright <chrisw@sous-sol.org> wrote:
>> I added "capability sys_rawio" to the libvirtd apparmor profile,
>> restarted apparmor and libvirt-bin and it just complained about the
>> apparmor profile.
>> The only other thing I did was compile the latest virt-manager 0.8.6,
>> don't see how that would have made any difference.
>
> Can you disable apparmor completly for testing purposes and try again?
>
>        Joerg
>
>
> --
> AMD Operating System Research Center
>
> Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
> General Managers: Alberto Bozzo, Andrew Bowd
> Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632
>
>

Hi,

Never tried that before, although I guess this is how you do
it:https://help.ubuntu.com/community/AppArmor#Disable%20AppArmor%20framework

I'll try that next time I get some time home, which probably won't be
until Wednesday evening GMT.

That's assuming that after the powercycle the machine doesn't revert
to it's "pci-stub is occupying the device" error! (still not really
sure how I stopped that happening, it just stopped after I tried to
pass through the sound card)

Regardless, many thanks and I shall return later this week.

James.