Jump to content
slashack

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

568 posts in this topic

Recommended Posts

Gents,

 

I did do a lspci -vvvnn and got

 

05:07.0 IDE interface [0101]: Integrated Technology Express, Inc. Unknown device [1283:8213] (prog-if 85 [Master SecO PriO])
Subsystem: Giga-byte Technology Unknown device [1458:b000]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (2000ns min, 2000ns max)
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at d000
Region 1: I/O ports at d100
Region 2: I/O ports at d200
Region 3: I/O ports at d300
Region 4: I/O ports at d400
Capabilities: [80] Power Management version 2
	Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
	Status: D0 PME-Enable- DSel=0 DScale=0 PME-

 

 

Do I have to create an ID also for its subsystem?

 

LA

Share this post


Link to post
Share on other sites
Advertisement

Subsystem should not matter, the kext is only looking for vendor and device id. Its not loading for your board

	| |   |   +-o pci1283,8213@7  <class IOPCIDevice, registered, matched, active, busy 0, retain 6>
| |   |   |   {
| |   |   |	 "IOPCIResourced" = Yes
| |   |   |	 "IOInterruptControllers" = ("io-apic-0")
| |   |   |	 "IOName" = "pci1283,8213"
| |   |   |	 "subsystem-id" = <00b00000>
| |   |   |	 "IODeviceMemory" = ({"parent"=({"address"=0,"length"=65536}),"offset"=53248,"length"=8},{"parent"=({"a$
| |   |   |	 "class-code" = <85010100>
| |   |   |	 "IOPowerManagement" = {"CurrentPowerState"=2}
| |   |   |	 "revision-id" = <00000000>
| |   |   |	 "IOInterruptSpecifiers" = (<1300000007000000>)
| |   |   |	 "IOChildIndex" = 1
| |   |   |	 "assigned-addresses" = <103805810000000000d000000000000008000000143805810000000000d10000000000000400
0$
| |   |   |	 "device-id" = <13820000>
| |   |   |	 "vendor-id" = <83120000>
| |   |   |	 "name" = "pci1283,8213"
| |   |   |	 "subsystem-vendor-id" = <58140000>
| |   |   |	 "reg" = <0038050000000000000000000000000000000000103805010000000000000000000000000800
0001438050100000$
| |   |   |	 "compatible" = <"pci1458,b000","pci1283,8213","pciclass,010185">

 

 

Is it the kext you modded loading correctly (correctly installed, permissions repaired and such...)?

You can check with "kextload -t -v /System/Library/Extensions/AppleVIAATA.kext" on a running system.

Also check if you have some other same kext loaded from a different place with "kextstat|grep VIAATA"

Share this post


Link to post
Share on other sites

Thanx slashack for solving JMicron problem.

 

iDeneb v.1.4 10.5.6 on 160 Gb IDE Seagate connected to JMicron

Asus P5K - Premium Wi-Fi

Intel Q6600

8Gb DDR2-1066 Hynix (4x2Gb)

 

System was unstable and had kernel panic during heavy disk operations such as big torrent downloads/rehashing...

 

i've chahge JMicron kext to v.0.6 and now system working just fine...

 

Thanx once more :shock:

Share this post


Link to post
Share on other sites
Is it the kext you modded loading correctly (correctly installed, permissions repaired and such...)?

You can check with "kextload -t -v /System/Library/Extensions/AppleVIAATA.kext" on a running system.

Also check if you have some other same kext loaded from a different place with "kextstat|grep VIAATA"

 

@thorazine74

 

Thanks for your reply,

 

Yep, everytime I do a change, I walk that path.

 

kextstat | grep ATA

  43	1 0x81a0f000 0xd000	 0xc000	 com.apple.iokit.IOATAFamily (1.7.3f1) <6 5 4 2>
  50	0 0x822d5000 0x7000	 0x6000	 com.apple.driver.AppleVIAATA (1.0.3) <43 17 5 4>

 

After a manually kextload when AppleVIAATA.kext not in extensions folder

 

root# kextload -t -v /Extensions_OFF/AppleVIAATA.kext

kextload: resolving dependencies for kernel extensions with validation and authentication failures
kextload: extension /Extensions_OFF/AppleVIAATA.kext appears to be loadable
kextload: loading extension /Extensions_OFF/AppleVIAATA.kext
kextload: /Extensions_OFF/AppleVIAATA.kext loaded successfully
kextload: sending personalities to kernel:
kextload:	 from extension /System/Library/Extensions/IOPCIFamily.kext:
kextload:		 IOPCI2PCIBridge-Name
kextload:		 IOPCI2PCIBridge-i386
kextload:		 IOPCI2PCIBridge-PCI
kextload:	 from extension /Extensions_OFF/AppleVIAATA.kext:
kextload:		 VIA ATA Driver
kextload:		 ITE IT8213 PATA Controller
kextload:		 VIA SATA Controller
kextload:		 VIA PATA Controller
kextload: sending 7 personalities to the kernel
kextload: matching started for /Extensions_OFF/AppleVIAATA.kext

 

After kextload by kernel when AppleVIAATA.kext in extensions folder

 

root# kextload -t -v /System/Library/Extensions/AppleVIAATA.kext

kextload: resolving dependencies for kernel extensions with validation and authentication failures
kextload: extension /System/Library/Extensions/AppleVIAATA.kext appears to be loadable
kextload: loading extension /System/Library/Extensions/AppleVIAATA.kext
kextload: extension /System/Library/Extensions/AppleVIAATA.kext is already loaded

 

Also I did do kextload -v 6 -b com.apple.driver.AppleVIAATA and gives kextload_stat_v_b_AppleVIAATA.txt

Looks oke to me.

 

Other suggestions? I saw there is no debug version of the AppleVIAATA.kext.

 

Still no dice

Share this post


Link to post
Share on other sites
@thorazine74

 

Thanks for your reply,

 

Yep, everytime I do a change, I walk that path.

 

kextstat | grep ATA

  43	1 0x81a0f000 0xd000	 0xc000	 com.apple.iokit.IOATAFamily (1.7.3f1) <6 5 4 2>
  50	0 0x822d5000 0x7000	 0x6000	 com.apple.driver.AppleVIAATA (1.0.3) <43 17 5 4>

 

After a manually kextload when AppleVIAATA.kext not in extensions folder

 

root# kextload -t -v /Extensions_OFF/AppleVIAATA.kext

kextload: resolving dependencies for kernel extensions with validation and authentication failures
kextload: extension /Extensions_OFF/AppleVIAATA.kext appears to be loadable
kextload: loading extension /Extensions_OFF/AppleVIAATA.kext
kextload: /Extensions_OFF/AppleVIAATA.kext loaded successfully
kextload: sending personalities to kernel:
kextload:	 from extension /System/Library/Extensions/IOPCIFamily.kext:
kextload:		 IOPCI2PCIBridge-Name
kextload:		 IOPCI2PCIBridge-i386
kextload:		 IOPCI2PCIBridge-PCI
kextload:	 from extension /Extensions_OFF/AppleVIAATA.kext:
kextload:		 VIA ATA Driver
kextload:		 ITE IT8213 PATA Controller
kextload:		 VIA SATA Controller
kextload:		 VIA PATA Controller
kextload: sending 7 personalities to the kernel
kextload: matching started for /Extensions_OFF/AppleVIAATA.kext

 

After kextload by kernel when AppleVIAATA.kext in extensions folder

 

root# kextload -t -v /System/Library/Extensions/AppleVIAATA.kext

kextload: resolving dependencies for kernel extensions with validation and authentication failures
kextload: extension /System/Library/Extensions/AppleVIAATA.kext appears to be loadable
kextload: loading extension /System/Library/Extensions/AppleVIAATA.kext
kextload: extension /System/Library/Extensions/AppleVIAATA.kext is already loaded

 

Also I did do kextload -v 6 -b com.apple.driver.AppleVIAATA and gives kextload_stat_v_b_AppleVIAATA.txt

Looks oke to me.

 

Other suggestions? I saw there is no debug version of the AppleVIAATA.kext.

 

Still no dice

 

 

Try with IOATAFamily.kext 2.0.0. That's the version I'm using.

Share this post


Link to post
Share on other sites
Try with IOATAFamily.kext 2.0.0. That's the version I'm using.

Thank you slashack , for your idea.

 

I did try this before, and did try it today again. You never know ;) , maybe I did forgot something.

 

Still no IDE drive visable

 

root# kextstat | grep ATA

  39	1 0x80c36000 0xd000	 0xc000	 com.apple.iokit.IOATAFamily (2.0.0) <6 5 4 2>
  40	0 0x80c59000 0x7000	 0x6000	 com.apple.driver.AppleVIAATA (1.0.3) <39 17 5 4>

 

root# kextload -t -v /System/Library/Extensions/AppleVIAATA.kext

kextload: resolving dependencies for kernel extensions with validation and authentication failures
kextload: extension /System/Library/Extensions/AppleVIAATA.kext appears to be loadable
kextload: loading extension /System/Library/Extensions/AppleVIAATA.kext
kextload: extension /System/Library/Extensions/AppleVIAATA.kext is already loaded

 

 

kextload: extension /System/Library/Extensions/AppleVIAATA.kext is authentic
kextload: loading dependency graph:
kextload: flattened dependency list: 
kextload:	 /System/Library/Extensions/AppleVIAATA.kext/Contents/MacOS/AppleVIAATA
kextload:	   is kernel component: no
kextload:	   expected kmod name: [com.apple.driver.AppleVIAATA]
kextload:	   expected kmod vers: [1.0.3]
kextload:	 /System/Library/Extensions/IOATAFamily.kext/Contents/MacOS/IOATAFamily
kextload:	   is kernel component: no
kextload:	   expected kmod name: [com.apple.iokit.IOATAFamily]
kextload:	   expected kmod vers: [2.0.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext/BSDKernel
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.bsd]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Mach.kext/Mach
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.mach]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.iokit]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Libkern.kext/Libkern
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.libkern]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/IOPCIFamily.kext/IOPCIFamily
kextload:	   is kernel component: no
kextload:	   expected kmod name: [com.apple.iokit.IOPCIFamily]
kextload:	   expected kmod vers: [2.5]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.unsupported]
kextload:	   expected kmod vers: [9.6.0]
kextload: 
kextload: load order dependency list: 
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Libkern.kext/Libkern
kextload:	 /System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Mach.kext/Mach
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported
kextload:	 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext/BSDKernel
kextload:	 /System/Library/Extensions/IOPCIFamily.kext/IOPCIFamily
kextload:	 /System/Library/Extensions/IOATAFamily.kext/Contents/MacOS/IOATAFamily
kextload:	 /System/Library/Extensions/AppleVIAATA.kext/Contents/MacOS/AppleVIAATA

 

