Masterchief JYT Posted April 28, 2008 Share Posted April 28, 2008 Hello to all in this tread, i don't have any hacker or driver builder skill, but i have THE hope that you can make 3945 card works on mac os, for that, you're in my prayers, god blessed you, and thanks for your time, patiance and work. Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727849 Share on other sites More sharing options...
jalavoui Posted April 28, 2008 Author Share Posted April 28, 2008 iwi3945 rel 877 remove the iosleep hack - don't seem very usefull reboot if get kp i think the outputpacket2 needs some fixes - can someone try to fix it? wait... i find the bug will fix it and upload to svn mbuf fixes iwi3945 rel 878 iwi4965 rel 879 Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727852 Share on other sites More sharing options...
bond6 Posted April 28, 2008 Share Posted April 28, 2008 I think there is too much logging going on. My poos laptop cant keep up with it. Is there a easy way to remove some log lines? Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727878 Share on other sites More sharing options...
mlazy Posted April 28, 2008 Share Posted April 28, 2008 Buld 878: I'll post logs in a few mins. stuck in a loop: Apr 28 17:24:22 Sony kernel[0]: error iwl3945: Error sending REPLY_TX_PWR_TABLE_CMD: iwl3945_enqueue_hcmd failed: -28 Apr 28 17:24:22 Sony kernel[0]: test_function @ /Users/super/Desktop/iwi3945/878/compatibility.cpp:6524 Apr 28 17:24:22 Sony kernel[0]: ieee80211_sta_scan_work @ /Users/super/Desktop/iwi3945/878/compatibility.cpp:5266 Apr 28 17:24:25 Sony kernel[0]: rf 203 dsp 127 rate code 0x0f Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 127 rate code 0x05 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 127 rate code 0x07 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 127 rate code 0x09 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 127 rate code 0x0b Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 127 rate code 0x01 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 127 rate code 0x03 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 139 dsp 116 rate code 0x0a Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 139 dsp 116 rate code 0x14 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 139 dsp 116 rate code 0x37 Apr 28 17:24:25 Sony kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 139 dsp 116 rate code 0x6e Apr 28 17:24:25 Sony kernel[0]: error iwl3945: No space for Tx Much quiter logs than normal, is this a good thing? 878 full logs: 878.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727884 Share on other sites More sharing options...
Lofn Posted April 28, 2008 Share Posted April 28, 2008 devoid can you still edit that or do I need to open the topic? Yep, I can still edit it. In fact, I'll be adding: i think you should add this files (need to be updated with detailed linux log and use same version as iwi) to your howto this will explain howto check logs and compare against linux to see if iwi is loading ok or if a reboot or power on/off is needed i change the svn xcodeproj to default use svn system this will allow users to check what's changed in code and try some hacks/patches In the post-script as soon within the next two hours or so. Gotta get some food :] edit: Alright. I went over everything in the ZIP archive. It seems that some things are slightly different between your interface and mine, so I'll do everything from scratch. (Possibly different versions of XCode?) Also, the TIFF images are quite large :] I'll start working on the next addition and transfer it over to the thread later. It's much easier working in a less-crowded text-area. Done! (Except for the part on how to compare against Linux.) Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727901 Share on other sites More sharing options...
rusteswan Posted April 28, 2008 Share Posted April 28, 2008 Firstly, thanks for all the work thats gone into this so far... Just tested version 875 of the iwi3945 kext. This has been the first version that let me boot ok following the installation of the kext, no loops, no kernel panics - no response from scan with network selector though. logs attached. Hope this is of some use. Cheers, rustE. EDIT: builds are moving fast... by the time got the latest and posted the results theres newer available... ;-) system.txt dmesg.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727906 Share on other sites More sharing options...
jalavoui Posted April 28, 2008 Author Share Posted April 28, 2008 the system.log as all info i need to check code stop posting small and incomplete logs zip it if the file is to big Apr 28 17:24:25 Sony kernel[0]: error iwl3945: No space for Tx this can mean that the driver is start working nop - it means the iwi3945 really need the timer hack i'll reenable it and upload to svn ok try this with iosleep enabled iwi3945 rel 880 Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727921 Share on other sites More sharing options...
nordix Posted April 28, 2008 Share Posted April 28, 2008 iwi3945 rel 878 No KP, errors like pr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_mac_config_interface leave Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x0d Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x0f Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x05 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x07 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x09 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x0b Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 115 dsp 107 rate code 0x01 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 235 dsp 115 rate code 0x03 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 92 rate code 0x0a Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 92 rate code 0x14 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 92 rate code 0x37 Apr 29 01:43:49 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_send_txpower ch 1:1 rf 203 dsp 92 rate code 0x6e Apr 29 01:43:49 evgenijs-acpi kernel[0]: error iwl3945: No space for Tx Apr 29 01:43:49 evgenijs-acpi kernel[0]: error iwl3945: Error sending REPLY_TX_PWR_TABLE_CMD: iwl3945_enqueue_hcmd failed: -28 Apr 29 01:43:49 evgenijs-acpi kernel[0]: test_function @ /Users/eugene/iwidarwin-read-only/iwi3945_new-osx10.5/compatibility.cpp:6524 Apr 29 01:43:49 evgenijs-acpi kernel[0]: ieee80211_sta_scan_work @ /Users/eugene/iwidarwin-read-only/iwi3945_new-osx10.5/compatibility.cpp:5266 Apr 29 01:43:50 evgenijs-acpi kernel[0]: test_function @ /Users/eugene/iwidarwin-read-only/iwi3945_new-osx10.5/compatibility.cpp:6524 Apr 29 01:43:50 evgenijs-acpi kernel[0]: iwl3945: U iwl3945_hw_reg_txpower_get_temperature Temperature: 102 Apr 29 01:43:50 evgenijs-acpi kernel[0]: iwl3945: U is_temp_calib_needed Getting cooler, delta -1, Apr 29 01:43:50 evgenijs-acpi kernel[0]: iwl3945: U is_temp_calib_needed Timed thermal calib not needed Apr 29 01:43:50 evgenijs-acpi kernel[0]: queue_te @ /Users/eugene/iwidarwin-read-only/iwi3945_new-osx10.5/compatibility.cpp:6535 Apr 29 01:43:50 evgenijs-acpi kernel[0]: timei 60000 timei2 1362466537 Temperature: 102? It's Celsius or Fahrenheit? system.txt.zip dmesg.txt ioreg.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727925 Share on other sites More sharing options...
austinsnyc Posted April 28, 2008 Share Posted April 28, 2008 temp is in Fahrenheit.... Come J pull something special out today!! I have a feeling today is the day! Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727942 Share on other sites More sharing options...
jalavoui Posted April 28, 2008 Author Share Posted April 28, 2008 maybe all this code just burns iwi cards yep - if you get less bugs by disabling the blutooth what do you get in system.log (with and without the iosleep hack)? you can also renable this code and test: atomic_xchg there's also this //iwl3945_send_power_mode -> if you enable and get no errors it's ok for me (don't work in iwi2200) can someone help and test all this stuff i can do this - but i'll need about 10 releases to get some conclusions another thing you can test //return rc; this will renable the right way to scan and make the driver work to discover this i think i'll have to post 200 releases if i have the hardware i'll do it in 2 days Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727948 Share on other sites More sharing options...
Miguel Madrid Posted April 28, 2008 Share Posted April 28, 2008 J... the init problem, could be related to Bluetooth ? Looking at the logs, most of them gets the first error at the REPLY_BT_CONFIG As far as I know, there are different iwi cards, some with BT integrated, others not. I have hacked the iwi3945_send_bt_config() ... and I didn't get the error, but it could be related to this (the value sent to the card).... In the driver doc it says that the driver need to wait to sync with BT... and this call is just before the iwi3945_commit_rxon... Does it make sense or I should go to bed right now ?????? Regards Miguel Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727962 Share on other sites More sharing options...
adamisnt Posted April 28, 2008 Share Posted April 28, 2008 iwi4965 rel 879 Seems to be stuck in endless looping that you see in the log file. No kps or huge errors as far as I can see. Don't know if this means anything, but this is what happens after hitting the wireless on/off switch on my laptop (@ end of log) [iApr 28 15:29:49 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config leave - RF kill Apr 28 15:29:49 adam-notebook kernel[0]: IOPCCard debug: en1: failed to restore operationalchannel after scan Apr 28 15:29:49 adam-notebook kernel[0]: __ieee80211_if_config @ /Users/Adam/Desktop/root/compatibility.cpp:6320 Apr 28 15:29:49 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface enter: interface id 592900128 Apr 28 15:29:49 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface bssid: 00:00:00:00:00:00 Apr 28 15:29:49 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface leave Apr 28 15:29:51 adam-notebook kernel[0]: sta_info_cleanup @ /Users/Adam/Desktop/root/compatibility.cpp:5421 Apr 28 15:29:52 adam-notebook kernel[0]: ction @ /Users/Adam/Desktop/root/compatibility.cpp:6541 Apr 28 15:29:52 adam-notebook kernel[0]: ieee80211_sta_scan_work @ /Users/Adam/Desktop/root/compatibility.cpp:5280 Apr 28 15:29:52 adam-notebook kernel[0]: ieee80211_scan_completed Apr 28 15:29:52 adam-notebook kernel[0]: ieee80211_hw_config @ /Users/Adam/Desktop/root/compatibility.cpp:5186 Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config enter to channel 1 Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rxon_channel Staging channel set to 1 [3] Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Setting rates for 802.11g Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 0 (plcp 10)* Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 1 (plcp 20)* Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 2 (plcp 55) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 3 (plcp 110) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 4 (plcp 13)* Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 5 (plcp 15) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 6 (plcp 5)* Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 7 (plcp 7) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 8 (plcp 9)* Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 9 (plcp 11) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 10 (plcp 1) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 11 (plcp 3) Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Set active_rate = fff, active_rate_basic = 153 Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config leave - RF kill Apr 28 15:29:52 adam-notebook kernel[0]: IOPCCard debug: en1: failed to restore operationalchannel after scan Apr 28 15:29:52 adam-notebook kernel[0]: __ieee80211_if_config @ /Users/Adam/Desktop/root/compatibility.cpp:6320 Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface enter: interface id 592900128 Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface bssid: 00:00:00:00:00:00 Apr 28 15:29:52 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface leave[/i] Please let me know if there is anything I should be looking for in these logs. Thanks systemlog_879.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-727985 Share on other sites More sharing options...
jalavoui Posted April 28, 2008 Author Share Posted April 28, 2008 removed anoying debug messages iwi3945 rel 881 iwi4965 rel 882 if you like to learn howto read logs get the linux log (some posts back) compare to your system.log the driver is not stable sometimes you only get good logs by rebooting maybe all this code just burns iwi cards yep - if you get less bugs by disabling the blutoothwhat do you get in system.log (with and without the iosleep hack)? you can also renable this code and test:atomic_xchg there's also this //iwl3945_send_power_mode -> if you enable and get no errors it's ok for me (don't work in iwi2200) can someone help and test all this stuff i can do this - but i'll need about 10 releases to get some conclusions another thing you can test //return rc; this will renable the right way to scan and make the driver work to discover this i think i'll have to post 200 releases if i have the hardware i'll do it in 2 days i think this post is better here Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728005 Share on other sites More sharing options...
adamisnt Posted April 28, 2008 Share Posted April 28, 2008 Somebody fix the search on this site, please. A search for 'linux' in this thread, and the entire LAN/Wireless category shows no results! Am I doing something incredibly wrong? I would love to help/learn to help, but I can't go through 87 pages to find one post. Edit: Found it. Here it is (4965 linux log) Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728047 Share on other sites More sharing options...
mprewitt Posted April 28, 2008 Share Posted April 28, 2008 Hi Guys, I just compiled the 882 and it froze on boot. I have attached a screen shot and will add the logs as soon as I get it rebooted to teh desktop to pull them... but here is where it froze... Any ideas on what might have caused it to hang here? It was in the ucode f/w .. I am wondering if using a bogus mac address is causing a problem? Mark log.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728068 Share on other sites More sharing options...
nordix Posted April 29, 2008 Share Posted April 29, 2008 rel 881 enabled iwl3945_send_power_mode -> no KP, seems it tried to work on reboot I'll compare logs from linux today (btw, I am just a lawyer, no more... ) and see you later system.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728083 Share on other sites More sharing options...
adamisnt Posted April 29, 2008 Share Posted April 29, 2008 iwi4965 rel 882 uncommented //return rc per Jalavoui request Promising? Or just a result of uncommenting that line? Apr 28 17:07:27 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_handle r = 82, i = 79, SCAN_RESULTS_NOTIFICATION, 0x83 Apr 28 17:07:27 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_scan_results_notif Scan ch.res: 48 [802.11a] (TSF: 0x00000000:004BC69E) - 0 elapsed=112683 usec (110ms since last) Apr 28 17:07:27 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_handle r = 82, i = 80, STATISTICS_NOTIFICATION, 0x9d Apr 28 17:07:27 adam-notebook kernel[0]: iwl4965: U iwl4965_hw_rx_statistics Statistics notification received (480 vs 484). Apr 28 17:07:27 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_handle r = 82, i = 81, SCAN_START_NOTIFICATION, 0x82 Apr 28 17:07:27 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_scan_start_notif Scan start: 52 [802.11a] (TSF: 0x00000000:004BC802) - 1 (beacon timer 201377790) Apr 28 17:07:28 adam-notebook kernel[0]: Adding rate index 6 (plcp 5)* Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 7 (plcp 7) Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 8 (plcp 9)* Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 9 (plcp 11) Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 10 (plcp 1) Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Adding rate index 11 (plcp 3) Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rate Set active_rate = fff, active_rate_basic = 153 Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config No re-sending same RXON configuration. Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config leave Apr 28 17:07:28 adam-notebook kernel[0]: __ieee80211_if_config @ /Users/Adam/Desktop/root/compatibility.cpp:6320 Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface enter: interface id 593035296 Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_config_interface bssid: 00:00:00:00:00:00 Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_commit_rxon Sending RXON Apr 28 17:07:28 adam-notebook kernel[0]: * without RXON_FILTER_ASSOC_MSK Apr 28 17:07:28 adam-notebook kernel[0]: * channel = 1 Apr 28 17:07:28 adam-notebook kernel[0]: * bssid = 00:00:00:00:00:00 Apr 28 17:07:28 adam-notebook kernel[0]: iwl4965: U iwl4965_enqueue_hcmd Sending command REPLY_RXON (#10), seq: 0x04E5, 48 bytes at 229[5]:4 systemlog_882_rc.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728094 Share on other sites More sharing options...
THROBiX Posted April 29, 2008 Share Posted April 29, 2008 I just installed the stable version of iwidarwin 2915 (binary) on my XxX OSX86 10.4.10 SSE2 (+ 10.4.11 update), and my WLAN shows up as an ethernet device (which makes me unable of connecting to an access point), while opening the nsGUI results in Finder saying that the application is corrupted or incomplete... I tried the SVN version too (binary, non-source), but that didn't make any difference. Help? Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728124 Share on other sites More sharing options...
Doctadre Posted April 29, 2008 Share Posted April 29, 2008 My logs dont look much like the linux logs, but I do have some errors of interest: Apr 28 22:01:40 doctadres-mac-pro kernel[0]: error iwl3945: U iwl3945_pci_probe pci_resource_base = 0x35172000 Apr 28 22:01:40 doctadres-mac-pro kernel[0]: IOPCCard info: iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection Apr 28 22:01:40 doctadres-mac-pro kernel[0]: error iwl3945: U iwl3945_set_rxon_channel Staging channel set to 6 [3] Apr 28 22:01:40 doctadres-mac-pro kernel[0]: init_waitqueue_head stubbed out! Apr 28 22:01:40 doctadres-mac-pro kernel[0]: error iwl3945: U iwl3945_pci_probe MAC address: 00:19:d2:be:49:86 Systemlog882.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728220 Share on other sites More sharing options...
Gabik123 Posted April 29, 2008 Share Posted April 29, 2008 here are my logs for iwi4965 rev 882. Hopefully they are useful. Seems to be endlessly looping.btw computer restarted no problem, no KP after 20min 882log_iwi4965.rtf iwi4965.kext.zip Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728247 Share on other sites More sharing options...
adamisnt Posted April 29, 2008 Share Posted April 29, 2008 iwi4965 rel 882 return rc and atomic_xchg renenabled Got this: Apr 29 15:09:13 adam-notebook kernel[0]: IOPCCard info: iwl4965: Intel® Wireless WiFi Link 4965AGN driver for Linux, 1.2.23d Apr 29 15:09:13 adam-notebook kernel[0]: IOPCCard info: iwl4965: Copyright© 2003-2007 Intel Corporation Apr 29 15:09:13 adam-notebook kernel[0]: ieee80211_alloc_hw @ /Users/Adam/Desktop/root/compatibility.cpp:5610 Apr 29 15:09:13 adam-notebook kernel[0]: sta_info_init @ /Users/Adam/Desktop/root/compatibility.cpp:5442 Apr 29 15:09:13 adam-notebook kernel[0]: ieee80211_if_sdata_init @ /Users/Adam/Desktop/root/compatibility.cpp:2089 Apr 29 15:09:13 adam-notebook kernel[0]: ieee80211_alloc_hw [OK] Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_pci_probe pci_resource_len = 0x00000008 Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_pci_probe pci_resource_base = 0x3420c000 Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rxon_chain rx chain 280E Apr 29 15:09:13 adam-notebook kernel[0]: IOPCCard info: iwl4965: Detected Intel Wireless WiFi Link 4965AGN Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rxon_channel Staging channel set to 6 [3] Apr 29 15:09:13 adam-notebook kernel[0]: init_waitqueue_head stubbed out! Apr 29 15:09:13 adam-notebook kernel[0]: IOPanelDevice: Machine Is Laptop! Apr 29 15:09:13 adam-notebook kernel[0]: IOPanelDevice: Registered OK! Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_pci_probe MAC address: 00:1d:e0:54:19:fd Does this mean anything? Apr 29 15:09:22 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_scan_results_notif Scan ch.res: 11 [802.11bg] (TSF: 0x00000000:00454456) - 3 elapsed=21117 usec (30ms since last) Apr 29 15:09:22 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_handle r = 255, i = 253, STATISTICS_NOTIFICATION, 0x9d Apr 29 15:09:22 adam-notebook kernel[0]: iwl4965: U iwl4965_hw_rx_statistics Statistics notification received (480 vs 484). Apr 29 15:09:22 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_handle r = 255, i = 254, SCAN_COMPLETE_NOTIFICATION, 0x84 Apr 29 15:09:22 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_scan_complete_notif Scan complete: 11 channels (TSF 0x004545D6:00000000) - 1 Apr 29 15:09:22 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_scan_complete_notif Scan pass on 2.4GHz took 150ms Hope this helps. systemlog_882.txt Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728335 Share on other sites More sharing options...
Doctadre Posted April 29, 2008 Share Posted April 29, 2008 @adamsint. How did you get this? Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_pci_probe pci_resource_len = 0x00000008 Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_pci_probe pci_resource_base = 0x3420c000 Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rxon_chain rx chain 280E Apr 29 15:09:13 adam-notebook kernel[0]: IOPCCard info: iwl4965: Detected Intel Wireless WiFi Link 4965AGN Apr 29 15:09:13 adam-notebook kernel[0]: iwl4965: U iwl4965_set_rxon_channel Staging channel set to 6 [3] These are the lines that make an error for me. What lines did you hack? Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728538 Share on other sites More sharing options...
i_Geek Posted April 29, 2008 Share Posted April 29, 2008 iwl4965_set_rxon_channel Staging channel set to 6 [3] isn`t this suppose to be good ?) Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728545 Share on other sites More sharing options...
jalavoui Posted April 29, 2008 Author Share Posted April 29, 2008 keep hacking some tips: if you enable return rc the driver does the scan as expected in linux but if you check it the scan must complete 2 bands (a, them bg or bg,a) before get a scan_complete after this it should repeat the process i hacked this using a timer - search for ieee80211_sta_timer() -> the //hack is here but this is not very good because this functions is called later in ieee80211_scan_completed setup_timer() - last line is a hack (add_timer) - this call IOPCCardAddTimer() since the timer as no value the code will call else timei=3000; wich means this will loop every 3 seconds maybe 3 seconds is not enought to complete scaning a and bg bands try to increase this value if you manage to get a iwl3945_rx_scan_complete_notif() look at what follows you can get a call to ieee80211_scan_completed or iwl3945_bg_request_scan (in case there are still bands to scan) i'd like you do try to follow this code and find a way to make the scan loop after it finish scanning the 2 bands the iwi4965 works the same way (the functions names start with iwl4965) but before you do all this make shure you don't get timeouts sending commands or it will never work Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728560 Share on other sites More sharing options...
pere Posted April 29, 2008 Share Posted April 29, 2008 IWI3945 REL881 . Did all the hacks,except ieee80211_sta_timer() cant find it on the iwi3945 code. Used a timei=6000 First time reboot, no errors, did a scan A/BG, i enjoyed watching the log and couldnt pick the first lines cause console reload... XD Tried to boot again to pick the reboot log, then no longer booted, got frozen. Booted on safe mode, manual load, no errors on load (i think), log attached A/BG scan notifications. Should give to 3945 a higher timei?. EDIT: Very very high timei (24000) No errors on boot. GOT SCAN_COMPLETE_NOTIFICATION But i cant see it completes the bg band.... Log and kext attached. Apr 29 16:42:21 Pere kernel[0]: iwl3945: U iwl3945_rx_handle r = 59, i = 58, SCAN_COMPLETE_NOTIFICATION, 0x84\ Apr 29 16:42:21 Pere kernel[0]: iwl3945: U iwl3945_rx_scan_complete_notif Scan complete: 13 channels (TSF 0x01525FE2:00000000) - 1\ Apr 29 16:42:21 Pere kernel[0]: iwl3945: U iwl3945_rx_scan_complete_notif Scan pass on 2.4GHz took 320ms\ Succesfully_reboot.txt iwi3945.kext.zip Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/69/#findComment-728623 Share on other sites More sharing options...
Recommended Posts