Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

21 Pages V   1 2 3 > »   
Reply to this topic Start new topic
OS X for SSE (qemu), using a lightweight linux distro
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
OS X for SSE Project

Hi,

This thread has been created for the purpose of exchanging information regarding OS X being emulated on SSE processors by using a lightweight linux distribution as a host, and the open-source application qemu to emulate the SSE2 instructions. The linux distribution will serve as a host for qemu and will be loaded into ram for maximum speed. I have chosen Featherlinux as the current host distro because it is only 122mb in size, can fit into a small amount of ram, and has qemu pre-installed.

So far there are 3 people working on this project. Ai Haibara, Embio, and myself. Anyone else feel free to contribute.

Project Information

Aim: To get OS X emulated at the most usable speed possible, and create a DVD installer.
Method: The Featherlinux CD will be altered to house a 10.4.8 installation dvd, the necessary scripts required to create the files for qemu (harddisk image) and scripts to launch the virtual harddrive or native harddrive in full screen mode at startup.
Requirements: SSE PC with more than 512mb of ram, a decent graphics card, and a dvd-rom drive.

Our first goal is to find out what limitations we have other than ram and graphics. Embio and I are waiting for some more RAM before we can get to testing again, but if anybody has a PC that meets the requirements in the meantime feel free to try it and post your successes/failures.

My P3 is a custom built PC with a 'coppermine' processor, 256mb RAM and a radeon 9250 128mb (PCI) graphics card.

You CANNOT test this method in vmware because the video support that vmware provides does not work with qemu.
When booting from OS X in qemu, use the follow flags in the boot prompt :
platform=X86PC "Graphics Mode"="800x600x16" -v


If you need a demonstration of how to use qemu/featherlinux, download the attached file.
To run Featherlinux in ram, enter "knoppix toram" in boot options when the cd loads.

References/Thing of interest:
http://en.wikipedia.org/wiki/Qemu - Qemu
http://en.wikipedia.org/wiki/Feather_Linux - Featherlinux
http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine - KVM
http://fabrice.bellard.free.fr/qemu/kqemu-doc.html - Qemu Accelerator



Good luck,
Dragon
biggrin.gif
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
http://www.yourfilehost.com/media.php?cat=...knoppixqemu.rar
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Retired
  • Posts: 4,154
  • Joined: 29-January 06
  • From: KFC
  • Member No.: 21,986
Awesome! biggrin.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*********
  • Group: Members
  • Posts: 1,702
  • Joined: 21-July 06
  • From: Rochester, NY
  • Member No.: 47,476
QUOTE (Dragon @ Jan 15 2007, 11:12 AM) *
OS X for SSE Project
Requirements: SSE PC with more than 512mb of ram, a decent graphics card, and a dvd-rom drive.

Just wanted to point out lots of SSE boards top out at 512 of ram, have you guys even tried with 256?
I hope you the best of luck, maybe I could pull out some old parts if you get this going. I've read of a couple of gurus that have been able to run on SSE for a while
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
On the apple website, it says that you must have "At least 256MB of physical RAM" to run tiger. Seeing as Featherlinux is going to be taking up a small portion of the ram, we are going to need more than 256mb. I have tried with 256mb and I think that is what is causing OS X to crash so I think the minimum amount of ram that we need to get OS X running is 384mb. That's only a 256mb + 128mb.

QUOTE
I've read of a couple of gurus that have been able to run on SSE for a while

What do you mean? Did they get it running natively or using qemu?

Dragon
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 968
  • Joined: 21-November 06
  • Member No.: 65,366
I still say 512MB is going to be a minimum, I'm going to get a couple of 256 sticks for this one. Do we know what Qemu takes up?
PM Profile Card
Go to the top of the page
+ Quote Post
**********
  • Group: Members
  • Posts: 2,054
  • Joined: 5-November 05
  • From: God's Green Earth
  • Member No.: 14,713
My old Athlon XP 2100+ had only SSE, and had a GB of RAM. I got a Celeron-D 2.26 GHz and i find it equivalent in speed. But sadly my Athlon is all burnt up, so oh well, so much for that. On the other hand, my new Celeron does SSE3 so thats awesome.

