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
Ruud
Oke log for 864 IWI 4965, the system.txt is the log for the one using kextload... will post a second log in a min, from booting with the kext installed... ooh i get a scan complete in the system.txt log

Apr 27 18:10:19 Mac-Pro kernel[0]: ieee80211_scan_completed

ooh and using network selector, starting a scan only worked one time,, after dat i got configuration error

Apr 27 18:11:39 Mac-Pro kernel[0]: error iwl4965: Error setting new configuration (-60).

when starting a new scan again

and got a KP when booting with the kext installed

Damn, that KP destroyed something important... Can't boot anymore and have to rëinstall again.. Will install now with a leo4all disk, maybe somthing different with the kext than the kalyway I used this time, and get other test results. Im back within two hours
nordix
iwi3945, rel 864

First reboot gives me freeze, second is ok

Attach logs and freeze shot

After manual switching off and on scan gives me errors like this:

Apr 27 21:26:55 78-106-194-148 kernel[0]: IOPCCard debug: en1: scan channel 128 (5640 MHz)
Apr 27 21:26:55 78-106-194-148 kernel[0]: IOPCCard debug: en1: failed to set channel 128 (5640 MHz) for scan



jalavoui
both driver will try to start scanning within a 3 seconds delay
all you have to do is check whats going on in logs

iwi3945 rel 865
iwi4965 rel 866
nordix
iwi3945, rel 865

First time - KP on reboot (shot attached), then ok, w/o any freeze

Scanning all the time, even without networkSelector. Is it normal?
jalavoui
smile.gif
looks like yor card wants to associate to a network
Z00L
Hi all
First of all, let me thank you for you hard working in making this drivers(kexts) to work.

I understand you are atm, much more occupied with iwi3945 and iwi4965 but if anyone could give me a hand with iwi2200 it would be much appreciated.

I can get the kext loaded fine, but after selecting my WiFi, it's always get stuck while getting an IP Address

I've tried with wep secured, no password at all, in mixed mode (g+cool.gif, only g, only b, and channels 1, 6 and 11 but still no dice. wacko.gif

Do you guys have any additional advice/tip for me?

Thank you in advance.

Note: I'm using Kalyway 10.5.1 and the latest stable iwi2200 driver (rev 782) with a router Linksys WRT54GC 2.0

EDIT: nvm...got it to work...thanks anyway, keep it up
nordix
Home router is always on and at least 3 public wifi networks are in range of my card. And no real ssid, only on init scan after reboot.
jalavoui
anyone knows howto write this code:
skb_set_mac_header(skb, 0);
skb_set_network_header(skb, 0);
?

never mind...

try this
the scan calls are very hacked - i'll deal with that later
networkselector is disabled

iwi3945 rel 867
iwi4965 rel 868

iwi2200 os x 10.5
need someone to post last svn release dmg
pere
Hi! REL iwi 3945 856 Freeze on boot or KP on normal operation.
biggrin.gif
27/04/08 22:12:25 kernel iwl3945: U iwl3945_tx_skb station Id 24
27/04/08 22:12:25 kernel iwl3945: U iwl3945_build_tx_cmd_hwcrypto Tx packet in the clear (encrypt requested).
biggrin.gif

Wants to associate!,
coulnt boot normally, very good log catched booting safe mode manual load, have find this too:

27/04/08 22:12:38 kernel error iwl3945: Too many chunks: i
27/04/08 22:12:49 kernel IOPCCard debug: en1: failed to restore operationalBSSID after scan
27/04/08 22:12:51 kernel 0000000000 0x000000be 0118
27/04/08 22:12:51 kernel error iwl3945: 0000000130 0x00000000 0651
27/04/08 22:12:51 kernel error iwl3945: 0000000151 0xffffff59 0454
27/04/08 22:12:51 kernel error iwl3945: 0000000152 0x00000000 0472
27/04/08 22:12:51 kernel error iwl3945: 0000000173 0x000000c5 0104
27/04/08 22:12:51 kernel error iwl3945: 0000017869 0x00000000 0401
27/04/08 22:12:51 kernel error iwl3945: 0000017871 0x00000100 0125

But there is alot of improvement!!
Manual load log attached. biggrin.gif
Ruud
iwi4965 rel 868 will cause KP on boot. Will post a kextload log soon.
nordix
rel 865 was too buggy - mostly KP on normal reboots and freezes on -v -f (but not always). One of freezes attached
Even xcode doesn't work with this kext sad.gif
jalavoui
ok
next step is to remove the scan hack and test the driver
search for
//return rc;
replace with
return rc;

one of this ways is better - check and report
pere
iwi 3945 rel 867, KP on boot, im going to test the hack.

Picture (horrible, i know) attached.

EDIT: Tried hack, no more kp, got this logs.
nordix
rel 867 gives me KP just after loading gui - only blue screen and no more byte

Update: uncommenting "//return rc" -> another freeze

Update 2: pere's kext -> KP
Ruud
ok here the log for kexloading the newest 4965... bbooting with this kext causes KP


oke i know what caused the KP.... the Kext somehow created et0 one time, and another eth1 again one time when using kextload.. i removed eth 0 and no KP anymore
jalavoui
iwi3945 rel 869
iwi4965 rel 870

hacked scan for now
Ruud
QUOTE(jalavoui @ Apr 27 2008, 10:05 PM) *
iwi3945 rel 869
iwi4965 rel 870

hacked scan for now



jalavoui, can you set a timer between that scan loop, i had a scan complete notification, but when i wanted to copy the log it was gone and filled with new scans. Ill retry a reboot to get the log faster if its again there

ohh this was not for this rel, but for the version before


ok dont mind me... i get KP's again, somehow it gives me eth1 not running even now i applied it in network prefs.

will test around with removing the eth1 interface
nordix
iwi3945, rel 869 -> freeze on boot (or KP)
jalavoui
mbuf bug fix

iwi3945 rel 871
iwi4965 rel 782

better get syste.log from console - the driver will give lots of messages (use reload)
might get a kp
pere
Rel 869 or 871... not sure XD you are so fast, Javalui.

Reboot log.

Anyway, will build 871 and try again.

EDIT: 871, 3 KP 1 normal reboot, log attached, will continue trying this one to try to catch the kp...
Lofn
iwi4965 r872

No KP message on restart, just locks up before reaching the login window.
Ruud
oke log for iwi4965 rel 872

think this is a nice log jalavoui.. but i also think the scans are comming to fast after each other.. and that causes the eth1 errors

Apr 28 01:08:55 Mac-Pro kernel[0]: IOPCCard debug: en1: failed to set channel 132 (5660 MHz)

but im not sure, what do you think?

oke system- reboot... more info in log after reboot

will call it a night now... see you all tomorrow.

PS jalavoui, can you slow the scans a little, my logs are getting very big very fast because of the scan rate atm, and after a reboot the system.log almost contains scan lines only because of it.
nordix
iwi3945 rel 871 -> kp (logs and shot below)

P.S. It's 3:14 now in Moscow, so I have to go, see you later. Good luck and less bugs! До свиданья! smile.gif
pere
iwi 3945 871.
Catched 2 KP.

Please, help to test.
@irBOrNE
QUOTE(jalavoui @ Apr 27 2008, 03:05 PM) *
iwi2200 os x 10.5
need someone to post last svn release dmg


Does anyone have the capability to do this so the latest dmg can be put onto the SVN for us to test? Also a question, I keep seeing the Revision number in the iwi2200-osx10.5/ folder increase.. Is that because there is active further development on that specific driver, or just because of the revision numbers increasing for 3945 & 4965 development?
x4hu
Awesome tut devoid, Thanks ! This will help so many people including me smile.gif
GameBoyzGB
My hats off to you Devoid. That was one of the best tutorials I've seen in a long time. Even a total noobie should be able to turn pro in an instant biggrin.gif

