qemu-system-ppc -M mac99 -m 768 -cdrom /dev/sr0 -bios '/media/jam/D4A3-539C/openbios-qemu.elf' -enable-kvm -cpu 7410 -boot c -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v debug=0xffe kdp=2' -drive file=Tiger.qcow2,format=qcow2 -device usb-mouse -device usb-kbd -g 800x600x32 -netdev user,id=network0 -device rtl8139,netdev=network0 -vnc 127.0.0.1:1 -vga none -serial stdio
>> =============================================================
>> OpenBIOS 1.1 [Jan 19 2018 11:00]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 768M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,74xx
milliseconds isn't unique.
Output device screen not found.
Output device screen not found.
Trying hd:,\\:tbxi...
>> switching to new context:
NULL ihandle
Unexpected client interface exception: -2
call-method slw_update_keymap: exception -21
>> call-method slw_update_keymap failed with error ffffffdf
call-method slw_update_keymap: exception -21
>> call-method slw_update_keymap failed with error ffffffdf
kprintf initialized
max_mem: 768 M
version_variant = 0
version = Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC
proc version = 800c1104
initialize_screen: b=00000000, w=00000000, h=00000000, r=00000000
initialize_screen: No video - forcing serial mode
standard timeslicing quantum is 10000 us
pmap_steal_memory: 00C07000 - 00C08000; size=00001000
pmap_steal_memory: 00C08000 - 00D0B000; size=00103000
pmap_steal_memory: 00D0B000 - 00D0E000; size=00003000
pmap_steal_memory: 00D0E000 - 00E0E000; size=00100000
pmap_steal_memory: 00E0E000 - 01605BF8; size=007F7BF8
vm_page_bootstrap: 189882 free pages
mig_table_max_displ = 70
MacRISC2PE::PMInstantiatePowerDomains - getting pmtree property
MacRISC2PE::PMInstantiatePowerDomains - got pmtree property
IOPlatformFunctionDriver::start
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
using 1966 buffer headers and 1966 cluster IO buffer headers
Extension "com.apple.driver.KeyLargoATA" has no kernel dependency.
MacRISC2CPU::initCPU 0 Here!
Register MacRISC2CPU 0 to acknowledge power changes
USBF: 34920.358 AppleUSBOHCI[0x1748800]::start OHCI controller will be unloaded across sleep
AppleCuda::start being calledAppleCuda: VIA base = 26d08000
Security auditing service present
BSM auditing present
Initing 15 protosw entries
disabled
rooting via boot-uuid from /chosen: 6E314F53-6DF2-343D-8BA0-EFB3F3B3DD32
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
ADB present:c
Attached protocol 30 to lo0 - 0
AppleCuda::start exiting normally
Got boot device = IOService:/MacRISC2PE/address@hidden/AppleMacRiscPCI/address@hidden/AppleKeyLargo/address@hidden/KeyLargoATA/address@hidden/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/QEMU HARDDISK Media/IOApplePartitionScheme/address@hidden
BSD root: disk0s10, major 14, minor 9
jnl: replay_journal: from: 4311040 to: 2903040 (joffset 0x11c000)
Attached protocol 2 to lo0 - 0
Jan 19 13:42:21 launchd: ioctl(SIOCAIFADDR ipv6): File exists
Checking disk
fsck_hfs: Volume is journaled. No checking performed.
fsck_hfs: Use the -f option to force checking.
Mounting local filesystems
kern.sysv.shmmax: -1 -> 4194304
kern.sysv.shmmin: -1 -> 1
kern.sysv.shmmni: -1 -> 32
kern.sysv.shmseg: -1 -> 8
kern.sysv.shmall: -1 -> 1024
Resetting files and devices
Starting virtual memory
Removing /mach.sym /var/tmp/folders.* /etc/nologin /private/_tmp_ /var/_run_ /private/var/vm/swapfile0
\mach.sym
Configuring kernel extensions
Jettisoning kernel linker.
Jan 19 13:42:38 kextd[25]: registering service "com.apple.KernelExtensionServer"
Resetting IOCatalogue.
Matching service count = 0
Matching service count = 1
Matching service count = 1
Matching service count = 1
Matching service count = 1
Jan 19 13:42:43 kextd[25]: 308 cached, 0 uncached personalities to catalog
Register IOPlatformMonitor to acknowledge power changes
Jan 19 13:43:23 kextd-parent[24]: IOKitWaitQuiet() timed out
Jan 19 13:43:36 localhost mDNSResponder-107 (Mar 20 2005 20: 31:47)[48]: starting
Jan 19 13:43:40 localhost DirectoryService[46]: Launched version 1.8 (v346)
com_apple_driver_RTL8139: Ethernet address 52:54:00:12:34:56
Jan 19 13:43:54 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189646094
Jan 19 13:43:55 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189646561
Jan 19 13:43:55 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189646808
Jan 19 13:43:55 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189646941
Jan 19 13:43:55 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189647193
Jan 19 13:43:55 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189647193
Jan 19 13:43:55 localhost mDNSResponder: Adding browse domain local.
Jan 19 13:43:56 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189647455
Jan 19 13:43:56 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189647810
Jan 19 13:43:57 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189648458
Jan 19 13:43:58 localhost mDNSResponder: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 01807800 lo0/4 to 224.0.0.251:5353 skt 9 error -1 errno 65 (No route to host) 3189649812
AppleCuda_AutoRestartOnPowerLossSetting - entered
Attached protocol 30 to en0 - 0
Attached protocol 2 to en0 - 0
in.c: warning can't plumb proto if=en0 type 6 error=17
Not sure what the issue is, seems to be related to the CUDA restart on power loss, I can boot the install dvd fine and install, but I have issues booting the HD after install. I was able to boot once, and everything works fine, but now the system won't boot again.
I added my cpu to /qemu/target/ppc/cpu-models.c
POWERPC_DEF("7457a_v1.5", CPU_POWERPC_74x7A_v15, 7455,
"PowerPC 7457A v1.5 (G4)")
And added /qemu/target/ppc/cpu-models.h
CPU_POWERPC_74x7A_v15 = 0x80030105, /* aka D: 1.5 */
Now -cpu host works, but the system hangs at bootX
qemu-system-ppc -M mac99 -m 768 -cdrom /dev/sr0 -bios '/media/jam/D4A3-539C/openbios-qemu.elf' -enable-kvm -cpu host -boot c -prom-env 'auto-boot?=false' -serial stdio -prom-env 'boot-args=-v debug=0xffe kdp=2' -drive file=Tiger.qcow2,format=qcow2 -device usb-mouse -device usb-kbd -g 800x600x32 -netdev user,id=network0 -device rtl8139,netdev=network0
>> =============================================================
>> OpenBIOS 1.1 [Jan 19 2018 11:00]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 768M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
>> switching to new context:
>> call-method slw_update_keymap failed with error ffffffdf
>> call-method slw_update_keymap failed with error ffffffdf
Can't seem to boot Ubuntu Mate 16.04 CD ether just hangs while loading the
bootinfo.txt, booting with -nographic loads yaboot, but boot seems to hang while creating the ramdisk.
Booting OS X Tiger with kvm and cpu 7410 hangs: