Page 4 of 83

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Mon Sep 15, 2014 12:24 pm
by itux
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: Select all

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: Select all

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

Code: Select all

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              

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Mon Sep 15, 2014 6:38 pm
by UbuntuXP
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: Select all

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

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Mon Sep 15, 2014 9:32 pm
by itux
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: Select all

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

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Sep 16, 2014 4:44 am
by UbuntuXP
Qemu has a utility for creating disk images, try this.

Code: Select all

qemu-img create jaguar.img 4G
Then try again with the new disk image.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Sep 16, 2014 5:01 am
by itux
Thanks, UbuntuXP
Not need use -sdl option, sdl used by default now :)

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed Sep 17, 2014 9:25 pm
by itux
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]

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Sep 18, 2014 10:30 am
by Ronald P. Regensburg
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?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Oct 02, 2014 6:54 am
by kikyoulinux
Is that qemu OS9 emulation still under construction?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Oct 02, 2014 8:30 am
by Cat_7
Is that qemu OS9 emulation still under construction?
I think development has stalled.

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Oct 02, 2014 9:29 am
by kikyoulinux
perhaps... it has been a long time since it was announced

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Oct 02, 2014 9:57 am
by kikyoulinux
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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Oct 02, 2014 7:19 pm
by adespoton
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 :)

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sat Jan 10, 2015 4:17 am
by Madd the Sane
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).

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Fri Feb 06, 2015 12:28 am
by neozeed
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).

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Fri Feb 06, 2015 7:57 pm
by adespoton
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?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu Mar 26, 2015 11:06 pm
by adespoton
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. :)

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Fri Mar 27, 2015 7:46 am
by PeterHolbrook
adespoton wrote:Time for another kick at the can, it seems :)
That's very good news. Thank you for letting us know.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed May 27, 2015 8:34 am
by Mominul
What is the frequently used QEmu Disk format? QED or QCOW?

Thanks

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed May 27, 2015 7:32 pm
by adespoton
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 :)

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu May 28, 2015 3:55 am
by Mominul
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!

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Thu May 28, 2015 5:10 pm
by adespoton
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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Jun 21, 2015 7:33 am
by Cat_7
It seems we get a new shot at running OS 9 in Qemu:

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

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Jun 21, 2015 11:57 am
by PeterHolbrook
Cat_7 wrote:It seems we get a new shot at running OS 9 in Qemu
Great. Thank you for the piece of news.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Jun 21, 2015 7:46 pm
by Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Jun 23, 2015 5:54 am
by DANADAX
Good news!

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

http://www.google-melange.com/gsoc/proj ... 2298738688