GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Moderators: Cat_7, Ronald P. Regensburg
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Perhaps add "cpu" and "mac model" ?
Best,
Cat_7
Best,
Cat_7
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Is this what you had in mind:Cat_7 wrote:Perhaps add "cpu" and "mac model" ?
Best,
Cat_7
Code: Select all
Operating System Status QEMU Build OpenBIOS revision CPU Mac Model
Mac OS 8.5 Prints error about missing /rtas 2.5 1378 750 mac99
- adespoton
- Forum All-Star
- Posts: 4277
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Looks great to me! Beyond that, we'd have to move to a DB and do the Roaring Apps thingProgrammingkid wrote:That sounds like a logical suggestion. How does this look:adespoton wrote:That page is an excellent start -- I believe it is somewhat out of date with the latest custom test builds of openbios though.
Indicating the qemu/openbios builds and test dates would definitely help.Code: Select all
Operating System Status QEMU Build OpenBIOS revision Mac OS 8.5 Prints error about missing /rtas 2.5 1378
- sentient06
- Mac Mechanic
- Posts: 188
- Joined: Tue Mar 29, 2011 8:57 pm
- Location: London, UK
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I agree with adespoton: it is an excellent start. And I also agree it might be slightly outdated.Programmingkid wrote:I made documentation for the Macintosh emulator in QEMU here: http://wiki.qemu.org/PowerPC
It does have some of your suggestions already in it. Let me know what you think of it.
A public spreadsheet would be easier to browse and duplicate similar items, though. But that's my own opinion.
A wiki would be a good alternative.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
A LOT of things here are above me. But great progress!
Many thanks to everyone who works on this!
Many thanks to everyone who works on this!
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
This is great! Can I link to it in the PowerPC wiki page?
Also, maybe we could include other operating systems. Anyone have any experience running these OS's in QEMU's PowerPC Macintosh target?
- Debian Linux
- Ubuntu Linux
- FreeBSD
- NetBSD
- Haiku
- AmigaOS
- MorphOS
- Gentoo Linux
- MkLinux
- Yellow Dog Linux
- BeOS
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Sure, it is a public spreadsheet.
Best,
Cat_7
Best,
Cat_7
-
- Space Cadet
- Posts: 5
- Joined: Tue Nov 17, 2015 11:53 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Okay, so since I can't really help much on the coding/bugfixing front I decided to make a somewhat nicely formatted compatibility matrix for QEMU PPC based on the spreadsheet above and whatever else I could remember from the thread:
Here's the mediawiki code for it since I can't edit the QEMU wiki myself.
I'm a big fan of colour-coded tables like this since they make it really easy to see where a project is at. I'm sure I've made some mistakes in stating where things are at and have left some "?"s where I had trouble finding the info, so please help correct and fill in the blanks if you can.
Here's the mediawiki code for it since I can't edit the QEMU wiki myself.
I'm a big fan of colour-coded tables like this since they make it really easy to see where a project is at. I'm sure I've made some mistakes in stating where things are at and have left some "?"s where I had trouble finding the info, so please help correct and fill in the blanks if you can.
-
- Tinkerer
- Posts: 92
- Joined: Sun Sep 28, 2014 11:53 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
OS 9.0.4 does not support Classic env. and I heard that Leopard works fine on G3Beige with G4 cpu.
- sentient06
- Mac Mechanic
- Posts: 188
- Joined: Tue Mar 29, 2011 8:57 pm
- Location: London, UK
- sentient06
- Mac Mechanic
- Posts: 188
- Joined: Tue Mar 29, 2011 8:57 pm
- Location: London, UK
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I think he meant it can be used as the guest classic environment for some Mac OS X emulated hosts. Ie. OSX > 10.3 > 9.2.kikyoulinux wrote:OS 9.0.4 does not support Classic env. and I heard that Leopard works fine on G3Beige with G4 cpu.
-
- Tinkerer
- Posts: 92
- Joined: Sun Sep 28, 2014 11:53 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Yes, Mac OS 9.0.x doesn't have "Classic" in its system folder, which is needed by Mac OS X's Classic environment.sentient06 wrote:
I think he meant it can be used as the guest classic environment for some Mac OS X emulated hosts. Ie. OSX > 10.3 > 9.2.
-
- Tinkerer
- Posts: 92
- Joined: Sun Sep 28, 2014 11:53 am
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
We would have fun if there was a PPC version of AppleAC97Audio.kext. I know, Qemu DOES emulates an AC97 card.
"qemu-system-ppc -soundhw help" said:
Valid sound card names (comma separated):
pcspk PC speaker
hda Intel HD Audio
cs4231a CS4231A
gus Gravis Ultrasound GF1
adlib Yamaha YM3812 (OPL2)
ac97 Intel 82801AA AC97 Audio
es1370 ENSONIQ AudioPCI ES1370
sb16 Creative Sound Blaster 16
"qemu-system-ppc -soundhw help" said:
Valid sound card names (comma separated):
pcspk PC speaker
hda Intel HD Audio
cs4231a CS4231A
gus Gravis Ultrasound GF1
adlib Yamaha YM3812 (OPL2)
ac97 Intel 82801AA AC97 Audio
es1370 ENSONIQ AudioPCI ES1370
sb16 Creative Sound Blaster 16
- adespoton
- Forum All-Star
- Posts: 4277
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Looks like we still need to test:
Mac OS(X):
Mac OS 8.5 HD image
Mac OS 8.6 HD image (it was an upgrade CD, so no fresh install)
OS X Public Beta (with twiddled timestamp) CD and HD image
Unix/Linux:
Arch Linux (CD and HD image)
Yellow Dog Linux (CD and HD image)
NetBSD (CD and HD image)
MintPPC (CD and HD image)
Other:
Haiku PowerPC (CD and HD image)
It would also be good to have links on that spreadsheet to extra sheets outlining the contents of the kernel panics, workarounds, etc. Anyone up for adding that detail?
Mac OS(X):
Mac OS 8.5 HD image
Mac OS 8.6 HD image (it was an upgrade CD, so no fresh install)
OS X Public Beta (with twiddled timestamp) CD and HD image
Unix/Linux:
Arch Linux (CD and HD image)
Yellow Dog Linux (CD and HD image)
NetBSD (CD and HD image)
MintPPC (CD and HD image)
Other:
Haiku PowerPC (CD and HD image)
It would also be good to have links on that spreadsheet to extra sheets outlining the contents of the kernel panics, workarounds, etc. Anyone up for adding that detail?
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Actually there are, at least in both 10.3 and 10.4. But starting Qemu with AC97 sound card support amounts to some errors in the command window. The device is not recognised in the OSX system profiler and therefore most probably not present in the device tree of OpenBios.We would have fun if there was a PPC version of AppleAC97Audio.kext.
Best,
Cat_7
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I would like to add that Debian Linux 5 does boot and install in QEMU. I use it to test my patches. Sound, networking, and USB all work.
http://cdimage.debian.org/cdimage/archi ... pc/iso-cd/
This is where you can download an iso.
http://cdimage.debian.org/cdimage/archi ... pc/iso-cd/
This is where you can download an iso.
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
I think it is time we ported a QEMU manager to Mac OS X. A QEMU manager is software that can make QEMU actually easy to use. It would allow the user to changes settings with QEMU very easily. Right now all the Mac OS X users are probably using the cocoa interface. It is ok, but the maintainer of this interface is not interesting it making it very robust. He believes manager software should be the UI to QEMU.
Q is an example of such software. It does run on Mac OS X but is very buggy and hasn't been updated in over 8 years. After trying to talk with one of the authors of the software about updating it, I decided to just give up on it.
What I propose is we port Virt-Manager over to Mac OS X. It is an up-to-date QEMU manager with some pretty impressive features. I think porting it over to Mac OS X might be possible. It uses GTK3 and python. Two technologies that are available on Mac OS X.
Do you have another suggestion or comment?
Q is an example of such software. It does run on Mac OS X but is very buggy and hasn't been updated in over 8 years. After trying to talk with one of the authors of the software about updating it, I decided to just give up on it.
What I propose is we port Virt-Manager over to Mac OS X. It is an up-to-date QEMU manager with some pretty impressive features. I think porting it over to Mac OS X might be possible. It uses GTK3 and python. Two technologies that are available on Mac OS X.
Do you have another suggestion or comment?
-
- Inquisitive Elf
- Posts: 36
- Joined: Sat Oct 03, 2009 12:51 am
- Location: France
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
WOW! You did it. Great.mathieudel wrote:Something like this ?
https://github.com/jeffreywildman/homebrew-virt-manager
Edit -> screenshot :
What version of Mac OS X are you using? I tried installing it on Mac OS 10.6.8, but this error showed up for me:
sha1-x86_64.smissing or invalid immediate expression `0b00011011' taken as 0
sha1-x86_64.ssuffix or operands invalid for `pshufd'
sha1-x86_64.smissing or invalid immediate expression `0b00011011' taken as 0
sha1-x86_64.ssuffix or operands invalid for `pshufd'
sha1-x86_64.smissing or invalid immediate expression `0b00011011' taken as 0
sha1-x86_64.ssuffix or operands invalid for `pshufd'
sha1-x86_64.smissing or invalid immediate expression `0b00011011' taken as 0
sha1-x86_64.ssuffix or operands invalid for `pshufd'
make[2]: *** [sha1-x86_64.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1
So how is it? Is it actually useful? Buggy? A miracle?
-
- Inquisitive Elf
- Posts: 36
- Joined: Sat Oct 03, 2009 12:51 am
- Location: France
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Actually I did nothing but searching google for 'virt-manager mac', and following install instructions (since I already had homebrew, it was easy ).
I'm using latest El Capitan and everything worked immediately.
As for usefulness... I don't know. I just opened the built application and stopped there since I don't really now how it works.
I don't even have qemu installed :p.
My idea was that, based on your informations, there should be no major issue to build the tool, and before trying by myself I just searched to see if anyone did already tried... bingo :D !
Now about your build issue, it seems related to a recent regression of OpenSSL (depency : virt-manager -> spice-gtk -> openssl) on old MacOS versions : http://comments.gmane.org/gmane.comp.en ... evel/33380
Fixing that would require modifying spice-gtk's formulae to require either an older or a newer (fixed) openssl.
I'm using latest El Capitan and everything worked immediately.
As for usefulness... I don't know. I just opened the built application and stopped there since I don't really now how it works.
I don't even have qemu installed :p.
My idea was that, based on your informations, there should be no major issue to build the tool, and before trying by myself I just searched to see if anyone did already tried... bingo :D !
Now about your build issue, it seems related to a recent regression of OpenSSL (depency : virt-manager -> spice-gtk -> openssl) on old MacOS versions : http://comments.gmane.org/gmane.comp.en ... evel/33380
Fixing that would require modifying spice-gtk's formulae to require either an older or a newer (fixed) openssl.
- adespoton
- Forum All-Star
- Posts: 4277
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Is there a manager that uses Qt instead of GTK? Qt widgets function in a much more Mac-like way than GTK widgets, and with much less overhead.
Or how about something just using WxPython?
Or how about something just using WxPython?
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
AQEMU uses Qt. So does qt-virt-manager.adespoton wrote:Is there a manager that uses Qt instead of GTK? Qt widgets function in a much more Mac-like way than GTK widgets, and with much less overhead.
Or how about something just using WxPython?
I do like how AQEMU looks.
I don't know about WxPython.
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
A silver lining is that Q appears to be open-source, meaning that someone could conceivably fork the project and update it themselves if they had the time (ay, there's the rub).Programmingkid wrote:I think it is time we ported a QEMU manager to Mac OS X. A QEMU manager is software that can make QEMU actually easy to use. It would allow the user to changes settings with QEMU very easily. Right now all the Mac OS X users are probably using the cocoa interface. It is ok, but the maintainer of this interface is not interesting it making it very robust. He believes manager software should be the UI to QEMU.
Q is an example of such software. It does run on Mac OS X but is very buggy and hasn't been updated in over 8 years. After trying to talk with one of the authors of the software about updating it, I decided to just give up on it.
There's no earthly way of knowing, which direction we are going, for the rowers keep on rowing, and they're certainly not showing any signs that they are slowing.
-
- Apple Corer
- Posts: 243
- Joined: Sun Jan 31, 2016 6:01 pm
Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
OMG! You are right. I didn't think about that. That would enable us to completely by-pass all the original maintainers who gave up on that project years ago.A silver lining is that Q appears to be open-source, meaning that someone could conceivably fork the project and update it themselves if they had the time (ay, there's the rub).