Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › SSE2/SSE3 - 32/64 Bit Kernel for Snow Leopard by qoopz
194,515 reads · 2009-10-12 – 2011-02-01
Dossier 10.X Core Voodoo / XNU Kernel AMD OSx86

SSE2/SSE3 - 32/64 Bit Kernel for Snow Leopard by qoopz

Thats right folks. Its about time that most of guys waited for a SSE2 Kernel for both AMD and Intel. well this is it , qoopz and the great team behind have done most of the work to get the ball rolling , that is to get SSE2 support for…

Primary Author
@pαuℓzurrr. Published 2009-10-12
Collection
OSx86 Core & 10.X
Archival Footprint
194,515 historical reads · 40 curated field notes (from 48 dispatches) · 2009-10-12 – 2011-02-01
Credited Voices (28)
@kocoman (5)@xXrkidXx (4)@Giuly (3)@maya77 (3)@chitchit (3)@pαuℓzurrr. (2)@babadu (2)@prasys (2)@scififan68 (2)@Evostar (2)@GothGargoyle (2)@Imkantus (2)@george205@anjuta@eMatoS@mindlessmissy+12 more
Thats right folks. Its about time that most of guys waited for a SSE2 Kernel for both AMD and Intel. well this is it , qoopz and the great team behind have done most of the work to get the ball rolling , that is to get SSE2 support for Snow Leopard working and as well as AMD support. Not to mention that this kernel supports 64-bit for…

Features of the Kernel :-

* Bulit-in kernel blacklister – automatically blacklists bad kexts from loading. Therefore you don’t need to use a disabler to disable it manually
* bigger dmesg – Which translates to a larger log file so that you can troubleshoot easily
* uuid patching/fix – Eliminates the need of UUID kext or specifying manually
* fsb detection – Do I’ve to say more on this
* cpu cache detection – Again , I don’t have to explain on this
* reboot fix – Eliminates the need of OpenHaltRestart and fixes shutdown/reboot issue
* sse3emu -SSE3 emulator for SSE2 processors . Bear in mind that most of the applications in Snow Leopard run fine with this emulator. However there are some reports of Safari and certain applications that may crash or behave weirdly. It will not be enabled if you have SSE3

For AMD users , it doesn’t include on the fly CPUID patching – which means that you’ll have to patch your CPUIDs manually by using a third party tool. You could read more about this in my Snow Leopard guide and in other AMD for Snow leopard installation guide.

Original Link (Rapidshare) (rapid share.com/files/291917417/snow.legacy.zip)
Mirror Link #1 (uploadpla.net) (uplo adpla.net/files/4443_jhyjj/snow-2.legacy.zip)
Mirror Link #2 (crimsy) (cri msy.info/osx86/kernel/snow.legacy.zip)
Mirror Link #3 (MediaFire) (media fire.com/download.php?kmd2dtgumyd)

Installation - To install simply rename your old mach_kernel as mach_backup and rename this as mach_kernel . If you’re planning to install Snow Leopard. Do follow my installation guide as I’ve updated it to reflect SSE2 changes or you may follow other guides ! Please do not forget to read the readme to know more details about this kernel

Source Code - The source code (.dff) will be given upon request only. You may contact me directly via e-mail if you want the source.

Kernel Name – Some of you may ask why the kernel is named as “anappirtrvh” . which means thx to: azi, nevermind, arya, prasys, p|astikman, inku, roisoft, tomas, radekg, Voodoo, and HiFi the slow tester. – Which is the first name of the beta testers who helped to test the kernel

I would like to take this opportuntity to thank qoopz for releasing the kernel for the SSE2 AMD/Intel user community out there. without him , we would be still in darkness and I am guessing he is the guy that would get the ball rolling.

Source (pra sys.co.cc/2009/10/sse2-kernel-for-snow-leopard-intelamd/)

Author Updates & Technical Revisions

Follow-up dispatches by @pαuℓzurrr.

Author Update #1 @pαuℓzurrr. 2009-10-14

