Jump to content

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


slashack
 Share

568 posts in this topic

Recommended Posts

So far so good, tried everything to get kp & nothing! I only replaced AppleNForceATA(Debug)

(now i want to make a system with 8gb haha)

 

You are a HERO

Kalyway 10.5.2

Asus AN8-SLI - AppleAC97Audio

4gb Ram

Samsung 500 gb sata (remove AppleSMBIOS.kext on install because of crash, place in Extension after build)

AMD Athlon 64 FX-25 Processor 5700/2.81Ghz

NVIDIA 7600GS 256mb Nvinject 0.2.0 + Geforce.kext

 

Be careful. DEBUG kext print tons of information i would need in case they give KP. Use normal kext (without DEBUG), they are the same.

Link to comment
Share on other sites

Am I the only one who still have kernel panic with the AppleNforceATA 64bits ?

 

With maxmem=2816 and AppleNforceATA 32 bits i have no error with rember and all work very good.

Without maxmem and AppleNforceATA 32 bits i have errors and kernel panic with rember.

 

Without maxmem and AppleNforceATA 64 bits no error with rember but 2 times per day when i clic on a file i have a kernel panic.

 

img0051vw9.th.jpg

 

img0050vu5.th.jpg

 

Config :

 

Msi P6N SLI-FI (Nforce 650i)

Core2duo 4300 @ 3000

4 Go DDR2

Apple USB Ethernet

8800 GT 512

1 IDE HDD ( Vista, XP, Linux )

2 SATA HDD ( Leopard )

 

Mac OSX 10.5.5

Link to comment
Share on other sites

Am I the only one who still have kernel panic with the AppleNforceATA 64bits ?

 

With maxmem=2816 and AppleNforceATA 32 bits i have no error with rember and all work very good.

Without maxmem and AppleNforceATA 32 bits i have errors and kernel panic with rember.

 

Without maxmem and AppleNforceATA 64 bits no error with rember but 2 times per day when i clic on a file i have a kernel panic.

 

img0051vw9.th.jpg

 

img0050vu5.th.jpg

 

Config :

 

Msi P6N SLI-FI (Nforce 650i)

Core2duo 4300 @ 3000

4 Go DDR2

Apple USB Ethernet

8800 GT 512

1 IDE HDD ( Vista, XP, Linux )

2 SATA HDD ( Leopard )

 

Mac OSX 10.5.5

 

There's no evidence there you are using AppleNForceATA.kext. Can u attach "ioreg -l > dump.txt" (run that without quoutes in console and attach dump.txt).

Link to comment
Share on other sites

I'm still having problems after trying the AppleVIAATA on p1. Anyone have any ideas?

 

This is what happens: my 300GB IDE drive shows up as 128GB in Disk Utility; two other SATA connected drives do not show up at all in Disk Utility; applications crashing; and I still have kernel panics. :)

 

System is a shuttle VIA based SK22G2V2 box, 4GB of ram. 10.4.8. I reverted back to the original AppleVIAATA.kext for now and it is OK, but still have the 4GB bug of course.

 

This is the portion of my ioreg:

 

 +-o CHN1@1  <class AppleVIAATAChannel, registered, matched, activ$
 | |   |	 | {
 | |   |	 |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/SATA@f0000/CHN1@1"
 | |   |	 |   "Control Block Address" = 63232
 | |   |	 |   "Interrupt Vector" = 20
 | |   |	 |   "Channel Number" = 1
 | |   |	 |   "acpi-reg" = <00010000>
 | |   |	 |   "IOInterruptControllers" = ("io-apic-0")
 | |   |	 |   "IOInterruptSpecifiers" = (<1400000007000000>)
 | |   |	 |   "Command Block Address" = 63488
 | |   |	 | }
 | |   |	 | 
 | |   |	 +-o AppleVIAATADriver  <class AppleVIAATADriver, registered, ma$
 | |   |	   | {
 | |   |	   |   "Power Management protected data" = "{ theNumberOfPowerSt$
 | |   |	   |   "Drive 0 Ultra DMA Mode" = 6
 | |   |	   |   "CFBundleIdentifier" = "com.apple.driver.AppleVIAATA"
 | |   |	   |   "IOClass" = "AppleVIAATADriver"
 | |   |	   |   "Drive 0 PIO Mode" = 4
 | |   |	   |   "IOProbeScore" = 0
 | |   |	   |   "Power Management private data" = "{ this object = 041ace$
 | |   |	   |   "IOMatchCategory" = "IODefaultMatchCategory"
 | |   |	   |   "Physical Interconnect" = "SATA"
 | |   |	   |   "IOProviderClass" = "AppleVIAATAChannel"
 | |   |	   | }

 