austinsnyc
you just need to boot into single user mode using the -s flag to remove the kext you do not need -x -v
-v is verbose mode for seeing why something is not loading right and -x is for safe mode it only loads needed kexts to run since your deleting the 3945.kext or what not before system load the -x is not needed again just the -s is needed.
pmorcos
Unbelievable! Devoid did it.
When everyone else ignores us...you step up and give the rest of us a chance to help.
thx!
biggrin.gif
austinsnyc
ok J here are some good logs for you! You are so close to making this driver work I can see it want to attach to my network! Amazing it also scans and I have scan_completed! One question what are becon_timers? I see that in my logs also in one place! Well hope these logs help!
Apr 28 19:54:53 Austins-LapTop kernel[0]: outputPacket called by someone\
Apr 28 19:54:53 Austins-LapTop kernel[0]: outputPaccket2 called\
Apr 28 19:54:53 Austins-LapTop kernel[0]: outputPacket t: 1 f:0003\
Apr 28 19:54:53 Austins-LapTop kernel[0]: iwl3945: U iwl3945_mac_tx enter\
Apr 28 19:54:53 Austins-LapTop kernel[0]: iwl3945: U iwl3945_mac_tx dev->xmit(0 bytes) at rate 0x00\
Apr 28 19:54:53 Austins-LapTop kernel[0]: iwl3945: U iwl3945_tx_skb station Id 24\
Apr 28 19:54:53 Austins-LapTop kernel[0]: iwl3945: U iwl3945_build_tx_cmd_hwcrypto Tx packet in the clear (encrypt requested).\
Apr 28 19:54:53 Austins-LapTop kernel[0]: ieee80211_get_morefrag @ /Users/as/iwi3945/compatibility.cpp:1023\

that mean it was talking to my router?
Ekimmu
People!
Upload your kext for 4965 please!

