AppleVIAATA over 4gb RAM bug solved (at least i believe so)! JMicron and AppleNForceATA at development, For those who has trouble with ATA drivers and more than 4gb of ram. |
AppleVIAATA over 4gb RAM bug solved (at least i believe so)! JMicron and AppleNForceATA at development, For those who has trouble with ATA drivers and more than 4gb of ram. |
|
slashack
InsanelyMac Geek
|
![]() |
Sep 23 2008, 07:38 AM Post #1
|
![]() ![]() ![]()
|
Last update: 11/12/2008
Basically, the problem is when you have more than 3 gb of ram (some says 2.5 gb) and AppleVIAATA, JMicronATA, AppleNForceATA or AppleATIATA driver. In my case, I've got 2 IDE HDD and when I upgraded to 4 gb of ram, my desktop started to freeze, or give kernel panics (AppleVIAATA). After some hours of googling and looking for the driver to solve my issue, i finally made a custom driver that made it. The problem was that AppleVIAATA driver used 32 bits addresses to make DMA. In an environment with 4 gb of ram, you need 64 bits addresses. I've rewritten some code so that this kext uses a kernel api which supports 64 bits. I think the problem is solved. To generate kernel panics, i used Rember to test all memory, and while this was running, i started to browse mi IDE hdd. After rewriting the driver, i had no more panics! FAQ: 1- DOES THIS MEAN THE BUG IS SOLVED? Old answer: NO! Need testing, i've finished 30 minutes ago and i couldn't test it as much as needed to say it works fine. New answer: It seems so. 2- IS IT A REPLACEMENT FOR APPLEVIAATA.KEXT? Old answer: NO! It only solved my IDE problems (I removed some PCIID from Info.plist) New answer: Yes, it is. 3- CAN I HAVE THE SOURCE CODE TO KEEP DEVELOPMENT? Old answer: YES! Just tell me where can i upload it (svn like google code) without any legal violation. New answer: There's a googlecode svn project here: darwin-ata. You may check out and get the source. If you want to be part of the development team (or whatever the name of the people who are trying to make this work is) just PM me. Try to add some info so i can check if u are going to benefit this development or not. 4- DO YOU KNOW HOW TO WRITE IN ENGLISH? Old answer: NO! I've done such an effort to write this post that i think i'm loosing my mind. New answer: I'm finishing my degree in computer sciences, not english, the answer is still NO. 5- WHAT KEXT SHOULD I DOWNLOAD? ONLY ANWSER: The ones that doesn't have the word DEBUG in their names. 6- WHY NOT DEBUG KEXTS? They are for DEBUGGING. Use them if and only if i tell u to do it. First warning. 7- HOW DO I REPORT A NON WORKING KEXT? 1: boot with -v debug=0x100 at darwin prompt 2: make a dump with ioreg -l > dump.txt 3: after having a panic, take a picture of the screenshot (I need to read every character, so make sure the screen fits the picture) 4: atach dump.txt and the picture of the screen into this topic and wait for my answer (sometimes other users might help) 8- I HAVE LOTS OF INFO DISPLAYED ON BOOT AND LOGS. LOTS AND LOTS OF INFO EVERY SECOND. WHAT'S GOING ON? RTFF. You've been warned. If you need some help, or have some comments, or find some bugs, just post in this thread. Here's what we've got so far: JMicronATA: v0.6 Working AppleVIAATA: v0.2 Working AppleNForceATA: v0.1 Working (?). Some may have issues with DVD drives. Some may have issues with voodoo kernel AppleATIATA: v0.1 Not tested, waiting. stmiller has compiled these kexts with Tiger (10.4.8) in case someone is using 10.4. He only tested AppleVIAATA.kext. DON'T USE DEBUG KEXTS UNLESS I TELL YOU TO DO IT. This is the second and last warning. Downloads: All the kexts here! |
slashack AppleVIAATA over 4gb RAM bug solved (at least i believe so)! JMicron and AppleNForceATA at development Sep 23 2008, 07:38 AM
Portos61 I have the same problem, desktop freeze, and i dec... Sep 23 2008, 10:20 AM
mitch_de Would be fine if someone tries that for JMICRON.ke... Sep 24 2008, 09:27 PM
slashack QUOTE (mitch_de @ Sep 24 2008, 06:27 PM) ... Sep 25 2008, 03:01 AM
martinkou I've installed your fixed extension - it works... Sep 27 2008, 02:10 PM
SisXtian I was hoping this would work for my system, but I ... Oct 2 2008, 03:13 PM
slashack QUOTE (SisXtian @ Oct 2 2008, 12:13 PM) I... Oct 2 2008, 03:51 PM
mitch_de Hi, the max RAM using IDE is 3 GB or only 2 GB ?
I... Oct 4 2008, 02:15 PM
psychonaut Thanks. Works perfect. No locks ups at all so fa... Oct 5 2008, 12:00 PM
SisXtian It was the IDE. I actually just used a IDE-to-SATA... Oct 5 2008, 11:15 PM
adusak Hi have problems with jmicron controller but only ... Oct 7 2008, 06:09 PM
slashack QUOTE (adusak @ Oct 7 2008, 03:09 PM) Hi ... Oct 7 2008, 07:24 PM
slashack QUOTE (adusak @ Oct 7 2008, 03:09 PM) Hi ... Oct 8 2008, 05:33 PM
adusak QUOTE (slashack @ Oct 8 2008, 05:33 PM) I... Oct 8 2008, 06:00 PM
slashack QUOTE (adusak @ Oct 8 2008, 03:00 PM) I j... Oct 8 2008, 06:04 PM
Embio :D nothing like progress! thanks mate Oct 7 2008, 09:32 PM
rfuilrez I would like to say, that I will wait patiently fo... Oct 8 2008, 02:34 AM
alex99 AppleNForceATA.kext (http://forum.insanelymac.com/... Oct 8 2008, 01:49 PM
adusak I will post the info.plist as soon as i can. But I... Oct 8 2008, 07:23 PM
rfuilrez QUOTE I will post the info.plist as soon as i can.... Oct 9 2008, 02:51 AM
slashack QUOTE (rfuilrez @ Oct 8 2008, 11:51 PM) I... Oct 9 2008, 03:35 AM
rfuilrez I just tried the new kext (At least, I think it is... Oct 9 2008, 04:09 AM
slashack QUOTE (rfuilrez @ Oct 9 2008, 01:09 AM) I... Oct 9 2008, 04:30 AM
rfuilrez This one didn't work as well. However I notice... Oct 9 2008, 09:57 AM
adusak Ok i just got a working JmicronATA.kext form JMICR... Oct 9 2008, 01:53 PM
slashack QUOTE (adusak @ Oct 9 2008, 10:53 AM) Ok ... Oct 9 2008, 03:18 PM
El Massman i'm getting the same problem
CODEcan't de... Oct 9 2008, 02:33 PM
adusak Just tried the update and it gives me kernel panic... Oct 9 2008, 05:50 PM
slashack QUOTE (adusak @ Oct 9 2008, 02:50 PM) Jus... Oct 9 2008, 05:54 PM
adusak Yes i tried your unmodified kext but after booting... Oct 9 2008, 06:15 PM
slashack QUOTE (adusak @ Oct 9 2008, 03:15 PM) Yes... Oct 9 2008, 06:41 PM
slashack QUOTE (adusak @ Oct 9 2008, 03:15 PM) Yes... Oct 9 2008, 10:15 PM
rfuilrez QUOTE (slashack @ Oct 9 2008, 05:15 PM) I... Oct 9 2008, 10:49 PM
slashack QUOTE (rfuilrez @ Oct 9 2008, 07:49 PM) N... Oct 9 2008, 11:45 PM
mitch_de QUOTE (slashack @ Oct 10 2008, 01:45 AM) ... Oct 10 2008, 05:12 AM
rfuilrez QUOTE (slashack @ Oct 9 2008, 06:45 PM) T... Oct 10 2008, 09:59 AM
adusak Ok i think this could be the thing. But i still ex... Oct 10 2008, 12:27 PM
mitch_de QUOTE (adusak @ Oct 10 2008, 02:27 PM) Ok... Oct 10 2008, 03:38 PM
slashack QUOTE (adusak @ Oct 10 2008, 09:27 AM) Ok... Oct 10 2008, 06:19 PM
bikinifarm I tried the latest version (1.06) from the JMicron... Oct 14 2008, 07:41 PM
slashack QUOTE (bikinifarm @ Oct 14 2008, 04:41 PM... Oct 15 2008, 01:18 AM
bikinifarm QUOTE (slashack @ Oct 15 2008, 03:18 AM) ... Oct 15 2008, 06:25 AM
slashack QUOTE (bikinifarm @ Oct 15 2008, 03:25 AM... Oct 15 2008, 07:09 PM
bikinifarm QUOTE (slashack @ Oct 15 2008, 09:09 PM) ... Oct 15 2008, 08:20 PM
slashack QUOTE (bikinifarm @ Oct 15 2008, 05:20 PM... Oct 16 2008, 11:16 PM
mitch_de QUOTE (slashack @ Oct 17 2008, 01:16 AM) ... Oct 17 2008, 08:34 AM
STLVNUB Been using this for two days now, running from 8gi... Oct 15 2008, 06:16 AM
rfuilrez QUOTE (STLVNUB @ Oct 15 2008, 01:16 AM) O... Oct 15 2008, 09:21 AM
alex99 Tested modified AppleNForceATA.kext and it works p... Oct 15 2008, 12:22 PM
Zulu.Walker Altered JMicron (0.5) works well with JMB363 contr... Oct 15 2008, 06:10 PM
mitch_de QUOTE (Zulu.Walker @ Oct 15 2008, 08:10 P... Oct 15 2008, 07:04 PM
mitch_de Thanks posting the google JM 0.5 link again!
I... Oct 16 2008, 09:09 AM
rfuilrez QUOTE (mitch_de @ Oct 16 2008, 04:09 AM) ... Oct 16 2008, 09:57 AM
Himlaklar This JMicron fix seem to work well for Asus P5K pr... Oct 17 2008, 11:20 PM
Zulu.Walker One of my boxes (6GB RAM) has 5 days worth of upti... Oct 18 2008, 08:48 PM
icedtrip Trying out the AppleNForceATA kext with my board a... Oct 18 2008, 09:55 PM
rfuilrez QUOTE (Zulu.Walker @ Oct 18 2008, 03:48 P... Oct 18 2008, 11:28 PM
alexandros7 I have gigabyte p35ds3.. with kext from this forum... Oct 19 2008, 04:11 PM
kaleph Thank you thank you thank you thank you
Running... Oct 20 2008, 05:09 AM
Dxn Brilliant! You have managed to solve the last... Oct 21 2008, 05:05 PM
breakingbad Hi all.
As you can see in my sig, I´m using only ... Oct 21 2008, 07:01 PM
slashack QUOTE (breakingbad @ Oct 21 2008, 05:01 P... Oct 21 2008, 07:13 PM
breakingbad QUOTE (slashack @ Oct 21 2008, 04:13 PM) ... Oct 21 2008, 07:35 PM
slashack QUOTE (breakingbad @ Oct 21 2008, 05:35 P... Oct 21 2008, 07:42 PM
breakingbad QUOTE (slashack @ Oct 21 2008, 04:42 PM) ... Oct 21 2008, 07:48 PM
slashack QUOTE (breakingbad @ Oct 21 2008, 05:48 P... Oct 21 2008, 07:52 PM
breakingbad QUOTE (slashack @ Oct 21 2008, 04:52 PM) ... Oct 21 2008, 11:04 PM
slashack QUOTE (breakingbad @ Oct 21 2008, 09:04 P... Oct 22 2008, 12:15 AM
scififan68 I have a question, I'm using medevils nforce a... Oct 21 2008, 11:33 PM
alexandros7 do you think is faster the jmicron sata or the oth... Oct 22 2008, 02:22 PM
breakingbad Hi mate.
After booting using flags -v -f I instal... Oct 22 2008, 03:55 PM
slashack QUOTE (alexandros7 @ Oct 22 2008, 12:22 P... Oct 22 2008, 04:54 PM
cyclonefr man you rock. Great job !!! BTW is JMi... Oct 22 2008, 05:36 PM
slashack QUOTE (cyclonefr @ Oct 22 2008, 03:36 PM)... Oct 22 2008, 05:48 PM
chokoboster I'm using Abit AN52 with 4 gb ram, before I us... Oct 22 2008, 06:22 PM
THe KiNG RE: AppleVIAATA over 4gb RAM bug solved (at least i believe so)! JMicron and AppleNForceATA at development Oct 23 2008, 01:51 PM
slashack RE: AppleVIAATA over 4gb RAM bug solved (at least i believe so)! JMicron and AppleNForceATA at development Oct 23 2008, 02:38 PM
Embio 20 hour uptime here with JMicronATA.kext - more th... Oct 23 2008, 01:56 PM
THe KiNG Hi,
Aded dev id in your debug jmicron kext, kext ... Oct 23 2008, 03:16 PM
slashack QUOTE (THe KiNG @ Oct 23 2008, 01:16 PM) ... Oct 25 2008, 04:59 AM
blusprite JMicronATA.kext v.0.6. works perfectly here with 6... Oct 24 2008, 01:09 AM
RyanThaDude29 This also fixed my issue as well. Kudos! Oct 25 2008, 01:01 AM
verdant Hi slashack,
Just wanted to say thanks for your g... Oct 25 2008, 01:14 AM
THe KiNG CODEkextload: extension /System/Library/Extensions... Oct 25 2008, 08:27 PM
Caelor Just wanted to say that the nForce kext seems to b... Oct 25 2008, 10:50 PM
p-J I also can tell that the nForce kext is working wi... Oct 26 2008, 11:10 AM
tinolupin work with 4gb ram on GA-P35-DS3R and 2x Pioneer 11... Oct 26 2008, 02:01 PM
THe KiNG QUOTE (slashack @ Oct 25 2008, 07:59 AM) ... Oct 27 2008, 07:10 PM
mitch_de QUOTE (THe KiNG @ Oct 27 2008, 08:10 PM) ... Oct 28 2008, 05:53 AM
Astronomy I have not been adding posts to threads for one si... Oct 28 2008, 03:45 AM
Embio mine has a fascinating problem. if I install the k... Oct 28 2008, 08:30 AM
THe KiNG QUOTE (mitch_de @ Oct 28 2008, 08:53 AM) ... Oct 28 2008, 01:19 PM
slashack QUOTE (THe KiNG @ Oct 28 2008, 11:19 AM) ... Oct 31 2008, 01:56 AM
THe KiNG QUOTE (slashack @ Oct 31 2008, 03:56 AM) ... Oct 31 2008, 05:18 AM
slashack QUOTE (THe KiNG @ Oct 31 2008, 03:18 AM) ... Nov 2 2008, 09:07 PM
THe KiNG QUOTE (slashack @ Nov 2 2008, 11:07 PM) W... Nov 3 2008, 08:44 AM
breakingbad Hi mate.
Just passing by to say your work with th... Nov 4 2008, 01:18 AM
rfuilrez QUOTE BTW any chance to get those kexts in X86_X64... Nov 4 2008, 10:48 AM
THe KiNG QUOTE (rfuilrez @ Nov 4 2008, 12:48 PM) I... Nov 4 2008, 11:56 AM ![]() |
|
Lo-Fi Version | Time is now: 21st November 2009 - 03:59 AM |