InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Blackknight (AnV/Qoopz-based) kernel w/corrected Phenom FSB detection (http://infinitemac.com/showthread.php?t=5112)

timberwolf5 06-15-2010 10:20 PM

Hey andy any progress? btw 10.6.4 was just released today.

ashp 06-19-2010 03:10 PM

Nawcom has also updated legacy kernel to 10.4.0
 
Legacy Kernel for Mac OS X 10.6.4 by nawcom using xnu 1504.7.4 sources. http://nawcom.com/osx86/files/10.6/K...10.4.0.pkg.zip

Regards,
Ash

timberwolf5 06-23-2010 07:04 AM

I have been checking this everday hoping for an update.

Andy how's it coming along?

tomi 06-27-2010 06:46 PM

Well, I've tried the 10.4.0 XNU kernel but for me, that one doesn't detect caches and disables my ability to use USB modems for internet. So far, this has been the only working kernel, which supports my phenom 955 fairly well.

I'm on 10.6.4 using this 10.3.0 kernel, it seems to work fine which suggests that Apple hasn't added anything major to the OS requiring new code. I suppose the only advantage I'd have with the 10.4.0 legacy kernel would be the on-the-fly CPUID patching. That's actually a neat feature.

I'll be checking this thread as well to see if anything comes along :)

All the best,
Tomi

assassinator 11-15-2010 08:42 AM

Quote:

Originally Posted by blackknight (Post 42320)
Hi guys,

I am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this one. Basically, my change checks for whether the processor is a Phenom or Shanghai and if it is, doubles the detected FSB speed. If it isn't, the kernel is then the same as AnV/Qoopz's. I've included the diff file in case anyone wants to use what I've done in other kernels.

The reason it doubles the FSB is that the busratio is then detected as the actual CPU multiplier set in the BIOS and not double it. This means that you are no longer capped to 3.0 GHz as a maximum CPU clock speed since the kernel has a busratio cap of 30. Now, you can be able overclock your Phenom to up to 6GHz (theoretically) and the kernel won't panic due to the cap.

I hope this benefits all you Phenom users out there!!

http://www.innovativecinemasystems.c.../10.2.0-BK.zip

*EDIT*
Had to remove Shanghai support. I'll keep working on adding it and post an update when I think it'll work. I don't have one so I can't test, but when I added it to the kernel, it broke the Phenom support. When I get that fixed, I'll re-upload so people with Shanghais can test it.

*UPDATE 03/23/2010*
I changed the patch a little to try to add Shanghai support back in and I think it's working, but I don't have a Shanghai to test (please test if you have one and let me know). Also, the kernel has been updated using Andy's new Release2. I need to know if this still works with Intel (any) and Athlon (older than Athlon 2 and Phenoms). Please test and let me know.

Also, I have updated the diff file to only apply to xnu-1486.2.11 that has already been patched by one of the other methods. This should really just help Andy incorporate it into his future kernels and doesn't really apply to others unless they are already patching the kernel using the Voodoo methods. All it does is add the Phenom/Shanghai detection.

*UPDATE* now available for 10.6.3
Here's the new kernel and diff file for 10.3.0:http://www.innovativecinemasystems.c.../10.3.0-BK.zip

Let me know if it works for you. Also, -force64 is still not working correctly for AMD and I think it has something to do with one of Andy's mods, but I don't know for sure.


How do I add this in for 10.6.2 to make the KP stop? I'm on windows 7 and I don't know what to do with this I've booted it up many times

petkov 05-30-2011 11:29 PM

10.6.7
 
Hi Blacknight!

I will very happy to see an 10.6.7 Kernel for My phenom9650 with correct detection.
Is there a light way for an newbie to patch kernel self.
What is the best Bootloader for Amd system?

blackknight 05-30-2011 11:33 PM

Quote:

Originally Posted by petkov (Post 54143)
Hi Blacknight!

I will very happy to see an 10.6.7 Kernel for My phenom9650 with correct detection.
Is there a light way for an newbie to patch kernel self.
What is the best Bootloader for Amd system?

All of the new kernels based on nawcom, AnV, etc. should already include my Phenom fix. I haven't messed with it in a long time, but last I knew the fix was already incorporated into the main branch. As far as patching the kernel yourself, I posted in the beginning of this thread the changes I made to AnV's source, so you can get the source for the latest kernel and look for my changes to see if they are in there and add them if not and re-compile. Best bootloader is probably still PC_EFI or Chameleon, but those are the only one's I've used.

gums 07-21-2011 05:36 AM

Quote:

Originally Posted by blackknight (Post 42320)
Hi guys,

I am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this one. Basically, my change checks for whether the processor is a Phenom or Shanghai and if it is, doubles the detected FSB speed. If it isn't, the kernel is then the same as AnV/Qoopz's. I've included the diff file in case anyone wants to use what I've done in other kernels.

The reason it doubles the FSB is that the busratio is then detected as the actual CPU multiplier set in the BIOS and not double it. This means that you are no longer capped to 3.0 GHz as a maximum CPU clock speed since the kernel has a busratio cap of 30. Now, you can be able overclock your Phenom to up to 6GHz (theoretically) and the kernel won't panic due to the cap.

I hope this benefits all you Phenom users out there!!

http://www.innovativecinemasystems.c.../10.2.0-BK.zip

*EDIT*
Had to remove Shanghai support. I'll keep working on adding it and post an update when I think it'll work. I don't have one so I can't test, but when I added it to the kernel, it broke the Phenom support. When I get that fixed, I'll re-upload so people with Shanghais can test it.

*UPDATE 03/23/2010*
I changed the patch a little to try to add Shanghai support back in and I think it's working, but I don't have a Shanghai to test (please test if you have one and let me know). Also, the kernel has been updated using Andy's new Release2. I need to know if this still works with Intel (any) and Athlon (older than Athlon 2 and Phenoms). Please test and let me know.

Also, I have updated the diff file to only apply to xnu-1486.2.11 that has already been patched by one of the other methods. This should really just help Andy incorporate it into his future kernels and doesn't really apply to others unless they are already patching the kernel using the Voodoo methods. All it does is add the Phenom/Shanghai detection.

*UPDATE* now available for 10.6.3
Here's the new kernel and diff file for 10.3.0:http://www.innovativecinemasystems.c.../10.3.0-BK.zip

Let me know if it works for you. Also, -force64 is still not working correctly for AMD and I think it has something to do with one of Andy's mods, but I don't know for sure.

Can You Make Kernel For Lion
Your Kernel Is Greats Works 100% On Netbook Acer Aspire One 722 AMD C-50 Dual Core
:cool::cool::cool:

digithree 07-25-2011 12:00 AM

How to patch kernal
 
HI guys, sorry this may be a stupid question but I downloaded your patch and don't know how to patch my boot image.

I've unpacked the ISO file. How do I use the patch? Do I just add the files (BK.diff and mach_kernal) or replace and rename some file?

Thanks :)

blackknight 07-25-2011 12:04 AM

Patching your ISO
 
Hey,

The diff file is only for developers that want to patch mach_kernel for themselves. All you need is the mach_kernel and you need to replace it in your ISO. You'll need to mount it readwrite so that you can write the new file to it. This is fairly common information, but you should really use one of the newer distributions that already have newer kernel versions. I made this modification back in the 10.6.2 & 10.6.3 days when this mod wasn't already included in the AnV based kernels. It has since been added to the latest legacy kernels (to my knowledge) so I have since stopped making this mod.

BK