Dragon Posted February 9, 2007 Author Share Posted February 9, 2007 i've made my own slax cd with qemu and pearpc modules and am just about to burn so i can test it on the p3. This is the pearpc module required for SLAX. pearpc.mo.gz Link to comment Share on other sites More sharing options...
Dragon Posted February 9, 2007 Author Share Posted February 9, 2007 Setting up pearpc on the p3 tomorrow morning, also try qemu with kqemu/qvm86. Link to comment Share on other sites More sharing options...
munky Posted February 9, 2007 Share Posted February 9, 2007 good luck dude - cant wait :pirate2: Link to comment Share on other sites More sharing options...
Dragon Posted February 10, 2007 Author Share Posted February 10, 2007 Kqemu module. kqemu.mo.gz Link to comment Share on other sites More sharing options...
Dragon Posted February 10, 2007 Author Share Posted February 10, 2007 This is qmv86... i'm just converting all these from rpms and storing them here. Sorry for the "spam". qvm86.mo.gz Link to comment Share on other sites More sharing options...
Pu7o Posted February 10, 2007 Share Posted February 10, 2007 The thing is, kqemu and qvm86 change qemu from an emulator into a virtualizer. So, if you run qemu on a P3 with Kqemu/qvm86, you don't get SSE2/3, and therefore you don't run Mac OS X. Link to comment Share on other sites More sharing options...
Dragon Posted February 10, 2007 Author Share Posted February 10, 2007 You are right... we have to use both pearpc and qemu (with no accelerator). Link to comment Share on other sites More sharing options...
mac-mini Posted February 10, 2007 Share Posted February 10, 2007 so thats my problem in windows im using kqemu Link to comment Share on other sites More sharing options...
munky Posted February 12, 2007 Share Posted February 12, 2007 so there's no way to virtualise non-SSE instructions and emulate the rest? maxxuss used to trap the exception raised by the lack of an SSE3 instruction and trapped it to call emulation code, i think. is there any way we could do something similar? Link to comment Share on other sites More sharing options...
Dragon Posted February 12, 2007 Author Share Posted February 12, 2007 qvm86 says : Virtualisation allows "emulated" code to be run natively on the host cpu, using the CPU protection mechanisms to intercept and emulate priveleged events. i'm wondering if it's possible to set which events are "priveleged". maybe we could set all SSE2 calls to be emulated and the rest virtualized then. Link to comment Share on other sites More sharing options...
Embio Posted February 12, 2007 Share Posted February 12, 2007 surely emulating instructions on something that runs them natively would be fast anyway, because it isnt going to take much effort to do? thats the nature of computers - it has to be faster than x86 on PPC or the other way round - no? Link to comment Share on other sites More sharing options...
munky Posted February 12, 2007 Share Posted February 12, 2007 Embio - dont bet on it. Emulating a full x86 processor doesnt get any faster just because your executing your emulation code on an x86 processor. You have to specifically code to take advantage of x86 features if you want to optimise. Thats why QEMU on x86 is slow without the accelerator module, which does offload the work to the real processor. What we want is a hybrid approach where instructions supported by the processor are run 'natively' or at least executed in a virtualisation-style way, and instructions which are not supported (eg SSE, SSE2, SSE3) are emulated in software. Link to comment Share on other sites More sharing options...
JaS Posted February 12, 2007 Share Posted February 12, 2007 I wonder if the same sse2 emulation that is used in Qemu can be ported to the kernel and be done with it. Is the Qemu sse2 emulation avalable in source code somewhere ... Link to comment Share on other sites More sharing options...
Embio Posted February 12, 2007 Share Posted February 12, 2007 (edited) Qemu is open source, thats going back to my original suggestion of integration. Obviously its the easiest way of doing things, and the fastest but we need someone with a lot of experience in this area Edited February 12, 2007 by Embio Link to comment Share on other sites More sharing options...
munky Posted February 12, 2007 Share Posted February 12, 2007 that would be a great solution, and would negate the need for qemu and linux. any volunteers? EDIT: I think ops_sse.h in target_i386 of the qemu source will provide interesting reading... EDIT2: If this is possible, it would be HUGE! Imagine all the 'disenfranchised' machines which could be supported... Link to comment Share on other sites More sharing options...
Embio Posted February 12, 2007 Share Posted February 12, 2007 like I said, we need an expert. It would be very good for those of us with 3Ghz Athlons hanging around. Link to comment Share on other sites More sharing options...
Dragon Posted February 12, 2007 Author Share Posted February 12, 2007 It's possible, but it would require quite an experience developer to implement it. EDIT: As a backup plan, we could modify kqemu to only virtualize non-SSE2 instructions now that it's open source if that's easier. Link to comment Share on other sites More sharing options...
Embio Posted February 12, 2007 Share Posted February 12, 2007 to me that sounds harder Link to comment Share on other sites More sharing options...
Dragon Posted February 13, 2007 Author Share Posted February 13, 2007 that's why I called it a "backup plan". it may still be easier though, OS X might give us other problems that don't rely on the kernel. i still have a feeling a slight amount of emulation will be required. Link to comment Share on other sites More sharing options...
Dragon Posted February 13, 2007 Author Share Posted February 13, 2007 I'm uploading my "PearOS"/"QemuOS" on megaupload for anyone that wants it. You have to start OS X manually and get access to the osx86 img/isos yourself. I'll post the link when it finishes uploading. Link to comment Share on other sites More sharing options...
Embio Posted February 13, 2007 Share Posted February 13, 2007 (edited) awesome - just let us know when its up. Can we use OSx86 DVDs with it? Edited February 13, 2007 by Embio Link to comment Share on other sites More sharing options...
Dragon Posted February 13, 2007 Author Share Posted February 13, 2007 yeah. uploading at really slow speeds (12kb/s), Time remaining : 01:57:22 (55.57 MB of 138.17 MB) update - 00:56:04 (101.99 MB of 138.17 MB) Link to comment Share on other sites More sharing options...
Dragon Posted February 13, 2007 Author Share Posted February 13, 2007 http://www.megaupload.com/?d=4VWZ4WUZ Link to comment Share on other sites More sharing options...
Baltazar Posted February 13, 2007 Share Posted February 13, 2007 (edited) Cool! Will check it out later. Edit: Have you tried it out on your P3 yet, and how did it perform compared to the video you posted earlier running trough vmware? Edited February 13, 2007 by Baltazar Link to comment Share on other sites More sharing options...
Dragon Posted February 13, 2007 Author Share Posted February 13, 2007 Probably triple that speed. Maybe more. Also, remember my p3 is only 450mhz. Link to comment Share on other sites More sharing options...
Recommended Posts