InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Legacy kernel 10.4.0 updated (http://infinitemac.com/showthread.php?t=6578)

andyvand 09-14-2010 10:23 PM

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

eMatoS 09-14-2010 11:43 PM

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
com.stclairsoft.DefaultFolderX.helper        proc_native: sysctlbyname_with_pid  failed:Invalid argument

Overall the system feels snappier (advanced tech term hehe) but perhaps it's a placebo effect.
Thank you again Andy for your work

$The-King$ 09-15-2010 05:26 AM

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

jackokk 09-15-2010 05:30 AM

Thank you very much for your hard work.

davisin666 09-15-2010 10:16 PM

Gracias amigo, no me iba a dar la paja de parchar xDDD

bltz 09-15-2010 11:49 PM

1 Attachment(s)
Like for eMatoS:
  • without arch=i386 and patcher_opts=2: reboot
  • with arch=i386 but without patcher_opts: kernel panic (see attachment but it's similar to those I've reported before)
  • with both it boots and somewhat works but still not really usable.
Unlike eMatoS I still have the same problems I wrote about here:
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+

Imkantus 09-16-2010 01:03 AM

Quote:

Originally Posted by eMatoS (Post 50697)
sysenter patch but I don't know for real.

Does SYSENTER patch work via Kernel this time? (going to try later by myself...)

andyvand 09-16-2010 09:35 AM

Quote:

Originally Posted by $The-King$ (Post 50700)
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

try running them in 32 bit.
it is ssse3 related

andyvand 09-17-2010 02:20 PM

Try the latest kernel on, lots of updates and it works now like a charm ;)

andyvand 09-17-2010 02:21 PM

Quote:

Originally Posted by Imkantus (Post 50717)
Does SYSENTER patch work via Kernel this time? (going to try later by myself...)

It does now for dyld.
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...

RayFlower 09-17-2010 03:28 PM

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;
dyld: Library not loaded: @rpath/libtier0.dylib
  Referenced from: /Users/my_user/Library/Application Support/Steam/SteamApps/[email protected]/half-life 2/hl2_osx
  Reason: image not found
Trace/BPT trap
logout


$The-King$ 09-18-2010 03:57 AM

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

Imkantus 09-18-2010 01:11 PM

Quote:

Originally Posted by $The-King$ (Post 50758)
i put amd instruction patcher on usr/bin but i can't see any benefit for it

The patcher is made to patch out bad instructions from single binary files - not made for patching complete folders...

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:

$The-King$ 09-18-2010 02:19 PM

Quote:

Originally Posted by Imkantus (Post 50768)
The patcher is made to patch out bad instructions from single binary files - not made for patching complete folders...

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:

which files is needed to be patched with this tool
and is there need for sysenter patcher ?
thanks

