@balaton
Radeon card is using vfio also on laptop:
3b:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] [1002:6987] (rev c0)
Subsystem: Hewlett-Packard Company Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] [103c:854b]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
I've enabled the debug and messages are almost the same @nikitas has on desktop pc
Invalid write at addr 0xFE000080, size 1, region '(null)', reason: rejected
Invalid write at addr 0x80, size 1, region '(null)', reason: rejected
With my previous command line and:
PegasosII Boot Strap (c) 2002-2003 bplan GmbH
Running on CPU PVR:80020102
Enable L1 ICache... Done.
mv64361_write: Unimplemented register write 0x108 = 0
Clean/Flush Block enabled
mv64361_read: Unimplemented register read 0x160
mv64361_write: Unimplemented register write 0x160 = 3000
Reading W83194 : FAILED.
Setting Front Side Bus to 133MHz... FAILED.
Invalid write at addr 0xFE000E43, size 1, region '(null)', reason: rejected
Invalid write at addr 0xE43, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE000E44, size 1, region '(null)', reason: rejected
Invalid write at addr 0xE44, size 1, region '(null)', reason: rejected
Invalid read at addr 0xFE000E41, size 1, region '(null)', reason: rejected
Invalid read at addr 0xE41, size 1, region '(null)', reason: rejected
Invalid read at addr 0xFE000E42, size 1, region '(null)', reason: rejected
Invalid read at addr 0xE42, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE000E40, size 1, region '(null)', reason: rejected
Invalid write at addr 0xE40, size 1, region '(null)', reason: rejected
Configuring DDR...mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1494 = 291
mv64361_write: Unimplemented register write 0x1480 = 300000
mv64361_write: Unimplemented register write 0x10 = 0
mv64361_write: Unimplemented register write 0x210 = 0
mv64361_write: Unimplemented register write 0x20 = 0
mv64361_write: Unimplemented register write 0x220 = 0
mv64361_write: Unimplemented register write 0x8 = 0
mv64361_write: Unimplemented register write 0x208 = 20000000
mv64361_write: Unimplemented register write 0x18 = 40000000
mv64361_write: Unimplemented register write 0x218 = 60000000
mv64361_write: Unimplemented register write 0x1400 = 58200400
mv64361_write: Unimplemented register write 0x1404 = 24110051
mv64361_write: Unimplemented register write 0x1408 = 12813330
mv64361_write: Unimplemented register write 0x140c = 11b
mv64361_write: Unimplemented register write 0x1414 = 0
mv64361_write: Unimplemented register write 0x1410 = 22
mv64361_write: Unimplemented register write 0x1418 = 5
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x1418 = 1
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x1420 = 0
mv64361_write: Unimplemented register write 0x1418 = 4
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x141c = 162
mv64361_write: Unimplemented register write 0x1418 = 3
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x141c = 62
mv64361_write: Unimplemented register write 0x1418 = 3
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x1418 = 1
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x1418 = 2
mv64361_read: Unimplemented register read 0x1418
mv64361_write: Unimplemented register write 0x1418 = 2
mv64361_read: Unimplemented register read 0x1418
Done.
Configuring PCI0...mv64361_write: Unimplemented register write 0xc3c = ffffffff
mv64361_read: Unimplemented register read 0x10
mv64361_write: Unimplemented register write 0xc08 = 0
mv64361_read: Unimplemented register read 0x210
mv64361_write: Unimplemented register write 0xd08 = 0
mv64361_read: Unimplemented register read 0x20
mv64361_write: Unimplemented register write 0xc0c = 0
mv64361_read: Unimplemented register read 0x220
mv64361_write: Unimplemented register write 0xd0c = 0
mv64361_write: Unimplemented register write 0xc10 = 0
mv64361_write: Unimplemented register write 0xd10 = 0
mv64361_write: Unimplemented register write 0xd18 = 0
mv64361_write: Unimplemented register write 0xc14 = 0
mv64361_write: Unimplemented register write 0xd14 = 0
mv64361_write: Unimplemented register write 0xd1c = 0
mv64361_write: Unimplemented register write 0xd20 = 0
mv64361_write: Unimplemented register write 0xd24 = 0
mv64361_write: Unimplemented register write 0xd28 = 0
mv64361_write: Unimplemented register write 0xe00 = 0
Done.
Configuring PCI1...mv64361_write: Unimplemented register write 0xcbc = ffffffff
mv64361_read: Unimplemented register read 0x10
mv64361_write: Unimplemented register write 0xc88 = 0
mv64361_read: Unimplemented register read 0x210
mv64361_write: Unimplemented register write 0xd88 = 0
mv64361_read: Unimplemented register read 0x20
mv64361_write: Unimplemented register write 0xc8c = 0
mv64361_read: Unimplemented register read 0x220
mv64361_write: Unimplemented register write 0xd8c = 0
mv64361_write: Unimplemented register write 0xc90 = 0
mv64361_write: Unimplemented register write 0xd90 = 0
mv64361_write: Unimplemented register write 0xd98 = 0
mv64361_write: Unimplemented register write 0xc94 = 0
mv64361_write: Unimplemented register write 0xd94 = 0
mv64361_write: Unimplemented register write 0xd9c = 0
mv64361_write: Unimplemented register write 0xda0 = 0
mv64361_write: Unimplemented register write 0xda4 = 0
mv64361_write: Unimplemented register write 0xda8 = 0
mv64361_write: Unimplemented register write 0xe80 = 0
Done.
Configuring ETH...mv64361_write: Unimplemented register write 0x2290 = 3f
mv64361_read: Unimplemented register read 0x10
mv64361_write: Unimplemented register write 0x2204 = 0
mv64361_write: Unimplemented register write 0x2200 = 0
mv64361_read: Unimplemented register read 0x210
mv64361_write: Unimplemented register write 0x220c = 0
mv64361_write: Unimplemented register write 0x2208 = 0
mv64361_read: Unimplemented register read 0x20
mv64361_write: Unimplemented register write 0x2214 = 0
mv64361_write: Unimplemented register write 0x2210 = 0
mv64361_read: Unimplemented register read 0x220
mv64361_write: Unimplemented register write 0x221c = 0
mv64361_write: Unimplemented register write 0x2218 = 0
mv64361_write: Unimplemented register write 0x2220 = 0
mv64361_write: Unimplemented register write 0x2224 = 0
mv64361_write: Unimplemented register write 0x2228 = 0
mv64361_write: Unimplemented register write 0x222c = 0
mv64361_write: Unimplemented register write 0x2290 = 3f
mv64361_write: Unimplemented register write 0x2000 = e0
Done.
mv64361_write: Unimplemented register write 0xd9c = 1ffff000
mv64361_read: Unimplemented register read 0xcbc
mv64361_write: Unimplemented register write 0xcbc = 0
mv64361_write: Unimplemented register write 0xf008 = 30011
mv64361_write: Unimplemented register write 0x1d00 = 801f0030
mv64361_read: Unimplemented register read 0xc80
mv64361_write: Unimplemented register write 0xc80 = 0
mv64361_read: Unimplemented register read 0x1424
mv64361_write: Unimplemented register write 0x1424 = 1000000
Releasing IDE reset ... Done.
Configuring Legacy Devices
Initializing KBD...Invalid write at addr 0xFE0003F0, size 1, region '(null)', reason: rejected
Invalid write at addr 0x3F0, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE0003F1, size 1, region '(null)', reason: rejected
Invalid write at addr 0x3F1, size 1, region '(null)', reason: rejected
Done.
Invalid write at addr 0xFE000084, size 1, region '(null)', reason: rejected
Invalid write at addr 0x84, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE000085, size 1, region '(null)', reason: rejected
Invalid write at addr 0x85, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE000086, size 1, region '(null)', reason: rejected
Invalid write at addr 0x86, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE000088, size 1, region '(null)', reason: rejected
Invalid write at addr 0x88, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE00008C, size 1, region '(null)', reason: rejected
Invalid write at addr 0x8C, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE00008D, size 1, region '(null)', reason: rejected
Invalid write at addr 0x8D, size 1, region '(null)', reason: rejected
Invalid write at addr 0xFE00008E, size 1, region '(null)', reason: rejected
Invalid write at addr 0x8E, size 1, region '(null)', reason: rejected
Testing 00000000 Bytes, Pass: 00000000 Failed: 00000000
RAM TEST (fill linear)... Done.
FFFFFFFF
invalid eieio using bit 6 at @fff063dc
Entering IKARUS low level console
If I use:
taskset -c 1 \
qemu-system-ppc \
-M pegasos2 \
-m 2G \
-vga none \
-bios pegasos2.rom \
-drive if=none,id=cd -device ide-cd,drive=cd,bus=ide.1 \
-drive if=none,id=hd,file=./hdpeg.img,format=raw -device ide-hd,drive=hd,bus=ide.0 \
-device vfio-pci,host=3b:00.0,bus=pci.1 \
-rtc base=localtime,clock=rt \
-serial stdio \
-device rtl8139,netdev=nic -netdev user,hostname=pegasos-os4,hostfwd=tcp::6000-:6000,id=nic \
-display sdl,gl=on \
-d guest_errors,unimp