InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Lion 10.7 (http://infinitemac.com/forumdisplay.php?f=100)
-   -   10.7.4 AMD Kernel (http://infinitemac.com/showthread.php?t=7687)

R:A:W:X86 05-19-2012 07:40 AM

10.7.4 AMD Kernel
 
1 Attachment(s)
This is my assembly of 11.4.0 XNU / Lion Kernel patches. :cool:

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.
http://img6.imagebanana.com/img/2wrt6h3q/Linie.png
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)
http://img6.imagebanana.com/img/2wrt6h3q/Linie.png
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.

http://osx86.co/attachment.php?attac...1&d=1338725292

So far all my Apps 32- & 64-Bit are working without issues. :cool:
http://img6.imagebanana.com/img/2wrt6h3q/Linie.png

credit & respect to:

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



phuc25kt 05-19-2012 08:32 AM

Can you give me link to download ! please!

R:A:W:X86 05-19-2012 08:41 AM

Download is avaible from ifolder.ru or xup.in

m28ew 05-19-2012 01:58 PM

@R:A:W:X86

Thanks for the legacy kernel 11.4.0 (Y)

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

http://s13.postimage.org/5r1zf8k9z/kernel1074amd.png

jackokk 05-19-2012 02:38 PM

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)

justinster123 05-19-2012 05:31 PM

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!

gils 05-19-2012 11:31 PM

hello,

this kernel is capable of running in 64 bit?

http://img4.hostingpics.net/pics/535...0520002847.png

davisin666 05-20-2012 02:46 AM

Quote:

Originally Posted by gils (Post 57666)
hello,

this kernel is capable of running in 64 bit?

http://img4.hostingpics.net/pics/535...0520002847.png

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 :D

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

MadMungo@iinet. 05-20-2012 08:50 AM

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.

gils 05-20-2012 11:10 AM

hello ,

thank ,

http://img4.hostingpics.net/pics/585...at113208AM.png


<?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 !!

http://img15.hostingpics.net/pics/38...0at21735PM.png

http://img15.hostingpics.net/pics/23...at124942PM.png

http://img15.hostingpics.net/pics/84...at124937PM.png

sulphide 05-20-2012 02:03 PM

Thanks R:A:W:X86, this kernel works for me on my FX-8150, but only v1 from Bronzovka worked for me. It would be great to make bulldozer x64 kernel with on the fly sysenter/syscall patch. Now all x64 bit apps work and x32 don't.

gils 05-20-2012 03:59 PM

hello

unlocker in hexacore performance improves .

http://img15.hostingpics.net/pics/89...0at43643PM.png

felipeunix 05-21-2012 05:00 PM

Here was the one to work!

But with this SMBIOS - iMac 2001