diskeeper 09-18-2010 02:38 PM

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
Sep 18 15:34:37.735: vmx| The process is 64-bit.
Sep 18 15:34:37.735: vmx| Host codepage=UTF-8 encoding=UTF-8
Sep 18 15:34:37.735: vmx| Hostname=diskeeper-Mac-Pro.local
Sep 18 15:34:37.735: vmx| IP=::1 (lo0)
Sep 18 15:34:37.735: vmx| IP=fe80::1 (lo0)
Sep 18 15:34:37.735: vmx| IP=127.0.0.1 (lo0)
Sep 18 15:34:37.735: vmx| IP=fe80::21e:8cff:fec9:3a4d (en0)
Sep 18 15:34:37.735: vmx| IP=192.168.2.101 (en0)
Sep 18 15:34:37.735: vmx| IP=192.168.211.1 (vmnet1)
Sep 18 15:34:37.735: vmx| IP=192.168.82.1 (vmnet8)
Sep 18 15:34:37.735: vmx| Command line: "/Library/Application Support/VMware Fusion/vmware-vmx" "-E" "en" "-D" "w+gVbXFDnoYDPQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" "-s" "vmx.stdio.keep=TRUE" "-#" "product=1;name=VMware Fusion;version=3.1.1;buildnumber=282344;licensename=VMware Fusion for Mac OS;licenseversion=3.0 build-282344;" "-@" "pipe=/var/folders/Bb/Bb5kr8hCFQq0qHcq9UoweU+++TI/-Tmp-//vmware-diskeeper/vmx23433769ca3d0533;readyEvent=31" "/Volumes/OSX/XP.vmwarevm/XP.vmx"
Sep 18 15:34:37.735: vmx| Msg_SetLocale: HostLocale=UTF-8 UserLocale=en
Sep 18 15:34:37.735: vmx| Msg_Reset:
Sep 18 15:34:37.735: vmx| [msg.dictionary.load.openFailed] Cannot open file "/Library/Application Support/VMware Fusion/messages/en/vmware.vmsg": No such file or directory.
Sep 18 15:34:37.735: vmx| ----------------------------------------
Sep 18 15:34:37.755: vmx| Ready event: 31
Sep 18 15:34:37.785: vmx| UI Connecting to pipe '/var/folders/Bb/Bb5kr8hCFQq0qHcq9UoweU+++TI/-Tmp-//vmware-diskeeper/vmx23433769ca3d0533' with user '(null)'
Sep 18 15:34:37.785: vmx| VMXVmdb: Local connection timeout: 60000 ms.
Sep 18 15:34:37.786: vmx| UUID: Unable to open /dev/mem: No such file or directory
Sep 18 15:34:37.787: vmx| /Volumes/OSX/XP.vmwarevm/XP.vmx: Setup symlink /var/run/vmware/e155f65b6d40c0055927d152657b9538 -> /var/run/vmware/diskeeper_501/1284816877755659_287
Sep 18 15:34:37.787: vmx| Vix: [140735088876576 mainDispatch.c:374]: VMAutomation: Initializing VMAutomation.
Sep 18 15:34:37.788: vmx| Vix: [140735088876576 mainDispatch.c:397]: VMAutomation: Detected the VM is not managed
Sep 18 15:34:37.788: vmx| Vix: [140735088876576 mainDispatch.c:658]: VMAutomationOpenListenerSocket() listening
Sep 18 15:34:37.788: vmx| Sig_Init already initialized
Sep 18 15:34:37.790: vmx| Vix: [140735088876576 mainDispatch.c:3661]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=1
Sep 18 15:34:37.790: vmx| Transitioned vmx/execState/val to poweredOff
Sep 18 15:34:37.790: vmx| Vix: [140735088876576 mainDispatch.c:3661]: VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1
Sep 18 15:34:37.790: vmx| Vix: [140735088876576 mainDispatch.c:3661]: VMAutomation_ReportPowerOpFinished: statevar=2, newAppState=1877, success=1
Sep 18 15:34:37.790: vmx| Vix: [140735088876576 mainDispatch.c:3661]: VMAutomation_ReportPowerOpFinished: statevar=3, newAppState=1881, success=1
Sep 18 15:34:37.790: vmx| Panic: dropping lock (was bug 49968)
Sep 18 15:34:37.790: vmx| NOT_IMPLEMENTED bora/vmx/main/vmmonPosix.c:312
Sep 18 15:34:37.791: vmx| Core dump limit is 0 KB.
Sep 18 15:34:37.920: vmx| Child process 288 failed to dump core (status 0x6).
Sep 18 15:34:37.921: vmx| Backtrace:
Sep 18 15:34:37.923: vmx| Backtrace[0] 00007fff5fbfef60 rip=00000001003fdb05 rbx=0000000000000000 rbp=00007fff5fbfef90 r12=00000001003fd560 r13=00007fff5fbfef6c r14=00007fff5fbff500 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[1] 00007fff5fbfefa0 rip=0000000100019df0 rbx=0000000000000000 rbp=00007fff5fbff480 r12=00007fff5fbfefa0 r13=00007fff5fbff4c0 r14=00007fff5fbff500 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[2] 00007fff5fbff490 rip=000000010003e011 rbx=0000000000000001 rbp=00007fff5fbff490 r12=00007fff5fbff4a0 r13=00007fff5fbff4c0 r14=00007fff5fbff500 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[3] 00007fff5fbff4a0 rip=000000010003e969 rbx=0000000000000001 rbp=00007fff5fbff4f0 r12=00007fff5fbff4a0 r13=00007fff5fbff4c0 r14=00007fff5fbff500 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[4] 00007fff5fbff500 rip=000000010003f0ee rbx=00007fff5fbff500 rbp=00007fff5fbff680 r12=000000000000000a r13=0000000000000004 r14=0000000000000000 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[5] 00007fff5fbff690 rip=00000001000039bb rbx=00000001006931d0 rbp=00007fff5fbff6b0 r12=00000001006931c0 r13=0000000100693020 r14=00007fff5fbff6e0 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[6] 00007fff5fbff6c0 rip=0000000100019b39 rbx=0000000113801000 rbp=00007fff5fbff6c0 r12=0000000000000001 r13=0000000000000003 r14=00007fff5fbff6e0 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[7] 00007fff5fbff6d0 rip=0000000100003079 rbx=0000000113801000 rbp=00007fff5fbff750 r12=0000000000000001 r13=0000000000000003 r14=00007fff5fbff6e0 r15=00007fff5fbff6e0
Sep 18 15:34:37.923: vmx| Backtrace[8] 00007fff5fbff760 rip=0000000100003857 rbx=0000000000000003 rbp=00007fff5fbff890 r12=0000000000000003 r13=00007fff5fbff770 r14=000000000000000c r15=0000000000000000
Sep 18 15:34:37.924: vmx| SymBacktrace[0] 00007fff5fbfef60 rip=00000001003fdb05 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[1] 00007fff5fbfefa0 rip=0000000100019df0 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[2] 00007fff5fbff490 rip=000000010003e011 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[3] 00007fff5fbff4a0 rip=000000010003e969 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[4] 00007fff5fbff500 rip=000000010003f0ee in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[5] 00007fff5fbff690 rip=00000001000039bb in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[6] 00007fff5fbff6c0 rip=0000000100019b39 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[7] 00007fff5fbff6d0 rip=0000000100003079 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.924: vmx| SymBacktrace[8] 00007fff5fbff760 rip=0000000100003857 in function (null) in object /Library/Application Support/VMware Fusion/vmware-vmx loaded at 0000000100000000
Sep 18 15:34:37.925: vmx| Msg_Post: Error
Sep 18 15:34:37.925: vmx| [msg.log.error.unrecoverable] VMware Fusion unrecoverable error: (vmx)
Sep 18 15:34:37.925: vmx| NOT_IMPLEMENTED bora/vmx/main/vmmonPosix.c:312
Sep 18 15:34:37.925: vmx| [msg.panic.haveLog] A log file is available in "/var/folders/Bb/Bb5kr8hCFQq0qHcq9UoweU+++TI/-Tmp-//vmware-diskeeper/vmware-diskeeper-287.log".  [msg.panic.requestSupport.withLog] Please request support and include the contents of the log file.  [msg.panic.requestSupport.vmSupport.apple.menu]
Sep 18 15:34:37.925: vmx| To collect data to submit to VMware support, choose "Collect Support Information" from the Help menu.
Sep 18 15:34:37.925: vmx| You can also run "/Library/Application Support/VMware Fusion/vm-support.tool" directly.
Sep 18 15:34:37.925: vmx| [msg.panic.response] We will respond on the basis of your support entitlement.
Sep 18 15:34:37.925: vmx| ----------------------------------------


