Jump to content

Atheros AR8131/AR8132


bramo
 Share

315 posts in this topic

Recommended Posts

Ye it's only bonjour + the ability to find/connect to my airport express. Thanks.

Check my previous post edit and see if you understand the panic I got with your latest kext mod booting in x64. I don't really need x64 myself, except when I do 3D with Maya. Don't worry about it if it's lots of work to fix. Cheers.

 

Looks like you have multiple errors there.

 

Your RTC looks like a patched copy or ripped from an older OS version. This is a much bigger problem than the network extension failing.

 

The ethernet extension fails because 64bit IONetworkingFamily extension is not found. That usually means one of two things... something else that failed is preventing access the file or more likely your copy of IONetworkingFamily is wrong (either old or patched).

 

Boot into x32 and use system profiler to check your extensions. System Profiler -> Software -> Extensions. It should say 'Yes' under 64-Bit (Intel) column for IONetworkingFamily.

 

If it doesn't you need the original copy for your OS version

Link to comment
Share on other sites

That's what it says. V1.9 64bit intel.

My installation is a non-dsdt one. I followed tonymac's explanations, installed a retail 10.6, upgraded to 10.6.4 and installed [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] http://tonymacx86.blogspot.com/2010/04/ibo...ac-os-x-on.html

[url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] installs those: Chameleon 2.0 RC4 by AsereBLN 1.1.9, fakesmc, EvOreboot, JMicron36xATA, JMicron36xSATA, LegacyAppleRTC, NullCPUPowerManagement, IOUSBFamily 10.6.2 Rollback, 32-Bit com.apple.boot.plist, and iMac11,1 smbios.plist.