Did you try -legacy?

I got the same problem i think, but i didn't solve it yet.

I did however made a new partition with a fresh install. Using qoopz kernel + all other kext i had before and it booted. So it's probably related to some settings i have on the other partition...

Synthesized Community Field Notes

40 technical responses curated from 48 original dispatches

Field Note #1 @george205 2009-10-12

:)

Great! Someone is trying hard for all of us! I'm using this kernel right now and it is working as fine as it should be (some issues with 64 bit "mode"/apps, no cpuid patch for now e.t.c - but all of them are known and described inside kernel's readme).
So, I'm writting this post in order to thank qoopz for his work/time/effort!

This is my hardware list:
Motherboard: Supermicro H8DAE-2 with nVidia MCP55 Pro chipset which supports up to two Six-Core AMD Opteron 2000/8000 processors
Super Micro Computer, Inc. - Aplus Products | Motherboards | H8DAE-2 ↗
Processor: 2x Opteron 2350 (8 cores total -2GHz each)
Ram: 4x2 GB Samsung DDR2 667 Registered ECC Unbuffered (8 Gb total)
Graphics Card: Nvidia 9400 GT
I also have two SATA hard disks, 120 GB and 640GB , a Sony IDE DVD reader and an Optiarc DVD Recorder.

Field Note #2 @anjuta 2009-10-12

Great! It is working fine for me too!
my hardware list:
Motherboard: Yeston An68 with nVidia MCP68 chipset
Processor:AMD Athlon 5200+
Ram:2G Kingmax DDR2 800
Graphics card: nVidia 9600GT
Hard disk:320G AHCI
Audio:ALC888

千呼万唤始出来!

Field Note #3 @eMatoS 2009-10-12

Working fine here so far. I've tried to boot with -force64 but it didn't worked, I'll check my chameleon settings and try again.

EDIT: I cannot restart or turn off properly so I'm back using OpenHaltRestart. Other than that it's all right.

Field Note #4 @mindlessmissy 2009-10-12