opiniatre 09-18-2010 06:22 PM

Wow it does feel snappier compare to legacy 10.4.0 kernel.
Vmware not working for me too parallel is.
Great work ! thanks

Imkantus 09-18-2010 11:46 PM

Quote:

Originally Posted by $The-King$ (Post 50769)
which files is needed to be patched with this tool
and is there need for sysenter patcher ?
thanks

Well the tool patches out sysenter traps as well as it is able to patch cpuid checks into interrupt 0xfb, like we already have been doing using good old maxxus patcher.
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:

Originally Posted by andyvand (Post 50750)
It does now for dyld.
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...

Anyway this is the best Snow Leopard XNU release for the AMD folks out there by now.
You have done a realy great job to the point and I hope you'll keep it going. ;)

$The-King$ 09-19-2010 01:18 AM

when patching with amd ins patcher
it says bus error

RayFlower 09-19-2010 02:52 AM

Quote:

Originally Posted by $The-King$ (Post 50781)
when patching with amd ins patcher
it says bus error

Same here:S

fumoboy007 09-19-2010 04:53 AM

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.

eMatoS 09-19-2010 06:18 AM

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...

fumoboy007 09-19-2010 07:01 AM

Quote:

Originally Posted by eMatoS (Post 50785)
@Fumoboy007, don't pay attention to what System Profiler (and many other apps) says, you should check in activity monitor for 64bit apps.

But it seems to be loading 32-bit kexts though…so…iunno. In the kernel logs it says "64 bit mode enabled" but it also says "Darwin Kernel Version 10.4.0: vr 17 sep 2010 14:40:38 CEST; annappirtrvh v4 :xnu-1504.7.4-legacy/BUILD/obj/RELEASE_I386"…i386?

I'm using the binary that andy uploaded…maybe it wasn't compiled for 64-bit? hehe..just a thought.

fumoboy007 09-19-2010 07:06 AM

Quote:

Originally Posted by fumoboy007 (Post 50786)
maybe it wasn't compiled for 64-bit?

WOAH…im actually right…i just did a "lipo -info" on that file and it's only i386!

fumoboy007 09-19-2010 07:13 AM

Quote:

Originally Posted by fumoboy007 (Post 50787)
WOAH…im actually right…i just did a "lipo -info" on that file and it's only i386!

…and since I don't know how to apply a patch…could someone upload the hybrid version of the kernel please =).

andyvand 09-19-2010 03:08 PM

Quote:

Originally Posted by $The-King$ (Post 50781)
when patching with amd ins patcher
it says bus error

With v after the 2 binaries it works but I've made a V2.
This release also strips code signatures from the binaries it patches (even on universal binaries).

andyvand 09-19-2010 03:10 PM

Quote:

Originally Posted by fumoboy007 (Post 50784)
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.

