Skip to content

Instantly share code, notes, and snippets.

@drolfe
Last active January 20, 2016 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drolfe/d2749545be2e6dd93b5f to your computer and use it in GitHub Desktop.
Save drolfe/d2749545be2e6dd93b5f to your computer and use it in GitHub Desktop.
Proxmox 4.0 fix pci pass through
# This is really just notes Note an actual bash script for now
Note the below mappings for the DL380 G7
eth0 0000:03:00.0
eth1 0000:03:00.1
eth2 0000:04:00.0
eth4 0000:04:00.1
4.2.2-1-pve
find /sys/kernel/iommu_groups/ -type l | more
/sys/kernel/iommu_groups/14/devices/0000:00:1c.0
/sys/kernel/iommu_groups/14/devices/0000:00:1c.2
/sys/kernel/iommu_groups/14/devices/0000:00:1c.4
/sys/kernel/iommu_groups/14/devices/0000:02:00.0
/sys/kernel/iommu_groups/14/devices/0000:02:00.2
/sys/kernel/iommu_groups/14/devices/0000:02:00.4
/sys/kernel/iommu_groups/14/devices/0000:03:00.0
/sys/kernel/iommu_groups/14/devices/0000:03:00.1
/sys/kernel/iommu_groups/14/devices/0000:04:00.0
/sys/kernel/iommu_groups/14/devices/0000:04:00.1
wget http://download1.proxmox.com/debian/dists/jessie/pvetest/binary-amd64/pve-kernel-4.2.6-1-pve_4.2.6-33_amd64.deb
dpkg -i pve-kernel-4.2.6-1-pve_4.2.6-33_amd64.deb
add to /etc/default/grub the below
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream"
update-grub
then reboot
find /sys/kernel/iommu_groups/ -type l | more
/sys/kernel/iommu_groups/20/devices/0000:02:00.2
/sys/kernel/iommu_groups/20/devices/0000:02:00.4
/sys/kernel/iommu_groups/21/devices/0000:03:00.0
/sys/kernel/iommu_groups/21/devices/0000:03:00.1
/sys/kernel/iommu_groups/22/devices/0000:04:00.0
/sys/kernel/iommu_groups/22/devices/0000:04:00.1
/sys/kernel/iommu_groups/23/devices/0000:05:00.0
4.2.6-1-pve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment