Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
![]() |
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 19 2008, 05:53 PM Post #1121
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
the timer code is very wrong - gives kp on driver start
i'll try a fix i need a linux log of iwl3945 - i don't see none usefull. note ipw3945 is a old driver i need iwl3945 iwi3945 rel 764 timer functions -> don't know if work is os x 10.5 i think this is the reason for the driver don't work test with -x i'm expecting some KP iwl3945 linux log what i need is a log like this: http://www.intellinuxwireless.org/bugzilla...ent.cgi?id=1166 this log is older tham our mac os x version but i can see that the driver starts a scan by calling ieee80211_sta_work and this will depend on the timer functions... there might be some bugs related with tx functions iwi3945 driver status very very unknown iwi3945 rel 765 fix a bug in test_and_clear_bit |
|
Doctadre
InsanelyMac Protégé
|
![]() |
Apr 19 2008, 06:00 PM Post #1122
|
![]()
|
how can I get you a linux log?
|
|
Wirednet
InsanelyMac Protégé
|
![]() |
Apr 19 2008, 06:23 PM Post #1123
|
|
Please keep in mind that the linux driver doesn't always enable the card. Sometimes the kernel spits a "NIC is in deep sleep" error and you have to reboot (a few times) to make it work!
Logs after modprobe iwl3945 debug=0xfffffff and connecting to my AP with WAP encryption To get more detailed logs it seems we need to compile a kernel with debugging enabled... CODE iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:0b:00.0 to 64 iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels phy2: Selected rate control algorithm 'iwl-3945-rs' ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: Initial auth_alg=0 wlan0: authenticate with AP 00:12:17:6f:db:b2 wlan0: RX authentication from 00:12:17:6f:db:b2 (alg=0 transaction=2 status=0) wlan0: authenticated wlan0: associate with AP 00:12:17:6f:db:b2 wlan0: RX AssocResp from 00:12:17:6f:db:b2 (capab=0x411 status=0 aid=3) wlan0: associated ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: no IPv6 routers present wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to short barker preamble (BSSID=00:12:17:6f:db:b2) wlan0: switched to long barker preamble (BSSID=00:12:17:6f:db:b2) |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 19 2008, 06:50 PM Post #1124
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
do you get a kp with this release?
where? i'd like to post a new one |
|
mlazy
InsanelyMac Geek
|
![]() |
Apr 19 2008, 07:05 PM Post #1125
|
![]() ![]() ![]()
|
765 for testing:
iwi3945r765.kext.zip ( 238.15K )
Number of downloads: 52Jalavoui: kextload fails: kextload: extension iwi3945.kext appears to be loadable kld(): Undefined symbols: _IOPCCardAddTimer _IOPCCardDeleteTimer kextload: kld_load_from_memory() failed for module /iwi3945.kext/Contents/MacOS/iwi3945 kextload: a link/load error occured for kernel extension iwi3945.kext link/load failed for extension iwi3945.kext |
|
Doctadre
InsanelyMac Protégé
|
![]() |
Apr 19 2008, 08:07 PM Post #1126
|
![]()
|
I tried out your kext mlazy with the same error:
kextload: extension iwi3945.kext appears to be loadable kld(): Undefined symbols: _IOPCCardAddTimer _IOPCCardDeleteTimer kextload: kld_load_from_memory() failed for module /Users/drandre/Desktop/iwi3945.kext/Contents/MacOS/iwi3945 kextload: a link/load error occured for kernel extension iwi3945.kext link/load failed for extension iwi3945.kext (run kextload with -t for diagnostic output) Im going to run the diagnostic now bbsoon EDIT: diagnostic shows nothing |
|
mlazy
InsanelyMac Geek
|
![]() |
Apr 19 2008, 09:03 PM Post #1127
|
![]() ![]() ![]()
|
Jalavoui,
I booted from my Ubuntu live cd and grabbed the whole syslog. the only entries for my card were: Apr 19 20:45:50 ubuntu kernel: [17179655.700000] ipw3945: Intel® PRO/Wireless 3945 Network Connection driver for Linux, 1.1.0mp Apr 19 20:45:50 ubuntu kernel: [17179655.700000] ipw3945: Intel® PRO/Wireless 3945 Network Connection driver for Linux, 1.1.0mp Apr 19 20:45:50 ubuntu kernel: [17179655.700000] ipw3945: Copyright© 2003-2006 Intel Corporation Apr 19 20:45:50 ubuntu kernel: [17179655.772000] ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection Apr 19 20:45:50 ubuntu kernel: [17179655.772000] ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection Apr 19 20:45:50 ubuntu kernel: [17179657.996000] ipw3945: Detected geography ABG (11 802.11bg channels, 13 802.11a channels) Should I do something in Ubuntu to make the driver load more/differently?
syslog.zip ( 9.48K )
Number of downloads: 6 |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 19 2008, 09:56 PM Post #1128
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Apr 19 20:45:50 ubuntu kernel: [17179657.996000] ipw3945 this is a very old driver - try iwl3945 1.2.23 wich is the same as the version we're working. if you take a look to the linux log i post you'll understand what iwi3945.kext is expected to do iwi3945 rel 769 i'm trying to make timers work i need someone to look at this code, run a few tests and change it to make it work the driver will not work without this look at: setup_timer(&ifsta->timer, ieee80211_sta_timer,(unsigned long) sdata); i think this is were all the driver magic happens the problem: all xxx_timer functions aren't tested and need to be fixed there are several ways to write these code - hope someone can help |
|
Tin_man_0
InsanelyMac Protégé
|
![]() |
Apr 20 2008, 04:52 AM Post #1129
|
![]() ![]()
|
wow... all of a suddent the board stopped moving... is it down or somethin' ?
|
|
righteye
InsanelyMac Sage
|
![]() |
Apr 20 2008, 07:53 AM Post #1130
|
![]() ![]() ![]() ![]() ![]()
|
Revision 769
iwi3945: Version: 1.0.0d1 Last Modified: 4/20/08 9:57 AM Get Info String: Copyright Joel Thomas 2005 Location: /System/Library/Extensions/iwi3945.kext kext Version: 1.0.0d1 Load Address: 0x354cd000 Valid: Yes Authentic: Yes Dependencies: Satisfied Integrity: Unknown And some logs in different stages of boot and networkSelector used: [attachment=26072:769.zip] By the way ... no more system freezes, no more kernel panic |
|
rubinho93
InsanelyMac Protégé
|
![]() |
Apr 20 2008, 09:42 AM Post #1131
|
|
No more KP's or freezes, it just scans... (No KP on boot, manual kextload etc.).
In system.log it's just scanning. Nothing else. I'll post my system.log now. Nicely done! EDIT: It's scanning for almost 1 hour... So I think it works now!!! The next step: select a network My on/off switch also works.When I switch it of, it stops scanning, when I switch it back on, It starts scanning again! (only the light doesn't work, but that was a common problem with most of the cards I ment.)
Attached File(s)
|
|
Megnus
InsanelyMac Geek
|
![]() |
Apr 20 2008, 09:50 AM Post #1132
|
![]() ![]()
|
I'm sooo exited !
|
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 20 2008, 11:21 AM Post #1133
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
In system.log it's just scanning. Nothing else. I'll post my system.log now. goto console and use reload to get log lines from driver first load stage - this logs don't help iwi3945 rel 770 the timers aren't working - this is no easy code to see if the driver scan see the linux log i've posted - no false alarms please i'm expecting kp |
|
rubinho93
InsanelyMac Protégé
|
![]() |
Apr 20 2008, 11:25 AM Post #1134
|
|
goto console and use reload to get log lines from driver first load stage - this logs don't help Ok, I'll try that. (my system is just crashed, it automaticly installed the graphics update for some reason. I'm restoring my laptop from a time machine backup now.) BTW, I mentioned, when I shut down my computer it continues scanning for 2 minutes or so. After it did that, it shuts down. |
|
righteye
InsanelyMac Sage
|
![]() |
Apr 20 2008, 12:32 PM Post #1135
|
![]() ![]() ![]() ![]() ![]()
|
Logs 770 [attachment=26078:770.zip]
jalavoui at first load ... kp after 10 minutes second boot with -s check_firstup connect request scan - diabled! check_firstup check_firstup disconnect Now i am after a normal boot ... no KP ... see the logs and tell me if are useful |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 20 2008, 03:01 PM Post #1136
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
iwi3945 rel 771
this version as less debug output test with -x if get a KP networkselector is disabled if you get errors in system.log try a few reboots |
|
BoboBear
InsanelyMac Protégé
|
![]() |
Apr 20 2008, 03:46 PM Post #1137
|
|
Testing 771
KP with normal boot Boot -x then kextload, logs attached.
system.txt ( 40.79K )
Number of downloads: 17
ioreg.txt ( 29.93K )
Number of downloads: 4
dmesg.txt ( 4K )
Number of downloads: 2Let me know if you want a screenshot of the kp or if you need different logs. |
|
jalavoui
InsanelyMac Legend
|
![]() |
Apr 20 2008, 04:09 PM Post #1138
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
this code is so wrong...
i'll try to fix it |
|
Horni
InsanelyMac Protégé
|
![]() |
Apr 20 2008, 04:11 PM Post #1139
|
|
Sorry,
but how can I get the latest rev of iwi3945.kext and what are the steps to install them? |
|
iceman24
InsanelyMac Protégé
|
![]() |
Apr 20 2008, 04:56 PM Post #1140
|
|
|
![]() |
|
Lo-Fi Version | Time is now: 22nd November 2009 - 10:21 AM |