I tried to change but I had no success. :(

it must be hurting performance?

gils 05-21-2012 08:02 PM

Et avec un SMbios de Macpro 2008 ?

felipeunix 05-21-2012 09:17 PM

Quote:

Originally Posted by gils (Post 57685)
Et avec un SMbios de Macpro 2008 ?


http://i.imgur.com/z6PL8.png

Any SMBIOS I try to put the Extra folder, the system will not start. :(

davisin666 05-23-2012 08:17 PM

Quote:

Originally Posted by felipeunix (Post 57688)
http://i.imgur.com/z6PL8.png

Any SMBIOS I try to put the Extra folder, the system will not start. :(

I can see that your vga is a 250GTS (G92).
How do you got it working??? I can't activate QE/CI on Lion, if I start with some graphics inyector it loses video signal.

gils 05-23-2012 08:38 PM

Quote:

Originally Posted by felipeunix (Post 57688)
http://i.imgur.com/z6PL8.png

Any SMBIOS I try to put the Extra folder, the system will not start. :(

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SMbiosvendor</key>
<string>AppleInc.</string>
<key>SMbiosversion</key>
<string>MP31.88Z.006C.B05.0802291410</string>
<key>SMboardproduct</key>
<string>Mac-F42C88C8</string>
<key>SMfamily</key>
<string>MacPro</string>
<key>SMmanufacturer</key>
<string>AppleInc.</string>
<key>SMproductname</key>
<string>MacPro3,1</string>
<key>SMserial</key>
<string>G8135543XYL</string>
</dict>
</plist>


j'utilises le chameleon trunk 1820 avec SMbios :)

felipeunix 05-24-2012 12:17 AM

Quote:

Originally Posted by davisin666 (Post 57707)
I can see that your vga is a 250GTS (G92).
How do you got it working??? I can't activate QE/CI on Lion, if I start with some graphics inyector it loses video signal.

I activated simply with:

GraphicsEnabler = Yes

lion after updated to 1074, also upgraded the nvidia driver version 270.00.00f06.

Works perfectly, I have no problems with video.

My question is regarding the performance!

For the majority of staff says he has no differences start at 32 or 64 bits.

but here is a VERY noticeable difference in performance when you start at 64 bits.:p

What about SMBIOS, if it interferes with the performance, because my iMac is like 2001.:(

gils 05-24-2012 12:57 AM

Quote:

Originally Posted by felipeunix (Post 57710)
I activated simply with:

GraphicsEnabler = Yes

lion after updated to 1074, also upgraded the nvidia driver version 270.00.00f06.

Works perfectly, I have no problems with video.

My question is regarding the performance!

For the majority of staff says he has no differences start at 32 or 64 bits.

but here is a VERY noticeable difference in performance when you start at 64 bits.:p

What about SMBIOS, if it interferes with the performance, because my iMac is like 2001.:(

Pour le test opengl , le SMbios a son importance mais les valeurs ne diffère pas en 32 ou 64 bit .

pour le test cpu , c'est tout autre , les perfs affiche un gros écart .

Pour info , sous Lion les procs AMD ne fonctionnent qu'en 32 bit et non en 64 bit .

http://img15.hostingpics.net/pics/87...0524020859.png
http://img15.hostingpics.net/pics/95...0524020341.png

delgadilloalex 05-24-2012 04:04 AM

great kernel on 10.7.4 works great on my phenom 9650 x4 better proformance than snow leo. anv kernel ( no Offence anv)

just wondering dont know how much trouble it is but.........

do you think you can make a 10.6.8 kernel for us (me) anv kernel doesent sync tsc when booting on your lion kernel it syncs and is very smooth.
and i still love snow and do alot of work on it (Cubase) and are held back by plug ins not compatible with lion, would love to see if you can bring those skills back to snow

?

felipeunix 05-24-2012 04:50 AM

To Cinebench results.

http://i.imgur.com/XjLUL.png http://i.imgur.com/227mJ.png

NovaBench could not do the tests because it worked for all 0.


You are correct the performance of my setup?

gils 05-24-2012 08:45 PM

hello,

I still have your doubts about a 64? you show me the test 64 bit please?

http://img15.hostingpics.net/pics/94...0524213957.png

felipeunix 05-24-2012 09:10 PM

I ran in 64bit, and got the result indicated. Once booted into 32bit and efeturei the test again.
So I posted the picture!

why is the image to 32 bits, because the last test that was efetuei in 32 bits.

identified but the results on screen.

But if I want a screen shot for you to be happy ^_^

felipeunix 05-24-2012 09:26 PM

here it is!

http://i.imgur.com/rs788.png

gils 05-25-2012 12:15 AM

thank you for making me doubt the hood because I am interested in the FX, any time the performance is low, I expected better performance because they remain lower than the Phenom x6.
a 4 ghz, what happens?

you have problems Appli crash? Finder is working properly?

felipeunix 05-25-2012 03:52 AM

Quote:

Originally Posted by gils (Post 57722)
thank you for making me doubt the hood because I am interested in the FX, any time the performance is low, I expected better performance because they remain lower than the Phenom x6.
a 4 ghz, what happens?

you have problems Appli crash? Finder is working properly?

I have no problem with the finder. the system oddly enough works without errors, only the performance that falls short ..

I had a Phenom x6 1090T, gave it away to get the FX.
And I do not regret it at all!

in Windows
Benchs .. tests .. numbers only ..

In practice, I felt the difference, greater agility, understand?
With the phenom I felt a certain command wait for the operations, which does not happen anymore with the FX.
while maintaining a temperature great!

R:A:W:X86 05-28-2012 10:43 PM

update :

I have changed the CPU identification methods with those written by mercurysquad & AnV.

The aim is to make the Kernel work on most AMD and Intel CPU that at least support SSE3 (including Vanilla Kernel compatible).

At the moment this build has to be considered unstable / for testing purposes.


looking for testers

It works on both of my workstations (FX-4100 and Xeon E3)

Anyway I would be glad if a lot of people would do some testing on this.

Particulary I would be interested in having it tested on all kind of non-SSSE3-capable AMD & Intel-Nehalem CPUs


//download link removed cause obsolete release - check first post for the latest

ghostec 05-28-2012 11:35 PM

With that kernel is expected that Photoshop CS6 works on Phenom II X4 970BE?

gils 05-29-2012 12:50 AM

Quote:

Originally Posted by R:A:W:X86 (Post 57761)
update :

I have changed the CPU identification methods with those written by mercurysquad & AnV.

The aim is to make the Kernel work on most AMD and Intel CPU that at least support SSE3 (including Vanilla Kernel compatible).

At the moment this build has to be considered unstable / for testing purposes.


looking for testers

It works on both of my workstations (FX-4100 and Xeon E3)

Anyway I would be glad if a lot of people would do some testing on this.

Particulary I would be interested in having it tested on all kind of non-SSSE3-capable AMD & Intel-Nehalem CPUs



thanks ,

excuses moi de mon Français , pour te dire que ton kernel fonctionne sur mon Xéon E3 1230 en 32 bit et avec le bug finder (je suppose que c'est dû au mode 32 bit ) , demain , je testerai sur mon x4 960t .

Hardware Overview:

Model Name: Mac Pro
Model Identifier: MacPro3,1
Processor Name: Intel Core i7
Processor Speed: 3.30 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 4 GB
Boot ROM Version: MP31.006C.B05
SMC Version (system): 1.30f3
Serial Number (system): G88014V4XYK
Hardware UUID: 36309D6A-E8E2-5BEC-AFB3-A25CFD8A5810


System Software Overview:

System Version: Mac OS X 10.7.4 (11E53)
Kernel Version: Darwin 11.4.0
Boot Volume: Lion
Boot Mode: Normal
Computer Name: gils’s Mac Pro
User Name: gils (gils)
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: No
Time since boot: 10 minutes


http://img15.hostingpics.net/pics/76...9at13559AM.png

http://img15.hostingpics.net/pics/63...9at14738AM.png

http://img15.hostingpics.net/pics/35...9at15214AM.png

le copier/coller ne fonctionne pas , on retrouve les mêmes problèmes que sur l'AMD .

super boulot , toujours !! encore merci !! ;)

j'édites , j'ai testé code ; mach_kernel arch=i386 -force64 GraphicsEnabler=Yes -v

je reste toujours en 32 bit .

m28ew 05-29-2012 03:18 AM

Quote:

Originally Posted by R:A:W:X86 (Post 57761)
update :

I have changed the CPU identification methods with those written by mercurysquad & AnV.

The aim is to make the Kernel work on most AMD and Intel CPU that at least support SSE3 (including Vanilla Kernel compatible).

At the moment this build has to be considered unstable / for testing purposes.


looking for testers


http://s15.postimage.org/egx06xjwr/new_kernel_ok.gif



COPY+PASTE also work properly (tested by transfering files via LAN / Samba)

Thanks!

sulphide 05-29-2012 03:23 PM

fx-8150, 64-bit, reboot right after kexts loaded. previous kernel works ok even in 64 bits.

R:A:W:X86 05-29-2012 05:41 PM

Thanks for testing so far. :)
Still working on some more improvements to the code, which I hope will make this more attractive for other people to work on this.

Quote:

Originally Posted by gils (Post 57763)
excuses moi de mon Français , pour te dire que ton kernel fonctionne sur mon Xéon E3 1230 en 32 bit et avec le bug finder (je suppose que c'est dû au mode 32 bit ) , demain , je testerai sur mon x4 960t .
[...]
je reste toujours en 32 bit .

This behavior is absolutely unexpected, unless you are using -legacy bootflag.

The Kernel still enters 64-Bit enabled boot-up by default.
-force64 is not associated with any function and not required on SSSE3-AMD - even less on Vanilla-Intel. ;)

Just to note:
Using this Kernel permanently on a Vanilla capable system is not recommended.
The Kernel source code Apple releases doesn't 100% match the Kernel, they are releasing with their OS.
Beeing compatible is just a feature for stuff like multiplatform Boot-CD solutions, etc.

gils 05-29-2012 08:06 PM

Quote:

Originally Posted by R:A:W:X86 (Post 57771)
Thanks for testing so far. :)
Still working on some more improvements to the code, which I hope will make this more attractive for other people to work on this.



This behavior is absolutely unexpected, unless you are using -legacy bootflag.

The Kernel still enters 64-Bit enabled boot-up by default.
-force64 is not associated with any function and not required on SSSE3-AMD - even less on Vanilla-Intel. ;)

Just to note:
Using this Kernel permanently on a Vanilla capable system is not recommended.
The Kernel source code Apple releases doesn't 100% match the Kernel, they are releasing with their OS.
Beeing compatible is just a feature for stuff like multiplatform Boot-CD solutions, etc.


hello,

Actually, I had mistakenly left-legacy in the plist (hoops!) For my tests, I using the same OSX 10.7.4 on my AMD Phenom and my Intel xeon .

That said, your kernel is royal! perfs are on the rise and smoother video! Hats off Sir!

There are only 64 bit mode (k 10) will fix the problem of various bug and we will have AMD configuration at the top!

The Phenom / Atlon still remains beautiful and deserve our respect!

I hope to that you will come to us out the kernel in 64 bit AMD K10.

Big thank you again for your work. :)

google translation.


http://img15.hostingpics.net/pics/39...9at72904PM.png

http://img15.hostingpics.net/pics/49...9at73353PM.png

http://img15.hostingpics.net/pics/80...9at75550PM.png

http://img15.hostingpics.net/pics/98...9at75657PM.png

je précise , le proc est bien unlocker en x6 à 3,01 ghz mais pas à 3,41 ghz comme affiché dans les tests , je suppose que c'est le turbo .

rrtn 05-29-2012 10:25 PM

Quote:

Originally Posted by R:A:W:X86 (Post 57761)
update :

I have changed the CPU identification methods with those written by mercurysquad & AnV.

The aim is to make the Kernel work on most AMD and Intel CPU that at least support SSE3 (including Vanilla Kernel compatible).

At the moment this build has to be considered unstable / for testing purposes.


looking for testers

It works on both of my workstations (FX-4100 and Xeon E3)

Anyway I would be glad if a lot of people would do some testing on this.

Particulary I would be interested in having it tested on all kind of non-SSSE3-capable AMD & Intel-Nehalem CPUs



Thank You R:A:W:X86 !
i installed 10.7.3 using bronzovka_mach_kernel_v4 since then just left it alone til next benchmark. so i see you posted a kernel for 10.7.4 so i upgraded to 10.7.4 tried your kernel and got reboot after system files load. so i used the 'roll back trick' i used either bronzovka_mach_kernel_v4 or v6 and replaced the kexts AppleFileSystemDriver.kext & IOStorageFamily.kext with the ones from 10.7.3. however, before i could post my results i see your new kernel and give it a shot and voilà lion loads! so heres my 2¢ on your kernel...great work so far
thanks for all your hard work R:A:W:X86

my specs:
ASUS A8N-SLI Deluxe
AMD Athlon 64X2 4400+ Toledo
4GB Patriot DDR 400 (PC 3200)
eVGA GeForce 8800GTS 640Mb 320-bit GDDR3
500GB IDE WD Caviar Blue (OSx86 Snow Leopard)
120GB SATA3 Corsair Force 3 SSD (Windows 7)
1TB SATA2 WD Caviar Black
1TB SATA2 WD Caviar Black
40GB SATA WD Caviar (OSx86 Lion)
NEC 16X Double Layer DVD±RW IDE
D-Link DWL-AG530 IEEE 802.11a/b/g PCI Tri-Mode
ASPIRE X-Superalien ATXA6SW-BK/500W
http://i415.photobucket.com/albums/p...05-29-at-2.jpg

R:A:W:X86 05-31-2012 12:14 PM

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. :)

misterfrista 05-31-2012 03:38 PM

R:A:W:X86 first I want to thank you for your great work!!

I tested your first kernel and my fresh 10.7.4 installation works great with flags -v npci=0x2000 -legacy!

But your newest one from today just restarts my pc over and over again, I tried the following flags in many combinations: -force64 -legacy arch=x86_64/i386 -v -f npci=0x2000 nothings helps!

If i can help you anyway tell me ;)


