InfiniteMac OSx86  
  #1  
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
  #2  
Old 05-19-2012, 08:32 AM
phuc25kt phuc25kt is offline
Cheetah
 
Join Date: Jan 2012
Posts: 1
Can you give me link to download ! please!
Reply With Quote
  #3  
Old 05-19-2012, 08:41 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
Download is avaible from ifolder.ru or xup.in

AMD FX 4100
MSI 760GM-P23
Radeon HD6570
OS X Lion Retail 10.7.5
Lion Kernel Project
Reply With Quote
  #4  
Old 05-19-2012, 01:58 PM
m28ew m28ew is offline
Jaguar
 
Join Date: Jul 2009
Posts: 47
@R:A:W:X86

Thanks for the legacy kernel 11.4.0

Confirmed! It also works on my AMD + system.kext 10.7.4 (no boot-errors found)

Reply With Quote
  #5  
Old 05-19-2012, 02:38 PM
jackokk jackokk is offline
Cheetah
 
Join Date: Apr 2010
Posts: 7
awesome!!!

Your kernel can work nearly perfect on my AMD Athlon II X4 620 (Lion 10.7.4).
I am very happy!!! Thank you so much for your hard work.

(I am a user from Thailand)
Reply With Quote
  #6  
Old 05-19-2012, 05:31 PM
justinster123 justinster123 is offline
Jaguar
 
Join Date: Nov 2010
Posts: 43
Can you please add the AMD Athlon X2 7550 Processor? I have been unsuccessful every single time to get it to detect when I did it
Family 10
Model 2
thanks so much!
Reply With Quote
  #7  
Old 05-19-2012, 11:31 PM
gils's Avatar
gils gils is offline
Panther
 
Join Date: Dec 2011
Posts: 194
hello,

this kernel is capable of running in 64 bit?


Macmini early 2006 /blanGsak 10.7.2
Acer 8930 G / core2duo T6500 / NV 9600 GS m / Lion 10.7.3 / ML 10.8.2 / w7/8
Asus M5A97pro / FX 8350 / Asus HD 7950 CUII v2
GA-78LMT SP2 / FX 6100 / P x4 960t / Sapphire HD 4850 1024
MSI K9neo v1 / Atlon 4800+/ Gigabyte HD 5450 512
test kernel 12.0 AMD

Tuto : http://www.hack-my-mac.fr/index.php/...fx-buldo#28896

CG opérationnelle : HD 5450 512 / HD 4850 1 / GT 610
Reply With Quote
  #8  
Old 05-20-2012, 02:46 AM
davisin666 davisin666 is offline
 
Join Date: Feb 2010
Location: Santiago, Chile
Posts: 98
Quote:
Originally Posted by gils View Post
hello,

this kernel is capable of running in 64 bit?

No, is 32 bit only (Checked with sudo ditto sudo ditto --arch x86_64 /Volumes/Lion\ HD/mach_kernel /Volumes/Lion\ HD/mach_kernel_x64, it didn't gave any output)

64 bit is harder to get it working properly, because of all the dyld/sysenter/syscall stuff.

Thanks R:A:W:X86

PD: With your kernel, is necessary to have the 10.7.3 AppleFileSystemDriver.kext??? Are there the new kernel symbols???

System
  • MoBo: MSI K9N2GM-FD, Chipset GeForce 8200 (MCP78)
  • CPU: AMD Athlon 64 X2 5200+ @3,02 Ghz
  • RAM: Kingston 2GB DDR2 800Mhz + Corsair 2GB DDR2 800Mhz @747Mhz
  • VGA: EVGA 9800GT SSC
  • HDD: 300GB WD SATAII
  • Optical Drive: Sony SATA 24X
  • OS: Vanilla Mac OS X Server 10.6.0 + Nawcom ModCD, upgraded to 10.6.8 and Windows 7 x64.
Everything works, except sleep, so system isn't Energy Star compilant .
Reply With Quote
  #9  
Old 05-20-2012, 08:50 AM
MadMungo@iinet.'s Avatar
MadMungo@iinet. MadMungo@iinet. is offline
Cheetah
 
Join Date: Sep 2009
Posts: 7
Hey R.A.W.X86

Tried your kernel after installing 10.7.4 combo update and have lost the ability to connect to my wireless network. Was working with the 10.7.3 kernels and 10.7.3 & lower.
I have tried reinstalling 10.7.0 with your 10.7.4 kernel and installation is ok, errors during verbose boot after install but setup ok, unfortunately the wireless card will not connect to my network. It is a failing at the WPA2 password says it has timed out.
Going back to 10.7.3 for now.
Reply With Quote
  #10  
Old 05-20-2012, 11:10 AM
gils's Avatar
gils gils is offline
Panther
 
Join Date: Dec 2011
Posts: 194
hello ,

thank ,




<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>custom</string>
<key>Kernel Flags</key>
<string>-legacy</string>
<key>PCIRootUID</key>
<string>1</string>
<key>GraphicsEnabler</key>
<string>No</string>
<key>Boot Graphics</key>
<string>Yes</string>
<key>Quiet Boot</key>
<string>No</string>
<key>Timeout</key>
<string>5</string>
<key>npci</key>
<string>0x2000</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>UseKernelCache</key>
<string>No</string>
</dict>
</plist>

ça reste vraiment faiblare !!








💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


Macmini early 2006 /blanGsak 10.7.2
Acer 8930 G / core2duo T6500 / NV 9600 GS m / Lion 10.7.3 / ML 10.8.2 / w7/8
Asus M5A97pro / FX 8350 / Asus HD 7950 CUII v2
GA-78LMT SP2 / FX 6100 / P x4 960t / Sapphire HD 4850 1024
MSI K9neo v1 / Atlon 4800+/ Gigabyte HD 5450 512
test kernel 12.0 AMD

Tuto : http://www.hack-my-mac.fr/index.php/...fx-buldo#28896

CG opérationnelle : HD 5450 512 / HD 4850 1 / GT 610

Last edited by gils; 05-20-2012 at 01:50 PM.
Reply With Quote