InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   AMD sysenter trap patch (10.6.4) (http://infinitemac.com/showthread.php?t=6498)

kugatsu 08-24-2010 09:48 AM

1 Attachment(s)
First, I want to say "Thank You" Andy. My AMD Phenom II 550 BE with 8GB of ram is finally able to run Snow Leopard the way it was meant to - Perfectly. :D

I can launch every default app that comes with SL with very little problems. For anyone interested in how I did it, here are the basic steps I followed:

I installed Snow Leopard using the "SnowLeoDVD". I then upgraded to 10.6.4 using the combo update and legacy_kernel-10.4.0 from "kexts.com".

I had to boot the system at that time using the following kernel flags:
busratio=20 maxmem=4096 arch=i386

I DID NOT use Marvin's AMD utility.

I applied a dsdt.aml to my Snow Leopard Volumes root directory.

I download and installed AnV's latest kernel - "AnV_Qoopz_xnu_10.4.0_Rel4" and the AMD_sysenter_10.6.4_patcher. From there, I installed the kernel as "Anv" and I applied the patcher files. From there I rebooted the system with the following flags: Anv (for the new kernel) busratio=20 patcher_opts=2 arch=i386 -force64 maxmem=8188 (for the full amount of my ram) and... THE SYSTEM BOOTED! :D

Strangely enough, my Processor was automatically recognized as an "Intel Core Duo". I had the full 8GB or ram that I've always wanted. And I could finally install Adobe After Effects CS5!!

Thanks again Andy for showing us AMD users some love.

davisin666 09-02-2010 02:20 AM

Lol
 
When i click on Downloads stack on dock, it panics

Code:

Process:        quicklookd [334]
Path:            /System/Library/Frameworks/QuickLook.framework/Resources/quicklookd.app/Contents/MacOS/quicklookd
Identifier:      com.apple.QuickLookDaemon
Version:        2.2 (327.4)
Build Info:      QuickLook-3270400~4
Code Type:      X86-64 (Native)
Parent Process:  launchd [106]

Date/Time:      2010-09-01 21:18:05.395 -0400
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Interval Since Last Report:          169836 sec
Crashes Since Last Report:          51
Per-App Interval Since Last Report:  67065 sec
Per-App Crashes Since Last Report:  31
Anonymous UUID:                      96ED110B-EEC0-4544-8302-92C6B24603EE

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread:  Unknown

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000000000000  rcx: 0x000000000000007f  rdx: 0x0000000000000000
  rdi: 0x00007fff70a5c780  rsi: 0x00000000ffffffef  rbp: 0x000000010138aaa0  rsp: 0x000000010138aa70
  r8: 0x00007fff70a5c780  r9: 0x000000001001384f  r10: 0x0000000000000052  r11: 0x00007fff70a6aca0
  r12: 0x000000010013a960  r13: 0x0000000000000000  r14: 0x0000000122e14000  r15: 0x00000001001386c0
  rip: 0x00007fff8588526b  rfl: 0x0000000000010246  cr2: 0x00007fff70a5c790

Binary images description not available


Model: MacPro4,1, BootROM MP21.005C.B01, 2 processors, Intel Core Duo, 3.22 GHz, 2 GB, SMC 1.30f3
Graphics: GeForce 9800 GT, GeForce 9800 GT, PCIe, 512 MB
Memory Module: global_name
Network Service: Ethernet Adaptor (en2), Ethernet, en2
Serial ATA Device: WDC WD3000JS-00PDB0, 279,46 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-H10N
USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0605, 0x22300000
USB Device: DataTraveler 2.0, 0x0951  (Kingston Technology Company), 0x1607, 0x22340000
USB Device: PS/2+USB Mouse, 0x09da  (A-FOUR TECH CO., LTD.), 0x000a, 0x04200000
USB Device: Generic USB Hub, 0x058f  (Alcor Micro, Corp.), 0x9254, 0x04100000
USB Device: psc 1310 series, 0x03f0  (Hewlett Packard), 0x3f11, 0x02200000
USB Device: CIF Single Chip, 0x093a  (Pixart Imaging, Inc.), 0x2470, 0x02100000

SSSE3 Emulator should come!!! xD

mousex888 09-11-2010 09:17 AM

1 Attachment(s)
it works! AMD7750

but,itune crash,
Sep 12 14:08:03 mousex888Server [0x0-0x2d02d].com.apple.iTunes[2764]: dyld: shared cached file was build against a different libSystem.dylib, ignoring cache

I boot with -force64

andyvand 09-12-2010 09:39 AM

Quote:

Originally Posted by mousex888 (Post 50623)
it works! AMD7750

but,itune crash,
Sep 12 14:08:03 mousex888Server [0x0-0x2d02d].com.apple.iTunes[2764]: dyld: shared cached file was build against a different libSystem.dylib, ignoring cache

I boot with -force64

Do an
sudo update_dyld_shared_cache
in Terminal and follow information for my kernel to be installed and it should work...
My kernel offers a way to force the code signatures (which let iTunes crash) to valid...

lazybon3 09-25-2010 10:53 AM

Thank you! Great work!

This patch worked pretty well for me with your 10.4.0 Kernel.
I booted with Kernel Flags: arch=i386_x64 -force64 patcher_opts=2

I used the patcher on my files. The only thing strange:
In my /usr/lib/ Directory these files >>

libSystem.B_debug.dylib
libSystem.B_profile.dylib

were missing.

So i used your prepatched ones.


Here is a little Feedback:

32Bit Apps working, 64Bit Apps working, Quicktime working.
Additional Keyboard Stuff (Volume +/- / Mute) not working.
There isnt even any Feedback on these Buttons.
Frontrow not working.

All in all pretty amazing work, but i am switching back to legacy_kernel (10.4.0) for now since i would miss my Volume Buttons too much.

Imkantus 09-25-2010 01:31 PM

Quote:

Originally Posted by lazybon3 (Post 50911)
Additional Keyboard Stuff (Volume +/- / Mute) not working.
There isnt even any Feedback on these Buttons.
[...]

All in all pretty amazing work, but i am switching back to legacy_kernel (10.4.0) for now since i would miss my Volume Buttons too much.

Ensure to have undecrypted / unpatched SystemUIServer ! ;)

cjhmdm 10-27-2010 03:33 AM

Hi, could you guys please include instructions on how to actually use this tool? Not all of us just up and know how to do something out of the box, and google isn't much help when searching for info on how to use it...

thanks

the.dude137 11-21-2010 03:38 AM

Quote:

Originally Posted by cjhmdm (Post 51221)
Hi, could you guys please include instructions on how to actually use this tool? Not all of us just up and know how to do something out of the box, and google isn't much help when searching for info on how to use it...

thanks

+1please I'm new to this can't find any info on how to run this patch thanks

RayFlower 11-22-2010 11:10 PM

Quote:

Originally Posted by cjhmdm (Post 51221)
Hi, could you guys please include instructions on how to actually use this tool? Not all of us just up and know how to do something out of the box, and google isn't much help when searching for info on how to use it...

thanks

Uhm, well to get the basics fixed you need to at least patch /usr/lib/libSystem.B.dylib

I assume you have at least basic bash knowledge, well try these instructions anyway:
http://osx86.co/f36/10-6-5-is-avaibl...post51373.html

But it seems that a lot more than that one needs to be patched to get a fully working system, if someone with some scripting knowledge felt like it, it would be nice if they could create a script that searches for these instructions system wide to get rid of the errors, well or even nicer, on the fly patching via the kernel:)