InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 05-31-2012, 12:14 PM
R:A:W:X86's Avatar
R:A:W:X86 R:A:W:X86 is offline
 
Join Date: Mar 2012
Location: Germany
Posts: 95
update 2012-05-31:


The main part of the code changes that once have been gathered by AnV are now implemented in a working Kernel.

Most likely non-SSSE3 capable AMD systems will still freeze after hard disk initalisation, unless you are using the -legacy bootlag. (altough I could not test this)
We still need to find a fix for this.

atm NOT implemeted functions are:
  • auto patcher function for mach-o executables
  • some detection code in the real time clock handler (should not be so important as we are all using decent bootloaders)
In addition to the Kernel diff the Download contains two additional diff-patches that will add those code changes.
Both will compile fine, but cause malfunction during boot up.
I am going to diff those files between xnu-1504 & xnu-1699, maybe it is fixable by some "Snow Leopard reimplementations"...


Some answers - before you ask the corresponding questions:
  • Most likely an integration of the auto-patcher will not fix 64-Bit boot-up for the non-SSSE3 CPU users. (Actually I am not 100% sure what the origin of the problem is & I do not hold a hardware platforms that allows testing on this.)
  • Why I am working on this anyway: I hope this will solve a lot of application crashes and other bugs & add some stability to the -legacy mode.
  • 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)


this build still has to be considered an experimental release, made for testing purposes & to allow further development!



As already mentioned above, source patch is included.
Would be great if some people with more competencies would contribute to this.

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; 06-03-2012 at 10:16 PM. Reason: corrected / added some information
Reply With Quote
  #2  
Old 05-28-2012, 11:35 PM
ghostec ghostec is offline
Jaguar
 
Join Date: Jan 2012
Posts: 41
With that kernel is expected that Photoshop CS6 works on Phenom II X4 970BE?
Reply With Quote
  #3  
Old 05-29-2012, 03:23 PM
sulphide sulphide is offline
 
Join Date: Dec 2009
Posts: 37
fx-8150, 64-bit, reboot right after kexts loaded. previous kernel works ok even in 64 bits.
Reply With Quote
  #4  
Old 06-02-2012, 03:18 AM
ham4ever ham4ever is offline
Jaguar
 
Join Date: Dec 2011
Posts: 37
i tested your both kernels , and both great in this specs:

AMD Athlon II x3 435





second kernel open apps soo fast and lion so smooth

just so far i noticed i cant see app in activity monitor like in pic




Update : after using 1 hour, apps appears in Activity monitor

Last edited by ham4ever; 06-02-2012 at 04:12 AM.
Reply With Quote
  #5  
Old 06-03-2012, 01:12 PM
R:A:W:X86's Avatar
R:A:W:X86 R:A:W:X86 is offline
 
Join Date: Mar 2012
Location: Germany
Posts: 95
Quote:
Originally Posted by sulphide View Post
Same for me, fx-8150, m5a97 (same), geforce 560ti. Restart after all kexts. This is without -legacy flag, of course.
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)

update 2012-06-03


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
Maybe some additional shared libraries need to be patched if XCode is installed (untested).

There is an 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.

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; 06-03-2012 at 01:16 PM.
Reply With Quote
  #6  
Old 06-03-2012, 02:04 PM
gils's Avatar
gils gils is offline
Panther
 
Join Date: Dec 2011
Posts: 194
Quote:
Originally Posted by R:A:W:X86 View Post


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)

update 2012-06-03


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
Maybe some additional shared libraries need to be patched if XCode is installed (untested).

There is an 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:

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.
ah! great job!

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
  #7  
Old 06-03-2012, 02:49 PM
sulphide sulphide is offline
 
Join Date: Dec 2009
Posts: 37
Quote:
Originally Posted by R:A:W:X86 View Post

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)
THANKS!!! It's ok now Don't know why my busratio was not in the kernel_flags it was separately in the end of boot.plist
Reply With Quote
  #8  
Old 06-04-2012, 02:41 AM
felipeunix felipeunix is offline
Jaguar
 
Join Date: Apr 2012
Posts: 45
Quote:
Originally Posted by R:A:W:X86 View Post


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)

update 2012-06-03


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
Maybe some additional shared libraries need to be patched if XCode is installed (untested).

There is an 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.

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.
32bit apps running in 64bit mode, is that right?
GREAT R:A:W:X86 !!!

only revisions that worked for me were the ones that you edited.

But how do I apply this patch to the Bulldozer? You would not have it applied to the kernel?

Thank you so much
Also Bulldozer My thanks

Last edited by felipeunix; 06-04-2012 at 02:59 AM.
Reply With Quote
  #9  
Old 06-10-2012, 03:08 PM
assoricks assoricks is offline
Cheetah
 
Join Date: Jun 2012
Posts: 1
Unhappy Doesn't work :-(

Hi! I tired your and Bronzovka's kernel, but both didn't work. It's stuck at "BSD Root : .." .
More information : http://www.insanelymac.com/forum/ind...owtopic=279629

How to fix that?

Thanks in advance! :-)

assoricks
Reply With Quote
  #10  
Old 06-03-2012, 05:29 PM
mindlessmissy mindlessmissy is offline
Jaguar
 
Join Date: Mar 2008
Posts: 35
So, exactly which link is supposed to be the latest ?
Reply With Quote
Reply