![]()
Sum-ting-wong, we-too-hi.![]()
Or simply modified it without being a hacker... or someone hacked the panel.
Hey, @LightBulbFun, if you still have Linux setup on your G5, see if you can run qemu with kvm and -cpu G4 with more than 2 GB of ram.
qemu-system-ppc64 \
--enable-kvm \
-M mac99 \
-cpu G4 \
-m 4096 \
-boot c \
-drive file=tigerhd.img,format=raw \
-device usb-tablet \
-device usb-kbd \
-k en-us \
-usb -netdev user,id=mynet0 -device usb-net,netdev=mynet0
I just built QEMU 2.12.0 from source in Ubuntu Mate 16.04 on my G5 and try to run a copy of Tiger with;
Code:qemu-system-ppc64 \ --enable-kvm \ -M mac99 \ -cpu G4 \ -m 4096 \ -boot c \ -drive file=tigerhd.img,format=raw \ -device usb-tablet \ -device usb-kbd \ -k en-us \ -usb -netdev user,id=mynet0 -device usb-net,netdev=mynet0
This results in the message;
qemu-system-ppc64: -m 4096: ram size too large
I then lowered this to -m 4000 and get the message;
qemu-system-ppc64: at most 2047 MB RAM can be simulated
Same results for `qemu-system-ppc --enable-kvm`
/home/jam/os9/qemu-install/bin/qemu-system-ppc --version
QEMU emulator version 2.11.50 (v2.11.0-355-g281f327487-dirty)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
@AphoticD maybe you are building qemu in 32bit mode?
@AphoticD maybe you are building qemu in 32bit mode?
file /usr/local/bin/qemu-system-ppc64
/usr/local/bin/qemu-system-ppc64: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 3.2.0, BuildID[sha1]=45769ddde53387f5289144c1955b0682aec21e01, stripped
Linux AlphaTower 4.4.0-127-powerpc64-smp #153-Ubuntu SMP Sat May 19 11:39:04 UTC 2018 ppc64 ppc64 ppc64 GNU/Linux
ya know i never even thought about that
and now ya mention it, I recall mention that the user space on PPC64-BE ubuntu is 32bit not 64bit even tho the kernel is 64bit.
I don't have any PPC64 system, so I can't be much help. It maybe more trouble than it's worth, but I'll poke around and see if there is anything easy that can be done to build 64bit binaries in a 32 bit user space.Yes. That sure is the case!
Code:file /usr/local/bin/qemu-system-ppc64 /usr/local/bin/qemu-system-ppc64: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 3.2.0, BuildID[sha1]=45769ddde53387f5289144c1955b0682aec21e01, stripped
Here's the output of `uname -a`;
Code:Linux AlphaTower 4.4.0-127-powerpc64-smp #153-Ubuntu SMP Sat May 19 11:39:04 UTC 2018 ppc64 ppc64 ppc64 GNU/Linux
What's your technique for building for ppc64? I've individually tried;
export CFLAGS="-m64"
export CFLAGS="-arch ppc64"
export CFLAGS="-mabi=64"
export QEMU_CFLAGS="-mabi=64"
And I'm getting a variety of errors when either configuring or building from each of these flags.