Funny. This kernel looks like a minor improvement of the test7 kernel that had been floating around for AMD cpus for a while now ... ( ie. spec'ed to block certain kexts ... )

Nothing spectacular like the Voodoo kernels were on leopard ...

Field Note #5 @Reinekis 2009-10-13

My system:
AMD Athlon 64, 2000 MHz 3200+
MSI K8N Neo4-FI/Paltinum
nVIDIA nForce4 Ultra, AMD Hammer
NVIDIA GeForce 6600 (256 MB)

Booting with -force64 indeed makes system work in 64 bits. Activity Monitor shows all programs working in 64 bits. 32 bits VLC player doesn't work, 64 bits works. Quicktime X in 64 bits doesn't work, shows endless "loading movie". Forcing programs to work in 32 bits mode through "Get info" doesn't work. Programs crash. So it seems like every program must be in 64 bits mode, or 32 bits. it is conrtary to the screen shot of Activity Monitor that I've seen where it was obvious that some programs run in 32 bits and some in 64 bits.

Kext Utility doesn't work in 64 bits mode.

And I still need OpenHaltRestart kext.

Field Note #6 @RetroRen 2009-10-13 ↳ Re: @mindlessmissy
@mindlessmissyFunny. This kernel looks like a minor improvement of the test7 kernel that had been floating around for AMD cpus for a while now ... ( ie. spec'ed to block certain kexts ... ) Nothing spectacular like the Voodoo kernels were on leopard ...

My experiance is even worse. With modbin kernel I got KP during the boot process, but with this kernel my boot process stops at the begining - with black screen...

__________________
AMD Athlon II 550 X2
8 Gb RAM
Gigabyte 790fx UDP4
Ati Radeon HD3850

Field Note #7 @aryajuanda 2009-10-13

it have some issue wit 64 bit mode in AMD.. i have test this kernel for few day... its made for modified xnu kernel not based on test 7...
hope it will have some improvement soon...

Field Note #9 @babadu 2009-10-14

Noob dreaming big. Will this solve dual core issues "cpus=1" on my intel T6500? And do I need to remove/rename the kexts that are no longer needed before trying?

Field Note #10 @prasys 2009-10-14

The diffs can be obtained directly from me or qoopz from IRC. Plus I just want to add a couple of things

1. the 64-bit is flaky for AMD users - just dont try it. It will not boot or may not boot at all. If you are using 64-bit AMD64 with SSE2 (no SSE3) , its even worst as 64-bit heavily depends upon SSSE3 and SSE3. Since SSE2 users would have to emulate SSE3 , plus no SSSE3 emulation for native SSE3 users , its pretty much gone. You can't get QuickTime X to use 64-bit because of SSSE3. It will just bounce or may just say loading movie which it will not do.

2. Kernel panic - try to disable ata kext and troubleshoot it yourself. there are ways on how do it. Boot with verbose

3. cpus=1 - Thats related to your dsdt. You may need it to be manually patched up or do try TSCSync from Voodo. This is related to your BIOS. I've taken a look at most of HPs DSDT.dsl and they didn't even include anything for cpu1. So good luck with that , some can be patched , the rest well - you're on your own

Field Note #11 @babadu 2009-10-14 ↳ Re: @prasys
@prasys3. cpus=1 - Thats related to your dsdt. You may need it to be manually patched up or do try TSCSync from Voodo. This is related to your BIOS. I've taken a look at most of HPs DSDT.dsl and they didn't even include anything for cpu1. So good luck with that , some can be patched , the rest well - you're on your own

Thank u for quick reply.

Then are the any benefit/inprovements for my system with this kernel? Everything in my activity monitor so far shows 64bit except couple.

Field Note #12 @Giuly 2009-10-14

I don't know whats going on there, I don't come any further.
Any ideas? (AMD SSE2, Installed from Leopard, copied kernel and some kexts)

Field Note #13 @scififan68 2009-10-14

Do you have both dsmos.kext and fakesmc.kext in Extra or /S/L/E remove dsmos.kext if you do and make sure your fakesmc.kext is for snow leopard

Field Note #14 @Giuly 2009-10-14

fakesmc.kext is from netkas (V2), no dsmos. All I can get is singleusermode.

Field Note #15 @xXrkidXx 2009-10-14

ok wth... I can't make a partition from my Mac OS X Install dvd(iPC 10.5.6 PPF5)henever I try it keeps saying that I will erase Mac HD, but I still have stuff on there I want to keep... any ideas? this is just pre snow right now...

Field Note #16 @maya77 2009-10-14

Great news!

We will try it and report bugs, then wait for 10.0.1

Field Note #17 @maya77 2009-10-14

Ouch!

does NOT include auto cpuid/sysenter patcher for amd.

So there is no most important thing we need for AMD. Too bad.

Field Note #18 @maya77 2009-10-14

Just tested this:

- In 32-bit mode kernel works just like test7 by modbin for me.
- In 64-bit mode it runs but almost all programs just gives "quit unexpectedly" error.

Without on-the-fly opcode patching SL is unusable on AMD.

We need nothing but true Voodoo-based kernel for Snow Leopard.

Field Note #19 @xXrkidXx 2009-10-14

crap.,.. it works like test 7 and test432? urg.. KP's all around.. :|

Field Note #20 @Evostar 2009-10-20

Boots Pentium Dothan Mobile SSE2

1. Installed Snow Retail onto Seperate Partition from within Retail Leopard.

2. Qoopz Kernel + FakeSMC (Ver.2) + LegacyAppleIntelPIIXATA.kext (Nothing Else!)

3. Reboot. + -f -v

4. Input Info setup > Snow Leopard Desktop!

VGN-A397XP
Pentium M 2GHz Dothan SSE2
2GB Ram
ATIX600 PCIe 128MB (Need Kext for This) 1600x1200Rez (Native 1920x1200)
ICH-6 Mobo

Problems.

1. Clock does not Display at all in Digital mode.
2. Buttons seem distorted on left hand side.
3. Safari opens but then permanently unresponsive.
4. -force64 or -x64 Grey apple screen no load icon hdd silent.
5. GUI looks disformed and minor buggy.

Good Start. Thankyou for providing the Kernel

Field Note #21 @Evostar 2009-10-20

lol that might be why = )

im glad i can boot into snow tho. with less modification of a retail leopard too. 2 kext nice!

shame about the gui distorting and digital clock is that kernel specific?

Field Note #22 @alphahere 2009-10-25

Thanks for the new kernel.

I have an old dell sc-420 server with a p4 processor and the new kernel did the trick. Needed a custom dsdt but all is well and used an old AppleIntelPIIXATA.kext from Leopard 10.5.8.

After the install I upgraded to snow leopard 10.6.1 and rebooted. System never missed a beat. Nice.

Field Note #23 @GothGargoyle 2009-10-25

Fantastic work!

Works fine for me on my Pentium D system, even with -force64.

Now I can finally run with > 4Gb memory so I am very happy. With the modbin kernel it would KP unless I had maxmem=4096

Field Note #24 @GothGargoyle 2009-10-26 ↳ Re: @GothGargoyle
@GothGargoyleWorks fine for me on my Pentium D system, even with -force64.

Spoke to soon, can't watch anything in Quicktime if I have -force64. Must be the issue I saw mentioned with Pentium D and x264. Anyone know if this will be solved eventually?

Field Note #25 @prasys 2009-10-27

I've mentioned

To run QuickTime X , right click , get info and select run in 32-bit. You'll need SSSE3 to run QuickTime X on 64-bit and some applications wouldn't just work right on 64-bit cause they are looking for SSSE3 instructions. Its not being emulated at all. An emulator is needed

Field Note #26 @val88chan 2009-11-23

still waiting 64 bit mode kernel for AMD user with built in cpuid ^_^

Field Note #27 @sulphide 2010-01-08

always get KP with this kernel when uTorrent tries to hash big (~2.6 gig) file... problem in IOBufferMemoryDescriptor - out of 32bits... someone using int instead of unsigned long int?

Field Note #28 @scififan68 2010-01-09

sounds like an appleforceata kext that doesnt have the 64bit fix. Find a kext that allows use of 4GB+ of ram.

Field Note #29 @kocoman 2010-01-27

Is this kernel 10.0.0 or 10.2.0

I’ve install this on a sse2 machine, but still get the beachball in xcode, apple remote desktop, safari, high cpu usage, missing clock..

What does sleepenabler.kext do, I didn’t install that.

Field Note #30 @TheNoxier 2010-01-27

Afair this kernel is 10.0.0, but all kernel versions cause the same problems on SSE2 machines.

Show 10 additional community field notes (#31–#40)
Field Note #31 @kocoman 2010-01-30

I have another question, does the kernel still load 64bit kext even though the CPU is 32-bit only?

ie: if I tried "arch=i386" in the boot line to force 32-bit kext only, would it fix the problem? of the beachballing etc...

can someone try it for me? I already deleted my Snow Leopard installation..

Field Note #32 @kocoman 2010-02-16

Replying to myself

I tried a Celeron D (single core) with sse3 and SL runs fine

so I think the problem is in the SSE2 emulator...

Field Note #33 @kocoman 2010-02-18

Replying again..

This kernel does not work with AMD and Parallels, when you run Parallels you get

The virtual machine cannot be started. Mac OS virtual machines can run only on computers having Mac OS X Leopard (version 10.5.1 or higher) or Mac OS X Tiger (version 10.4.11 or higher) installed

Its some checks in Parallels that a good reverser might be able to bypass..

There is a Deutsch language that mention about it, but no solution..

http://www.insanelymac.com/forum/index.php?showtopic=20… ↗

Field Note #34 @needs_help 2010-03-06

Omg thank you

OMG!
I have a really nice couple year old Sony Vaio with Pentium 4 that has SSE2 but no SSE3. A different kernel I found hung at the splash screen. With this awesome kernel I got to the installer. Looks good but have not gotten to try snow leopard on this pc because right after language selection I got a memory warning because I only have 512mb and it would not let me install.. I will see if it works once my 1 gig stick of ram comes! Hope it works...sounds really cool and I like what I have seen from the amount my machine was able to do.

Field Note #35 @kocoman 2010-03-09 ↳ Re: @needs_help
@needs_helpOMG! I have a really nice couple year old Sony Vaio with Pentium 4 that has SSE2 but no SSE3. A different kernel I found hung at the splash screen. With this awesome kernel I got to the installer. Looks good but have not gotten to try snow leopard on this pc because right after language selection I got a memory warning because I only…

The Disk Utility will keep freezing (and also the Checking Available disks in the installer, or stuck at 0%-x% during install) in the SL installer because of lack of sse3. It seems the sse3 emulation is missing something/loop/hangs when a certain instruction is used.

My only way to install it was from other Leopard system.. but then after boot it gives the 100% cpu, md5/quickloop worker stuck, safari crash, xcode freezes.. system not usable..

If xcode did work I could disable the spotlight stuff, forgo safari with firefox/chrome... but I need xcode

Field Note #36 @jtillwick 2010-09-14

This topic is a bit misleading as the SSE3 emulator for SSE2 CPUs is simply broken. I have tried this an many other legacy kernels with no success. On SSE2 CPUs, when you boot into SL with this or other kernels you will see that your background is pinkish, icons look over saturated, time will be negative, date will be all screwy and many many other instabilities.

Would be nice if someone would correct the title of this topic to Legacy SSE3 kernel instead of misleading people into thinking Snow Leopard will work on their SSE2 CPU.

Field Note #37 @chitchit 2011-02-01

Is the sse3emu for CPUs like most pentium m and pentium d's going to be fixed soon? I would love to have SL boot on my Hackbook, but the best I can get because of no sse3emu working is leopard.

Field Note #38 @Imkantus 2011-02-01

Maybe check out amd_insn_patcher by andyvand, there is an extended version, that is capable of patching SSE3 instructions...

Field Note #39 @chitchit 2011-02-01

Does that work for Pentium M's as well? Just by the name it sounds like its for amd.

Field Note #40 @chitchit 2011-02-01

look at the 10.6.6 legacy kernel thread if you need it.

It is in testing, so help out if you have a cpu without sse3

Corroborated & Participated: @xXrkidXx @Giuly @bubbaganoush @Imkantus @davisin666
Sources & Contributor Provenance (28 credited usernames · Thread #4398)
UsernameDossier ContributionDispatchesActive Window
@kocomanCore Contributor52010-01-27 → 2010-03-09
@xXrkidXxCore Contributor42009-10-13 → 2009-10-14
@GiulyCore Contributor32009-10-14 → 2009-10-15
@maya77Core Contributor32009-10-14
@chitchitCore Contributor32011-02-01
@pαuℓzurrr.Primary Author22009-10-12 → 2009-10-14
@babaduContributor22009-10-14
@prasysContributor22009-10-14 → 2009-10-27
@scififan68Contributor22009-10-14 → 2010-01-09
@EvostarContributor22009-10-20
@GothGargoyleContributor22009-10-25 → 2009-10-26
@ImkantusContributor22009-10-27 → 2011-02-01
@george205Contributor12009-10-12
@anjutaContributor12009-10-12
@eMatoSContributor12009-10-12
@mindlessmissyContributor12009-10-12
@ReinekisContributor12009-10-13
@RetroRenContributor12009-10-13
@aryajuandaContributor12009-10-13
@LykichContributor12009-10-13
@bubbaganoushContributor12009-10-20
@alphahereContributor12009-10-25
@val88chanContributor12009-11-23
@sulphideContributor12010-01-08
@TheNoxierContributor12010-01-27
@needs_helpContributor12010-03-06
@jtillwickContributor12010-09-14
@davisin666Contributor12010-09-14