InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 04-03-2010, 10:18 AM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
10.3.0 Legacy Kernel for INTEL/AMD by qoopz/nawcom

10.3.0 Legacy Kernel for INTEL/AMD by qoopz/nawcom

Alright, xnu src was released so that means patching up that source code so everyone else can use the latest and greatest kernel.

Standard fixes are included, plus a few extra stuff:

* Built-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
* cpu cache detection
* 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.

Some things added:


* some support for the new 6 core i7
* For people wanting to use XCode apps, I decided to add all the CHUD kexts to the kext blacklist. This means no more kp hell when installing and dealing with the development tools. If anyone thinks this is something that shouldn't be added, let me know.

Features in this specific package:

* If you have SleepEnabler installed, your SleepEnabler kext will get updated. If you don't use it, don't worry about it - it won't get installed.
* All of the CPUIDs in the new versions of programs from the 10.6.3 update will get patched. this means you don't need to deal with the hell regarding iTunes, etc.

(The actual patcher program also gets installed (/usr/local/bin/patcher, you can run from anyware via Terminal) as well as the CPUID text file (/Library/CPUIDs/*) Though this is only important to people who love control and want to be able to run it themselves :-P - this is all automated in the installer regardless. Unfortunately we still havent gotten on the fly patching working, so this is a reasonable fix for it for now.)

I do make cpuid files for updates and keep them online http://nawcom.com/osx86/cpuids/ for AMD people to use regarding updates as well as a nice frontend to Maxxuss' patcher app, drag and drop a cpuid.txt file onto the app to launch it - just like Taruga's HDA Patcher.

Anyways, good luck to all. Source diffs are always available.
http://redirectingat.com/?id=292X457...topic%3D214528

If anyone wants to contribute I'm always on irc - irc.osx86.hu #snowleopard #hackint0sh; irc.voodooprojects.org #chameleon #xnu-chat; irc.moofspeak.net #osx86.

Download
rapidshare.com

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote
  #2  
Old 04-03-2010, 10:25 AM
RayFlower RayFlower is offline
Jaguar
 
Join Date: Jan 2010
Posts: 93
Works on my AMD phenom II system, however the FSB detection is off, i suppose this shouldn't be too difficult to fix since the bk kernel had this fixed in 10.6.2.

Also, -force64 works, i got to run galaxies but most apps crashes etc and no 64bit extensions etc.

Apps i tried in forced 64bit mode that crashed:
Chess
iTunes
Quicktime player 7
DVDplayer
EnergyXT
Coda
Garageband
Macirssi
Logic express 32 and 64 bit mode
...

Also it seems like iTunes wont work in 32bit mode either, anyhow thanks for the quick kernel
Reply With Quote
  #3  
Old 04-03-2010, 10:47 AM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Quote:
Originally Posted by RayFlower View Post
Also, -force64 works, i got to run galaxies but most apps crashes etc and no 64bit extensions etc.
AMD CPUs lack the necessary instructions set, so this sadly ain't that easy to fix - propably won't ever be...
Quote:
Originally Posted by RayFlower View Post
Also it seems like iTunes wont work in 32bit mode either, anyhow thanks for the quick kernel
You have patched CPUIDs?
You might try this, where I descryped how-to create cpuid file yourself and patch using Marvin's Utility:
http://www.infinitemac.com/f36/10-6-...post46818.html

/btw: Kernel is very nice - integrated Disabler, Restart & Shutdown Fix are working great here - big thanks Mr nawcom.

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD

Last edited by Imkantus; 04-03-2010 at 12:39 PM.
Reply With Quote
  #4  
Old 04-03-2010, 03:52 PM
fxwizrd fxwizrd is offline
Cheetah
 
Join Date: Jan 2008
Posts: 6
Thank you for the new kernel. Everything seems to work fine.
Only I noticed that CPU frequency shows incorrectly in dmesg:

TSC: Frequency = 0.0000MHz, FSB frequency = 201.30763MHz, bus ratio = 10

Also I still get the following messages in the logfile:
CODE SIGNING: cs_invalid_page(0x1000): p=42[ptmd] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=45[loginwindow] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=43[mds] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=72[fontd] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=103[Dock] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=105[Finder] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=104[SystemUIServer] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=108[fontd] clearing CS_VALID

Is it something bad and if yes what can be done about it?

Thanks,
FX

Edit: It also seems the reboot fix does not work well. I had to restore old OpenHaltRestart.kext in order to get machine restart automatically.

Last edited by fxwizrd; 04-03-2010 at 06:21 PM.
Reply With Quote
  #5  
Old 04-04-2010, 10:50 PM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
Thanks for the kernel!
Only thing that doesn't work for me is the restart fix. It hangs on a black screen and i have to manually press the power button...

Mac Inspiron 531 » 10.6.8 • 10.8.0 Legacy Kernel • AMD Athlon 64 X2 5000+ (2.60GHz)
Dell M2N61-AX/nForce 430/MCP61 • 4GB Dual Channel DDR2 667MHz
ALC888 • nVidia GeForce 8600 GT 256 MB
2 x WDC WD5000AAKS 500 GB SATA HDD
Reply With Quote
  #6  
Old 04-05-2010, 05:16 AM
kocoman kocoman is offline
Jaguar
 
Join Date: Jan 2009
Posts: 73
does this kernel fix the 100% and safari crashing problem?

Quote:
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
Reply With Quote
  #7  
Old 04-08-2010, 04:44 AM
blackknight blackknight is offline
Jaguar
 
Join Date: Aug 2009
Location: Charlotte, NC
Posts: 62
Quote:
Originally Posted by RayFlower View Post
Works on my AMD phenom II system, however the FSB detection is off, i suppose this shouldn't be too difficult to fix since the bk kernel had this fixed in 10.6.2.

Also, -force64 works, i got to run galaxies but most apps crashes etc and no 64bit extensions etc.

Apps i tried in forced 64bit mode that crashed:
Chess
iTunes
Quicktime player 7
DVDplayer
EnergyXT
Coda
Garageband
Macirssi
Logic express 32 and 64 bit mode
...

Also it seems like iTunes wont work in 32bit mode either, anyhow thanks for the quick kernel
Hey rayflower, I modified this kernel to include the Phenom FSB detection, but I'm still waiting to see if Andy has some more fixes to add before I put it online. Also, I don't know what changed, but I have the same problem that fxwizrd has where the CPU speed is not detected, even though the FSB is correct. Andy might have something to help here. Also, @fxwizrd, the code signing stuff is just the built-in decrypter at work and you shouldn't worry about them. As for OpenHaltRestart.kext, I still use the one that was posted a while back on my EFI partition and it works great.

Hackintosh 1: OS X 10.6.8 / Antec P180B / Gigabyte GA-MA790FX-DS5 / Phenom II x2 550 @ 3.4 GHz / 2x1GB Corsair Dominator DDR2 1066 MHz / Gigabyte Radeon 4550 512MB / ASUS EAH4870X2 2GB@ 800/950 / 2x150GB Velociraptors RAID 0
Hackintosh 2: OS X 10.6.8 / Full-ATX Mac Pro case / Gigabyte GA-MA790FX-UD5P / Phenom x4 9950 @3.2GHz / 4x2GB Corsair Dominator DDR2 1066 MHz / HIS Radeon HD 6950 u/l to 6970 / 2x300GB Velociraptors RAID 0 / 4x2TB WD20EARS Pictures
Reply With Quote
  #8  
Old 04-08-2010, 02:54 PM
gipo's Avatar
gipo gipo is offline
 
Join Date: Feb 2008
Location: Italy
Posts: 105
This kernel give me the mouse's lag problem...
The mouse run slower and with steps... not fluid. Can be the FSB detection?
So i returned to 10.2 BlackKnight's one, working flawlessly for me.
Quote:
but I'm still waiting to see if Andy has some more fixes to add before I put it online
Waiting for your 10.3 release...

Snow Leopard Client-Server 10.6.5 by Hazard
10.6.5 legacy kernel for INTEL/AMD V2 Kernel
Cpu: AMD Phenom X4 965
Motherboard: Asus M4A78 pro AMD 780G / AMD SB700 chipset
Ram: 6 gb @ 800 Mhz
Gpu: nVidia 8800gts 512 pci-xpress - Audio integrated: VIA VT1708S
AHCI mode HDs

Last edited by gipo; 04-08-2010 at 03:04 PM.
Reply With Quote
  #9  
Old 04-17-2010, 01:19 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by fxwizrd View Post
Thank you for the new kernel. Everything seems to work fine.
Only I noticed that CPU frequency shows incorrectly in dmesg:

TSC: Frequency = 0.0000MHz, FSB frequency = 201.30763MHz, bus ratio = 10

Also I still get the following messages in the logfile:
CODE SIGNING: cs_invalid_page(0x1000): p=42[ptmd] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=45[loginwindow] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=43[mds] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=72[fontd] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=103[Dock] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=105[Finder] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=104[SystemUIServer] clearing CS_VALID
CODE SIGNING: cs_invalid_page(0x1000): p=108[fontd] clearing CS_VALID

Is it something bad and if yes what can be done about it?

Thanks,
FX

Edit: It also seems the reboot fix does not work well. I had to restore old OpenHaltRestart.kext in order to get machine restart automatically.
That is because the patched binaries still have code signatures inside.
I once released on InsanelyMac a tutorial on how to remove them from the binaries (No more clearing CS_VALID messages...)
I suppose those messages aren't the worst but if I had an AMD system I would patch up....

As for the rebooting problem: why not fix it with a customized FADT.aml ACPI table override?
Reply With Quote
  #10  
Old 04-17-2010, 07:11 PM
fxwizrd fxwizrd is offline
Cheetah
 
Join Date: Jan 2008
Posts: 6
Andy,
Thank you for the explanation. I will look for the tutorial.

As for the FADT.aml, I was not aware of it. Thank you for suggestion! I will look into it.
I now only use DSDT.aml with RTC fixes. Nevertheless I still get KPs with backtrace to AppleRTC.kext. Do you have an idea what might be wrong in my setup?

Thank you,
FX

Quote:
Originally Posted by andyvand View Post
That is because the patched binaries still have code signatures inside.
I once released on InsanelyMac a tutorial on how to remove them from the binaries (No more clearing CS_VALID messages...)
I suppose those messages aren't the worst but if I had an AMD system I would patch up....

As for the rebooting problem: why not fix it with a customized FADT.aml ACPI table override?



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


Last edited by fxwizrd; 04-17-2010 at 10:05 PM.
Reply With Quote
Reply