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