E-Maculation
https://www.emaculation.com/forum/

GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
https://www.emaculation.com/forum/viewtopic.php?f=34&t=7047
Page 4 of 83

Author:  itux [ Mon Sep 15, 2014 12:24 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Couldn't load PowerPC MacOS 10.2 on 10.10 OS X QEmu Host, error is :

com.apple.iokit.IOGraphicsFamily not loaded :((((
and hang, but install successful from jaguar_disk_1.iso
Jaguar.cdr create in DiskUtility, 4.2 Gb / none / CD-DVD / Master

Code:
qemu-system-ppc -m 1024 -M g3beige -hda Jaguar/Jaguar.cdr -cpu 7448 -boot c -cdrom Jaguar/osxdisk1.iso -prom-env 'boot-args=-v' -serial stdio


also try
Code:
qemu-system-ppc -L pc-bios/ -m 256 -M g3beige -hda Jaguar/Jaguar.cdr -cpu G3



Code:
mpPro:PowerPC itux$ ls /usr/local/Cellar/qemu/2.1.0/share/qemu/
QEMU,cgthree.bin          efi-virtio.rom            ppc_rom.bin               s390-zipl.rom
QEMU,tcx.bin              keymaps/                  pxe-e1000.rom             sgabios.bin
acpi-dsdt.aml             kvmvapic.bin              pxe-eepro100.rom          slof.bin
bamboo.dtb                linuxboot.bin             pxe-ne2k_pci.rom          spapr-rtas.bin
bios-256k.bin             multiboot.bin             pxe-pcnet.rom             u-boot.e500
bios.bin                  openbios-ppc              pxe-rtl8139.rom           vgabios-cirrus.bin
efi-e1000.rom             openbios-sparc32          pxe-virtio.rom            vgabios-qxl.bin
efi-eepro100.rom          openbios-sparc64          q35-acpi-dsdt.aml         vgabios-stdvga.bin
efi-ne2k_pci.rom          palcode-clipper           qemu-icon.bmp             vgabios-vmware.bin
efi-pcnet.rom             petalogix-ml605.dtb       qemu_logo_no_text.svg     vgabios.bin
efi-rtl8139.rom           petalogix-s3adsp1800.dtb  s390-ccw.img             

Author:  UbuntuXP [ Mon Sep 15, 2014 6:38 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

First, are you trying to boot a cdrom (cdr) where a hard disk is suppose to be? Also, are you trying to boot from cdrom or hda?

Try this if I'm guessing correctly.

Code:
qemu-system-ppc -m 1024 -M g3beige -hda Jaguar/Jauguar.img -cpu 7448 -boot d -cdrom Jaguar/osxdisk1.iso -prom-env 'boot-args=-v' -serial stdio

Author:  itux [ Mon Sep 15, 2014 9:32 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Hello,

Sorry, but not Jaguar/Jauguar.img and Jaguar/Jauguar.cdr (because image created in DiskUtility)
If you tell me how prepare good hdd image with qemu i'll be happy.
Also i reinstall my qemu with support sdl and vde and now, i see normal color for system... but can't boot from hdd, this error present, can't find video card.
Also try build qemu from git --HEAD, but not successful.


Code:
mpPro:PowerPC itux$ qemu-system-ppc -M g3beige -cpu G3 -m 1024 -sdl -hda Jaguar/Jaguar.vmdk -cdrom Jaguar/osxdisk1.iso -boot d -serial stdio  -prom-env 'boot-args=-v'


This image i see :)
[img]
http://nas.idev.pro/storage/cache/image ... 790913.png
[/img]
[img]
http://nas.idev.pro/storage/cache/image ... 790920.png
[/img]
[img]
http://nas.idev.pro/storage/cache/image ... 790928.png
[/img]
[img]
http://nas.idev.pro/storage/cache/image ... 790936.png
[/img]
[img]
http://nas.idev.pro/storage/cache/image ... 790944.png
[/img]
[img]
http://nas.idev.pro/storage/cache/image ... 790952.png
[/img]
[img]
http://nas.idev.pro/storage/cache/image ... 790967.png
Error with vmdk image
[/img]

Today i'll try install with cdr image

Author:  UbuntuXP [ Tue Sep 16, 2014 4:44 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Qemu has a utility for creating disk images, try this.

Code:
qemu-img create jaguar.img 4G


Then try again with the new disk image.

Author:  itux [ Tue Sep 16, 2014 5:01 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Thanks, UbuntuXP
Not need use -sdl option, sdl used by default now :)

Author:  itux [ Wed Sep 17, 2014 9:25 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

itux wrote:
Thanks, UbuntuXP
Not need use -sdl option, sdl used by default now :)


Sorry for spent your time,
But now i see:
[img]
http://nas.idev.pro/storage/cache/image ... 985325.png
[/img]

[img]
http://nas.idev.pro/storage/cache/image ... 984834.png
[/img]

Author:  Ronald P. Regensburg [ Thu Sep 18, 2014 10:30 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

A MacOSX 10.2 kernel panic (system crash).

Maybe it is useful to repeat what you mentioned in your first post and what is again apparent form the appearance of the QEMU window in your images, that you run QEMU in OSX 10.10 (Yosemite) beta. Has anyone else had success running this in Yosemite beta?

Author:  kikyoulinux [ Thu Oct 02, 2014 6:54 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Is that qemu OS9 emulation still under construction?

Author:  Cat_7 [ Thu Oct 02, 2014 8:30 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Quote:
Is that qemu OS9 emulation still under construction?


I think development has stalled.

Best,
Cat_7

Author:  kikyoulinux [ Thu Oct 02, 2014 9:29 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

perhaps... it has been a long time since it was announced

Author:  kikyoulinux [ Thu Oct 02, 2014 9:57 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

So it seems that SheepShaver is the only choice to emulate OS 9 though it is not perfect now.
But I'm looking forward to the good news.

Author:  adespoton [ Thu Oct 02, 2014 7:19 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

GSOC was years ago now; unless we have some sort of coding revival, I don't see this moving anywhere any time soon. I was planning to look into this myself a few years back, but ran out of time to get both the OpenBIOS and the PMMU stuff running smoothly in qemu. So, for now, the focus is on improving MacII emulation via Mini vMac and Shoebill -- next up after that is getting PPC emulation improved in MESS and qemu, and then rolling all the fixes for those back into BII and SS at some point in the distant future :)

Author:  Madd the Sane [ Sat Jan 10, 2015 4:17 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Oh yes…
The emulation code in SheepShaver is a bit too old: It won't compile on a Mac with Lion or later (GCC isn't included, and llvm-gcc won't compile it, and Clang doesn't like some ASM directives used by SheepShaver).

Author:  neozeed [ Fri Feb 06, 2015 12:28 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Madd the Sane wrote:
Oh yes…
The emulation code in SheepShaver is a bit too old: It won't compile on a Mac with Lion or later (GCC isn't included, and llvm-gcc won't compile it, and Clang doesn't like some ASM directives used by SheepShaver).


And to make matters worse, you can tweek the build so it doesn't use the asm that the newer tools don't like, but it expects to be able to map to location 0x00000000 in memory which newer OS X forbades (well x64 mode now, but that could extend to 32bit in the future).

Author:  adespoton [ Fri Feb 06, 2015 7:57 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

It seems to me that the 0-map issue should be something we can overcome with a shim -- just point to a virtual address of 0, and let the OS dynamically reassign to wherever. Is there some reason this can't be done other than that nobody's spent the time and grief to implement it?

Author:  adespoton [ Thu Mar 26, 2015 11:06 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

bump... http://wiki.qemu.org/Google_Summer_of_C ... _9_in_QEMU

Time for another kick at the can, it seems :)

[edit] and according to https://www.google-melange.com/gsoc/eve ... e/gsoc2015 tomorrow's the deadline if you want to sign up to work on it as a student :)

Alexander Graf, if you get a student for this, let us know... and there are a number of people on here who would be happy to help either mentor or student find resources etc. :)

Author:  PeterHolbrook [ Fri Mar 27, 2015 7:46 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

adespoton wrote:
Time for another kick at the can, it seems :)


That's very good news. Thank you for letting us know.

Author:  Mominul [ Wed May 27, 2015 8:34 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

What is the frequently used QEmu Disk format? QED or QCOW?

Thanks

Author:  adespoton [ Wed May 27, 2015 7:32 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

QCOW is severely deprecated; QCOW2 is the standard. It's the "QEMU copy-on-write format with a range of special features, including the ability to take multiple snapshots, smaller images on filesystems that don't support sparse files, optional AES encryption, and optional zlib compression."

Compared to this, QED is more lightweight, and runs at almost RAW performance levels, so is better when you want faster throughput. It contains support for backing files and sparse files, but doesn't have the extended feature set of QCOW2.

I still use VMDK for some stuff too, as it'll run under pretty much any virtual machine out there. However, while compatible with VMWare and VirtualBox, these are slow, and can introduce data errors over time. Plus, they don't snapshot well.

That said,

http://wiki.qemu.org/Features/Qcow3

One COW to rule them all :)

Author:  Mominul [ Thu May 28, 2015 3:55 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Thanks adespoton for yours clarification! Maybe I will try to implement VMDK into PearPC. So PearPC will able to read QEmu's ppc VMDK images.
QED and QCow2 (and QCow3) is a geeky stuff. It will be hard to implement them on PearPC.

Thanks!

Author:  adespoton [ Thu May 28, 2015 5:10 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Having vmdk support in ppc would be wonderful... that's the "transport image" of choice with all the stuff I do for work and play. PearPC currently has some interesting restrictions on disk image sizes though, due to how its virtual controller is written. So not all vmdk images would work in PearPC, but a PearPC vmdk should work anywhere else, including qemu.

Author:  Cat_7 [ Sun Jun 21, 2015 7:33 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

It seems we get a new shot at running OS 9 in Qemu:

https://www.google-melange.com/gsoc/pro ... 2298738688

Best,
Cat_7

Author:  PeterHolbrook [ Sun Jun 21, 2015 11:57 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Cat_7 wrote:
It seems we get a new shot at running OS 9 in Qemu


Great. Thank you for the piece of news.

Author:  Cat_7 [ Sun Jun 21, 2015 7:46 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Yep, I already see some progress in openbios:
http://tracker.coreboot.org/trac/openbi ... order=name

and here:
http://lists.nongnu.org/archive/cgi-bin ... qemu-devel

and also here: http://c-obrien.org/qemu-os9/

Best,
Cat_7

Author:  DANADAX [ Tue Jun 23, 2015 5:54 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Good news!

This year's (2015) GSOC has a nice little approved project, specifically for OS 9.

http://www.google-melange.com/gsoc/project/details/google/gsoc2015/cormacobrien/5707702298738688

Page 4 of 83 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/