I would love to try a debug version of AppleVIAATA, but couldn't find one.

 

Also I saw somewhere that there is some source available from linux/freeBSD for this iTE chip.

 

I will try to find this.

 

Any other suggestions? Is it posable that other kext are in the way? ICH10? smbios?

What kexts are you using for that P45 north and ICH10 south bridge?

 

I did see this line in dmesg > dmesg.txt as well as single user and when loged in.

-Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

This is a list of kexts that I have installed under Chameleon and Vanilla 10.5.6, maybe something is very wrong.

current_kexts.txt

 

Thanks again

Share this post


Link to post
Share on other sites
Thank you slashack , for your idea.

 

I did try this before, and did try it today again. You never know ;) , maybe I did forgot something.

 

Still no IDE drive visable

 

root# kextstat | grep ATA

  39	1 0x80c36000 0xd000	 0xc000	 com.apple.iokit.IOATAFamily (2.0.0) <6 5 4 2>
  40	0 0x80c59000 0x7000	 0x6000	 com.apple.driver.AppleVIAATA (1.0.3) <39 17 5 4>

 

root# kextload -t -v /System/Library/Extensions/AppleVIAATA.kext

kextload: resolving dependencies for kernel extensions with validation and authentication failures
kextload: extension /System/Library/Extensions/AppleVIAATA.kext appears to be loadable
kextload: loading extension /System/Library/Extensions/AppleVIAATA.kext
kextload: extension /System/Library/Extensions/AppleVIAATA.kext is already loaded
kextload: extension /System/Library/Extensions/AppleVIAATA.kext is authentic
kextload: loading dependency graph:
kextload: flattened dependency list: 
kextload:	 /System/Library/Extensions/AppleVIAATA.kext/Contents/MacOS/AppleVIAATA
kextload:	   is kernel component: no
kextload:	   expected kmod name: [com.apple.driver.AppleVIAATA]
kextload:	   expected kmod vers: [1.0.3]
kextload:	 /System/Library/Extensions/IOATAFamily.kext/Contents/MacOS/IOATAFamily
kextload:	   is kernel component: no
kextload:	   expected kmod name: [com.apple.iokit.IOATAFamily]
kextload:	   expected kmod vers: [2.0.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext/BSDKernel
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.bsd]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Mach.kext/Mach
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.mach]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.iokit]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Libkern.kext/Libkern
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.libkern]
kextload:	   expected kmod vers: [9.6.0]
kextload:	 /System/Library/Extensions/IOPCIFamily.kext/IOPCIFamily
kextload:	   is kernel component: no
kextload:	   expected kmod name: [com.apple.iokit.IOPCIFamily]
kextload:	   expected kmod vers: [2.5]
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported
kextload:	   is kernel component: yes
kextload:	   expected kmod name: [com.apple.kpi.unsupported]
kextload:	   expected kmod vers: [9.6.0]
kextload: 
kextload: load order dependency list: 
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Libkern.kext/Libkern
kextload:	 /System/Library/Extensions/System.kext/PlugIns/IOKit.kext/IOKit
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Mach.kext/Mach
kextload:	 /System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported
kextload:	 /System/Library/Extensions/System.kext/PlugIns/BSDKernel.kext/BSDKernel
kextload:	 /System/Library/Extensions/IOPCIFamily.kext/IOPCIFamily
kextload:	 /System/Library/Extensions/IOATAFamily.kext/Contents/MacOS/IOATAFamily
kextload:	 /System/Library/Extensions/AppleVIAATA.kext/Contents/MacOS/AppleVIAATA

 

