Qemu getting closer to running OSX

Anything about Mac emulation that does not belong in the above categories.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
desertboy
Tinkerer
Posts: 43
Joined: Wed May 19, 2004 8:02 am

Qemu getting closer to running OSX

Post by desertboy »

With version .6 qemu is getting closer to booting osx, it gets further failing at the cdrom hardware check.

http://fabrice.bellard.free.fr/qemu/ossupport.html
robojam
Forum All-Star
Posts: 780
Joined: Thu Apr 17, 2003 10:52 pm
Location: Charlotte, NC. USA

Post by robojam »

It's good to hear that there's progress, but that still puts it a long way behind PPC.
Once you've made something idiot proof, they go and invent a better idiot!
gb
Real Swell Guy!
Posts: 116
Joined: Tue Jun 22, 2004 4:20 am

Post by gb »

What makes you think QEMU is "a long way behind PPC"? I can't find a valid argument to confirm this hypothesis.
robojam
Forum All-Star
Posts: 780
Joined: Thu Apr 17, 2003 10:52 pm
Location: Charlotte, NC. USA

Post by robojam »

gb wrote:What makes you think QEMU is "a long way behind PPC"? I can't find a valid argument to confirm this hypothesis.
Errr...how about the fact that PPC can boot OSX and that QEMU can't?

Correct me if I'm wrong, but I thought that an operating system needed to fully boot to be useful....
Once you've made something idiot proof, they go and invent a better idiot!
ShadowFox
Tinkerer
Posts: 69
Joined: Thu Feb 05, 2004 4:41 am
Location: Connecticut
Contact:

Post by ShadowFox »

Be careful with your acronyms.

PPC actually refers to PowerPC, the architecture. It does not officially refer to PearPC, the program.

That said, I've been playing with QEMU quite a bit lately, and with version .6 they have make incredble progress over previous versions (at least, in terms of PPC). In the past, QEMU had only been able to simulate a PREP system, and only boot directly from a mac linux kernel. Now it has complete system virtualization, allowing it to boot from other things. I've gotten it to boot up the installation of Mandrake 9.1 PPC, and even got it to start X when booting from a knoppix ppc cd (through the direct framebuffer driver).

No, it can't yet boot OSX, but it does get very close. The biggest difference between PearPC and QEMU is that PearPC can simulate only a powerpc cpu. QEMU can already simulate complete x86 and powerpc systems, and is currently testing ARM and SPARC CPU emulation. It already is the jack-of-all trades in terms of system emulation, and I have no doubt it will be able to boot OSX in a future release.

So to recap, it's not accurate, and not at all intelligent to say it's "way behind PPC." For one, it's right on track to emulate a PPC system, and while it can't boot OSX yet, it's under heavy development, and most likely will very soon. Second, you can't compare it to PearPC, as PearPC has one focus- PPC, while QEMU has many- PPC, x86, SPARC, ARM. With development split into those four groups, it's amazing it's come as far as it has.
rccola70
Tinkerer
Posts: 79
Joined: Fri Jun 04, 2004 12:03 am
Location: Hermosa Beach, California
Contact:

fast

Post by rccola70 »

Qemu is also fast..
prasys
Forum All-Star
Posts: 549
Joined: Sun May 23, 2004 7:41 am
Location: MY
Contact:

Post by prasys »

Qemu emulates x86 faster..but how about PPC...Well , if it can emulate a fast PPC..Many people will use Qemu and people will not use PearPC....Well , of course PearPC can emulate Network , Native CD-ROM Drive.....Run MacOS 7/8.1 using a 68K emulator inside OSX







*PPC = PowerPC
jawa78
Inquisitive Elf
Posts: 25
Joined: Mon Jul 19, 2004 1:46 am
Location: Inside StarWars Movies
Contact:

Post by jawa78 »

prasys wrote:Qemu emulates x86 faster..but how about PPC...Well , if it can emulate a fast PPC..Many people will use Qemu and people will not use PearPC....Well , of course PearPC can emulate Network , Native CD-ROM Drive.....Run MacOS 7/8.1 using a 68K emulator inside OSX







*PPC = PowerPC
Yes but PearPC cant run Mac os 8.5 - 9.0 Well maybe not qemu either. I dont see it happening for either emulation. I think poor sheepshaver the first powerpc emulator for the x86 processor (released) well always serve one crowd while pearpc and qemu will serve another crowd. Personally I would like to see softpear work out. Softpear being a application enviroment with ppc emulator so running osx apps on linux/windows would be just like running apps with wine on linux. Which I would like in the long run. I dont want to run macosx just to use one or two applications. When there is a possible alternative that will allow them to run them inside windows or linux.
bonehead
Tinkerer
Posts: 80
Joined: Sat Jun 05, 2004 5:35 pm

Post by bonehead »

prasys wrote:Qemu emulates x86 faster..but how about PPC...
I believe Qemu has faster MMU emulation, with limitations. The PearPC Wiki mentions the Qemu MMU as a possibility.
ShadowFox
Tinkerer
Posts: 69
Joined: Thu Feb 05, 2004 4:41 am
Location: Connecticut
Contact:

Post by ShadowFox »

I was just playing with QEMU a bit more, and I dug up an OSX emergency boot disc. QEMU starts to boot up with it, I see the apple logo come up, and it loads all the drivers and such. It crashes right before Darwin starts to load up, with a message like this:


Kernel version:
Darwin Kernel Version 6.6:
Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC

No debugger configure- dumping debug information
MSR=00001030
Latest stack backtrace for cpu 0:
Backtrace:
0x0008581C 0x00085DE0 0x000287B4 0x0023CEDC 0x0021F1E8 0x0021FB38 0x00220194 0x00210610 0x002105D4
Proceeding back via exception chain:
Exception state (sv=0x02411500)
PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)

Kernel version:
Darwin Kernel Version 6.6:
Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC


panic: We are hanging here...



Any programmers out there know where the crash occured?

Edit: Does the same thing with a regular OSX CD, minus the loading drivers part. The kernel panic is the same though.
User avatar
PPC_Digger
Forum All-Star
Posts: 1053
Joined: Thu Jul 22, 2004 9:02 am
Location: Israel

Post by PPC_Digger »

first you guys stop fighting. ppc and qemu are good projects that i would like to see evolving to be 100% compatible with the platforms they are emulating and with each other.
second, what happens when you try to boot an already-installed mac os x?
desertboy
Tinkerer
Posts: 43
Joined: Wed May 19, 2004 8:02 am

Re: fast

Post by desertboy »

rccola70 wrote:Qemu is also fast..
Qemu is reasonably fast (Nowhere near the 1/4 speed quoted on either of the machines I tried it on, 1 linux based and 1 XP machine) but PearPC will probably beat it speed wise (It's goal is OSX on X86 where as qemu is portability and whole system emulation).

We should count ourselves lucky a year+ ago there was no decent powerpc emulator, now there's 3.
User avatar
PPC_Digger
Forum All-Star
Posts: 1053
Joined: Thu Jul 22, 2004 9:02 am
Location: Israel

Re: fast

Post by PPC_Digger »

desertboy wrote:We should count ourselves lucky a year+ ago there was no decent powerpc emulator, now there's 3.
i think so too.
Post Reply