Complete dump here.

dump.txt

Link to comment
Share on other sites

I'm still having problems after trying the AppleVIAATA on p1. Anyone have any ideas?

 

This is what happens: my 300GB IDE drive shows up as 128GB in Disk Utility; two other SATA connected drives do not show up at all in Disk Utility; applications crashing; and I still have kernel panics. :)

 

System is a shuttle VIA based SK22G2V2 box, 4GB of ram. 10.4.8. I reverted back to the original AppleVIAATA.kext for now and it is OK, but still have the 4GB bug of course.

 

This is the portion of my ioreg:

 

 +-o CHN1@1  <class AppleVIAATAChannel, registered, matched, activ$
 | |   |	 | {
 | |   |	 |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/SATA@f0000/CHN1@1"
 | |   |	 |   "Control Block Address" = 63232
 | |   |	 |   "Interrupt Vector" = 20
 | |   |	 |   "Channel Number" = 1
 | |   |	 |   "acpi-reg" = <00010000>
 | |   |	 |   "IOInterruptControllers" = ("io-apic-0")
 | |   |	 |   "IOInterruptSpecifiers" = (<1400000007000000>)
 | |   |	 |   "Command Block Address" = 63488
 | |   |	 | }
 | |   |	 | 
 | |   |	 +-o AppleVIAATADriver  <class AppleVIAATADriver, registered, ma$
 | |   |	   | {
 | |   |	   |   "Power Management protected data" = "{ theNumberOfPowerSt$
 | |   |	   |   "Drive 0 Ultra DMA Mode" = 6
 | |   |	   |   "CFBundleIdentifier" = "com.apple.driver.AppleVIAATA"
 | |   |	   |   "IOClass" = "AppleVIAATADriver"
 | |   |	   |   "Drive 0 PIO Mode" = 4
 | |   |	   |   "IOProbeScore" = 0
 | |   |	   |   "Power Management private data" = "{ this object = 041ace$
 | |   |	   |   "IOMatchCategory" = "IODefaultMatchCategory"
 | |   |	   |   "Physical Interconnect" = "SATA"
 | |   |	   |   "IOProviderClass" = "AppleVIAATAChannel"
 | |   |	   | }

 

Complete dump here.

 

Is this dump with my modified kext? I'm developing under leopard, the problem might be if tiger doesn't suppor 64 bit addresses. I really don't know wheither tiger is 64 bits compatible. The issue may have something to do with the api i use from the kernel to make 64 bit dma.

 

