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

digithree 07-25-2011 12:49 AM

I'm trying to patch a Hazard ISO I got, filename is Snow_Leopard_10.6.1-10.6.2_SSE2_SSE3_Intel_AMD_by_Hazard. Will this patch work for it? I'm trying fix a kernal panic to do with my AMD Phenom II x6 1100T

wastez 07-25-2011 07:31 AM

Hello,

Are you sure that the kernel is the problem?
I know that there is a problem with amd x6 cpus but you can solve this issue by using the kernelflag -force64.

If it doesnīt work with hazard i would try the nawcom mod cd and a Snow Leopard Retail DVD.

digithree 07-25-2011 11:43 AM

-force64 didn't work for me but I found a few flags that did

Code:

fsb=200000000 -x -v
this gets me to the install GUI :) but it doesn't seem to recognise the virtual sata hard drive (I'm using Virtual Box)

are there any tutorials or reference articles detailing the setup flags? I'd like to see what's possible, perhaps I need to specify what the hard drive is called or "where" it is, etc. Also I'd like to under stand it better, I know what FSB means but not what the -x flag does

Thanks a lot :)

EDIT: Do I need a kext for the virtual disks? how would that work?

EDIT: Here's a screen shot of the problem http://www.flickr.com/photos/2623346...in/photostream

wastez 07-25-2011 12:45 PM

The -x flag is for booting into safe mode.

For your SATA- Controller youīve to find out which kext will be needed.
I donīt know which kext is needed for virtual box and i also donīt know if there is any that will work. I just know that there is a solution to get it working in vmware.

You have to integrate it into your boot cd.
How you integrate it belongs to your boot-cd but usually kexts will be stored in Extra/Extensions or in System/Library/Extensions.

digithree 07-25-2011 09:56 PM

Hi again, sorry I've kind of hijacked this thread but just wanted to see if I could get some more advice from you.

I got the hard drive working, turns out you need to use the disk utility to partition it. Thanks anyway.

Now I've got OSX installed and it boots! :) However it crashes after the Chameleon black screen turns into the grey screen with the silver Mac logo. I don't get the spinning loading symbol I'd expect near the bottom of the screen. The VirtualBox window just closes without any error message and without marking the last run as having been aborted.

I suspect it's either to do with the kernal(s) I have or with other custom packages I need to install. I've tried several options, such as using the Legacy Kernal v10.2.0, then using Mobdin v10.0 (which puts up a screen saying I need to reset the computer every time). I've tried putting on each of the System_Support/CMOS_Reset_Fix/ RTC packages, to no avail.

I've also tried adding the kernal supplied on this thread to the install ISO but can't find an ISO program that can do it properly! MagicISO can read the ISO the right way and add the file, but always says that it can't write the new ISO for some reason. But even if I did replace the kernal, surely that's just the install kernal? How would I add DarkKnight's kernals to the Kernal package options or maybe after it's installed?

I have a AMD Phenom II x6 1100T CPU 3.3GHz, 16 GB ram, ASRock 880G chipset motherboard running VirtualBox 4 on Windows 7 Home Premium.

Any help really appreciated. Thanks again!

wastez 07-26-2011 07:09 AM

To help you we need a screenshot from the kernelpanic or something.
Without it we canīt help you. Your systems hardware doesnīt matter if youīre installing it on a virtual machine.
For the RTC fix you can edit your dsdt or you can use elliotforcertc.kext.
To install a other kernel just replace the mach_kernel or legacy_kernel in root on your drive and you have to look up in the boot.plist which kernel is used by default.

Did you try to find something about installing mac os x on virtualbox?
Because iīm not sure that it will work ever.

Why donīt you install it on your local system, because that would be the best solution?! VMīs are much slower running a cracked mac os x and working doesnīt make fun.

I also tried installing mac os on a vm but the speed is horrible.

I would think about it!

digithree 07-26-2011 01:36 PM

So, for instance, run it on it's own partition? Interesting, I hadn't thought of it...

Can you recommend a good ISO editor because the ones I've used won't let me edit the ISO and save it. I've tried PowerISO, MagicISO, UltraISO and CDRoller. Even an ISO unpacker would be nice, could work with that because I have an ISO maker (that's all it does...) Could be for linux also because I have that running (on a virtual box).

Are there any good tutorials for editing boot.plist files and adding different kernals?

And one more question, on the install ISO, is the kernal in the root directory the install kernal, the kernal to be installed or both?

Thanks :)