mprewitt Posted May 8, 2008 Share Posted May 8, 2008 Ok, I tricked my HP into getting the Enet port 2 installed, cost me 2 freezes, but it is now installed, so I am no longer getting the 'go apply' in the logs. BUT now it KP's on boot regardless. I can't catch any of the information in the logs. It won't write and it goes through a huge backtrace thing on the screen so the information is useless. And it goes by too fast for me, so I am at a loss as to how to help on this now... Mark Oh, running 3945 1034 Link to comment Share on other sites More sharing options...
jalavoui Posted May 8, 2008 Author Share Posted May 8, 2008 i think the dev_queue_xmit() need better code... fixed some bugs iwi3945 rel 1035 iwi4965 rel 1036 Link to comment Share on other sites More sharing options...
mprewitt Posted May 8, 2008 Share Posted May 8, 2008 Ok, built & tested 1036, attached is a pic of latest KP. Hope this helps. Link to comment Share on other sites More sharing options...
nordix Posted May 8, 2008 Share Posted May 8, 2008 1035 -> freezes (KP's) system.txt Link to comment Share on other sites More sharing options...
mprewitt Posted May 8, 2008 Share Posted May 8, 2008 I am looking at your logs nordix and am encouraged & discouraged. What is the config of your box? What kernel are you using? Because obviously with the KALy that I am using, the driver is not doing any scan, and never comes up with the MAC address of the enet card... I am wondering if different kernels react differently to the driver. Mark Link to comment Share on other sites More sharing options...
jalavoui Posted May 8, 2008 Author Share Posted May 8, 2008 Ok, built & tested 1036, attached is a pic of latest KP. Hope this helps. yep i need someone to add IOLog("1\n"); IOLog("2\n"); etc to the functions of previous kp to find out where the driver get the kp nordix, if you allways get kp there's no point in posting log because it as no data related with the kp add iologs to ieee80211_tx_h_rate_ctrl() and rs_get_rate() this will show the place of the kp wait... i'll try this code in ieee80211_tx_h_rate_ctrl() if (unlikely(!tx->sta) return TXRX_CONTINUE; if this if 1st packect bug it will fix it i'll upload to svn try it iwi3945 rel 1037 iwi4965 rel 1038 Link to comment Share on other sites More sharing options...
mprewitt Posted May 8, 2008 Share Posted May 8, 2008 Jalavoui, I am happy to hack the code if you can be a little more specific about which file/area you need me to put in the IOLog routines? I haven't taken time to really look at your code because it has been changing so fast with updates. Mark Link to comment Share on other sites More sharing options...
jalavoui Posted May 8, 2008 Author Share Posted May 8, 2008 i've hacked dev_get_by_index() might help iwi3945 rel 1039 iwi4965 rel 1040 forgot to update 4965 iwi4965 rel 1041 to insert iologs look at nordix example quite easy to catch kp tis way Link to comment Share on other sites More sharing options...
nordix Posted May 8, 2008 Share Posted May 8, 2008 1037 -> all the same... jalavoui - how should I insert iologs? like in the attached file? 1.rtf Link to comment Share on other sites More sharing options...
pere Posted May 8, 2008 Share Posted May 8, 2008 Have come back right now, will download last version and try to hack that code. Will inform as soon as i can get something clear Nordix has done a good job with the iologs, so im going to test directly!! Link to comment Share on other sites More sharing options...
mprewitt Posted May 8, 2008 Share Posted May 8, 2008 ok, here is the latest KP. Mark 3945 1041 Link to comment Share on other sites More sharing options...
f41qu3 Posted May 8, 2008 Share Posted May 8, 2008 i have this on dmesg (maybe can help for new ideas) sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 32 timei 60000 timei2 1147997624 sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 connect Trying to turn card off... don't work use kextunload request scan - disabled! sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 request scan - disabled! sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 disconnect sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 32 timei 60000 timei2 1018479391 sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 32 timei 60000 timei2 888963271 sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 32 timei 60000 timei2 759447726 sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 32 timei 60000 timei2 629928258 sta_info_cleanup @ /Users/DoctaDre/Desktop/Latest wireless Kext/compatibility.cpp:5436 MacBook:applications f41qu3$ Link to comment Share on other sites More sharing options...
jalavoui Posted May 8, 2008 Author Share Posted May 8, 2008 fix for last kp - maybe iwi3945 rel 1042 iwi4965 rel 1043 Link to comment Share on other sites More sharing options...
mprewitt Posted May 8, 2008 Share Posted May 8, 2008 Ok, 3945 1043 KP is alittle different. sorry the picture sucks.. Link to comment Share on other sites More sharing options...
pere Posted May 8, 2008 Share Posted May 8, 2008 iwi3945 rel 1042 Reboot log and manual scan log On reboot, i always get ucode errors no matter what i put on iosleep, but the card seems to recover and do a first scan by itself. I have reboot 10 times, no KP. reboot.txt manual_scan.txt Link to comment Share on other sites More sharing options...
jalavoui Posted May 8, 2008 Author Share Posted May 8, 2008 ok - run a few tests post kp pictures Link to comment Share on other sites More sharing options...
biojayc Posted May 9, 2008 Share Posted May 9, 2008 Hey Guys. I just started using OSx86 on my laptop and I have the intel 3945abg card. I'm really really excited to hear about this project, but I have no idea how to get or use these drivers. I heard that they are on svn some where, but I'm not familiar with OSX. If it wouldn't bother you guys too much, could you point me somewhere that will help me figure out how to begin testing this driver along with you guys? If it's posted in this topic somewhere, go ahead and curse at me if you must, but also include the post number or something. Thanks Link to comment Share on other sites More sharing options...
Bryce Posted May 9, 2008 Share Posted May 9, 2008 biojay, you need to set up your system to download the latest rel from the svn that jalavoui set up. Then you need to compile the kext yourself. if you are up for the challenge, check out this topic: http://forum.insanelymac.com/index.php?showtopic=71779 Link to comment Share on other sites More sharing options...
biojayc Posted May 9, 2008 Share Posted May 9, 2008 Thanks. I'm currently downloading Xcode. I have experience with SVN, linux, etc. Just never messed with mac software before, so I didn't know really how things were done there. Thanks for the topic and help. Jalavoui, I just want to say thanks for devoting the time to this project. I installed OSX on my compaq the other day and was really excited with the results. The only thing that wasn't working was the 3945abg card. Hopefully soon it'll be fully functional. Link to comment Share on other sites More sharing options...
jalavoui Posted May 9, 2008 Author Share Posted May 9, 2008 tx packet code iwi3945 rel 1044 iwi4965 rel 1045 Link to comment Share on other sites More sharing options...
Marcy Darcy Posted May 9, 2008 Share Posted May 9, 2008 I just tried out 1044 >> result KP attached Screenshot and syslog greez Marcy system.log.zip Link to comment Share on other sites More sharing options...
jalavoui Posted May 9, 2008 Author Share Posted May 9, 2008 I just tried out 1044 >> result KP that was because of errors at startup try a few reboots the driver can't work if May 9 11:55:26 localhost kernel[0]: warning iwl3945: Radio disabled by HW RF Kill switch you need to turn the card on before testing - press the wireless switch Link to comment Share on other sites More sharing options...
pere Posted May 9, 2008 Share Posted May 9, 2008 iwi 3945 r1044 Took a lot of reboots to get rid of timeouts, but finally booted ok, log attached. When tried to use manual scan, got frozen after that, reboot got an SCAN COMPLETE NOTIFICATION and kp here: IOPCcard debug: : failed to restore operational channel after scan _IEEE80211_if_config @ /users/pere/iwi3945/compatibility.cpp: 6182 related to this: { IM_HERE_NOW(); struct ieee80211_sub_if_data *sdata = (struct ieee80211_sub_if_data*)IEEE80211_DEV_TO_SUB_IF(dev); struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); struct ieee80211_if_conf conf; static u8 scan_bssid[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; if (!local->ops->config_interface || !netif_running(dev)) { IOLog("no netif_running\n"); //return 0; } reboot.txt Link to comment Share on other sites More sharing options...
Marcy Darcy Posted May 9, 2008 Share Posted May 9, 2008 that was because of errors at startuptry a few reboots Yes you are right! After a large amount of reboots it started now. See log files. greez Marcy systemafterreboot.log.zip systembeforereboot.log.zip Link to comment Share on other sites More sharing options...
jalavoui Posted May 9, 2008 Author Share Posted May 9, 2008 scan... iwi3945 rel 1046 iwi4965 rel 1047 Link to comment Share on other sites More sharing options...
Recommended Posts