PDA

View Full Version : SSE2/SSE3 - 32/64 Bit Kernel for Snow Leopard by qoopz! [Intel/AMD]


pαuℓzurrr.
10-12-2009, 12:56 PM
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 AMD processors and Intel processors with AMD64 and Intel’s EM64T. It makes it possible to run 64-bit applications. Plus this kernel also supports Intel i5 processors However keep in mind that this kernel will not run in pure 64-bit kernelspace. Doesn’t make sense to you ?. I’ll explain in a jiffy – but first credit goes to qoopz for coming up with the kernel !

So what the hell are you trying to say – At first you said 64-bit but now you are saying its not…Please do explain

It means that the kernel will work in 32-bit. You don’t get pure 64-bit mode , as in your hardware drivers would be in 32-bit. However programs would take advantage of 64-bit mode and run natively in 64-bit if its capable of doing so. However be warned that 64-bit support is bit flaky due to the fact that these older processors lack SSSE3. For AMD systems , you’ll notice that some programs will crash with 64-bit. As for Intel , you’ll notice that QuickTime X will fail to play H.264 movies with 64-bit turned on. These are known issues. 64-bit support is disabled by default due to these reasons. To enable 64-bit , simply boot with “-force64″ (without quotes) to test out 64-bit functionalitly. AMD users with SSE2 and AMD64 should not attempt to run programs in 64-bit as its way to slow and it can cause lots of hiccups (hangs , kernel panic and such).

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) (http://rapidshare.com/files/291917417/snow.legacy.zip)
Mirror Link #1 (uploadpla.net) (http://uploadpla.net/files/4443_jhyjj/snow-2.legacy.zip)
Mirror Link #2 (crimsy) (http://www.crimsy.info/osx86/kernel/snow.legacy.zip)
Mirror Link #3 (MediaFire) (http://www.mediafire.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 (http://prasys.co.cc/2009/10/sse2-kernel-for-snow-leopard-intelamd/)

george205
10-12-2009, 02:21 PM
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 (http://supermicro.com/Aplus/motherboard/Opteron2000/MCP55/H8DAE-2.cfm)
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.

anjuta
10-12-2009, 03:30 PM
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


千呼万唤始出来!

eMatoS
10-12-2009, 09:11 PM
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.

mindlessmissy
10-12-2009, 10:45 PM
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 ...

Reinekis
10-13-2009, 07:53 AM
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.

RetroRen
10-13-2009, 11:00 AM
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 ...

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

aryajuanda
10-13-2009, 05:47 PM
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...

xXrkidXx
10-13-2009, 06:54 PM
does this mean i can use 64 bit on my Intel P4?

Lykich
10-13-2009, 11:03 PM
does this mean i can use 64 bit on my Intel P4?
yes ;) -force64

xXrkidXx
10-14-2009, 03:14 AM
hellz yea! WOO

babadu
10-14-2009, 04:10 AM
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?

prasys
10-14-2009, 04:18 AM
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

babadu
10-14-2009, 04:44 AM
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

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.

Giuly
10-14-2009, 06:12 PM
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)

scififan68
10-14-2009, 08:23 PM
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

Giuly
10-14-2009, 09:23 PM
fakesmc.kext is from netkas (V2), no dsmos. All I can get is singleusermode.

pαuℓzurrr.
10-14-2009, 09:40 PM
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...

xXrkidXx
10-14-2009, 10:00 PM
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...

maya77
10-14-2009, 10:03 PM
Great news!

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

;)

maya77
10-14-2009, 10:09 PM
Ouch!!

does NOT include auto cpuid/sysenter patcher for amd.

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

maya77
10-14-2009, 10:51 PM
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.

xXrkidXx
10-14-2009, 10:57 PM
crap.,.. it works like test 7 and test432? urg.. KP's all around.. :|

Giuly
10-15-2009, 12:20 PM
No APGGart :(

Evostar
10-20-2009, 03:33 PM
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

bubbaganoush
10-20-2009, 05:44 PM
^ The Dothan isn't a 64-bit processor.

Evostar
10-20-2009, 09:17 PM
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?

thanks

alphahere
10-25-2009, 05:10 AM
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.

Thanks!

GothGargoyle
10-25-2009, 08:45 PM
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

GothGargoyle
10-26-2009, 05:18 PM
Works 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?

Imkantus
10-27-2009, 01:17 AM
Maybe when you try using good old QuickTime 7 ? :)

prasys
10-27-2009, 12:01 PM
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

val88chan
11-23-2009, 02:13 PM
still waiting 64 bit mode kernel for AMD user with built in cpuid ^_^

sulphide
01-08-2010, 10:44 PM
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?? :)

scififan68
01-09-2010, 04:05 AM
sounds like an appleforceata kext that doesnt have the 64bit fix. Find a kext that allows use of 4GB+ of ram.

kocoman
01-27-2010, 01:45 AM
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.


thanks

TheNoxier
01-27-2010, 07:16 AM
Afair this kernel is 10.0.0, but all kernel versions cause the same problems on SSE2 machines.

kocoman
01-30-2010, 03:45 AM
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..

thanks

kocoman
02-16-2010, 10:24 PM
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...

kocoman
02-18-2010, 04:10 PM
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=202740

needs_help
03-06-2010, 08:56 AM
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.

kocoman
03-09-2010, 08:10 PM
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.

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

jtillwick
09-14-2010, 01:11 AM
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.

davisin666
09-14-2010, 01:25 AM
This kernel... it's new???

chitchit
02-01-2011, 03:13 AM
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.

Imkantus
02-01-2011, 10:44 AM
Maybe check out amd_insn_patcher by andyvand, there is an extended version, that is capable of patching SSE3 instructions...

chitchit
02-01-2011, 12:23 PM
Does that work for Pentium M's as well? Just by the name it sounds like its for amd.

chitchit
02-01-2011, 09:52 PM
Hey guys 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