Jump to content

AppleVIAATA over 4gb RAM bug solved (at least i believe so)! JMicron and AppleNForceATA at development


  • Please log in to reply
569 replies to this topic

#21
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

I can confirm this. I just installed the JMicronATA.kext and had the same issue at boot up. I'm going to try the Debug kext, and see if that gives the same error during boot up. I'll see if I can get a photo of it this time as well.


I've uploaded two new kext with modified Info.plist.

If this doesn't work, i think well have to start by compiling original kext from source and try if that works. (the problem may be in the source code i've got to start working with. If anyone finds the source code, please send it to me.)

#22
rfuilrez

rfuilrez

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
I just tried the new kext (At least, I think it is if you updated the link in the first post).

Same problem as with the last one. Couldn't Alloc Class. If you need me to compile from source or whatever let me know, and I can see what I can do to help.

#23
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

I just tried the new kext (At least, I think it is if you updated the link in the first post).

Same problem as with the last one. Couldn't Alloc Class. If you need me to compile from source or whatever let me know, and I can see what I can do to help.


This kext is the original (from the source Dense gave to me), try this. If this is a problem, then the source i'm working with has something wrong.

JMicronATA.kext

#24
rfuilrez

rfuilrez

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
This one didn't work as well. However I noticed 2 more error messages, that I'm not sure if they were there with the other 2. Don't have time to replace kexts and test again until this afternoon though. Full errors were:

can't determine immediate dependencies for com.jmicron.JMicronATA
can't determine dependencies for com.jmicron.JMicronATA
can't alloc class="JMicronATAPIroot"

At least, those are them to the best of my knowledge

#25
adusak

adusak

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
Ok i just got a working JmicronATA.kext form JMICRON ftp. It still has the RAM problem but at least it loads. So you can try modify this one hope this will help.

Attached Files



#26
El Massman

El Massman

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 191 posts
i'm getting the same problem

can't determine immediate dependencies for com.jmicron.JMicronATA
can't determine dependencies for com.jmicron.JMicronATA
can't alloc class="JMicronATAPIroot"

let me know if there's anything i can do to help testing wise. or any information you need.

thanks,

Marc

#27
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Ok i just got a working JmicronATA.kext form JMICRON ftp. It still has the RAM problem but at least it loads. So you can try modify this one hope this will help.


I've uploaded a new version, using Info.plist from your kext. Did someone tried with the unmodified JMIcron? does it loads correctly? I think the problem might be in the original source code i'm working.

#28
adusak

adusak

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
Just tried the update and it gives me kernel panic while booting had to unplug my pata devices just to get back to the system

#29
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Just tried the update and it gives me kernel panic while booting had to unplug my pata devices just to get back to the system


Can u give me some info on the panic? (boot with debug=0x100)
Have u tried the original kext i uploaded? That's the source code without any modification by me. If this works, then my modification should work too, but if it doesn't work, then the source code is not usefull.

#30
adusak

adusak

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
Yes i tried your unmodified kext but after booting it didnt find my pata devices so it probably didnt load.
I will upload some pictures of the kernel panic in a few moments.

EDIT: Ok i attached images of the panic

Attached Files

  • Attached File  1.jpg   640.29KB   71 downloads
  • Attached File  2.jpg   709.61KB   37 downloads
  • Attached File  3.jpg   728.81KB   17 downloads
  • Attached File  4.jpg   652KB   17 downloads
  • Attached File  5.jpg   640.29KB   25 downloads


#31
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Yes i tried your unmodified kext but after booting it didnt find my pata devices so it probably didnt load.
I will upload some pictures of the kernel panic in a few moments.

EDIT: Ok i attached images of the panic


Ok, the driver is working now. That's good news. This issue is known to me. In AppleVIAATA, dma needed to be 2 byte aligned, but in JMicron, it needs to be 4 byte aligned. I'll fix that asap.

#32
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Yes i tried your unmodified kext but after booting it didnt find my pata devices so it probably didnt load.
I will upload some pictures of the kernel panic in a few moments.

EDIT: Ok i attached images of the panic


I've updated JMicron kext (v0.4) Try them and tell me what happened.

Sorry for all this, but i don't have such hardware to test them.

#33
rfuilrez