I would love to try a debug version of AppleVIAATA, but couldn't find one.

 

Also I saw somewhere that there is some source available from linux/freeBSD for this iTE chip.

 

I will try to find this.

 

Any other suggestions? Is it posable that other kext are in the way? ICH10? smbios?

What kexts are you using for that P45 north and ICH10 south bridge?

 

I did see this line in dmesg > dmesg.txt as well as single user and when loged in.

-Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

This is a list of kexts that I have installed under Chameleon and Vanilla 10.5.6, maybe something is very wrong.

current_kexts.txt

 

Thanks again

 

You have many ATA & AHCI extensions in \Extra\Extensions are you sure you need all those ones?, check the IOATAFamily and ATAPortInjector there, maybe you have an AppleVIAATA in their plugins folder stopping the other one from loading? Note that extensions loaded from there dont appear in kextstat or System Profile I think.

In any case I would try with less extra extensions at least for diagnose purposes, use only the ones you really need.

Share this post


Link to post
Share on other sites
You have many ATA & AHCI extensions in \Extra\Extensions are you sure you need all those ones?, check the IOATAFamily and ATAPortInjector there, maybe you have an AppleVIAATA in their plugins folder stopping the other one from loading? Note that extensions loaded from there dont appear in kextstat or System Profile I think.

In any case I would try with less extra extensions at least for diagnose purposes, use only the ones you really need.

 

Nop, no change, still no IDE.

 

I loose things like when I remove one by one the chameleon extra/extensions i do get external sata drive's instead of internal ( icon only?).

 

However, Now I did get managed to have AppleGenericPCATA.kext 1.3 to get loaded, AppleVIAATA dependend of IOATAFamily, resp, and AppleGenericPCATA of IOATAFamily->kernel.6.0.

root# kextstat | grep ATA
  40	2 0x80d33000 0xd000	 0xc000	 com.apple.iokit.IOATAFamily (2.0.0) <6 5 4 2>
  41	0 0x80d50000 0x7000	 0x6000	 com.apple.driver.AppleVIAATA (1.0.3) <40 17 5 4>
  45	0 0x8112f000 0x6000	 0x5000	 com.apple.driver.AppleGenericPCATA (1.3) <40 17 12>

Hre the kextstat results for both, the AppleVIAATA and the AppleGenericPCATA kext. kextstat1.txt

 

However, if I start with -v -f then I don't see that driver, but if I start without -f -v I see AppleGenericPCATA. I did remove, several times to be sure, the mkext, and let the system rebuild a new mkext.

 

 

Is it possible to create a debug version of AppleVIAATA?

 

If I download your code from google, do I only to set debug to 1, compile it with the latest xcode?

Do you have some where writen down steps?

 

 

For my understanding, I have some questions about Chameleon/efi/boot and its working.

 

My situation, maybe familiar, maybe not.

On Partition1 [chameleon] I have chameleon with the default and extra modified kexts

On partition2 [chimera] I have my vanilla OSX 10.5.6.

and more Partitions...

 

Been busy with this yesterday, I can check things without breaking a good startup when I replace a kext. Do a restart with '-v -f' but without touch the extension folder or deleting the extension.mkext. If I startup again with just '-v' then I got my old working copy and can adjust the kext back or further. Even if I change the chameleon kext.

 

And then it looks like I am lost about the idea of chameleon.

 

I did get on another post some answers but not all where satisfied answered

 

When I change something in Chameleon/extra/extensions, do I have to delete the extension.mkext from the vanilla osx? I got the impression that extensions.mkex overrules the kexts from chameleon. Isn't it read as one kext chunk replacing the whole thing?

 

I should set up a matrix with all the possibilities.

 

Are there different versions of ICH10R kexts? Is that possible?

 

 

Thanks again.

Share this post


Link to post
Share on other sites
Nop, no change, still no IDE.

 

I loose things like when I remove one by one the chameleon extra/extensions i do get external sata drive's instead of internal ( icon only?).

 

Is it possible to create a debug version of AppleVIAATA?

 

If I download your code from google, do I only to set debug to 1, compile it with the latest xcode?

Do you have some where writen down steps?

For my understanding, I have some questions about Chameleon/efi/boot and its working.

 

My situation, maybe familiar, maybe not.

On Partition1 [chameleon] I have chameleon with the default and extra modified kexts

On partition2 [chimera] I have my vanilla OSX 10.5.6.

and more Partitions...

 

Been busy with this yesterday, I can check things without breaking a good startup when I replace a kext. Do a restart with '-v -f' but without touch the extension folder or deleting the extension.mkext. If I startup again with just '-v' then I got my old working copy and can adjust the kext back or further. Even if I change the chameleon kext.

 

And then it looks like I am lost about the idea of chameleon.

 

I did get on another post some answers but not all where satisfied answered

 

When I change something in Chameleon/extra/extensions, do I have to delete the extension.mkext from the vanilla osx? I got the impression that extensions.mkex overrules the kexts from chameleon. Isn't it read as one kext chunk replacing the whole thing?

 

I should set up a matrix with all the possibilities.

 

