I had some more time to work on this problem. After more research and reading more information I discovered that IOMMU was not enabled on my system. To enable IOMMU I performed the following steps on my Ubuntu Linux server:
sudo vi /etc/default/grub Add “intel_iommu=on” to the GRUB_CMDLINE_LINUX variable :wq sudo update-grub Reboot the system. The results of these commands is adding intel_iommu=on as a boot parameter to the grub Linux boot commands. After performing those steps I was able to get much more information in the command: bruzer@apocalypse:~$ dmesg | grep -e DMAR -e IOMMU [ 0.000000] ACPI: DMAR 00000000bc843878 000B8 (v01 INTEL HSW 00000001 INTL 00000001) [ 0.000000] Intel-IOMMU: enabled [ 0.020485] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a [ 0.020489] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da [ 0.020556] IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 [ 0.394459] DMAR: No ATSR found [ 0.394479] IOMMU 0 0xfed90000: using Queued invalidation [ 0.394480] IOMMU 1 0xfed91000: using Queued invalidation [ 0.394481] IOMMU: Setting RMRR: [ 0.394489] IOMMU: Setting identity map for device 0000:00:02.0 [0xbf800000 - 0xcf9fffff] [ 0.395687] IOMMU: Setting identity map for device 0000:00:1d.0 [0xbc6fa000 - 0xbc706fff] [ 0.395708] IOMMU: Setting identity map for device 0000:00:1a.0 [0xbc6fa000 - 0xbc706fff] [ 0.395726] IOMMU: Setting identity map for device 0000:00:14.0 [0xbc6fa000 - 0xbc706fff] [ 0.395740] IOMMU: Prepare 0-16MiB unity mapping for LPC [ 0.395745] IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 – 0xffffff] Now I am able to successfully run the commands that unbind and bind to the pci-stub module. # echo "10de 11c0" > /sys/bus/pci/drivers/pci-stub/new_id # echo "0000:01:00.0" > /sys/bus/pci/devices/0000\:01\:00.0/driver/unbind # echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind These commands have no problems now that I am using the additional boot parameter. I believe we can close this bug report because there does not seem to be a problem with the unbind command. The PCI passthrough of the video card is still not working, but I do not believe that is related to anything in this bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1190120 Title: Unbind not working as expected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1190120/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