rfuilrez

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts

I've updated JMicron kext (v0.4) Try them and tell me what happened.

Sorry for all this, but i don't have such hardware to test them.


No dice on that one either. Attached is a photo of the Kernel Panic. Occurred during boot..
Attached File  JMicron.jpg   489.17KB   80 downloads

#34
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

No dice on that one either. Attached is a photo of the Kernel Panic. Occurred during boot..
Attached File  JMicron.jpg   489.17KB   80 downloads


Theres a new version (0.5). I forgot to update some pointer references in the transfer.
Be patient, the 4gb issue is in the method i'm actually doing changes (createChannelCommands), the one that panics. I believe this kext might work.

Thanks to the testers!

#35
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,884 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Theres a new version (0.5). I forgot to update some pointer references in the transfer.
Be patient, the 4gb issue is in the method i'm actually doing changes (createChannelCommands), the one that panics. I believe this kext might work.

Thanks to the testers!

Thanks to you also !
I buyed yesterday an 10 Euro IDE>SATA module to avoid that > 3 GB RAM problem with my JM until we get it fixed. WORKED. I now have disabled all IDE on my GA board.
My solution may be helpful if you only have one IDE left (i have SATA DVD and one SATA HD, only one IDE HD). If you have more than one IDE i would wait for that great work or sell the IDEws to ebay and buy SATA therefor.

#36
rfuilrez

rfuilrez

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts

Theres a new version (0.5). I forgot to update some pointer references in the transfer.
Be patient, the 4gb issue is in the method i'm actually doing changes (createChannelCommands), the one that panics. I believe this kext might work.

Thanks to the testers!


Well, I'm not going to jump to any conclusions and say that it's 100% fixed for sure. However, this is me playing a video from my IDE Drive with the majority of 4GB allocated.

Attached File  Picture_1.png   977.85KB   142 downloads

And here's the only stuff I saw in the boot log.

Attached File  Picture_2.png   115.51KB   136 downloads

It seems to me, you may have hit the nail on the head with this fix.

#37
adusak

adusak

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
Ok i think this could be the thing. But i still experienced panic i dont believe it is related but i attache pictures anyway.

Attached Files

  • Attached File  1.jpg   554.7KB   48 downloads
  • Attached File  2.jpg   492.9KB   22 downloads
  • Attached File  3.jpg   391.64KB   16 downloads


#38
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,884 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Ok i think this could be the thing. But i still experienced panic i dont believe it is related but i attache pictures anyway.

if you set maxmem=2000 (as kernel boot flag)do you also get panics ? I f yes something other may be wrong.

I would also check RAM with REMBER / memtest - problematic RAM can also make much troubles.

I got (now i use an IDE>SATA contr) kernel panic really early at boottime with JM and 4 GB. I never saw the desktop , crash was way before.

#39
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Ok i think this could be the thing. But i still experienced panic i dont believe it is related but i attache pictures anyway.


I don't think those panics are related, but as rfuilrez said, don't jump to conclusions.

The panic ocurred somewhere in hfs filesystem, the thread was backupd. Maybe your hdd has something wrong, and not the ide controller. The other issue might be memory. Try testint them (verify hdd in disk utility) and if panics is recurrent, try booting with maxmem=2048. If u keep having panics, then the issue is not this kext.

#40
bikinifarm

bikinifarm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Male
  • Location:Chicago, Illinois
I tried the latest version (1.06) from the JMicron web site as indicated by adusak, and with my PATA DVD drive (PIONEER DVD-RW DVR-115D), the inserted DVD looks like an external drive. I believe the its plist causes this.

Version 1.0 JMicron driver worked properly in this regard, except causing kernel panics with the memory issue.

Then I tried the latest slashack version (0.5) with 64 bit addressing, and it displays DVD the same way. [did not test for the memory issue]

Unfortunately, this is not just a display issue, it confuses the finder as to whether it can burn blank disks. Ejection is also goofed up.

Slashack, if your recompile is based on the latest version 1.06 from JMicron's web site, you would have inadvertently carried these issues over. Based on my limited understanding, you may need to revisit the plist based on the original 1.0 version, instead of the 1.06 version, or at least use the version 1.0 as a base.

Thanks for all of your help. Really appreciated.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy