InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 08-07-2010, 09:51 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
10.3.0 Qoopz + AnV kernel rel3

I've finished the preliminary work on the new kernel (with on-the-fly patching).
There are still 2 issues to be resolved:
- The custom dyld doesn't work for all apps, if somebody could check my patch...
If problems with it you can use the standard dyld with boot argument
std_dyld=Yes
- Because I don't know how Snow Leopard precisely decrypts the segments I am currently using stock loading code for encrypted binaries, hereby they won't be patched.
If somebody could whip up a decryption routine it will work without any flaws.
Other than that everything works fine.
Enjoy
Sources are also included (+ old and new diffs)
Download (Fixed Link):
http://rapidshare.com/files/41173344..._Rel3.zip.html

Last edited by andyvand; 08-08-2010 at 01:02 PM.
Reply With Quote
  #2  
Old 08-07-2010, 01:03 PM
RayFlower RayFlower is offline
Jaguar
 
Join Date: Jan 2010
Posts: 93
Quote:
The file is not fully saved at RapidShare yet. This file is possibly still being uploaded.
Please try again later.
I'm just wondering if you could share the system.kext(or was it seatbelt?) too since I'm on 10.6.4, would like to avoid any kernel panics?

Anyhow, can't wait to try it, hope it will at least solve my issues with my AU plugins in logic and steam
Reply With Quote
  #3  
Old 08-07-2010, 07:02 PM
eMatoS's Avatar
eMatoS eMatoS is offline
 
Join Date: Jan 2008
Location: Argentina
Posts: 185
Can't be downloaded yet, will try as soon as I can