I'll make (compile) a 32+64bit kernel soon ;)

$The-King$ 09-19-2010 08:16 PM

thanks andy
hope next one will be more featured and x86-64 compile work because i love to work with x86-64 kernel

Imkantus 09-19-2010 10:42 PM

Quote:

Originally Posted by fumoboy007 (Post 50787)
WOAH…im actually right…i just did a "lipo -info" on that file and it's only i386!

You should read more precisely, no one here has ever said that the released binaries would be universal. Andy only wrote:

Quote:

It now builds for both 32/64bit easily.
And as I tried myself, I can confirm that it does. Just that the Kernel in BUILD/obj/RELEASE_X86_64 doesn't work nor it's possible to merge both builds into one universal bin file. ;)

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? ;)

eMatoS 09-19-2010 10:54 PM

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.

Imkantus 09-19-2010 11:27 PM

Thx, just installing latest flash player plugin (no preview release) did the trick for Safari... sometimes solutions are even closer as expected. :D

fumoboy007 09-19-2010 11:51 PM

Quote:

Originally Posted by Imkantus (Post 50804)
What would be the advantage you promise yourself from running 64-Bit Kernel? :) Even real Macs don't use this by default...

iunno…are my EXC_I386_DIV crashes related?

RayFlower 09-20-2010 12:49 AM

Got a geekbench error with this kernel:

http://img696.imageshack.us/img696/7...00920at121.png

$The-King$ 09-21-2010 03:08 PM

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

$The-King$ 09-24-2010 06:45 AM

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

andyvand 09-24-2010 02:57 PM

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.

$The-King$ 09-24-2010 03:19 PM

thanks andy you are very good i love your work :)
will test it ;)
with out you what will we do :D

$The-King$ 09-24-2010 03:56 PM

after first test
x86-64
not work dont know what is problem with x86-64 bulid

fumoboy007 09-24-2010 04:44 PM

-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.

gedna 09-24-2010 05:20 PM

new kernel work for me and with -force64 now, can some one tell me how to apply those patches? thanks

RayFlower 09-24-2010 05:43 PM

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.

gedna 09-24-2010 05:45 PM

what about amd_ins_patcher. ? is it necessary ?

fumoboy007 09-24-2010 10:00 PM

Quote:

Originally Posted by fumoboy007 (Post 50892)
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.

Also…the original legacy kernel allowed me to boot into 64-bit albeit without the ability to run 32-bit apps.

fumoboy007 09-25-2010 12:17 AM

Safari sometimes crashes
 
This happens sometimes:

Code:

Process:        Safari [885]
Path:            /Applications/Safari.app/Contents/MacOS/Safari
Identifier:      com.apple.Safari
Version:        5.0.2 (6533.18.5)
Build Info:      WebBrowser-75331805~1
Code Type:      X86 (Native)
Parent Process:  launchd [104]

Date/Time:      2010-09-24 19:15:01.943 -0400
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Interval Since Last Report:          536347 sec
Crashes Since Last Report:          88
Per-App Interval Since Last Report:  280553 sec
Per-App Crashes Since Last Report:  8
Anonymous UUID:                      E4732136-7A6B-4049-B557-9CD6BCAE719B

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000676966ee


davisin666 09-25-2010 01:52 AM

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
24-09-10 20:55:53        com.apple.launchd.peruser.501[104]        ([0x0-0x38038].com.apple.iTunes[339]) Exited: Killed


eMatoS 09-25-2010 02:42 AM

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
24/09/10 19:22:43        kernel        warning: using standard dyld with patcher enabled
24/09/10 22:25:15        kernel        MPlayer OSX Exte (map: 0x4a35520) triggered DYLD shared region unnest for map: 0x4a35520, region 0x7fff85000000->0x7fff85200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.

Another thing I've noticed is that "About this Mac" says Unknown CPU since V3 of your kernel, though I'm not sure if it's your kernel or Chameleon as I've been testing their latest RC5 release.

davisin666 09-25-2010 04:33 AM

I'll stay in V3 XD

$The-King$ 09-25-2010 05:16 AM

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

fxwizrd 09-25-2010 04:59 PM

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

andyvand 09-25-2010 08:34 PM

Quote:

Originally Posted by eMatoS (Post 50907)
Another thing I've noticed is that "About this Mac" says Unknown CPU since V3 of your kernel, though I'm not sure if it's your kernel or Chameleon as I've been testing their latest RC5 release.

It's probably Chameleon, try my branch as it has a CPU auto-detect fix.

andyvand 09-25-2010 08:36 PM

Quote:

Originally Posted by $The-King$ (Post 50910)
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

Try setting the patcher to forcing for every app it encounters with:
patcher_opts=50

=FORCE+CPUID+SYSENTER
=2+16+32