This post has been edited by Unstable Connection: Jan 16 2007, 02:52 PM
PM Profile Card
Go to the top of the page
+ Quote Post
*********
  • Group: Members
  • Posts: 1,702
  • Joined: 21-July 06
  • From: Rochester, NY
  • Member No.: 47,476
QUOTE (Dragon @ Jan 15 2007, 06:33 PM) *
What do you mean? Did they get it running natively or using qemu?

I'm not sure and I cant seem to find the posts. I think it would be natively because I believe I read it while looking through kernel development crap. I think it had something to do with compiling the kernel but I'm not positive what was done.
PM Profile Card
Go to the top of the page
+ Quote Post
****
  • Group: Members
  • Posts: 222
  • Joined: 7-November 06
  • Member No.: 63,491
you will have no luck guys

kvm need Intel VT or AMD SVM technology

no intel VT on pentium3 procs, and no AMD SVM on AthlonXP
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
QUOTE
I'm not sure and I cant seem to find the posts. I think it would be natively because I believe I read it while looking through kernel development crap. I think it had something to do with compiling the kernel but I'm not positive what was done.


Yeah, Semthex told me that the current kernel runs on SSE in single user mode, it's just the extra non-open source stuff like the finder and dock which still need SSE2. Let's get back to work on getting OS X running in qemu though tongue.gif.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
QUOTE
you will have no luck guys

kvm need Intel VT or AMD SVM technology

no intel VT on pentium3 procs, and no AMD SVM on AthlonXP


I just posted that there as an item of interest. We are probably using qemu.
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 968
  • Joined: 21-November 06
  • Member No.: 65,366
I will most likely be picking up some RAM this weekend. On a side note, why is 100mhz SD-RAM still so expensive? 1GB in sticks of 256MB costs the same as the 1GB 667 SO-DIMM I got for my Macbook, its ridiculous.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Donators
  • Posts: 2,318
  • Joined: 15-July 06
  • From: Hick-land (A.K.A indiana)
  • Member No.: 46,812
i am going to try this on my old p3 after i get it back from grandma
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,090
  • Joined: 19-July 06
  • From: 127.0.0.1
  • Member No.: 47,178
i have a P3 im willing to test on. i can also provide OS X 10.0 10.2 and 10.3 if needed
the p3 has 512MB RDRAM with an ati radeon 9250 PC and CD burner.

This post has been edited by mac mini: Jan 18 2007, 02:50 AM
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
FeatherLinux - 122mb
http://featherlinux.berlios.de/download.htm

Install Featherlinux to HDD.
Use USB media/network connection to transfer OS X iso to linux partition.
Boot Featherlinux, open terminal ..
create hdd image, boot OSX.

tell us what happens
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 968
  • Joined: 21-November 06
  • Member No.: 65,366
how do we make a hard drive installed FeatherLinux boot into RAM?
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
hmm... never thought of that mellow.gif
i can't remember if it loaded boot options when booting from the hdd.
it copies the operating system files from the cd into RAM so i'd assume it would do the same with a hdd install..

anyways, i'll be checking tomorrow. gotta get some sleep biggrin.gif

cya
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: Donators
  • Posts: 2,318
  • Joined: 15-July 06
  • From: Hick-land (A.K.A indiana)
  • Member No.: 46,812
would it be possible to make a complete installer, qemu menu, feather linux and osx?

This post has been edited by Soundless: Jan 18 2007, 03:59 PM
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 968
  • Joined: 21-November 06
  • Member No.: 65,366
first things first, FeatherLinux needs to have web browsers, word processors etc. stripped out.
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
I have been reading about Knoppix remastering...
Featherlinux is just a remastered version of knoppix, i.e packages removed.
So I say we remaster our own version of knoppix, so we can choose what we want in it and what we don't.

http://www.knoppix.net/wiki/Knoppix_Remastering_Howto
http://www.oreillynet.com/sysadmin/blog/20...hout_remas.html
http://video.google.co.uk/videoplay?docid=...pix+remastering
http://www.brianmadden.com/content/content.asp?ID=575

knoppix will load into RAM also, if small enough.
PM Profile Card
Go to the top of the page
+ Quote Post
21 Pages V   1 2 3 > » 
Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 21st November 2009 - 09:16 AM