Are there different versions of ICH10R kexts? Is that possible?

Thanks again.

 

SATA External drives icons its just a chosmetic change, it got no effect on functionality.

I'm not sure about your logic, maybe its flawed, I think chameleon ignores anything in \Extra\Extensions if there is a \Extra\extensions.mkext

That was my point exactly, if you have something in there you might not be loading the correct AppleViaATA. Thats why I suggested getting rid of everything there not really needed for booting.

From what I know if there is an extensions.mkext the extensions folder is ignored (unless booting with -f, this is true for OS X but I'm not sure if its the same for chameleon, maybe chameleon always uses extensions.mkext if it exists).

Chameleon (both in kext or mkext) extensions dont override vanilla extensions automatically nor the opposite, all the extensions are loaded first chameleon and then vanilla, and the best one is chosen according to OS X matching rules (version numbers, IOProbeScore...); so if for example you have 2 appleviaata.kext, one in chameleon and another in \S\L\E, you dont know which one is loaded, it depends on their plist definitions (I think higher versions are favored first, and if same version, higher ioprobescore personalities are favored, but I'm not sure about this).

Share this post


Link to post
Share on other sites

Just wanted to say thanks, your jmicron driver solved my issue.

 

I had moved from a p5w-dh to a p45-ud3p, and on the new board the only port for my IDE DVD-RW is on the jmicron controller. I was getting kernel panics every time i tried to burn a disc and occasionally at other times when accessing the drive. The modified driver (with JMB360) has cleared up all my problems!

Share this post


Link to post
Share on other sites
SATA External drives icons its just a chosmetic change, it got no effect on functionality.

I'm not sure about your logic, maybe its flawed, I think chameleon ignores anything in \Extra\Extensions if there is a \Extra\extensions.mkext

That was my point exactly, if you have something in there you might not be loading the correct AppleViaATA. Thats why I suggested getting rid of everything there not really needed for booting.

From what I know if there is an extensions.mkext the extensions folder is ignored (unless booting with -f, this is true for OS X but I'm not sure if its the same for chameleon, maybe chameleon always uses extensions.mkext if it exists).

Chameleon (both in kext or mkext) extensions dont override vanilla extensions automatically nor the opposite, all the extensions are loaded first chameleon and then vanilla, and the best one is chosen according to OS X matching rules (version numbers, IOProbeScore...); so if for example you have 2 appleviaata.kext, one in chameleon and another in \S\L\E, you dont know which one is loaded, it depends on their plist definitions (I think higher versions are favored first, and if same version, higher ioprobescore personalities are favored, but I'm not sure about this).

I just wanted to add my experience on this mkext and /Extra directory issue:

I originally had a script that set up the Chameleon 2 RC1 /Extra and /Extra/Extensions directories. But, when we threw the kexts in /Extra/Extensions and created the boot cache in /Extra, there were a lot of troubling reports from various users losing USB hot-plugging, bluetooth, etc. Obviously, the system.kext plugins were not always loading. Why? What we found out was that we couldn't have the System.kext (or any other kext) in /Extra/Extensions with a boot cache from it. There's some confusion taking place in Chameleon regarding having both. The solution was to either (1) install System.kext in S/L/E (not a good solution for a vanilla install), (2) delete System.kext in /Extra/Extensions (not ideal, if you wanted to update your boot cache and your kexts are gone), (3) rename "Extensions" folder to something else (best solution).

 

So, now, I don't use an /Extra/Extensions, but /Extra/Stored_Kexts, and build the boot cache from it. Chameleon ignores this folder and this method doesn't cause any confusion for it. Everything loads correctly. Of course, there are still dependency issues, but that's to be expected.

 

I might add that we never did try just the /Extensions method, without the boot cache. But, I didn't want to go that route, as the mkext provides faster booting and is the Apple-approved method with Snow Leopard on the way.

 

Hopefully, this feedback may clear up any issues regarding what really gets loaded and how to fix it.

 

As a added bonus, after my script builds the boot cache (mkext), it changes the permissions of the Stored_Kexts folder to 777 to allow users to add/delete kext at will, knowing that this folder does not contain the live kexts the system is actually booting from.

 

[GUIDE] Retail OS X Install (10.5.6) on Gigabyte GA-EX58-UD5 (Core i7) Mobo

 

kind regards,

MAJ

Share this post


Link to post
Share on other sites

I'm wondering. Is there constant development going on for this version of the driver or is the development being done by MeDevil?

 

It seems that this version of the driver has sorted out a few quirks that I would have been experiencing. I was unable to install XCode without booting with CPUS=1. Constant crashing during the install. I was unable to clone a drive either using Carbon Copy Cloner until I switched over to this driver.

 

Good stuff.

Share this post


Link to post
Share on other sites
Just wanted to say thanks, your jmicron driver solved my issue.

 

I had moved from a p5w-dh to a p45-ud3p, and on the new board the only port for my IDE DVD-RW is on the jmicron controller. I was getting kernel panics every time i tried to burn a disc and occasionally at other times when accessing the drive. The modified driver (with JMB360) has cleared up all my problems!

 

 

Lol dude I also moved from a P5W-DH to a EP45-UD3R, and I would get kernel panics everytime I tried to burn a disk and occasionally at other times when accessing the drive. I guess I'll try what you just did rofl!

Share this post


Link to post
Share on other sites

I have a fresh install of OS X Leopard 10.5.6 with the nforce ata driver 0.1 and I'm finding it is freezing after a few minutes after booting. Here is my specs:

 

core 2 quad q6600

p5n32-e sli plus

8 gb of ram

 

Should I try the debug driver to find out what the issue is? And how do I use it? Is there something special that needs to be done on startup?

Share this post


Link to post
Share on other sites
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!

 

 

Hi I find a strange problem, not sure if anyone else experienced. Im using ideneb 1.4, i had the freeze problem before, then i installed your AppleVIAATA, it really fixed the problem. First of all thanks heaps.

 

Then i installed MacFuse 1.7 and ntfs-3g 1.2938, i can write to NTFS, but i cant see my IDE anymore, i tried looking up in Disk Utility, cant find it there to. Then i uninstalled your AppleVIAATA,and installed a 32bit (old one), then i see my IDE, but the 4gb Ram bug comes back again.

 

I tried the newest version of Macfuse and NTFS-3g as well, my IDE just disappears once i install your AppleVIAATA......

 

Please help me!!!!!

 

Thanks in advance!

Share this post


Link to post
Share on other sites

I just tried it, installed the JMicron kext using kext helper, and so far, using Adobe Lightroom, which always gave me a kernel panic before, everything is running smoothly.

 

I have an IDE boot drive on a GA-EP35-DS3L with 2x2GB Corsair XMS RAM.

 

Previously I had 2GB and hadn't experienced any problems until I upgraded the RAM.

 

Thank you for your hard work! This is great!

Share this post


Link to post
Share on other sites

Hi, took the plunge and tried this kext, it worked well on the machine listed in my signature. No issues so far 4gb seems a bit snappier than before.

Share this post


Link to post
Share on other sites

I am at my wits end. I have used Kalyway 10.5.2 > 10.5.6 no problems (I did have to change my ACHI setting in the bios to initially get it going but got it working afterwords).

 

I have reinstalled using iPC 10.5.6. I did not have to make any change in the BIOS to get it installed but after installation I can not use my CDRom drives. I have used the kexthelper to install the JMicronATA.kext which immediately made my burner available. Great I'm flying now. But on reboot I get a kernel panic. Replace the kext with the original and I can boot up but no cdrom access.

 

I have a Gigabyte GA-965P-S3 v3.3 board. My hardware ID is 2363197B.

 

Can anyone help me out? I'm going nuts over this.

Share this post


Link to post
Share on other sites

Hello all, I have a GA-EP45-DS3R motherboard, 8GB of ram. I switched to the JMicronATA.kext that i found here and all my issues are gone...

 

But now...I want to activate the onboard raid to raid 5 and when i launch into Mac OS X i am getting that the drives are unreadable and to initialize them...Any ideas?

 

The only kext i installed form here is the JMicronATA.kext so if it is as simple as installing some more let me know!

 

Thanks!

Share this post


Link to post
Share on other sites

Is there a known issue with ATA Drive speed when using this kext? I'm using version 1.0.2 that's 88KB in size.

 

The problem I had was that I wouldn't see more than 15-20MB/sec out of my ATA drives, they were set to cable select on my one ATA Bus - it's a P5Q-SE board. I found a thread discussing speed problems in 10.4 which suggested doing this;

 

Copy AppleVIAATA.kext to the desktop.

Right click and select 'Show Package Contents' on AppleVIAATA.kext

Open 'Contents'

Open the file 'info.plist' in 'Property List Editor'

Open 'IOKitPersonalities/VIA PATA Controller' and check the box 'Serial ATA'.

Save the file, and install it manually or with something like OSX86Tools.

 

After doing this, I'm seeing 60-100MB/sec on my latest ATA drive. And I'm having no problems at all since changing this. Am I using an old version of the file?

Share this post


Link to post
Share on other sites

I just wanted to say that this thread (and the one that was started before this one was created) helped me fix the last thing that was wrong with my install.

I finally have OS X on my Asus P5Q Mobo, but i just wanted to add that it has a Marvell IDE Controller on it, and I used the driver on AppleIntelPIIXATA kext fully working for all ICHx Mobo to get my IDE drives working with 6GB of RAM.

 

Thank you!

 

EDIT: Nevermind, I had another one again. Same KP. Its giving me AppleVIAATA in the dependencies. However, when I go into the /system/library/extensions folder that file isn't there and neither is jmicron or the nforce. Im pretty sure I have marvell IDE. Any ideas?

Share this post


Link to post
Share on other sites
Probably AppleVIAATA.kext is in the AppleIntelPIIXATA.kext Plugins, REMOVE & REPLACE IT with the one from here.Should fix your problem.

 

Its not in there to replace. And under the list of extensions in system profiler, it doesn't list the AppleVIAATA to be loaded. However the IOATAFamily is loaded. I can't seem to find a VIAATA one at all, but on the kernel panics it lists the file (in addition to the IOATAFamily). Also the AppleIntelPIIXATA isn't listed in the System Profiler as actually loaded, i think what I meantioned before was a fluke. I must not be understanding something..?

Share this post


Link to post
Share on other sites

I tried the AppleVIAATA.kext (v0.2). Now my computer does not start. When I start with -v, it stops at a part that says "Still waiting for root device" every 30 seconds or more.

 

I tried this with 10.5.3 vanilla and 10.5.4 vanilla, same result. Here is a link to the screenshot of kernel panic (it is rather large so you can read everything) http://baconfile.com/varikin/panic.jpg/

 

And here is a link to my ioreg -l output: http://s3.amazonaws.com/varikin.baconfile.com/ioreg.txt

 

thanks for the help

Share this post


Link to post
Share on other sites
I tried the AppleVIAATA.kext (v0.2). Now my computer does not start. When I start with -v, it stops at a part that says "Still waiting for root device" every 30 seconds or more.

 

I tried this with 10.5.3 vanilla and 10.5.4 vanilla, same result. Here is a link to the screenshot of kernel panic (it is rather large so you can read everything) http://baconfile.com/varikin/panic.jpg/

 

And here is a link to my ioreg -l output: http://s3.amazonaws.com/varikin.baconfile.com/ioreg.txt

 

thanks for the help

 

Ok, so this panic is because you have more than 2/3/4 gb of ram and the driver does not support them. Do you have this panic with the modified AppleVIAATA?

 

Checkout previous post for related kext versions. There's one I made showing my kext versions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×