My System:
- Bulldozer 8120
- Asus M5A97
- Geforce 9500GT
- 10.7.4 from Appstore with Myhack and your kernel a clean install without any problem

sulphide 05-31-2012 05:52 PM

Quote:

Originally Posted by misterfrista (Post 57792)
I tested your first kernel and my fresh 10.7.4 installation works great with flags -v npci=0x2000 -legacy!

But your newest one from today just restarts my pc over and over again, I tried the following flags in many combinations: -force64 -legacy arch=x86_64/i386 -v -f npci=0x2000 nothings helps!

My System:
- Bulldozer 8120
- Asus M5A97
- Geforce 9500GT
- 10.7.4 from Appstore with Myhack and your kernel a clean install without any problem

Same for me, fx-8150, m5a97 (same), geforce 560ti. Restart after all kexts. This is without -legacy flag, of course.

gils 05-31-2012 09:22 PM

Quote:

Originally Posted by R:A:W:X86 (Post 57790)
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:
  • If the on-the-fly opcode patching routines can be fixed, they will not affect sysenter crashes on 64-Bit enabled AMD (Bulldozer) systems. Currently it will handle mach-o executables only, no shared librarys and frameworks
  • Most likely it will also not fix 64-Bit boot-up for the others. (Actually I am not sure what 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.


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. :)


hello,

I tested your new kernel (raw), big step forward, starting the PC is a little space! I no longer crash application, I FaceTime which is very long to open, save it for QuickTime bug screen,
I have a CPU that bubbles!

Code: raw -legacy GraphicsEnabler=No PCIRootUID=1-v-f

the rest is in the plist.

thank you for your job!


http://img15.hostingpics.net/pics/67...1at93932PM.png

http://img15.hostingpics.net/pics/68...1at90510PM.png

http://img15.hostingpics.net/pics/19...1at92120PM.png

http://img15.hostingpics.net/pics/99...1at95817PM.png

ham4ever 06-02-2012 03:18 AM

i tested your both kernels :), and both great in this specs: ;)

AMD Athlon II x3 435

http://s13.postimage.org/c6gteptrr/untitled_2.png

http://s17.postimage.org/5kt2hzyan/untitled_3.png

second kernel open apps soo fast and lion so smooth :cool:

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

http://s14.postimage.org/bk90gdbf5/screen.png


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

R:A:W:X86 06-03-2012 01:12 PM

Quote:

Originally Posted by sulphide (Post 57793)
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.

http://osx86.co/attachment.php?attac...1&d=1338725292

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

gils 06-03-2012 02:04 PM

Quote:

Originally Posted by R:A:W:X86 (Post 57820)


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. :cool:

