mikelikespie Posted May 20, 2008 Share Posted May 20, 2008 Hi, I have an Abit ip35-e motherboard and it crashes when I have 4 gb of ram. I can use the memmax=3072 to make it work. I tried disabling the JMicron controller in bios and moving the kext, but neither of those worked if I wanted to use all my memory. I attached a picture of the debug output. Also, I attached a C program to quickly see if a fix worked (memcheck and memcheck.c in memcheck.zip) quickly without waiting for it to crash. Basically run "./memcheck 4096" and it will try allocating 4gb of memory. If you compile it yourself do -O0 to be safe. If the app runs and doesn't crash your hackintosh you are good. Hope somebody can help. -Mike Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/ Share on other sites More sharing options...
Hagar Posted May 20, 2008 Share Posted May 20, 2008 try again with the attachments? Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-752492 Share on other sites More sharing options...
mikelikespie Posted May 20, 2008 Author Share Posted May 20, 2008 try again with the attachments? memcheck.zip Sorry! I fail Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-752501 Share on other sites More sharing options...
Hagar Posted May 20, 2008 Share Posted May 20, 2008 Wel, I've managed to get rid of my jmicron by moving my DVD drive to firewire, disabling the controller & removing the kext. I still have some very characteristic hangs, though, so I tried your memcheck. it throws a lot of: *** set a breakpoint in malloc_error_break to debug memcheck(331) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region but essentially it runs, and completes, although the system tends to hang (in a very familiar way) whilst it is running, it was fine afterwards. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-752520 Share on other sites More sharing options...
mikelikespie Posted May 20, 2008 Author Share Posted May 20, 2008 Wel, I've managed to get rid of my jmicron by moving my DVD drive to firewire, disabling the controller & removing the kext. I still have some very characteristic hangs, though, so I tried your memcheck. it throws a lot of: *** set a breakpoint in malloc_error_break to debug memcheck(331) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region but essentially it runs, and completes, although the system tends to hang (in a very familiar way) whilst it is running, it was fine afterwards. The malloc errors are supposed to happen. It will allocate as much memory as it can, then it writes to it. The reason why it causes things to hang is that it swaps out all your memory to disk, so apps will run slow for a bit because all their memory is swapped to disk. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-752527 Share on other sites More sharing options...
mikelikespie Posted May 21, 2008 Author Share Posted May 21, 2008 So there's no real fix for this issue yet aside from the maxmem workaround? I just realized I had posted this in the OSx86 general. Could a moderator move it to the Leopard section? Thanks, Mike Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-753504 Share on other sites More sharing options...
sg Posted May 21, 2008 Share Posted May 21, 2008 you can see the VIAATA kext causing the crash, doesn't your board use like ICH9? if so remove the VIAATA kext. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-753816 Share on other sites More sharing options...
Suhail Posted May 21, 2008 Share Posted May 21, 2008 I did the test and it didn't crash, just made the computer slow while it was running. Does that mean my Mac can utilise the full 4GB? Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-753908 Share on other sites More sharing options...
sg Posted May 21, 2008 Share Posted May 21, 2008 the only issue with 4gigs of ram is if you have jmicron hardware or using the viaata kext. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-754089 Share on other sites More sharing options...
mikelikespie Posted May 21, 2008 Author Share Posted May 21, 2008 I did the test and it didn't crash, just made the computer slow while it was running. Does that mean my Mac can utilise the full 4GB?Yeah it means you can run 4 gigs. It's supposed to run slowthe only issue with 4gigs of ram is if you have jmicron hardware or using the viaata kext.I disabled JMicron in bios and renamed the kext, and it still didnt' fix it. Is there any other workaround? I'll try the VIAATA kext thing, but I didn't think I had a via ata controller. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-754303 Share on other sites More sharing options...
Envying Posted May 21, 2008 Share Posted May 21, 2008 mIKE, HAVE YOU REFLASHED YOUR eXTENSIONS.MKEXT AFTER YOU DID YOUR CHANGES BY DELETING IT OR BOOT -F? Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-754395 Share on other sites More sharing options...
evopanop Posted May 22, 2008 Share Posted May 22, 2008 Guys, what exactly do I do to modify my maxmem? A guide would be great! Thanks in advance. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-755401 Share on other sites More sharing options...
mikelikespie Posted May 23, 2008 Author Share Posted May 23, 2008 Guys, what exactly do I do to modify my maxmem? A guide would be great! Thanks in advance. Edit /Library/Preferences/SystemConfiguration/com.apple.Boot.plist Change the line after Kernel Flags to <string>debug=0x100 maxmem=3072</string> Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-755933 Share on other sites More sharing options...
mikelikespie Posted May 23, 2008 Author Share Posted May 23, 2008 you can see the VIAATA kext causing the crash, doesn't your board use like ICH9? if so remove the VIAATA kext. Causes my stuff to crash. Also, can't turn my SATA into ahci mode in BIOS. Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-755994 Share on other sites More sharing options...
SupraBlur Posted September 8, 2008 Share Posted September 8, 2008 So if this work out, is it safe to say I can go up to 8GB now? Kalyway Leopard 10.5.2 Dell PowerEdge SC1430 Dual Quad-core Xeon 4GB Crucial -Ray Link to comment https://www.insanelymac.com/forum/topic/105848-4gb-memory-crash-good-way-to-test/#findComment-883268 Share on other sites More sharing options...
Recommended Posts