InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #51  
Old 09-13-2010, 06:41 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by eMatoS View Post
Would you mind patching dashboardclient.app too? I can't run any non-apple widget and it used to work fine in 32bit mode. Do you have this problem?
Have you tried getting info on Dashboard.app and forcing it to run in 32bit mode?
Other option is to fix the 64bit part too (patching cpuids manually and thus changing cpuid to int 0xFB, thus 0f a2 becomes cd fb)...
I'll check the DashboardClient framework myself
EDIT: The DashboardClient framework has no cpuids inside (x86_64 version), I'll check the Dashboard.app
Nope, it's not cpuid related. I would need more info to even figure out what the problem is here...
But try to run Dashboard.app in 32bit mode, it may be SSSE3 related...

Last edited by andyvand; 09-13-2010 at 06:45 PM.
Reply With Quote
  #52  
Old 09-13-2010, 06:49 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by eMatoS View Post
no matching architecture in universal wrapper
Are those widgets also 64bit?
Do a file <path_to_binary> to check this.
Otherwise force dashboard to run in 32bit... (get info on Dashboard.app, check "run in 32bit")
Reply With Quote
  #53  
Old 09-13-2010, 07:48 PM
davisin666 davisin666 is offline
 
Join Date: Feb 2010
Location: Santiago, Chile
Posts: 98
Mmmm

Quote:
Originally Posted by eMatoS View Post
@davisin666: I've noticed a while ago many crashreports from quicklook when it tried to preview some movie files. Now I'm running your modified quicklook and it's working just fine, thanks a lot!
After the quicklook replacement I've tested FrontRow and it seems to work as expected, though I haven't tested it much. Just so you know, I've never patched/cpuid frontrow app cause it always crashes if I do so.

EDIT: Would you mind patching dashboardclient.app too? I can't run any non-apple widget and it used to work fine in 32bit mode. Do you have this problem?
My dashboard is running fine, I have installed iStatPro, Tumblr, Cyberduck, etc and they are working great, but in some widgets there are artifacts, maybe because I use efi strings for the video injection, perhaps NVEnabler will work better...

My system is:
AMD Athlon X2 5200+ @ 3.01
EVGA 9800gt 512mb superclocked DDR3
4Gb ram 800
MSI K9N2GM-FD (Geforce 8200, MCP78 chipset)
1TB WD 64mb + 300gb WD osx86 Sata
IDE DVD Writer

DVD: SnowLeo 10.6.0 + combo update 10.6.4.
Bios: HPET Enabled, AHCI and DSDT patched

Works all fine except the sleep and IDE, but IDE works slowly with AppleGenericPCAta.kext
Reply With Quote
  #54  
Old 09-13-2010, 08:56 PM
eMatoS's Avatar
eMatoS eMatoS is offline
 
Join Date: Jan 2008
Location: Argentina
Posts: 185
I've tried to force the app (/Applications/Dashboard.app and also /System/Library/CoreServices/Dock.app/Contents/Resources/DashboardClient.app) to run in 32bit but it always opens in 64bit, no matter what.

This is the output to file <path> from 2 of thoes problematic widgets:

Code:
.../Currency Converter.wdgt/RoundPlugin.widgetplugin/Contents/MacOS/RoundPlugin: Mach-O universal binary with 2 architectures
.../Currency Converter.wdgt/RoundPlugin.widgetplugin/Contents/MacOS/RoundPlugin (for architecture ppc):	Mach-O bundle ppc
.../Currency Converter.wdgt/RoundPlugin.widgetplugin/Contents/MacOS/RoundPlugin (for architecture i386):	Mach-O bundle i386

.../TunesTEXT.wdgt/TunesTEXTPlugin.widgetplugin/Contents/MacOS/TunesTEXTPlugin: Mach-O universal binary with 2 architectures
.../TunesTEXT.wdgt/TunesTEXTPlugin.widgetplugin/Contents/MacOS/TunesTEXTPlugin (for architecture i386):	Mach-O bundle i386
.../TunesTEXT.wdgt/TunesTEXTPlugin.widgetplugin/Contents/MacOS/TunesTEXTPlugin (for architecture ppc):	Mach-O bundle ppc
So, the problem seems to be related to dashboard running only in 64bit and trying to open 32bit widgets. I'll try to slim the dashboard binaries to 32bit only and check again.
Thank you guys for your help, what a great community.



EDIT: could it be that this is the binary that loads the widgets? And as I cannot simply set it to 32bit in the info panel I've never tested it in 32bit.

