![]() |
Legacy kernel 10.4.0 updated
I finished the modifications to the kernel.
It now builds for both 32/64bit easily. The patch is also here, as well as the binaries Update: I fixed the patcher and updated it to be able to recognize any Intel instruction. Since we don't have an auto-patching dyld yet, it's only for application binaries + dyld qua patching but it's definitely good progress. I also created an auto-patching cpuid + sysenter tool which can operate on any Mach-O file, even directly on universal binaries. There is also an extended tool included for patching certain sse3 instructions along with cpuid + sysenter. Update (V4): I worked on the patcher so that it can decrypt and patch encrypted binaries (works, shows failures untill DSMOS has arrived though) Kernel patcher (V3): Updated code to solve minor issues and not to generate output files if there is no patching done Kernel patcher (V4): Updated code to solve no output file generated on UB if x86_64 part had no patches needed but i386 part did Update (V5): Fixed CoreSymbolication support and fixed backtraces Patch (V5): http://rapidshare.com/files/42308129...ated5.diff.zip Kernel Binaries (V5): http://rapidshare.com/files/42308342...0.4.0_rel5.zip AMD Instruction Patcher (V4): http://rapidshare.com/files/42192593...patcher_V4.zip |
Testing it now, I had to boot with arch=i386 and patcher_opts=2 like before otherwise kp or instant reboot. Seems to work fine for now, I've seen a new message in the console, I guess it's related to the kernel or sysenter patch but I don't know for real.
Code:
com.stclairsoft.DefaultFolderX.helper sysctlbyname_with_pid: sysctl failed:Invalid argument Thank you again Andy for your work |
thanks this work my quicktime but it crashes with mp4 and safari when open vedio on it with quick time
thanks andy for all your work |
Thank you very much for your hard work.
|
Gracias amigo, no me iba a dar la paja de parchar xDDD
|
1 Attachment(s)
Like for eMatoS:
http://osx86.net/f36/qoopz-anv-xnu-1...post50208.html (graphics problems, and missing dates and times) now with a 10.6.3 install on an AMD Athlon64 3200+ |
Quote:
|
Quote:
it is ssse3 related |
Try the latest kernel on, lots of updates and it works now like a charm ;)
|
Quote:
libSystem.B(_debug/_profile).dylib won't get patched as I haven't been able to build a stable custom dyld yet. There is however now a tool for AMD which can do the hard work for you... |
Thanks for yet another kernel andy!
I still have the problems i had before with steam and abobe cs3 pse and cs5 and some au plugins though. Just out of curiosity, does this make any sense to you?: Code:
/Users/my_user/Library/Application\ Support/Steam/SteamApps/[email protected]/half-life\ 2/hl2_osx ; exit; |
thanks andy for yours hard work
after tests with new clean install i must use sysenter patcher if not many programs crashes i put amd instruction patcher on usr/bin but i can't see any benefit for it no more patcher_opts=2 on 32bit mode every things work good except sound volume dont change and and quicktime crashes when use subtitles on 64bit mode sound volume change work but qiucktime totally not work thanks andy keep your good working |
Quote:
For example: sudo -s amd_insn_patcher /usr/lib/libSystem.B.dylib /usr/lib/libSystem.B.dylib.patched cp /usr/lib/libSystem.B.dylib.patched /usr/lib/libSystem.B.dylib Patcher is working great and Kernel is able to boot without patcher_opts=2 now, thanks Andy. ;) I am going to do further testing once I am back from work this evening. :cool: |
Quote:
and is there need for sysenter patcher ? thanks |
Hey Andy! Thanks for your work!
Installed your updated kernel and VmWare Fusion stopped working. With the 10.4.0 rel 4 kernel everything good. http://img819.imageshack.us/img819/9...0918153445.png Code:
Sep 18 15:34:37.735: vmx| Log for VMware Fusion pid=287 version=3.1.1 build=build-282344 option=Release |
Wow it does feel snappier compare to legacy 10.4.0 kernel.
Vmware not working for me too parallel is. Great work ! thanks |
Quote:
I would recommend you to use the kernel in order with -force64 bootflag, as the 64-Bit code of OS X doesn't contain any cpuid trouble, what is making our lifes much easier and working great thanks to Andys hard work. :cool: On my testing installation I have actually patched only these files and no issues (mp4 Playback and DivX De- & Encoder Plugins in QTX, iTunes etc all working just great): /usr/lib/libSystem.B.dylib /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents /System/Library/QuickTime/AppleProResDecoder.component/Contents/MacOS/AppleProResDecoder If Developer Tools are installed libSystem.B_debug.dylib & libSystem.B_profile.dylib need to be patched as well. The two Quiktime folder ones might not be required, but I patched them as I am still having QT7 in use - I haven't tried without patching those, yet. (going to try that later) [EDIT]OK. Those two files have to be patched furthermore QTX needs to be executed in 32-Bit mode for mp4 playback to work - I haven't seen that the coresponding checkbox was still set true.[/EDIT] Quote:
You have done a realy great job to the point and I hope you'll keep it going. ;) |
when patching with amd ins patcher
it says bus error |
Quote:
|
Can't boot into 64-bit mode
I tried using arch=x86_64 and -force64 together but it just won't boot into 64-bit mode, it always goes into 32-bit mode.
|
Andy, why is it that with the latest kernel I can't get chameleon to take the arch=x86_64 command? If I boot with Wait=Yes arch=x86_64 -force64 when Chameleon stops before the kernel loads it always says Loading i386 System or something similar, not X86_64. Maybe it's just cosmetic? Don't know. Perhaps you forced the loader to boot with the i386 command...
@Fumoboy007, don't pay attention to what System Profiler (and many other apps) says, you should check in activity monitor for 64bit apps. Anyway, great work again Andy, the system's been very stable, it works better than in 32bit though I have to force some apps to run in 32bit but that's no big deal. Thank you... |
Quote:
I'm using the binary that andy uploaded…maybe it wasn't compiled for 64-bit? hehe..just a thought. |
Quote:
|
Quote:
|
Quote:
This release also strips code signatures from the binaries it patches (even on universal binaries). |
Quote:
|
thanks andy
hope next one will be more featured and x86-64 compile work because i love to work with x86-64 kernel |
Quote:
Quote:
But as eMatoS wrote using 32-Bit Kernel does not mean that 64-Bit support doesn't work. Good explanation is avaible at http://www.macworld.com/article/1423...rd_64_bit.html What would be the advantage you promise yourself from running 64-Bit Kernel? :) Even real Macs don't use this by default... PS: You might want to use http://osx86.net/images/infinitemacpro/buttons/edit.png next time... @Andy Do you have any idea how I could fix IPC for Quiktime to load 32-Bit Codecs & Safari to work with Flash Player? ;) |
Imkantus, what is the problem with Flash Player and Safari? Have you tried the beta build? It runs in 64bit now. You can download it from the Adobe Labs.
|
Thx, just installing latest flash player plugin (no preview release) did the trick for Safari... sometimes solutions are even closer as expected. :D
|
Quote:
|
|
the quick time crashes with latest kernel and patcher
hope it is solved in new kernel and arch x86-64 work also thanks andy for your time spending it on programing this kernel |
anther problem with this kernel is that vmware and parallel software cant be setuped it says it isnt intel cpu
but with anv 10.4 rel4 works fine with this software thanks andy |
There is another update to the kernel.
This time it can auto patch encrypted binaries (decrypting them to the new dsmos_page_transform, I figured out how it works). Ignore the failures at beginning boot, they are because it waits for "DSMOS has arrived". It will continue to load the binaries untill they are succesfully loaded :) All that is left now is getting a stable custom dyld built (for library + framework auto patching) and then we will have everything where we need it ;) I could however use some help on this because the issue (I think) is that the coresymbolication functions aren't available. |
thanks andy you are very good i love your work :)
will test it ;) with out you what will we do :D |
after first test
x86-64 not work dont know what is problem with x86-64 bulid |
-force64 causes instant restart
Great work so far, Andy! There is one more issue which you should add to your list and that is 64-bit. When I use the kernel flag -force64, it just causes my computer to restart.
|
new kernel work for me and with -force64 now, can some one tell me how to apply those patches? thanks
|
The kernel patches?
You wont need them unless you plan to modify the source yourself, i haven't done it in osx for ages but check out this if you're interested. http://shantonu.blogspot.com/2009/09...-has-been.html And please read this: http://linux.die.net/man/1/patch There is no sense in going trough this unless you know what you're doing and actually commit some changes. |
what about amd_ins_patcher. ? is it necessary ?
|
Quote:
|
Safari sometimes crashes
This happens sometimes:
Code:
Process: Safari [885] |
With your latest kernel (v4) iTunes 10 doesn't work, FAIL
Code:
24-09-10 20:55:52 kernel CODE SIGNING: cs_invalid_page(0x8fe2b000): p=339[iTunes] clearing CS_VALID |
Itunes 10 is working here, at first the system felt slow but maybe it was busy with something cause it runs fine now. This time I needed arch=i386 to boot, otherwise I would get an instant reboot.
Andy, I haven't seen thoes errors before DSMOS you mention in the first post (I guess you have to un an unpatched system to see them), also what does these messages mean: Code:
24/09/10 19:22:43 kernel warning: kernel was not built with custom dyld blob |
I'll stay in V3 XD
|
hi people who use updated legacy kernel is vmware fusion allowed to be setuped or say non intel cpu
http://img251.imageshack.us/img251/2204/vmware.png thanks anv kernel rev4 vmware work perfect but with legacy not work |
Thank you Andy for the V4. Everything seems to work fine here.
Though I am still not able to boot with arch=x86_64 kernel flag - getting into reboot loop. Also I had to patch Firefox as it was randomly crashing. After patching with your AMD patcher it now seems to be stable. Also I have a question: how do I determine which files need patching? I previously used Marvin AMD utility, which scanned all files in a specified directory and created a patcher package. Unfortunately Marvin utility does not work in 64-bit mode... Thank you, FX |
Quote:
|
Quote:
patcher_opts=50 =FORCE+CPUID+SYSENTER =2+16+32 |