View Single Post
 
Old 05-19-2012, 07:40 AM
R:A:W:X86's Avatar
R:A:W:X86 R:A:W:X86 is offline
 
Join Date: Mar 2012
Location: Germany
Posts: 95
10.7.4 AMD Kernel

This is my assembly of 11.4.0 XNU / Lion Kernel patches.

I started this with the aim to achieve the most optimal function on my AMD FX equipt workstation, even though it also works on many other AMD & legacy-Intel machines with some limitation, as it is based on the patches made for previous versions of the XNU Kernel.

Release Notes:

  • Owners of non-SSSE3 capable CPUs are currenlty limited to the Legacy mode (i386 Kernel without 64-Bit support enabled). If this concerns you, you have to use -legacy boot flag & Finder.app from DP2. The creation of an emulator could solve this in future time.
  • Some people (including Bulldozer users) may need to advice the correct clock multiplier to the Kernel as auto-detection fails. Examples: busratio=13 (multiplier 13) or busratio=105 (multiplier 10.5)

Download:
last update: 2012-07-18



Download XNU Kernel only:

CLICK HERE TO DOWNLOAD LATEST KERNEL

Mirror: ifolder.ru / 4shared (by starwa314)




Download XNU including source code & past test series: xup.in / ifolder.ru

Would be great if someone would contribute to this.
In case you gonna do, please consider to keep the source code avaible to the public.
This release is the effort of many people, without open source it would not be.

How-To fix 32-Bit Apps in 64-Bit mode

As the Kernel features some patch made by AnV that automaticaly turns code signature to valid, I was able to fix 32-Bit Apps to work on 64-Bit enabled AMD machines (Bulldozer).

This requires sysenter traps to be patched in /usr/lib/dyld and /usr/lib/system/libsystem_kernel.dylib

There is a Lion compatible Version of amd_insn_patcher by AnV that works for Lion. Old versions will not work as the sysenter trap has changed in Lion.
Get it from here:
http://osx86.co/f36/legacy-kernel-10...post55947.html

Usage: amd_insn_patcher unpatched_file patched_file

Be sure to fix file permissions before you copy over & use "sudo update_dyld_shared_cache" afterwards.



So far all my Apps 32- & 64-Bit are working without issues.


credit & respect to:

bronzovka, mercurysquad, semthex, quoopz, Kabyl, AnV, kaitek, ovof / paulicat, apocolipse & anyone who may have been forgotten to be mentioned here


Attached Images
File Type: jpg fx32bitworks.jpg (185.6 KB, 1123 views)

AMD FX 4100
MSI 760GM-P23
Radeon HD6570
OS X Lion Retail 10.7.5
Lion Kernel Project

Last edited by R:A:W:X86; 08-17-2012 at 12:25 PM. Reason: edited for reasons of clarity and comprehensibility
Reply With Quote