Make sure your devid is in AppleVIAATA Info.plist (I removed every devid but mine, and i really don't know why i made that stupid thing)

 

by the way, i couldn't download your complete dump.

 

Here is my Attached File dump.txt ( 362.68K ) Number of downloads: 2

 

Take a look at this:

 

 +-o IDE0@D  <class IOPCIDevice, registered, matched, active, busy 0, $
| |   | | {
| |   | |   "IOPCIResourced" = Yes
| |   | |   "IOName" = "pci10de,265"
| |   | |   "subsystem-id" = <50730000>
| |   | |   "IODeviceMemory" = ({"parent"=({"address"=0,"length"=65536}),"o$
| |   | |   "acpi-reg" = <00680000>
| |   | |   "class-code" = <8a010100>
| |   | |   "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerStat$
| |   | |   "revision-id" = <a1000000>
| |   | |   "assigned-addresses" = <2068008100000000a0ff0000000000001000000$
| |   | |   "built-in" = <00>
| |   | |   "device-id" = <65020000>
| |   | |   "vendor-id" = <de100000>
| |   | |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/IDE0@d0000"
| |   | |   "subsystem-vendor-id" = <62140000>
| |   | |   "name" = "pci10de,265"
| |   | |   "reg" = <006800000000000000000000000000000000000020680001000000$
| |   | |   "compatible" = <"pci1462,7350","pci10de,265","pciclass,01018a">
| |   | | }
| |   | | 
| |   | +-o AppleOnboardPCATARoot  <class AppleOnboardPCATARoot, !registere$
| |   |   | {
| |   |   |   "IOProbeScore" = 10000
| |   |   |   "IOProviderClass" = "IOPCIDevice"
| |   |   |   "Hardware Vendor" = "NVIDIA"
| |   |   |   "CFBundleIdentifier" = "com.apple.driver.AppleOnboardPCATA"
| |   |   |   "IOMatchCategory" = "IODefaultMatchCategory"
| |   |   |   "IOPCIPrimaryMatch" = "0x005310de 0x00e510de 0x026510de 0x00d$
| |   |   |   "IOClass" = "AppleOnboardPCATARoot"
| |   |   | }
| |   |   |

 

All that stuff means your IDE0 has "device-id" = <65020000> and "vendor-id" = <de100000>, that means your IDE controller pciid is 10de:0265 -> NVidia something. The below stuff shows what kext you are using: AppleOnboardPCATARoot. Why this kext? Well, mac matches your devices pciids with all kext pciids listed in Info.plist (under Contents inside the .kext folder). AppleOnboardPCATA seems to be a kext that matches your pciid for your IDE controller: "IOPCIPrimaryMatch" = "0x005310de 0x00e510de 0x026510de 0x00d$.

 

If you have installed AppleNForceATA.kext correctly, then mac is loading another kext for that device. Either remove AppleOnboardPCATA.kext or remove 0x026510de from IOPCIPrimaryMatch section under AppleOnboardPCATA.kext/Contents/Info.plist. The last one is wich I recommend in case this kext is needed for something else. If this goes wrong, just put back this pciid where it was.

Link to comment
Share on other sites

Take a look at this:

 

 +-o IDE0@D  <class IOPCIDevice, registered, matched, active, busy 0, $
	 | |   | | {
	 | |   | |   "IOPCIResourced" = Yes
	 | |   | |   "IOName" = "pci10de,265"
	 | |   | |   "subsystem-id" = <50730000>
	 | |   | |   "IODeviceMemory" = ({"parent"=({"address"=0,"length"=65536}),"o$
	 | |   | |   "acpi-reg" = <00680000>
	 | |   | |   "class-code" = <8a010100>
	 | |   | |   "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerStat$
	 | |   | |   "revision-id" = <a1000000>
	 | |   | |   "assigned-addresses" = <2068008100000000a0ff0000000000001000000$
	 | |   | |   "built-in" = <00>
	 | |   | |   "device-id" = <65020000>
	 | |   | |   "vendor-id" = <de100000>
	 | |   | |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/IDE0@d0000"
	 | |   | |   "subsystem-vendor-id" = <62140000>
	 | |   | |   "name" = "pci10de,265"
	 | |   | |   "reg" = <006800000000000000000000000000000000000020680001000000$
	 | |   | |   "compatible" = <"pci1462,7350","pci10de,265","pciclass,01018a">
	 | |   | | }
	 | |   | | 
	 | |   | +-o AppleOnboardPCATARoot  <class AppleOnboardPCATARoot, !registere$
	 | |   |   | {
	 | |   |   |   "IOProbeScore" = 10000
	 | |   |   |   "IOProviderClass" = "IOPCIDevice"
	 | |   |   |   "Hardware Vendor" = "NVIDIA"
	 | |   |   |   "CFBundleIdentifier" = "com.apple.driver.AppleOnboardPCATA"
	 | |   |   |   "IOMatchCategory" = "IODefaultMatchCategory"
	 | |   |   |   "IOPCIPrimaryMatch" = "0x005310de 0x00e510de 0x026510de 0x00d$
	 | |   |   |   "IOClass" = "AppleOnboardPCATARoot"
	 | |   |   | }
	 | |   |   |

 

All that stuff means your IDE0 has "device-id" = <65020000> and "vendor-id" = <de100000>, that means your IDE controller pciid is 10de:0265 -> NVidia something. The below stuff shows what kext you are using: AppleOnboardPCATARoot. Why this kext? Well, mac matches your devices pciids with all kext pciids listed in Info.plist (under Contents inside the .kext folder). AppleOnboardPCATA seems to be a kext that matches your pciid for your IDE controller: "IOPCIPrimaryMatch" = "0x005310de 0x00e510de 0x026510de 0x00d$.

 

If you have installed AppleNForceATA.kext correctly, then mac is loading another kext for that device. Either remove AppleOnboardPCATA.kext or remove 0x026510de from IOPCIPrimaryMatch section under AppleOnboardPCATA.kext/Contents/Info.plist. The last one is wich I recommend in case this kext is needed for something else. If this goes wrong, just put back this pciid where it was.

 

Thank you for the very very quick reply. I remove 0x026510de from IOPCIPrimaryMatch section under AppleOnboardPCATA.kext/Contents/Info.plist.

And now my IDE0 use AppleNForceATARoot

 

  | |   +-o IDE0@D  <class IOPCIDevice, registered, matched, active, busy 0, $
   | |   | | {
   | |   | |   "IOPCIResourced" = Yes
   | |   | |   "IOName" = "pci10de,265"
   | |   | |   "subsystem-id" = <50730000>
   | |   | |   "IODeviceMemory" = ({"parent"=({"address"=0,"length"=65536}),"o$
   | |   | |   "acpi-reg" = <00680000>
   | |   | |   "class-code" = <8a010100>
   | |   | |   "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerStat$
   | |   | |   "revision-id" = <a1000000>
   | |   | |   "assigned-addresses" = <2068008100000000a0ff0000000000001000000$
   | |   | |   "built-in" = <00>
   | |   | |   "device-id" = <65020000>
   | |   | |   "vendor-id" = <de100000>
   | |   | |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/IDE0@d0000"
   | |   | |   "subsystem-vendor-id" = <62140000>
   | |   | |   "name" = "pci10de,265"
   | |   | |   "reg" = <006800000000000000000000000000000000000020680001000000$
   | |   | |   "compatible" = <"pci1462,7350","pci10de,265","pciclass,01018a">
   | |   | | }
   | |   | | 
   | |   | +-o AppleNForceATARoot  <class AppleNForceATARoot, !registered, !ma$
   | |   |   | {
   | |   |   |   "IOProbeScore" = 1000
   | |   |   |   "IOProviderClass" = "IOPCIDevice"
   | |   |   |   "Serial ATA" = No
   | |   |   |   "CFBundleIdentifier" = "com.nvidia.driver.AppleNForceATA"
   | |   |   |   "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |   |   "IOPCIPrimaryMatch" = "0x01bc10de 0x006510de 0x008510de 0x00d$
   | |   |   |   "Hardware Name" = "nForce MCP 51"
   | |   |   |   "IOClass" = "AppleNForceATARoot"
   | |   |   | }
   | |   |   | 
   | |   |   +-o CHN0@0  <class AppleNForceATAChannel, registered, matched, ac$
   | |   |   | | {
   | |   |   | |   "IOInterruptSpecifiers" = (<0e00000000000000>)
   | |   |   | |   "IOInterruptControllers" = ("io-apic-0")
   | |   |   | |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/IDE0@d0000/CHN0@0"
   | |   |   | |   "acpi-reg" = <00000000>
   | |   |   | |   "Channel Number" = 0

 

Is this good for you ?

Link to comment
Share on other sites

Thank you for the very very quick reply. I remove 0x026510de from IOPCIPrimaryMatch section under AppleOnboardPCATA.kext/Contents/Info.plist.

And now my IDE0 use AppleNForceATARoot

 

Is this good for you ?

 

Ok,now u are using AppleNForceATA.kext. Are u experiencing kp's? Dose it works? Try now.

Link to comment
Share on other sites

Is this dump with my modified kext? I'm developing under leopard, the problem might be if tiger doesn't suppor 64 bit addresses. I really don't know wheither tiger is 64 bits compatible. The issue may have something to do with the api i use from the kernel to make 64 bit dma.

 

Ah I think that's it. Is there any way to include 10.4 compatibility when you compile the VIA driver? :/ I could test that for the heck of it.

Link to comment
Share on other sites

Ah I think that's it. Is there any way to include 10.4 compatibility when you compile the VIA driver? :/ I could test that for the heck of it.

 

I don't have any 10.4 box. You can install xcode and download the source from svn (it's the same googlecode project where the kexts are hosted). Otherwise, there's nothing i can do (i don't have any more pcs to install tiger on them and do it).

Link to comment
Share on other sites

Hi slashack:

 

I compiled your AppleVIAATA source under 10.4.8 with xcode 2.5. It works GREAT. I loaded up a large Logic session with many gigs of samples, and I had no kernel panics. Thank you so much!

 

:thumbsup_anim: :pirate2:

 

If u have a gmail account, I can register u at darwinata so u can upload that kext, in case there someone out there with the same problem as you. (I believed mine was a special case, i never expected so much people with the same issue)

Link to comment
Share on other sites

Hello, where can i get this source? I have same problems, but after 10.5.5 update. This my post. Random kernel panic, when i work with large amount of data.

 

this is my post:

http://forum.insanelymac.com/index.php?showtopic=134477

 

Some good peoples give me a link with modified AppleVIAATA and Jmicron.kext, but my system can not boot with this kexts. I think i need hard mind work, and source code, for getting worked kext`s...

 

Big thanks for answer..

Link to comment
Share on other sites

Hello, where can i get this source? I have same problems, but after 10.5.5 update. This my post. Random kernel panic, when i work with large amount of data.

 

this is my post:

http://forum.insanelymac.com/index.php?showtopic=134477

 

Some good peoples give me a link with modified AppleVIAATA and Jmicron.kext, but my system can not boot with this kexts. I think i need hard mind work, and source code, for getting worked kext`s...

 

Big thanks for answer..

 

I've read your post, you need to add your devid to AppleVIAATA.kext. That's why u get an "still waiting for root device" Your KP's logs shows that u have the same problem as me. It's because you are using a 32 bit addressing scheme in your IDE controller kext. Just add your devid

Link to comment
Share on other sites

I've read your post, you need to add your devid to AppleVIAATA.kext. That's why u get an "still waiting for root device" Your KP's logs shows that u have the same problem as me. It's because you are using a 32 bit addressing scheme in your IDE controller kext. Just add your devid

 

Great thanks for fast feedback, slashack ! :blink: I wheel try this.. Right now. With this problem, installation of Update 10.5.5 - is impossible for me..

Link to comment
Share on other sites

Great thanks for fast feedback, slashack ! :) I wheel try this.. Right now. With this problem, installation of Update 10.5.5 - is impossible for me..

 

Try testing your memory with rember. (all your memory). And while testing, try to open files, create folders, etc in your IDE hdd. I believe this problem happens in every 10.5.X version.

Link to comment
Share on other sites

If u have a gmail account, I can register u at darwinata so u can upload that kext, in case there someone out there with the same problem as you. (I believed mine was a special case, i never expected so much people with the same issue)

 

Hi slashack,

 

I've attached a .zip of all of the darwin-ata drivers compiled with xcode 2.5 under 10.4.8. I have only tested the AppleVIAATA on my 10.4.8 system. The others all compiled fine, fwiw.

 

darwin_ata_10_4.zip

Link to comment
Share on other sites

Hi slashack,

 

I've attached a .zip of all of the darwin-ata drivers compiled with xcode 2.5 under 10.4.8. I have only tested the AppleVIAATA on my 10.4.8 system. The others all compiled fine, fwiw.

 

darwin_ata_10_4.zip

 

Thanks! I've uploaded those kexts to googlecode svn in case someone needs them.

Link to comment
Share on other sites

Try testing your memory with rember. (all your memory). And while testing, try to open files, create folders, etc in your IDE hdd. I believe this problem happens in every 10.5.X version.

 

Sorry.. But i`m have stupid problems now:

 

1. AppleVIAATA.kextr is not loaded in my extension list (but exist in extensions folder), only the JMicron.kext loaded

 

and

2. I can`t found Device ID for JMicron controller.

I just found this:

 
   | |   |     +-o JMicronATAPCIRoot  
   | |   |       | {
   | |   |       |   "IOProbeScore" = 0x2710
   | |   |       |   "IOProviderClass" = "IOPCIDevice"
   | |   |       |   "Hardware Vendor" = "JMicron"
   | |   |       |   "CFBundleIdentifier" = "com.jmicron.JMicronATA"
   | |   |       |   "IOPCIClassMatch" = "0x01010000&0xffff0000"
   | |   |       |   "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |       |   "IOPCIPrimaryMatch" = "0x2368197b 0x2360197b&0xfff0ffff"
   | |   |       |   "IOClass" = "JMicronATAPCIRoot"
   | |   |       | }
   | |   |       | 
   | |   |       +-o SDE0@0  
   | |   |       | | {
   | |   |       | |   "IOInterruptSpecifiers" = (<1000000007000000>)
   | |   |       | |   "acpi-device" = "IOACPIPlatformDevice is not serializable"
   | |   |       | |   "IOInterruptControllers" = ("io-apic-0")
   | |   |       | |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/P0P8@1c0004/JMF0@0/SDE0@0"
   | |   |       | |   "Channel Number" = 0x0
   | |   |       | |   "Command Block Address" = 0xac00
   | |   |       | |   "Control Block Address" = 0xa880
   | |   |       | |   "Interrupt Vector" = 0x10
   | |   |       | | }
   | |   |       | | 
   | |   |       | +-o JMicronATA  
   | |   |       |     {
   | |   |       |       "IOProviderClass" = "JMicronATAChannel"
   | |   |       |       "IOProbeScore" = 0x0
   | |   |       |       "Hardware Vendor" = "JMicron"
   | |   |       |       "CFBundleIdentifier" = "com.jmicron.JMicronATA"
   | |   |       |       "Physical Interconnect" = "ATA"
   | |   |       |       "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |       |       "IOPowerManagement" = {"CurrentPowerState"=0x2,"DeviceChangePowerState"=0x2}
   | |   |       |       "IOClass" = "JMicronATA"
   | |   |       |     }
   | |   |       |     
   | |   |       +-o SDE1@1  
   | |   |         | {
   | |   |         |   "IOInterruptSpecifiers" = (<1000000007000000>)
   | |   |         |   "acpi-device" = "IOACPIPlatformDevice is not serializable"
   | |   |         |   "IOInterruptControllers" = ("io-apic-0")
   | |   |         |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/P0P8@1c0004/JMF0@0/SDE1@1"
   | |   |         |   "Channel Number" = 0x1
   | |   |         |   "Command Block Address" = 0xa800
   | |   |         |   "Control Block Address" = 0xa480
   | |   |         |   "Interrupt Vector" = 0x10
   | |   |         | }
   | |   |         | 
   | |   |         +-o JMicronATA  
   | |   |             {
   | |   |               "IOProviderClass" = "JMicronATAChannel"
   | |   |               "IOProbeScore" = 0x0
   | |   |               "Hardware Vendor" = "JMicron"
   | |   |               "CFBundleIdentifier" = "com.jmicron.JMicronATA"
   | |   |               "Physical Interconnect" = "ATA"
   | |   |               "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |               "IOPowerManagement" = {"CurrentPowerState"=0x2,"DeviceChangePowerState"=0x2}
   | |   |               "IOClass" = "JMicronATA"
   | |   |             }

 

This string - "IOPCIPrimaryMatch" = "0x2368197b 0x2360197b&0xfff0ffff" is exist in Info.plist of JMicron.kext (this loaded and work in my 10.5.2 system). But i can`t found any Device ID string in this block...

 

Next i`m use linux port of lspci command (this command - is part of package PCI Utils, if somebody need, this file is downloadable from this site)

 

1: info from lspci (simple)

02:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)

 

2. info from lspci -nn

 

02:00.0 IDE interface [0101]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2363] (rev 03) (prog-if 85 [Master SecO PriO])
   Subsystem: ASUSTeK Computer Inc. Device [1043:81e4]
   Flags: bus master, fast devsel, latency 0, IRQ 16
   I/O ports at ac00
   I/O ports at a880
   I/O ports at a800
   I/O ports at a480
   I/O ports at a400
   Memory at fe9fe000 (32-bit, non-prefetchable)
   Expansion ROM at fe9e0000 [disabled]
   Capabilities: [68] Power Management version 2
   Capabilities: [50] Express Legacy Endpoint, MSI 01
   Capabilities: [100] #197b
   Capabilities: [236] #68

3. lcpci -nnn -vvv -Q

 

02:00.0 IDE interface [0101]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2363] (rev 03) (prog-if 85 [Master SecO PriO])
       Subsystem: ASUSTeK Computer Inc. P5B [JMB363] [1043:81e4]
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
       Latency: 0, Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 16
       Region 0: I/O ports at ac00
       Region 1: I/O ports at a880
       Region 2: I/O ports at a800
       Region 3: I/O ports at a480
       Region 4: I/O ports at a400
       Region 5: Memory at fe9fe000 (32-bit, non-prefetchable)
       Expansion ROM at fe9e0000 [disabled]
       Capabilities: [68] 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-
       Capabilities: [50] Express (v1) Legacy Endpoint, MSI 01
               DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                       MaxPayload 128 bytes, MaxReadReq 512 bytes
               DevSta: CorrErr- UncorrErr- FatalErr+ UnsuppReq- AuxPwr- TransPend-
               LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <1us, L1 <16us
                       ClockPM- Suprise- LLActRep- BwNot-
               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
       Capabilities: [100] #197b
       Capabilities: [236] #68

===========================

 

I`m not see matches for "Device ID" string, and not see loaded AppleVIAATA in my system, i don`t know what i can do next.

?

Link to comment
Share on other sites

Sorry.. But i`m have stupid problems now:

 

1. AppleVIAATA.kextr is not loaded in my extension list (but exist in extensions folder), only the JMicron.kext loaded

 

and

2. I can`t found Device ID for JMicron controller.

I just found this:

 
   | |   |     +-o JMicronATAPCIRoot  
   | |   |       | {
   | |   |       |   "IOProbeScore" = 0x2710
   | |   |       |   "IOProviderClass" = "IOPCIDevice"
   | |   |       |   "Hardware Vendor" = "JMicron"
   | |   |       |   "CFBundleIdentifier" = "com.jmicron.JMicronATA"
   | |   |       |   "IOPCIClassMatch" = "0x01010000&0xffff0000"
   | |   |       |   "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |       |   "IOPCIPrimaryMatch" = "0x2368197b 0x2360197b&0xfff0ffff"
   | |   |       |   "IOClass" = "JMicronATAPCIRoot"
   | |   |       | }
   | |   |       | 
   | |   |       +-o SDE0@0  
   | |   |       | | {
   | |   |       | |   "IOInterruptSpecifiers" = (<1000000007000000>)
   | |   |       | |   "acpi-device" = "IOACPIPlatformDevice is not serializable"
   | |   |       | |   "IOInterruptControllers" = ("io-apic-0")
   | |   |       | |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/P0P8@1c0004/JMF0@0/SDE0@0"
   | |   |       | |   "Channel Number" = 0x0
   | |   |       | |   "Command Block Address" = 0xac00
   | |   |       | |   "Control Block Address" = 0xa880
   | |   |       | |   "Interrupt Vector" = 0x10
   | |   |       | | }
   | |   |       | | 
   | |   |       | +-o JMicronATA  
   | |   |       |     {
   | |   |       |       "IOProviderClass" = "JMicronATAChannel"
   | |   |       |       "IOProbeScore" = 0x0
   | |   |       |       "Hardware Vendor" = "JMicron"
   | |   |       |       "CFBundleIdentifier" = "com.jmicron.JMicronATA"
   | |   |       |       "Physical Interconnect" = "ATA"
   | |   |       |       "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |       |       "IOPowerManagement" = {"CurrentPowerState"=0x2,"DeviceChangePowerState"=0x2}
   | |   |       |       "IOClass" = "JMicronATA"
   | |   |       |     }
   | |   |       |     
   | |   |       +-o SDE1@1  
   | |   |         | {
   | |   |         |   "IOInterruptSpecifiers" = (<1000000007000000>)
   | |   |         |   "acpi-device" = "IOACPIPlatformDevice is not serializable"
   | |   |         |   "IOInterruptControllers" = ("io-apic-0")
   | |   |         |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/P0P8@1c0004/JMF0@0/SDE1@1"
   | |   |         |   "Channel Number" = 0x1
   | |   |         |   "Command Block Address" = 0xa800
   | |   |         |   "Control Block Address" = 0xa480
   | |   |         |   "Interrupt Vector" = 0x10
   | |   |         | }
   | |   |         | 
   | |   |         +-o JMicronATA  
   | |   |             {
   | |   |               "IOProviderClass" = "JMicronATAChannel"
   | |   |               "IOProbeScore" = 0x0
   | |   |               "Hardware Vendor" = "JMicron"
   | |   |               "CFBundleIdentifier" = "com.jmicron.JMicronATA"
   | |   |               "Physical Interconnect" = "ATA"
   | |   |               "IOMatchCategory" = "IODefaultMatchCategory"
   | |   |               "IOPowerManagement" = {"CurrentPowerState"=0x2,"DeviceChangePowerState"=0x2}
   | |   |               "IOClass" = "JMicronATA"
   | |   |             }

 

This string - "IOPCIPrimaryMatch" = "0x2368197b 0x2360197b&0xfff0ffff" is exist in Info.plist of JMicron.kext (this loaded and work in my 10.5.2 system). But i can`t found any Device ID string in this block...

 

Next i`m use linux port of lspci command (this command - is part of package PCI Utils, if somebody need, this file is downloadable from this site)

 

1: info from lspci (simple)

02:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)

 

2. info from lspci -nn

 

02:00.0 IDE interface [0101]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2363] (rev 03) (prog-if 85 [Master SecO PriO])
   Subsystem: ASUSTeK Computer Inc. Device [1043:81e4]
   Flags: bus master, fast devsel, latency 0, IRQ 16
   I/O ports at ac00
   I/O ports at a880
   I/O ports at a800
   I/O ports at a480
   I/O ports at a400
   Memory at fe9fe000 (32-bit, non-prefetchable)
   Expansion ROM at fe9e0000 [disabled]
   Capabilities: [68] Power Management version 2
   Capabilities: [50] Express Legacy Endpoint, MSI 01
   Capabilities: [100] #197b
   Capabilities: [236] #68