Code:
file /System/Library/PrivateFrameworks/DashboardClient.framework/Versions/A/DashboardClient 
DashboardClient: Mach-O universal binary with 3 architectures
DashboardClient (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
/DashboardClient (for architecture i386):	Mach-O dynamically linked shared library i386
/DashboardClient (for architecture ppc7400):	Mach-O dynamically linked shared library ppc

EDIT #2: As expected, it was the DashboardClient.app (System/Library/CoreServices/Dock.app/Contents/Resources) that was causing all the troubles. The shady thing is that it won't run in 32bit (with the info check) unless I delete the 64bit arch from the binary. Well it's all right now, and again, thank you all for your help and happy 64bit!!!

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

Last edited by eMatoS; 09-13-2010 at 09:38 PM.
Reply With Quote
  #55  
Old 09-13-2010, 09:53 PM
rbm rbm is offline
Cheetah
 
Join Date: Sep 2009
Posts: 5
Hi Andy, compiled and installed llvm-2.7 but cctools still not working. Do you know what fails ?

[3] Processing cctools (cctools-750) (1 min) 22:46:54
Extracting (cctools-750.tar.gz)...
Patching (cctools-750.diff)...
Building...
cc -O -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -fno-builtin-round -fno-builtin-trunc -I. -I./../include -I. -o ./indr.NEW \
./indr.private.o
cc -O -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -fno-builtin-round -fno-builtin-trunc -I. -I./../include -I. -c -MD -dependency-file \
./strip.d -o ./strip.o strip.c
strip.c:50:31: error: mach-o/prune_trie.h: No such file or directory
strip.c: In function ‘strip_symtab’:
strip.c:3661: warning: implicit declaration of function ‘prune_trie’
strip.c:3665: warning: assignment makes pointer from integer without a cast
make[1]: *** [strip.o] Error 1
make: *** [all] Error 1
ERROR
Reply With Quote
  #56  
Old 09-13-2010, 10:39 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
it's prune_trie.h not being there
It's available from the ld64 package but I'll just upload the file
Attached Files
File Type: zip prune_trie.h.zip (1.6 KB, 15 views)
Reply With Quote
  #57  
Old 09-14-2010, 01:30 AM
davisin666 davisin666 is offline
 
Join Date: Feb 2010
Location: Santiago, Chile
Posts: 98
Code:
Process:         Adobe Premiere Pro CS5 [3472]
Path:            /Applications/Adobe Premiere Pro CS5/Adobe Premiere Pro CS5.app/Contents/MacOS/Adobe Premiere Pro CS5
Identifier:      com.adobe.AdobePremierePro
Version:         5.0.0 (5.0.0)
Code Type:       X86-64 (Native)
Parent Process:  launchd [390]

Date/Time:       2010-09-13 20:29:29.815 -0400
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Interval Since Last Report:          103029 sec
Crashes Since Last Report:           65
Per-App Interval Since Last Report:  29 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      96ED110B-EEC0-4544-8302-92C6B24603EE

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

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
  rax: 0x000000000000000a  rbx: 0x000000000000000a  rcx: 0x0000000000000007  rdx: 0x00007fff5fbfc7d0
  rdi: 0x000000000000000a  rsi: 0x000000000000000a  rbp: 0x00007fff5fbfc5b0  rsp: 0x00007fff5fbfc580
   r8: 0x0000000100591ee8   r9: 0x000000010d3fc0a4  r10: 0x0000000000000007  r11: 0x0000000010d31ea5
  r12: 0x00000001054240a8  r13: 0x00007fff5fbfcb10  r14: 0x00000001054240a8  r15: 0x00007fff5fbfcb20
  rip: 0x00007fff853746d7  rfl: 0x0000000000010202  cr2: 0x000000000000000a

Binary images description not available


Model: MacPro5,1, BootROM MP21.005C.B01, 2 processors, Intel Core Duo, 3.01 GHz, 4 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
PCI Card: GeForce 9800 GT, Display, Slot-3
Serial ATA Device: WDC WD10EARS-00Y5B1, 931,51 GB
Serial ATA Device: WDC WD3000JS-00PDB0, 279,46 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-H10N
USB Device: PS/2+USB Mouse, 0x09da  (A-FOUR TECH CO., LTD.), 0x000a, 0x04100000
USB Device: Generic USB Hub, 0x058f  (Alcor Micro, Corp.), 0x9254, 0x02300000
USB Device: CIF Single Chip, 0x093a  (Pixart Imaging, Inc.), 0x2470, 0x02200000
Adobe Premiere Pro CS5 doesn't work, it's the only application that doesn't work in the Master Collection CS5 (at least for me)
And it's the app what I need

And Adobe OnLocation CS5


Code:
Process:         Adobe OnLocation [3734]
Path:            /Applications/Adobe OnLocation CS5/Adobe OnLocation CS5.app/Contents/MacOS/Adobe OnLocation
Identifier:      com.adobe.AdobeOnLocation
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [390]

Date/Time:       2010-09-13 20:45:52.760 -0400
OS Version:      Mac OS X 10.6.4 (10F569)
Report Version:  6

Interval Since Last Report:          104011 sec
Crashes Since Last Report:           67
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      96ED110B-EEC0-4544-8302-92C6B24603EE

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000178bfbff
Crashed Thread:  Unknown

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
  eax: 0x178bfbff  ebx: 0x005fc0bd  ecx: 0x00002001  edx: 0xe0000000
  edi: 0xe78bfbff  esi: 0x00002001  ebp: 0xbfffd668  esp: 0xbfffd660
   ss: 0x0000001f  efl: 0x00010286  eip: 0x003fdce3   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x178bfbff

Binary images description not available


Model: MacPro5,1, BootROM MP21.005C.B01, 2 processors, Intel Core Duo, 3.01 GHz, 4 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
PCI Card: GeForce 9800 GT, Display, Slot-3
Serial ATA Device: WDC WD10EARS-00Y5B1, 931,51 GB
Serial ATA Device: WDC WD3000JS-00PDB0, 279,46 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-H10N
USB Device: PS/2+USB Mouse, 0x09da  (A-FOUR TECH CO., LTD.), 0x000a, 0x04100000
USB Device: Generic USB Hub, 0x058f  (Alcor Micro, Corp.), 0x9254, 0x02300000
USB Device: CIF Single Chip, 0x093a  (Pixart Imaging, Inc.), 0x2470, 0x02200000
EDIT: Those programs require SSSE3, ----!

Code:
13-09-10 21:02:11	[0x0-0xff0ff].com.adobe.AdobePremierePro[4044]	Fatal Error: This program was not built to run on the processor in your system.
13-09-10 21:02:11	[0x0-0xff0ff].com.adobe.AdobePremierePro[4044]	The allowed processors are: Intel(R) Core(TM) Duo processors and compatible Intel processors with supplemental Streaming SIMD Extensions 3 (SSSE3) instruction support.
Anyway, I will try Final Cut Express 4
Thanks

Last edited by davisin666; 09-14-2010 at 02:06 AM.
Reply With Quote
  #58  
Old 09-14-2010, 07:02 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
I updated the diffs so that they include my latest patches.
Included in the dyld.c part is the patched dyld for AMD.
I also have fixed the having to boot with patcher_opts=2 issue (it now defaults to this on no boot argument)

Download kernel diff:
http://rapidshare.com/files/41905953...dated.diff.zip
EDIT: Fixed minor issue with cpu types...

Binary build of the kernel I will publish soon
This is thus based on the new Legacy kernel

Last edited by andyvand; 09-14-2010 at 08:20 PM.
Reply With Quote
  #59  
Old 09-14-2010, 09:11 PM
rbm rbm is offline
Cheetah
 
Join Date: Sep 2009
Posts: 5
Hi Andy. Impossible to compile cctools. After install prune_trie.h and libprunetrie.a from the package ld64 I get a new error. Any solution ?

3] Processing cctools (cctools-750) (1 min) 22:02:01
Extracting (cctools-750.tar.gz)...
Patching (cctools-750.diff)...
Building...
Executing command...
Executing command...
Building...
../../include/mach-o/rld.h:34: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:40: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:48: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:51: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:56: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:60: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:64: error: expected ‘)’ before ‘*’ token
../../include/mach-o/rld.h:71: error: expected ‘)’ before ‘*’ token
make[1]: *** [layout.o] Error 1
make: *** [kld_build] Error 2
ERROR
Reply With Quote
  #60  
Old 09-14-2010, 10:16 PM
davisin666 davisin666 is offline
 
Join Date: Feb 2010
Location: Santiago, Chile
Posts: 98
XD

Quote:
Originally Posted by andyvand View Post
I updated the diffs so that they include my latest patches.
Included in the dyld.c part is the patched dyld for AMD.
I also have fixed the having to boot with patcher_opts=2 issue (it now defaults to this on no boot argument)

Download kernel diff:
http://rapidshare.com/files/41905953...dated.diff.zip
EDIT: Fixed minor issue with cpu types...

Binary build of the kernel I will publish soon
This is thus based on the new Legacy kernel
How I patch the kernel???



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

Reply With Quote
Reply