a can`t download 1.1 Gb for them=((((
jalavoui
Devoid tutorial is on 1st page - thanks


disabled skb functions
in your logs - check if the driver is working - if you get errors reboot and test again
if you don't know howto id a error just match your log agains the linux log. use the search topic to find the linux log
some of you are posting very short logs - i need to see the driver working. zip the file if it's to large


iwi3945 rel 873
iwi4965 rel 874
nobb1x
QUOTE(Ekimmu @ Apr 28 2008, 12:50 PM) *
People!
Upload your kext for 4965 please!

a can`t download 1.1 Gb for them=((((


i second that, unluckly none on my ethernet are recognized by macos so can't get the source. i know the driver is not working atm but i like to see if it runs on my hack
pere
iwi 3945 rel 873...

Since the last versions, i get always the same errors, and i cant make the card boot without them...
I have try to raise the iosleep values everywhere to check whether they are timing errors, but they continue appearing.
I have attached just the errors, cause my logs are the same as lastests releases.
What can i try to hack to make them dissapear?.

Very nice tutorial Devoid! smile.gif
mlazy
873 log.

Lots of scanning, even on my card version Jalavoui! Still missing some init lines, but no load errors afik. The log runs through a few scans.

Click to view attachment
adamisnt
First of all, thanks to Devoid for the tutorial. I am glad I can start contributing.

I ran through the tutorial - after building iwi4965.kext and loading with kexthelper, I get the following error in system.log

cannot resolve dependencies for kernel extension /System/Library/Extensions/iwi4965.kext


Also, when building networkselector, it fails with 35 errors. Errors such as 'iostream: No such file or directory', 'stdlib.h: No such file or directory', etc.

If somebody could help me clear these errors up, I would really appreciate it.

Thanks!
Ruud
oke if your iwi4965.kext is in your extensions folder do a:

kextload -t /System/Library/Extensions/iwi4965.kext..

this will tell you what kext isnt correct for iwi4965. At my install it was the IO802......kext. I have replaced it with the origional and that worked. If you used the kalyway 10.5.2 disc, you installed a modified version with atheros support and this one doesnt work with iwi driver.


Devoid, maybe you can add this to your tutorial for when other people run into this problem
adamisnt
QUOTE(Ruud @ Apr 28 2008, 03:21 PM) *
oke if your iwi4965.kext is in your extensions folder do a:

kextload -t /System/Library/Extensions/iwi4965.kext..

this will tell you what kext isnt correct for iwi4965. At my install it was the IO802......kext. I have replaced it with the origional and that worked. If you used the kalyway 10.5.2 disc, you installed a modified version with atheros support and this one doesnt work with iwi driver.


You nailed it. Took care of the networkselector issue as well. Thank you!
Hagar
moved devoids tutorial to http://forum.insanelymac.com/index.php?showtopic=71779 updated link in first post.

devoid can you still edit that or do I need to open the topic?

(and a great big "well done & keep it up" to everyone smile.gif )

[edit] instructions topic opened & added some links.
adamisnt
Okay - looks like replacing IO80211Family.kext fudged up something. It re-detected my ethernet port, and now I keep getting this in system.log

en1 not running
check_firstup
goto system preferences --> networks and press apply if you keep seeing this
ieee80211_sta_work @ /Users/Adam/Desktop/root/compatibility.cpp:7672

This repeats every second or two. There was no option to press apply in Networks. Is there a way to reset the interface configuration, or another way to take care of this problem?

Sorry for all of the questions, once I have this down, I will be quiet smile.gif

Adam
mlazy
QUOTE(adamsint @ Apr 28 2008, 12:03 PM) *
Okay - looks like replacing IO80211Family.kext fudged up something. It re-detected my ethernet port, and now I keep getting this in system.log

en1 not running
check_firstup
goto system preferences --> networks and press apply if you keep seeing this
ieee80211_sta_work @ /Users/Adam/Desktop/root/compatibility.cpp:7672

This repeats every second or two. There was no option to press apply in Networks. Is there a way to reset the interface configuration, or another way to take care of this problem?

Sorry for all of the questions, once I have this down, I will be quiet smile.gif

Adam


Hey, In netwprk prefs, click on the new enet, then click advanced. Cancel the advanced window, and apply is now available. It will fix this error.
pere
QUOTE(adamsint @ Apr 28 2008, 04:03 PM) *
Okay - looks like replacing IO80211Family.kext fudged up something. It re-detected my ethernet port, and now I keep getting this in system.log

en1 not running
check_firstup
goto system preferences --> networks and press apply if you keep seeing this
ieee80211_sta_work @ /Users/Adam/Desktop/root/compatibility.cpp:7672

This repeats every second or two. There was no option to press apply in Networks. Is there a way to reset the interface configuration, or another way to take care of this problem?

Sorry for all of the questions, once I have this down, I will be quiet smile.gif

Adam


Look here, is not as well explained as Devoid, but may help you...
http://forum.insanelymac.com/index.php?s=&...st&p=721057
Gabik123
Hey J, thanks for all the hard work.

Devoid, you are my savior. I can now participate in this project!

to that effect, here is my log for iwi4965 rev 874. Kext loaded no problem, computer detected new ethernet. I couldn't restart successfully though, tried 3 times, KP first time on normal boot, with -v it just gave me the blue login screen but never logged in. On -v, right before blue screen, I could see a bunch of iwi4965 flashing on the screen, but too fast to read. Hope this helps, im sry im a n00b lol
Ruud
QUOTE(Gabik123 @ Apr 28 2008, 05:41 PM) *
Hey J, thanks for all the hard work.

Devoid, you are my savior. I can now participate in this project!

to that effect, here is my log for iwi4965 rev 874. Kext loaded no problem, computer detected new ethernet. I couldn't restart successfully though, tried 3 times, KP first time on normal boot, with -v it just gave me the blue login screen but never logged in. On -v, right before blue screen, I could see a bunch of iwi4965 flashing on the screen, but too fast to read. Hope this helps, im sry im a n00b lol



same results overhere, sorry for no log.. today im kinda out of time, hopefully can test again later this week.
adamisnt
Here is my first attempt at logs. Let me know if there is anything I should be doing differently.
After reboot, I got a KP after 2-3 minutes.

Logs are for iwi4965

Edit: Errr.... I am too slow. Loading 874 now
jalavoui
iwi3945/4965
all logs are full of errors
if you have found a way to make the driver work without errors
post your changes in the source code
until someone fix this i'll not post any version to svn
thanks for helping
nordix
iwi3945 rel 873

No KP or freeze, and interesting content in logs, there are some packets (?)

At last several minutes I manually switched off and on my card, and it failed to return to life
Gabik123
what should I do to try and make the driver work without errors?
jalavoui
more scan hacking
if you get errors - reboot a few times

iwi3945 rel 875
iwi4965 rel 876


mlazy, pere
the iosleep hack in this release work for your cards?
i'm not shure but i think if you remove it and reboot a few times you can make the driver work even that it gets inital errors at startup

devoid,
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
nordix
iwi3945 rel 875

1st and 2nd reboots - endless loop of strings, then freeze on blue screen

3rd reboot -> kp

shot+logs below
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.