3. lcpci -nnn -vvv -Q

 

02:00.0 IDE interface [0101]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2363] (rev 03) (prog-if 85 [Master SecO PriO])
       Subsystem: ASUSTeK Computer Inc. P5B [JMB363] [1043:81e4]
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
       Latency: 0, Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 16
       Region 0: I/O ports at ac00
       Region 1: I/O ports at a880
       Region 2: I/O ports at a800
       Region 3: I/O ports at a480
       Region 4: I/O ports at a400
       Region 5: Memory at fe9fe000 (32-bit, non-prefetchable)
       Expansion ROM at fe9e0000 [disabled]
       Capabilities: [68] 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-
       Capabilities: [50] Express (v1) Legacy Endpoint, MSI 01
               DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                       MaxPayload 128 bytes, MaxReadReq 512 bytes
               DevSta: CorrErr- UncorrErr- FatalErr+ UnsuppReq- AuxPwr- TransPend-
               LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <1us, L1 <16us
                       ClockPM- Suprise- LLActRep- BwNot-
               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
       Capabilities: [100] #197b
       Capabilities: [236] #68

===========================

 

I`m not see matches for "Device ID" string, and not see loaded AppleVIAATA in my system, i don`t know what i can do next.

?

 

U only need one of these kexts, not both.

 