ah! great job!

sulphide 06-03-2012 02:49 PM

Quote:

Originally Posted by R:A:W:X86 (Post 57820)

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 :)

mindlessmissy 06-03-2012 05:29 PM

So, exactly which link is supposed to be the latest ?

R:A:W:X86 06-03-2012 10:14 PM

Quote:

Originally Posted by mindlessmissy (Post 57825)
So, exactly which link is supposed to be the latest ?

Second download in the first post.

I just haven't removed the first 10.7.4 Kernel I released, cause the patch is much simpler (+ lacks as much support) - it might be used if there are any serious problems with the latest build, but it's no longer recommended...

felipeunix 06-04-2012 02:41 AM

Quote:

Originally Posted by R:A:W:X86 (Post 57820)


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. :cool:

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 :D
Also Bulldozer My thanks ;)

hanadriel 06-04-2012 02:53 AM

R: A: W: X86

Their kernels are fantastic.
However it suffers from a problem in audio,
The audio lags out.
You know I speak
what's the problem?

wastez 06-04-2012 10:38 AM

@ hanadriel
I´m sure that a incorrect detected fsb is the reason why your audio lags out.

You have to look that the kernel will detect your fsb correct and i´m sure it will work. ;)

Fraom 06-04-2012 11:31 AM

but this kernel fix paste copy problem ??

gedna 06-04-2012 02:21 PM

Hello all, tried to make my old Phenom 9600 to run Lion, but again like the first lion kernels im hang on waiting for DSMOS line....
jezus how the hell avoid this error? using Chameleon-2.1svn-r1914 bootloader.

anyone has any clue what is wrong?

gils 06-04-2012 02:27 PM

Quote:

Originally Posted by gedna (Post 57834)
Hello all, tried to make my old Phenom 9600 to run Lion, but again like the first lion kernels im hang on waiting for DSMOS line....
jezus how the hell avoid this error? using Chameleon-2.1svn-r1914 bootloader.

anyone has any clue what is wrong?

hello, you tried idlehalt=0 ?

For my part, I use the Chameleon with SMBIOS trunk 1820 as a package