CPU: AMD Athlon 64 3000+ @2.3Ghz - Motherboard: ASUS A8N-SLI nForce4 SLI - nForceLAN by eno - SuperNForceATA by Medevil - RAM:2 GB DDR 333Mhz Audio: ALC850 Video: XFX nVidia GeForce 8400GS 256Mb (0x06e4) QE & CI from Chameleon 2 RC4Ethernet: Realtek RTL 8139 Series (working out of the box) OS: Snow Leopard 10.6.4 (aryajuanda's guide) + Windows XP 64bits
Reply With Quote
  #4  
Old 08-08-2010, 12:47 PM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Hey Andy,

This sounds like the most important milestone in the process of making Snow Leopard XNU more comfortable for AMD users has finaly been reached, too bad it looks like something went wrong when uploading it.

I hope you are going to provide working download mirror soon, I can't wait to test on-the-fly patching feature.

Just some of my noobish thaughts about the left issues:

Quote:
Originally Posted by andyvand View Post
- The custom dyld doesn't work for all apps, if somebody could check my patch...
If problems with it you can use the standard dyld with boot argument
std_dyld=Yes
If I use " std_dyld=Yes" would on-the-fly-patching stop to work for loading dynamic libraries? / Is your custom dyld even causing problems if the Kernel would be forced to boot 32-Bit like when using the "-legacy" flag on the good old Voodoo?

Quote:
Originally Posted by andyvand View Post
- Because I don't know how Snow Leopard precisely decrypts the segments I am currently using stock loading code for encrypted binaries, hereby they won't be patched.
If somebody could whip up a decryption routine it will work without any flaws
On 10.6.3 and 10.6.4 I have had only one encrypted binary that required beeing patched, which is /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer - having it CPUID-patched is necessary for volume control in menubar to work when using AppleHDA.kext
Replacing the original with the decrypted one created by Marvin's AMD Utility and then patching it using Maxxus Patcher worked like a charm.

I would even appreaciate having kind of "dirty" workaround beeing kernel-integrated for that... Do you think there might be a way at this moment?

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote
  #5  
Old 08-08-2010, 01:03 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Sorry about the messed up link, it seemed it didn't upload completely.
You can now download the files, please do a lot of testing on them
Reply With Quote
  #6  
Old 08-08-2010, 01:07 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by Imkantus View Post
Hey Andy,

This sounds like the most important milestone in the process of making Snow Leopard XNU more comfortable for AMD users has finaly been reached, too bad it looks like something went wrong when uploading it.

I hope you are going to provide working download mirror soon, I can't wait to test on-the-fly patching feature.

Just some of my noobish thaughts about the left issues:


If I use " std_dyld=Yes" would on-the-fly-patching stop to work for loading dynamic libraries? / Is your custom dyld even causing problems if the Kernel would be forced to boot 32-Bit like when using the "-legacy" flag on the good old Voodoo?

On 10.6.3 and 10.6.4 I have had only one encrypted binary that required beeing patched, which is /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer - having it CPUID-patched is necessary for volume control in menubar to work when using AppleHDA.kext
Replacing the original with the decrypted one created by Marvin's AMD Utility and then patching it using Maxxus Patcher worked like a charm.

I would even appreaciate having kind of "dirty" workaround beeing kernel-integrated for that... Do you think there might be a way at this moment?
It can't decrypt and patch them at this moment, if somebody knows precisely how it decrypts the segment using the new dsmos_page_transform function, please let me know and then I can fix this.
You can use the stock dyld and force patching using
std_dyld=Yes patcher_opts=2
The dyld may need a review or the other option is a patched stock one (without sysenter traps...)
I'll keep looking into this and will also provide a 10.4.0 as soon as I've made one.
Reply With Quote
  #7  
Old 08-08-2010, 08:51 PM
RayFlower RayFlower is offline
Jaguar
 
Join Date: Jan 2010
Posts: 93
Just tried it, boots fine i guess, got some errors i didn't see before which i belive is related to this kernel.

Quote:
patch_text_segment failed
Also when i tried to open Logic Express i get:

Quote:
Process: Logic Express [319]
Path: /Applications/Logic Express.app/Contents/MacOS/Logic Express
Identifier: com.apple.logic.express
Version: 9.1.1 (1697.53)
Build Info: Logic-16975300~1
Code Type: X86 (Native)
Parent Process: launchd [272]

Date/Time: 2010-08-08 21:27:30.876 +0200
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6

Interval Since Last Report: 99302 sec
Crashes Since Last Report: 12
Per-App Interval Since Last Report: 2926 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 2334A393-F991-4FA5-A620-71EBE20BA4DF

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: Unknown

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x0309e000 ebx: 0x0310cec4 ecx: 0x0000004e edx: 0x00000007
edi: 0xbfffedbf esi: 0x0b168e30 ebp: 0xbfffedd8 esp: 0xbfffed9c
ss: 0x0000001f efl: 0x00010282 eip: 0x00000000 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000
And starcraft 2 says:

Quote:
Process: SC2 [403]
Path: /Volumes/Hackintosh HD/Diverse/StarCraft II/Versions/Base15405/SC2.app/Contents/MacOS/SC2
Identifier: com.blizzard.starcraft2
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [272]

Date/Time: 2010-08-08 21:33:58.603 +0200
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6

Interval Since Last Report: 99681 sec
Crashes Since Last Report: 53
Per-App Crashes Since Last Report: 2
Anonymous UUID: 2334A393-F991-4FA5-A620-71EBE20BA4DF

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: Unknown

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x8fe3ade0 ebx: 0x8fe0479b ecx: 0x8fe0a5bb edx: 0x00000001
edi: 0x00000000 esi: 0x8fe3ae20 ebp: 0xbfffec78 esp: 0xbfffec5c
ss: 0x0000001f efl: 0x00000246 eip: 0x8fe01065 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xffe3d6ec

Binary images description not available
And steam doesn't respond for some unknown reason.

Anyhow I'm gonna update this post a bit since i need to test it with -force64 and with standard dyld.

EDIT:

AFP seems be be broken with this kernel running on a 10.6.4 system, I don't know if thats just a natural side effect of using a older kernel with a newer system though.

Quote:
Aug 9 13:22:36 Macpro kernel[0]: Failed to load executable for kext com.apple.filesystems.afpfs.
Aug 9 13:22:36 Macpro kernel[0]: Kext com.apple.filesystems.afpfs failed to load (0xdc008016).
-force64 doesn't seem to work for me with this kernel, and the computer reboots before i can see what the issue is, anyhow i use this kernel on a manually patched system but with std_dyld=Yes patcher_opts=2 I'm pretty much stuck with the same issues i had with the 10.6.4 kernel.
But by all means thank you for your effort and I'm certain that it will only be a matter of time before the collective effort of the osx86 community will manage to make the necessary changes to have a fully working dyld on amd systems, this is a huge step

Last edited by RayFlower; 08-09-2010 at 12:28 PM.
Reply With Quote
  #8  
Old 08-08-2010, 11:26 PM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
OK; Here comes my short first testing experience:

I made a complete new Snow Leopard Installation & added 10.6.4 Combo Update + the necessary patches for my hardware to work + the new Kernel. (CPUIDs remain unpatched).

On first boot I was stuck with just the mouse cursour and a grey background - booting using std_dyld=Yes made the Welcome-Multiple-Languages-Video and the first boot assistant beeing launched.

Quote:
Originally Posted by andyvand View Post
You can use the stock dyld and force patching using
std_dyld=Yes patcher_opts=2
I have tried that, but the patcher still doesn't work.

Using the custom dyld my self-calibrated colour profile doesn't load - just after selecting it manually in system-prefernces gets it used.
For the moment I haven't tried much Apps, but have not experied any other malfunction related to the customized dyld as well....

I am going to stay with manually patched system for productive usage for the moment, but ofcourse I'll keep testing the new kernel + future builds & keep reporting my further experiences with using it.

Screenshot of iTunes working fine using on-the-fly patcher:



Thank you very much for all your efforts and work invested into the OSx86-XNU development.

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote
  #9  
Old 08-17-2010, 09:06 PM
$The-King$ $The-King$ is offline
 
Join Date: Jul 2010
Posts: 67
GOOD work
i will try it on phenom ii x4 955
hope 10.4 realse quickly

only work on x86
when boot in 64 just restart
like pcj in 64 give panic
and same all 10.6 kernel give panic in sata raid mode
hope this problem solved

Last edited by $The-King$; 08-17-2010 at 09:28 PM.
Reply With Quote
  #10  
Old 08-18-2010, 08:12 AM
gedna gedna is offline
Jaguar
 
Join Date: May 2009
Posts: 52
jus wondering, tried this kernel. got some errors, not perfect yet, but the question is , any chance to have 32/64 bit side by side like on intel? or just 32bit only on amd?



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply
Thread Tools
Display Modes