Your devid is 197b:2363 => 0x2363197b.

 

"IOPCIPrimaryMatch" = "0x2368197b 0x2360197b&0xfff0ffff" has your devid. The term 0x2360197b&0xfff0ffff means any 0x236X197b where X can be replaced for any hex number (0-F). This string matches your devid.

 

According to this, u have JMicronATA.kext loaded. Wheres the problem? Is this kext the one i've modified? Or is it another? When u boot with my kext, do u have any problem? does it boot? if it does'n, boot with -v -f debug=0x100 and if there are any errors, take a photo of your screen and reply with that image, or whatever your problem is.

 

I'm running 10.5.5 with modified AppleVIAATA.kext, and recently fixed a 10.5.5 system with JMicronATA.kext (KP's during IDE DVD operations).

Link to comment
Share on other sites

slashack, i install your JMicronATA.kext (now only on 10.5.2 system, sorry,but i`m not have enough time - i must go work), but have a strange issue:

 

System load - ok. All drives detected and work. (i don`t do all memory tests) - but, i can`t see in "System Profile" JMicronATA.kext loaded or not. It not shown. I think this a not a big problem, because, without loaded JMicronATA my system can`t work.

 

(i`m don`t remember now, but i do kext listing with some command-line tools (kextload or something like this) and it show - JMicronATA.kext is not loaded.)

 

When i come to home after work - i try install 10.5.5 update and install your JM*.kext again.

I don`t understand, why i can`t see - loaded it or not. :)

 

Thanks..

Link to comment
Share on other sites

slashack, i install your JMicronATA.kext (now only on 10.5.2 system, sorry,but i`m not have enough time - i must go work), but have a strange issue:

 

System load - ok. All drives detected and work. (i don`t do all memory tests) - but, i can`t see in "System Profile" JMicronATA.kext loaded or not. It not shown. I think this a not a big problem, because, without loaded JMicronATA my system can`t work.

 

(i`m don`t remember now, but i do kext listing with some command-line tools (kextload or something like this) and it show - JMicronATA.kext is not loaded.)

 

When i come to home after work - i try install 10.5.5 update and install your JM*.kext again.

I don`t understand, why i can`t see - loaded it or not. ;)

 

Thanks..

 

The command is kextstat. Try with that. if not, try with a dump (ioreg -l > dump.txt). With a dump we can find why it's not working.

Link to comment
Share on other sites

 Share

×
×
  • Create New...