MSI R9 270 2gb
I'll leave some notes here so I can refer back to it later and maybe get help from someone who can

I also hope that somehow the purchase is right otherwise patience

My goal was to use the rtx 4060 and the Radeon at the same time. Otherwise it becomes impractical to disassemble and assemble in the end everything burns

sudo lspci
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
sudo lspci -s 03:00.0 -v
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] R9 270 Gaming OC
Flags: bus master, fast devsel, latency 0, IRQ 64, IOMMU group 13
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at fc600000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at fc640000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, IntMsgNum 0
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [270] Secondary PCI Express
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
sudo lspci -s 03:00.0 -k
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
Subsystem: Micro-Star International Co., Ltd. [MSI] R9 270 Gaming OC
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
sudo dmesg | grep -i IOMMU
[ 0.859820] iommu: Default domain type: Translated
[ 0.859820] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.892974] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.893024] pci 0000:00:01.0: Adding to iommu group 0
[ 0.893039] pci 0000:00:01.2: Adding to iommu group 1
[ 0.893059] pci 0000:00:02.0: Adding to iommu group 2
[ 0.893080] pci 0000:00:03.0: Adding to iommu group 3
[ 0.893095] pci 0000:00:03.1: Adding to iommu group 4
[ 0.893115] pci 0000:00:04.0: Adding to iommu group 5
[ 0.893134] pci 0000:00:05.0: Adding to iommu group 6
[ 0.893156] pci 0000:00:07.0: Adding to iommu group 7
[ 0.893171] pci 0000:00:07.1: Adding to iommu group 8
[ 0.893192] pci 0000:00:08.0: Adding to iommu group 9
[ 0.893207] pci 0000:00:08.1: Adding to iommu group 10
[ 0.893234] pci 0000:00:14.0: Adding to iommu group 11
[ 0.893248] pci 0000:00:14.3: Adding to iommu group 11
[ 0.893313] pci 0000:00:18.0: Adding to iommu group 12
[ 0.893327] pci 0000:00:18.1: Adding to iommu group 12
[ 0.893340] pci 0000:00:18.2: Adding to iommu group 12
[ 0.893354] pci 0000:00:18.3: Adding to iommu group 12
[ 0.893368] pci 0000:00:18.4: Adding to iommu group 12
[ 0.893382] pci 0000:00:18.5: Adding to iommu group 12
[ 0.893395] pci 0000:00:18.6: Adding to iommu group 12
[ 0.893409] pci 0000:00:18.7: Adding to iommu group 12
[ 0.893443] pci 0000:01:00.0: Adding to iommu group 13
[ 0.893459] pci 0000:01:00.1: Adding to iommu group 13
[ 0.893475] pci 0000:01:00.2: Adding to iommu group 13
[ 0.893481] pci 0000:02:00.0: Adding to iommu group 13
[ 0.893486] pci 0000:02:08.0: Adding to iommu group 13
[ 0.893490] pci 0000:02:09.0: Adding to iommu group 13
[ 0.893500] pci 0000:03:00.0: Adding to iommu group 13
[ 0.893504] pci 0000:03:00.1: Adding to iommu group 13
[ 0.893508] pci 0000:05:00.0: Adding to iommu group 13
[ 0.893536] pci 0000:06:00.0: Adding to iommu group 14
[ 0.893554] pci 0000:06:00.1: Adding to iommu group 14
[ 0.893568] pci 0000:07:00.0: Adding to iommu group 15
[ 0.893584] pci 0000:08:00.0: Adding to iommu group 16
[ 0.893601] pci 0000:08:00.1: Adding to iommu group 17
[ 0.893620] pci 0000:08:00.3: Adding to iommu group 18
[ 0.893636] pci 0000:08:00.4: Adding to iommu group 19
[ 1.895045] iommu ivhd0: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0000:03:00.0 address=0x1002f0540]
[ 1.895192] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
script IOMMU.sh
#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;
Result:
IOMMU Group 0:
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 1:
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 2:
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 3:
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 4:
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 5:
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 6:
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 7:
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 8:
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 9:
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 10:
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 11:
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 12:
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0 [1022:1440]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1 [1022:1441]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2 [1022:1442]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3 [1022:1443]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4 [1022:1444]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5 [1022:1445]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6 [1022:1446]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7 [1022:1447]
IOMMU Group 13:
01:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller [1022:43ee]
01:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller [1022:43eb]
01:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port [1022:43e9]
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] [1002:6811]
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [1002:aab0]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
IOMMU Group 14:
06:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1)
06:00.1 Audio device [0403]: NVIDIA Corporation AD107 High Definition Audio Controller [10de:22be] (rev a1)
IOMMU Group 15:
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 16:
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 17:
08:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
IOMMU Group 18:
08:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
IOMMU Group 19:
08:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
the group
IOMMU Group 13:
01:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller [1022:43ee]
01:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller [1022:43eb]
01:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port [1022:43e9]
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
02:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] [1002:6811]
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [1002:aab0]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
and the group seems divided
IOMMU Group 14:
6:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1)
06:00.1 Audio device [0403]: NVIDIA Corporation AD107 High Definition Audio Controller [10de:22be] (rev a1)
is there some missing step perhaps ?
I think the modification directly to the kernel is missing ?

giving the command:
qemu-system-ppc -M pegasos2 -kernel /home/white/Downloads/bboot-0.7/bboot -initrd /home/white/Downloads/Kickstart.zip -vga none -device VGA,romfile="" -drive if=none,id=cd -m 2048 -device ide-cd,drive=cd,bus=ide.1 -drive if=none,id=hd,file=/home/white/Scaricati/32gb.raw,format=raw -device ide-hd,drive=hd,bus=ide.0 -device rtl8139,netdev=network01 -netdev user,id=network01 -drive if=none,id=hd1,file=/home/white/Scaricati/coffin.raw,format=raw -device ide-hd,drive=hd1,bus=ide.1 -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on -device vfio-pci.host=03:00.1,bus=pci.0 -accel tcg
returns this:
qemu-system-ppc: -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on: vfio 0000:03:00.0: failed to open /dev/vfio/13: No such file or directory
even the old command gives the same error: -cpu 7457 or g3
qemu-system-ppc -cpu g3 -L pc-bios -M pegasos2 -bios /home/white/Scaricati/pegasos2.rom -m 1024 -serial stdio -device sm501 -drive if=none,id=hd,file=/home/white/Scaricati/32gb.raw,format=raw -device ide-hd,drive=hd,bus=ide.1 -netdev user,id=br0 -device rtl8139,netdev=br0 -vga none -drive if=none,id=hd1,file=/home/white/Scaricati/coffin.raw,format=raw -device ide-hd,drive=hd1,bus=ide.1 -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on -device vfio-pci.host=03:00.1,bus=pci.0 -accel tcg
with: boot hd:0 amigaboot.of
returns this:
qemu-system-ppc: -device vfio-pci,host=03:00.0,bus=pci.0,x-vga=on: vfio 0000:03:00.0: failed to open /dev/vfio/13: No such file or directory
continue.. on the same post so I don't mix up what I do POST 100
any help is welcome because I'm not a Linux genius

sudo dmesg | grep -i -e DMAR -e IOMMU Result:
[ 1.895045] iommu ivhd0: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0000:03:00.0 address=0x1002f0540]
[ 1.895192] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
It would be the "address" of the R9 270 2G card
-------------------------------------------------
I'll do the backup tomorrow
and then I can edit the GRUB with peace of mind.
-------------------------------------------------
Yesterday before starting I tried some "Garuda" "PopOS" distributions
but all had problems coexisting with the 4060 and the R9 270 the computer continued to enter "loop"
Whatever I did in the BIOS settings regardless of the BAR enable/disable and also IOMMU on AUTO or ENABLE.
With the "Asus Tuf Gaming Plus B550" I am using the latest "bios" 3611.
So in the end I simply chose Ubuntu 24.10 kernel 6.11.0-19
I had to do a series of steps to make it coexist with Windows 10, I use "Windows 10 LTSC 2021"
Because even in this case it continued to enter "loop" the bios restarted continuously. But in the end I solved it.
So I have to rely on some guide on Ubuntu 24.10 to activate "vfio".
In the meantime I installed KVM
sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils -y
added the users and then
sudo apt install virt-manager -y
so that I have a bit of everything
I put here my /etc/default/grub (not modified yet)
and this is where I have to start modifying.
----------------------------------------------------
# If you change this file or any /etc/default/grub.d/*.cfg file,
# run 'update-grub' afterwards to update /boot/grub/grub.cfg.
# For full documentation of the options in these files, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE/GOP/UGA
# you can see them in real GRUB with the command `videoinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
------------------------------------------------------------
In the meantime I put my old "TV 17" with HDMI input next to my monitor and it works fine.
So:
R9 270 with HDMI
4060 with DisplayPort
(I don't think this is what created the BIOS reboot "loop")
Any help is welcome
