Guest User

Dexter74 (2)

a guest
Apr 26th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.78 KB | None | 0 0
  1. -------------------------------------------------------------------------------------------------------------------------
  2. dmesg | grep AMD-Vi
  3.     [0.251399] [Firmware Bug]: AMD-Vi: IOAPIC[9] not in IVRS table          <= SouthBridge Inconnus (Erreur 9)
  4.     [0.251403] [Firmware Bug]: AMD-Vi: IOAPIC[10] not in IVRS table         <= Northbridge Inconnus (Erreur 10)
  5.     [0.251405] [Firmware Bug]: AMD-Vi: No southbridge IOAPIC found
  6.     [0.251407] AMD-Vi: Disabling interrupt remapping                        <= Interruption du mappage est sur désactiver (Disabled , Enabled requis)
  7.     [5.812399] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
  8.     [5.812507] AMD-Vi: Lazy IO/TLB flushing enabled
  9.  
  10. lspci | grep SMBus
  11. 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
  12.  
  13. lspci | grep IOMMU
  14. 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD/ATI] RD990 I/O Memory Management Unit (IOMMU)
  15.  
  16.  
  17.  
  18. ------ FIX IOMMU ------
  19. sudo gedit /etc/default/grub && sudo update-grub
  20. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=on ivrs_ioapic[9]=00:14.0 ivrs_ioapic[10]=00:00.2"
  21. ivrs_ioapic[Code Erreur]=<Adresse Relevé>
  22.  
  23. dmesg | grep AMD-Vi
  24.     [    1.597597] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
  25.     [    1.597598] AMD-Vi: Interrupt remapping enabled                      <= L intérruption du mappage est sur Activer (Enabled)
  26.     [    1.597712] AMD-Vi: Lazy IO/TLB flushing enabled
  27.  
  28.  
  29. ######################################
  30. IOMMU: Activer , trouver et sans erreur
  31. ######################################
  32. -------------------------------------------------------------------------------------------------------------------------
  33.  
  34. Lister matériel + pilote (seule les lignes que j'ai garder sont intéressante)
  35.  
  36. lspci -k
  37. 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT [Radeon R7 370 / R9 270X/370 OEM]
  38.     Kernel driver in use: radeon
  39.  
  40. 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
  41.     Kernel driver in use: radeon
  42.  
  43.  
  44. lspci -nn | grep "VGA\|Audio"
  45. 00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
  46. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200 [GeForce GTX 260] [10de:05e2] (rev a1)
  47. 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT [Radeon R7 370 / R9 270X/370 OEM] [1002:6810]
  48. 02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
  49.  
  50. lsusb
  51. Bus 004 Device 003: ID 1bcf:0002 Sunplus Innovation Technology Inc.
  52. Bus 004 Device 002: ID 04d9:a055 Holtek Semiconductor, Inc. Keyboard
  53.  
  54. lscpu
  55. CPU(s)             : 8
  56. Thread(s) par cœur : 2
  57. Cœur(s) par socket : 4
  58. Model name         : AMD FX(tm)-8120 Eight-Core Processor
  59.  
  60.  
  61. ######################################################################################################################---
  62.  
  63. Récapitulatif:
  64. GPU: 02:00.0 / 1002:6810
  65. Audio GPU: 02:00.1 / 1002:aab0
  66. Pilote GPU: radeon
  67. Pilote Audio: radeon
  68. USB 1: Bus 004 Device 002
  69. USB 2: Bus 004 Device 003
  70. CPU: 8 | Thread 2 | socket 4 (Pas sure que sa marche comme sa en rapport avec le smp de qemu)
  71.  
  72. cat /etc/vfio-pci.cfg
  73. DEVICES="0000:02:00.0 0000:02:00.1"
  74.  
  75. cat /etc/modprobe.d/vfio.conf
  76. options vfio-pci ids=1002:6810,1002:aab0
  77.  
  78.  
  79.  
  80. sudo gedit /etc/modules     #Processeur AMD donc kvm_amd et non kvm_intel
  81. pci_stub
  82. vfio
  83. vfio_iommu_type1
  84. vfio_pci
  85. kvm
  86. kvm_amd
  87.  
  88.  
  89. sudo gedit /etc/modprobe.d/blacklist.conf
  90. blacklist radeon
  91.  
  92.  
  93. #Application de la configuration
  94. sudo update-initramfs -u && sudo update-grub && sudo reboot
  95.  
  96. -------------------------------------------------------------------------------------------------------------------------
  97.  
  98. https://forum.ubuntu-fr.org/viewtopic.php?pid=21504428#p21504428
Add Comment
Please, Sign In to add comment