SHARE
TWEET

Untitled

a guest Jun 28th, 2018 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alex@pico ~ $ lspci -nn
  2. 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:5910] (rev 05)
  3. 00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [8086:1901] (rev 05)
  4. 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
  5. 00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 05)
  6. 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
  7. 00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
  8. 00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
  9. 00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] [8086:a103] (rev 31)
  10. 00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
  11. 00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1)
  12. 00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #6 [8086:a115] (rev f1)
  13. 00:1c.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #7 [8086:a116] (rev f1)
  14. 00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a152] (rev 31)
  15. 00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
  16. 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a171] (rev 31)
  17. 00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
  18. 01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8d] (rev a1)
  19. 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
  20. 04:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 61)
  21. 05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
  22.  
  23. pico ~ # find /sys/kernel/iommu_groups/ -type l
  24. /sys/kernel/iommu_groups/7/devices/0000:00:1c.0
  25. /sys/kernel/iommu_groups/5/devices/0000:00:16.0
  26. /sys/kernel/iommu_groups/13/devices/0000:04:00.0
  27. /sys/kernel/iommu_groups/3/devices/0000:00:04.0
  28. /sys/kernel/iommu_groups/11/devices/0000:00:1f.3
  29. /sys/kernel/iommu_groups/11/devices/0000:00:1f.4
  30. /sys/kernel/iommu_groups/11/devices/0000:00:1f.2
  31. /sys/kernel/iommu_groups/11/devices/0000:00:1f.0
  32. /sys/kernel/iommu_groups/1/devices/0000:00:01.0
  33. /sys/kernel/iommu_groups/1/devices/0000:01:00.0
  34. /sys/kernel/iommu_groups/8/devices/0000:00:1c.4
  35. /sys/kernel/iommu_groups/6/devices/0000:00:17.0
  36. /sys/kernel/iommu_groups/14/devices/0000:05:00.0
  37. /sys/kernel/iommu_groups/4/devices/0000:00:14.2
  38. /sys/kernel/iommu_groups/4/devices/0000:00:14.0
  39. /sys/kernel/iommu_groups/12/devices/0000:03:00.0
  40. /sys/kernel/iommu_groups/2/devices/0000:00:02.0
  41. /sys/kernel/iommu_groups/10/devices/0000:00:1c.6
  42. /sys/kernel/iommu_groups/0/devices/0000:00:00.0
  43. /sys/kernel/iommu_groups/9/devices/0000:00:1c.5
  44.  
  45. alex@pico ~ $ cat /etc/default/grub
  46. GRUB_DEFAULT=0
  47. GRUB_HIDDEN_TIMEOUT=1
  48. GRUB_HIDDEN_TIMEOUT_QUIET=false
  49. GRUB_TIMEOUT=0
  50. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  51. #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  52. #GRUB_CMDLINE_LINUX_DEFAULT=""
  53. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on"
  54. GRUB_CMDLINE_LINUX=""
  55.  
  56. alex@pico ~ $ cat /etc/modprobe.d/vfio.conf
  57. options vfio-pci ids=10de:1c8d,8086:1901 disable_vga=1
  58.  
  59. alex@pico ~ $ cat /etc/modprobe.d/kvm.conf
  60. options kvm ignore_msrs=1
  61.  
  62. alex@pico ~ $ lsmod |grep vfio
  63. vfio_pci               45056  0
  64. vfio_virqfd            16384  1 vfio_pci
  65. vfio_iommu_type1       24576  0
  66. vfio                   32768  2 vfio_iommu_type1,vfio_pci
  67. irqbypass              16384  2 kvm,vfio_pci
  68.  
  69. pico ~ # echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/rom
  70.  
  71. pico ~ # cat /sys/bus/pci/devices/0000\:01\:00.0/rom > /home/alex/image.rom
  72. cat: '/sys/bus/pci/devices/0000:01:00.0/rom': Input/output error
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top