Help - Search - Members - Calendar
Full Version: Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61
mprewitt
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

jalavoui
i think the dev_queue_xmit() need better code...

fixed some bugs

iwi3945 rel 1035
iwi4965 rel 1036
mprewitt
Ok, built & tested 1036, attached is a pic of latest KP.

Hope this helps.


Click to view attachment
nordix
1035 -> freezes (KP's)
mprewitt
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
jalavoui
QUOTE(mprewitt @ May 8 2008, 09:29 PM) *
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
mprewitt
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
jalavoui
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 smile.gif
nordix
1037 -> all the same...

jalavoui - how should I insert iologs? like in the attached file?


pere
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 smile.gif

Nordix has done a good job with the iologs, so im going to test directly!!
mprewitt
ok,
here is the latest KP.
Mark
3945 1041

Click to view attachment
f41qu3
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$
jalavoui
fix for last kp - maybe

iwi3945 rel 1042
iwi4965 rel 1043
mprewitt
Ok, 3945 1043
KP is alittle different.
sorry the picture sucks..

Click to view attachment
pere
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. sad.gif

jalavoui
ok - run a few tests
post kp pictures
biojayc
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
Bryce
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
biojayc
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.
jalavoui
tx packet code

iwi3945 rel 1044
iwi4965 rel 1045
Marcy Darcy
I just tried out 1044 >> result KP

attached Screenshot and syslog


greez

Marcy
jalavoui
QUOTE(Marcy Darcy @ May 9 2008, 12:12 PM) *
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
pere
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;
}
Marcy Darcy
QUOTE
that was because of errors at startup
try a few reboots


Yes you are right!
After a large amount of reboots it started now.

See log files.

greez

Marcy

jalavoui
scan...

iwi3945 rel 1046
iwi4965 rel 1047
ace_leo
hey hi...

i have been following this thread for sometime... i too have tested ur drivers rev1004,1010,1045...

but i always get this strange error of HARDWARE GONE???....

i have attached my syslog file....please help.

Dell XPS M1530
Kalyway 10.5.1 updated to 10.5.2
kernel updated to 9.2.1
Click to view attachment
nordix
iwi3945 rel 1046 -> no KP after kextinstall, scan several times w/o reboot

timeouts on reboots... still trying to get good log
ace_leo
please help me regarding my strange syslog posted above!!!
jalavoui
mdev scan

iwi3945 rel 1048
iwi4965 rel 1049
nordix
1046 - at least normal log
Lordy
REL 1046 3945

NO KP's.Before reboot, and after reboot.

Still can't using the NSGui.
Also tryed to use the shell NS after compile last version.

Regards,

Lordy
nordix
iwi3945 rel 1048 -> no KP after install, several scans, w/o reboots

look at the 1st & 2nd manual scans in my log...
ace_leo
Somebody please help me with this log...

Click to view attachment
Lordy
QUOTE(ace_leo @ May 9 2008, 01:35 PM) *
Somebody please help me with this log...

Click to view attachment



goto system preferences -> networks and press apply if you keep seeing this! wink.gif
ace_leo
dude i know....i checked networks there is no change....it just dsiplays firewire that is not connected...

no option for apply....

besides i m more concerned about HARDWARE GONE?? argument...
nordix
1048 log with 2 reboots, scans are at the 2nd reboot
Lordy
REL 1048 3945

NO KP AGAIN!


Before reboot log!
pcuserforever
ok guys, first time ever on leopard doing anything. i hope this helps!
Lordy
REL 1048 3945


no kp's again.

Log after reboot:
jalavoui
scan loop

iwi3945 rel 1050
iwi4965 rel 1051
nordix
iwi3945 rel 1050 - no KP, w/o reboots

and 1050 after reboot (2nd log)
jalavoui
pkt fix

iwi3945 rel 1052
iwi4965 rel 1053

post the kp picture
nordix
1052 -> get KP's on install & each reboots

all stucked here: ieee80211_tx_h_rate_ctrl @ /Users/eugene/iwidarwin-read-only/iwi3945_new-osx10.5/compatibility.cpp:8146

sorry, no KP pics, log only (btw, my iologs never appeared in logs, what I'm doing wrong? I set them in functions before changed strings of the compatibility.cpp)
jalavoui
kp fix

iwi3945 rel 1054
iwi4965 rel 1055
pere
Iwi 3945 rel 1052.
Passed the kp , no timeouts, no ucode errors, the card init ok and began entering channels for scan , end failing restoring operational channel.
Here is your log.

Will try next version right now.
nordix
well, I still have KP's with 1054... and don't know where
pere
iwi 3945 r1054
Different types of kp but one repeated a lot, i will post some part of the lines before the KP, sure you will know them:

Compatibility.cpp: 6181
bssid: 00:00:00:00:00:00

compatibility.cpp:6545

compatibility.cpp:6181
bssid: ff:ff:ff:ff:ff:ff
error iwl 3945: failed to get channel info for channel 0 [3]

Then kP.
jalavoui
kp fix

iwi3945 rel 1056
iwi4965 rel 1057
ptdesigner
Can someone post the kext for this version?
Roal2488
iwi3945 rel 1056

No KP at installation will try some reboots here is my installation log (system.rtf)


new logs after reboots(first reboot log.rtf & second reboot log.zip)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.