I only installed those, voodoohda and atherosl1c on the retail 10.6 :(

 

Hmm. I'll do a clean install and selectively install kexts. Maybe that won't mess things up like [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

Link to comment
Share on other sites

That's what it says. V1.9 64bit intel.

My installation is a non-dsdt one. I followed tonymac's explanations, installed a retail 10.6, upgraded to 10.6.4 and installed [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] http://tonymacx86.blogspot.com/2010/04/ibo...ac-os-x-on.html

[url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] installs those: Chameleon 2.0 RC4 by AsereBLN 1.1.9, fakesmc, EvOreboot, JMicron36xATA, JMicron36xSATA, LegacyAppleRTC, NullCPUPowerManagement, IOUSBFamily 10.6.2 Rollback, 32-Bit com.apple.boot.plist, and iMac11,1 smbios.plist.

I only installed those, voodoohda and atherosl1c on the retail 10.6 :wacko:

 

Hmm. I'll do a clean install and selectively install kexts. Maybe that won't mess things up like [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

 

LegacyAppleRTC is outdated you should try ElliottForceLegacyRTC.kext if you're trying to run 64

Link to comment
Share on other sites

Never heard of that. Thanks. I managed to make a DSDT file and edited it to fix the CMOS resets and USB issues on a new installation. I kept the original RTC and used your l1c kext. So far, I can boot in both 64 and 32 bits. Everything works perfectly. :) I'll let you know if the Atherosl1c behaves badly again. Thanks so much.

Link to comment
Share on other sites

I'm also getting a kernel panic. Can anyone send me the final release (the latest one) of the kext?

 

The latest is in post 272

 

 

@theCandle, I have bad news. There's a new panic (32bit). Picture attached.

I don't know if it's worth mentioning but my hackintosh had slept and woken up a few times before that happened. Plus, I still don't have bonjour after sleep. Don't know if any of that is related to the panic.

post-141749-1286137436_thumb.jpg

Link to comment
Share on other sites

@theCandle, I have bad news. There's a new panic (32bit). Picture attached.

I don't know if it's worth mentioning but my hackintosh had slept and woken up a few times before that happened. Plus, I still don't have bonjour after sleep. Don't know if any of that is related to the panic.

 

Try this latest debug release and let me know if its working. It will also log out in case its does not.

 

Also make sure you don't have an existing copies floating around your system. The copy might be bundled with your distribution that is preventing the fixed copy from loading. Check both systems extensions and extras extensions.

 

-----

 

BTW, the id string has been changed to com.insanelymac.AtherosL1cEthernet to easily identify the extension and to let people know the only place this mod should come from.

AtherosL1cEthernet_100310_debug.zip

Link to comment
Share on other sites

I just received my wireless card. Works perfectly :angry: Even my bonjour works fine after sleep.

I'll just continue to use LAN and your kext to help you debug the panic for other users though.

Don't worry, I did delete all other copies before trying your kext.

I'll try your new one and report back in case of KP.

Thanks.

Link to comment
Share on other sites

Let me know if it works, because I get the exact same kernel panic :)

 

Thanks Thecandle, and Beatoven

 

I haven't had any panics since I tried the debug release. That's only since yesterday though. Try it out yourself. It seems definitely better than reader02's L1C.

Link to comment
Share on other sites

Still no panic. I think you've nailed it this time thecandle.

 

[EDIT] Thanks for the release. The 10/10/10 is nice. lol. I'm replying here to leave your post as the last one. It'll be easier to find for others. Cheers.

 

{EDIT2} Can't thank thecandle enough. This guy did some tremendous work on this. He should be moved to the Expert group.

Link to comment
Share on other sites

  • 3 weeks later...
Since nobody has reported an issue, here's the release and source.

 

After sleep and waking on ASUS 1201n Ethernet does not respond.

 

Also detection of Ethernet cable sometimes stops working after you unplug the connection while in OS and then plug it back in (after 20-30 seconds). A restart with the cable plugged in also fixes the issue, but it can be annoying.

 

Other then those issue, I'd like to give my very large thank you to all the effort and work done to make this driver a reality!

 

Cheers,

Sto

Link to comment
Share on other sites

  • 1 month later...

Hello, starting from 101010 I've made proper cable detection, multicast and sleep to work.

 

Here is the diff.

diff atl1c/AtherosL1cEthernet.cpp new_atl1c/AtherosL1cEthernet.cpp
509a510,512
> 	// initialise linkStatus - link changes will be done by interrupt handler
> 	atGetAndUpdateLinkStatus();	
> 
512,514c515,516
< 	// atGetAndUpdateLinkStatus();	// Link state not always restored on enable
< 	
< 	// set FPGA vesion
---
> 
> 	// set FPGA version
521a524
> 	
918c921
< 	DbgPrint("systemWillShutdown(), %#x\n", specifier);
---
> 	DbgPrint("systemWillShutdown(), %#x\n", (unsigned int)specifier);
985,986c988,989
< 		mac_ctrl_data |= MAC_CTRL_MC_ALL_EN;
< 		mac_ctrl_data &= ~MAC_CTRL_PROMIS_EN;
---
> 		mac_ctrl_data |=   MAC_CTRL_MC_ALL_EN;
> 		mac_ctrl_data &= ~ MAC_CTRL_PROMIS_EN;
1001a1005
> 
1004c1008
< 	DbgPrint("setMulticastList()\n");
---
> 	DbgPrint("setMulticastList(count = %u)\n",(unsigned int)count);
1007a1012,1017
> 	
> 	/* restart from scratch */
> 	DbgPrint("setMulticastList : Reset\n");
> 	setMulticastMode(0);
> 	setMulticastMode(1);
> 	
1009a1020,1021
> 		DbgPrint("setMulticastList(%x:%x:%x:%x:%x:%x)\n", addrs->bytes[0],addrs->bytes[1],
> 				 addrs->bytes[2],addrs->bytes[3],addrs->bytes[4],addrs->bytes[5]);
1013c1025
< 
---
> 	
Common subdirectories: atl1c/AtherosL1cEthernet.xcodeproj and new_atl1c/AtherosL1cEthernet.xcodeproj
Common subdirectories: atl1c/English.lproj and new_atl1c/English.lproj
diff atl1c/at_hw.cpp new_atl1c/at_hw.cpp
274c274
<  *		  1. calcu 32bit CRC for multicast address
---
>  *		  1. calcul 32bit CRC for multicast address

Link to comment
Share on other sites

Hello, starting from 101010 I've made proper cable detection, multicast and sleep to work.

 

Here is the diff.

diff atl1c/AtherosL1cEthernet.cpp new_atl1c/AtherosL1cEthernet.cpp
509a510,512
>	 // initialise linkStatus - link changes will be done by interrupt handler
>	 atGetAndUpdateLinkStatus();	
> 
512,514c515,516
<	 // atGetAndUpdateLinkStatus();	// Link state not always restored on enable
<	 
<	 // set FPGA vesion
---
> 
>	 // set FPGA version
521a524
>	 
918c921
<	 DbgPrint("systemWillShutdown(), %#x\n", specifier);
---
>	 DbgPrint("systemWillShutdown(), %#x\n", (unsigned int)specifier);
985,986c988,989
<		 mac_ctrl_data |= MAC_CTRL_MC_ALL_EN;
<		 mac_ctrl_data &= ~MAC_CTRL_PROMIS_EN;
---
>		 mac_ctrl_data |=   MAC_CTRL_MC_ALL_EN;
>		 mac_ctrl_data &= ~ MAC_CTRL_PROMIS_EN;
1001a1005
> 
1004c1008
<	 DbgPrint("setMulticastList()\n");
---
>	 DbgPrint("setMulticastList(count = %u)\n",(unsigned int)count);
1007a1012,1017
>	 
>	 /* restart from scratch */
>	 DbgPrint("setMulticastList : Reset\n");
>	 setMulticastMode(0);
>	 setMulticastMode(1);
>	 
1009a1020,1021
>		 DbgPrint("setMulticastList(%x:%x:%x:%x:%x:%x)\n", addrs->bytes[0],addrs->bytes[1],
>				  addrs->bytes[2],addrs->bytes[3],addrs->bytes[4],addrs->bytes[5]);
1013c1025
< 
---
>	 
Common subdirectories: atl1c/AtherosL1cEthernet.xcodeproj and new_atl1c/AtherosL1cEthernet.xcodeproj
Common subdirectories: atl1c/English.lproj and new_atl1c/English.lproj
diff atl1c/at_hw.cpp new_atl1c/at_hw.cpp
274c274
<  *		  1. calcu 32bit CRC for multicast address
---
>  *		  1. calcul 32bit CRC for multicast address

 

 

Can you make a proper DIFF please :sorcerer:

Link to comment
Share on other sites

 Share

×
×
  • Create New...