ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

 
Start a new topic Add Reply
> Binary Patching Vanilla Kernel, some advice please?
Clicky
post Aug 18 2010, 06:01 AM
Post #1
Not sure if this is the right subforum for this, but here goes...

Right now I have SL 10.6.4 running happily with the "Legacy Kernel", but I'm trying to get an (almost) Vanilla 10.4.0 Kernel to run on my system. It won't run right now because the CPU is a Celeron D 360. However, I believe this CPU is perfectly capable of running it if it wasn't for the built-in checks - correct?

Why do I want to do this? I want to know that the CPU is the only thing stopping me running Vanilla. If I can get a very slightly modified Kernel running, and everything else working on this board, I will buy a C2D to replace the Celeron with. But I don't want to go to that expense (and time) without knowing it's going to be worth it.

I've tried a kernel modified for Atom, which as far as I can tell just forces the cpu type to Core Solo. I thought this should do the trick, but it won't boot any further than Vanilla. I.E. the thing locks up right at the point of starting the kernel, with no output whatsoever.

Does anyone have any insight? Is there something else I would need to patch to get this CPU to run past this point? Is there something else I might be missing that the legacy kernel takes care of automatically (before this point)? Or is it just not going to work?
scififan68
post Aug 24 2010, 06:11 AM
Post #2
Good question.. i remember the modbin 10.6 kernel had the name of the vanilla kernel, but bin patched(or edited and recompiled) to work on pentium 4/ amd cpu's. Because this could be very good for non-vanilla users with pentium 4/D etc, also i think any insight on how it's patched would be great , thanks!

This post has been edited by scififan68: Aug 24 2010, 08:15 AM
GIGABYTE GA-Z68XP-UD3 in an Antec 300 case: Lion 10.7.3, Intel Core i5 2500K @ 3.3GHz, 8GB DDR3 ram, 1GB GDDR3 Nvidia Geforce GTS 250, 2x 1TB Samsung HD, 1X 500GB WD Blue, onboard Realtek lan; Dell Mini 10v: Obsidian Black, 2GB DDR2 533MHz Ram, 1.6GHz Intel Atom N270, 120GB HDD, 6-Cell, Mac OS X Snow Leopard 10.6.8.
Slice
post Aug 26 2010, 12:57 PM
Post #3
I think it's impossible. Better use voodoo kernel. It is already patched for your CPU.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
modbin
post Aug 28 2010, 02:27 PM
Post #4
It's not impossible wink.gif Just do a hexcompare vanilla vs mine and you'll see what I binpatched.
first of all remove the panic in cpuid_set_info (aka atom patch). You'll need ida pro and a good hex editor.
greets modbin
Slice
post Aug 29 2010, 10:08 AM
Post #5
But what about SSE3 emulator? Cache calculation? Speedstep? Constant TSC? Local APIC? Different MSRs definitions? BusRatio?
Almost the same for Atom but not for Pentium 4/D.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
modbin
post Aug 29 2010, 03:11 PM
Post #6
the bin patches I did to the kernel work just fine on Pentium4 and even on amd cpus. But since the source code of the kernel is availible there is no need to binpatch the kernel anymore.

Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: