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
nordix
iwi3945 rel 906

Much better - scan complete at 330ms

I'd like to save this result and see you later today
austinsnyc
I also have some great logs it seems we are so damn close now to getting wireless working!!! Amazing work guys!

pere
Iwi3945 906.

No more ucode errors smile.gif , you have find the way!

Anyway,i used this value ( maybe is too much) on ucode timeout..
IOSleep(6000);//hack
ret = UCODE_READY_TIMEOUT;

Used value of 1 on iosleep jiffies cause frozen on reboot.
Used value of 10 make stable the driver on reboot and complete scan, but also says:
scan last_scan_jiffies not ready?
So maybe must be more tuned value.
Used value 1000 on Jiffies, cause frozen reboots too.

Attached reboot log with a value of 10 on iosleep Jiffies.
Kext with the same value.

while (time_after(priv->next_scan_jiffies, jiffies)) {IOSleep(10);}
IWL_DELAY_NEXT_SCAN, jiffies)) {IOSleep(10);}
Lofn
QUOTE(@irBOrNE @ Apr 30 2008, 08:33 AM) *
if someone has these tools already installed and would like to go for it ahead of me, feel free to do so


done. Just for the heck of it smile.gif

I grabbed everything in the iwi2200-osx10.5 directory from the svn and compiled it.
iwi2200.kext, nsGUI.app, and networkSelector are properly included. I also linked the appropriate pre/post-install/upgrade scripts.

Pretty sure I did it correctly, so here's the installation package I whipped up. (it's just zipped, instead of being in a dmg)
sidewalkninja
while I build iwi4965, I get an error from xcode saying that a custom build script failed:
password:
password:
password:
...

I'm guessing that a sudo command is in one of the custom scripts, and is hung on asking for a password.

When I build from cli using `sudo xcodebuild' it builds and installs. I'm not sure if you are expecting to have xcode also install the kext. kinda odd.

I guess another question that I have is, couldn't you install the symbols for 9c7010 (my build on leo4allv3) to help you understand what is going on with KP, and also do gdb debugging from another box?
greyMD
don`t know, maybe will help...

http://www.clearchain.com/wiki/FreeBSD_Int...Wireless_Driver
TheBressman
First post here.

Using iwi4965 rev 907

Newbie as I am, I managed to get the system.log to show no errors without hacking anything, and at no stage did I get a kernel panic.

I recorded and saved about a minute of logs (which is a considerable length) to see if you guys can make anything out of it.

This was taken AFTER I had restarted the computer.

One thing to keep in mind with my laptop (HP Pavillion dv2637tx) was that a considerable amount of features (including my HP Quick Touch Buttons) worked instantly in Mac OS X, which I wasn't really expecting, and I'm finding it strange that I'm not getting any errors. Maybe you can figure out why.

EDIT: After checking up on my wireless network, it seems that the wireless card in my laptop is actually finding the SSID of my wireless network on the router.

EDIT 2: If I try to play around with the IP address settings whilst it's set to "DHCP with Manual Address" or "Manual", a grey screen comes down saying "You need to restart your computer. Hold down the Power button for several seconds or press the Restart button."
vja
Got this while trying to get the sources:
502 Bad Gateway (http://iwidarwin.googlecode.com)
jalavoui
QUOTE(pere @ May 1 2008, 01:36 AM) *
Iwi3945 906.

No more ucode errors smile.gif , you have find the way!

IOSleep(6000);//hack -> if you disable this does it work?

try this in all statments
while (time_after(priv->next_scan_jiffies, jiffies)==1) {IOSleep(10);}
IWL_DELAY_NEXT_SCAN, jiffies)) {IOSleep(10);}

them try this
while (time_after(priv->next_scan_jiffies, jiffies)==0) {IOSleep(10);}
IWL_DELAY_NEXT_SCAN, jiffies)) {IOSleep(10);}


there are 2 while statments you need to change - this is easy to fix and test

check other people logs - some send cmd to the driver after scan (config, config interface)
your card seems to be missing that
bond6
3945 linux syslog.
First booted into winxp and used WirelessSelectSwitch util to turn wifi & bt off.
Then booted into debian and iwl thought that HW switch is off.
Back to xp and turned wifi on.
Then run some config commands, lines starting with "===" in syslog.
After HW switch was off and back on i had to run "ifconfig wlan0 down" and "ifconfig wlan0 up" to get it running again.
I could't find a way to disassociate, probably have to set essid/key to invalid value.

Debian also has NetworkManager tool, which could be running scans.
jalavoui
i found a bug with ifsta->wmm_enabled and scan_complete
jalavoui
i found a bug with ifsta->wmm_enabled and scan_complete
add some scan hacks
the 4965 was not the same as 3945 - fixed
iwi3945 rel 908
iwi4965 rel 909

QUOTE(bond6 @ May 1 2008, 02:39 PM) *
3945 linux syslog.

can you add to this log the associate/dissasociate calls?
need the same for 4965
when this is ready, devoid can add this files for reference in his tutorial
this will help to match what you get in iwi logs against linux logs to find bugs

iwi2200.dmg os x 10.5
available in iwidarwin site
Ruud
The new rel 909 for iwi 4965 causes instant freeze on kextload and KP on boot
nordix
3945 rel 908 -> freeze (KP?) 3 times, log on safe boot below

BTW, how can I check my KP's debugger logs (and make shots of KP) if I have only freezes on blue screen?
austinsnyc
most of the time blue screen hangs are from AppleIntelIntegratedFramebuffer.kext issues.. damn thats a huge word!
nordix
austinsnyc, you are right. My leo doesn's boot with GMA950.kext directly (freezes), it loads only with this ...Framebuffer... And it seems that Frameboofer stops my system too, when 3945 loading. Or vice versa, I don't know
jalavoui
maybe iosleep hack - try this

iwi3945 rel 911
iwi4965 rel 912

if you get a kp
post the picture or
write last lines before the kp
sidewalkninja
From what I can tell, using 910, right after the build it automatically installs the kext and my computer locks up. When I reboot I get kp. I think nordix is maybe getting about the same. I'm new to mac, but normally if I were kernel debugging under linux I would use gdb, which is what I was asking earlier. being able to read the symbols form the kernel and being able to step through breakpoints in the module would probably prove most valuable.
austinsnyc
QUOTE(nordix @ May 1 2008, 05:30 PM) *
austinsnyc, you are right. My leo doesn's boot with GMA950.kext directly (freezes), it loads only with this ...Framebuffer... And it seems that Frameboofer stops my system too, when 3945 loading. Or vice versa, I don't know



I'll upload my appleintelintegratedframebuffer.kext for you I am also using a GMA950 so I know all about this issue.

also boot with the -v flag it will give you more output and let you know whats going on
jalavoui
the bug is in the driver
can someone show me where?
nordix
3945 rel 911 -> all the same (freezes)

austinsnyc, thanks for kext, I'll try it. Every reboot I make with -v -f.
jalavoui
@#! kp

iwi3945 rel 913
iwi4965 rel 914
bond6
Just set essid (and wep key) and it will associate itself:

May 1 13:50:05 puter kernel: wlan0: Initial auth_alg=0
May 1 13:50:05 puter kernel: wlan0: authenticate with AP 00:18:39:c5:e7:e6
May 1 13:50:05 puter kernel: wmaster0: TX to low-level driver (len=30) FC=0x00b0 DUR=0x013a A1=00:18:39:c5:e7:e6 A2=00:13:02:e2:a9:9a A3=00:18:39:c5:e7:e6
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_mac_tx enter
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_mac_tx leave
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_rx_handle r = 186, i = 185, REPLY_TX, 0x1c
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_rx_handle r = 187, i = 186, REPLY_3945_RX, 0x1b
May 1 13:50:05 puter kernel: wlan0: RX authentication from 00:18:39:c5:e7:e6 (alg=0 transaction=2 status=0)
May 1 13:50:05 puter kernel: wlan0: authenticated
May 1 13:50:05 puter kernel: wlan0: associate with AP 00:18:39:c5:e7:e6
May 1 13:50:05 puter kernel: wmaster0: TX to low-level driver (len=50) FC=0x0000 DUR=0x013a A1=00:18:39:c5:e7:e6 A2=00:13:02:e2:a9:9a A3=00:18:39:c5:e7:e6
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_mac_tx enter
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_mac_tx leave
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_rx_handle r = 188, i = 187, REPLY_TX, 0x1c
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_rx_handle r = 189, i = 188, REPLY_3945_RX, 0x1b
May 1 13:50:05 puter kernel: wlan0: RX AssocResp from 00:18:39:c5:e7:e6 (capab=0x411 status=0 aid=1)
May 1 13:50:05 puter kernel: wlan0: associated
May 1 13:50:05 puter kernel: wmaster0: Added STA 00:18:39:c5:e7:e6
May 1 13:50:05 puter kernel: wmaster0: TX to low-level driver (len=42) FC=0x0040 DUR=0x013a A1=00:18:39:c5:e7:e6 A2=00:13:02:e2:a9:9a A3=00:18:39:c5:e7:e6
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_mac_tx enter
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_mac_tx leave
May 1 13:50:05 puter kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_rx_handle r = 190, i = 189, REPLY_TX, 0x1c
May 1 13:50:05 puter kernel: iwl3945: I iwl3945_rx_handle r = 191, i = 190, REPLY_3945_RX, 0x1b
May 1 13:50:05 puter kernel: iwl3945: U iwl3945_bg_post_associate Associated as 1 to: 00:18:39:c5:e7:e6
--
command line tool:

puter:/home/bond# iwconfig --help
Usage: iwconfig interface [essid {NN|on|off}]
[nwid {NN|on|off}]
[mode {managed|ad-hoc|...}
[freq N.NNNN[k|M|G]]
[channel N]
[ap {N|off|auto}]
[sens N]
[nick N]
[rate {N|auto|fixed}]
[rts {N|auto|fixed|off}]
[frag {N|auto|fixed|off}]
[enc {NNNN-NNNN|off}]
[power {period N|timeout N}]
[retry {limit N|lifetime N}]
[txpower N {mW|dBm}]
[commit]

Edit: according to this page - http://www.intellinuxwireless.org/?p=iwlwi...n=howto-iwlwifi
nordix
austinsnyc, I've tried your framebuffer.kext, and I know it. I used it before, this is buggy version, that gave me some artefacts (a little gray square in the upper left conner of the screen instead of apple icon, and freezing pointer in the Mac Office 2008). Now I'm using normal release of this kext, provided by Apple with Graphic Update 1.0 pack three months ago. Thank you nevertheless! smile.gif
greyMD
@bond6, did you manage to connect ?!
austinsnyc
yes i am also wondering if BOND got it to work please report back and let us know! J - I am also getting KP when booting or loading the new release just posted not sure what you changed but it KP instantly
nordix
iwi3945 rel 913

First time freeze, then norm, but no scan
austinsnyc
QUOTE(nordix @ May 1 2008, 08:01 PM) *
austinsnyc, I've tried your framebuffer.kext, and I know it. I used it before, this is buggy version, that gave me some artefacts (a little gray square in the upper left conner of the screen instead of apple icon, and freezing pointer in the Mac Office 2008). Now I'm using normal release of this kext, provided by Apple with Graphic Update 1.0 pack three months ago. Thank you nevertheless! smile.gif



can you post your framebuffer kext please thanks!
bond6
That was under debian.
nordix
austinsnyc, here is my framebuffer.kext smile.gif
adamisnt
iwi4965 rel 914

Getting a KP on boot. Occurs after this:

May 1 13:46:13 adam-notebook kernel[0]: ifconfig going up
May 1 13:46:13 adam-notebook kernel[0]: outputPacket called by someone
May 1 13:46:13 adam-notebook kernel[0]: outputPacket2 called
May 1 13:46:13 adam-notebook kernel[0]: outputPacket t: 1 f:0003
May 1 13:46:13 adam-notebook kernel[0]: __ieee80211_tx @ /Users/Adam/Desktop/root/compatibility.cpp:5480
May 1 13:46:13 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_tx enter
May 1 13:46:13 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_tx dev->xmit(342 bytes) at rate 0xffffffff
May 1 13:46:13 adam-notebook kernel[0]: iwl4965: U iwl4965_tx_skb Dropping - !priv->interface_id
May 1 13:46:13 adam-notebook kernel[0]: iwl4965: U iwl4965_mac_tx leave


No scanning occurred, as far as I can tell.
pere
Yep, i get the same error too, i want to play with the jiffies, but cant make this last release stable... sad.gif Will try more iosleep values.
jalavoui
ok - this might work

iwi3945 rel 915
iwi4965 rel 916
adamisnt
iwi4965 rel 916

Still getting a KP in the same place.
No reference at all to 4965 in logs.

Is there any way to get more detailed logs or error messages during a kernal panic? A way to enter debugging?
nordix
iwi3945 rel 915 -> freeze (3 reboots)
jalavoui
ok - look at the code and try to fix
Doctadre
What happened to the dmg that used to be on the svn? I Havent seen one since the 888 build. Thats normally how I test, since Im usually at the hospital when Im testing. Could anyone post the latest kext/dmg?
zeadope
Hi ppl,

I have a iwi4965 mini pci-e.
I've tried the latest version 916.
It didn't kp out. But the log was keep posting info.
It didn't find the Airport card in Network.
Couldn't activate the card with the network tool.
Found the card via System Profiler. But not over at Airport, just network (not expanded).

Hope this was helpfull.

I have removed the kext already.
jalavoui
kp fix - maybe smile.gif

iwi3945 rel 917
iwi4965 rel 918

febelus,
try this:
get iwi2200.dmg os x 10.5 from iwidarwin. i didn't build the 10.5 dmg but if this is correctly build it is expected to associate to hidden networks with/without wep
goto windows and turn the card on using the wireless switch
reboot to mac os

zeadope,
there's no airport device just ethernet
test and post the logs

Doctadre,
there's no .dmg in the svn tree for iwi3945/4965
read 1st post to know howto build in xcode
febelus
hi,
i'm new on this forum but i read all before post this problem:
i've leopard 10.5.1 installed on sony vaio vgna-497xp all is ok except wireless.
ive installed iwi2200 driver as http://forum.insanelymac.com/index.php?showtopic=71779, kernek recognize my wifi card and discovery wifi network but when i try to connect to us the log report this:
iwi2200: radio on 0x50000 = 0x10000
May 2 13:21:08 fabio-angelettis-mac-pro kernel[0]: iwi2200: geography 2 = ZZD
May 2 13:21:16 fabio-angelettis-mac-pro kernel[0]: iwi2200: network cap 0x421 flags 0x402
May 2 13:21:16 fabio-angelettis-mac-pro kernel[0]: iwi2200: AUthenticated: 'paperetto' 00:14:a9:6a:cc:30
May 2 13:21:16 fabio-angelettis-mac-pro kernel[0]: iwi2200: associated: 'paperetto' 00:14:a9:6a:cc:30
May 2 13:21:16 fabio-angelettis-mac-pro kernel[0]: iwi2200: E Firmware error detected. Restarting.
May 2 13:21:17 fabio-angelettis-mac-pro kernel[0]: iwi2200: geography 2 = ZZD
May 2 13:21:18 fabio-angelettis-mac-pro kernel[0]: iwi2200: network cap 0x421 flags 0x402
May 2 13:21:18 fabio-angelettis-mac-pro kernel[0]: iwi2200: AUthenticated: 'paperetto' 00:14:a9:6a:cc:30
May 2 13:21:18 fabio-angelettis-mac-pro kernel[0]: iwi2200: associated: 'paperetto' 00:14:a9:6a:cc:30
May 2 13:21:20 fabio-angelettis-mac-pro kernel[0]: iwi2200: E Firmware error detected. Restarting.
May 2 13:21:20 fabio-angelettis-mac-pro kernel[0]: iwi2200: geography 2 = ZZD
May 2 13:21:24 fabio-angelettis-mac-pro kernel[0]: iwi2200: network cap 0x421 flags 0x402
May 2 13:21:24 fabio-angelettis-mac-pro kernel[0]: iwi2200: E Firmware error detected. Restarting.
May 2 13:21:24 fabio-angelettis-mac-pro kernel[0]: iwi2200: geography 2 = ZZD
May 2 13:21:28 fabio-angelettis-mac-pro kernel[0]: iwi2200: network cap 0x421 flags 0x402
May 2 13:21:29 fabio-angelettis-mac-pro kernel[0]: iwi2200: E Firmware error detected. Restarting.
May 2 13:21:29 fabio-angelettis-mac-pro kernel[0]: iwi2200: geography 2 = ZZD

and continue until i disable the wifi card.

what's the problem????
i've try 910 and 760 release and all have the same problem!!!!!

thx

fabio
zeadope
Just tested the 918 for iwi4965

I got a KP.

I made a pic while booting using -s -x.


Click for bigger size.

Hope this is helpful.

Keep up the good work.
febelus
for jalavoui,
i've not installed winxp,
with .iwi2200.pkg nothing work,
i've external wifi switch.
how can i fix this issue???
thx

jalavoui
kp fix...

iwi3945 rel 919
iwi4965 rel 920

pere,
can you test this?
need to be shure someone is testing last release
pere
Im testing and fighting the las releases KP! smile.gif
Going to test this one right now.

EDIT:
Here is my log for iwi 3945 rel 919

No more kp.
Used a value iosleep 4000 to avoid the ucode errors.
Seems the driver is now doing less things.
greyMD
crossing my fingers for your success!

g`luck
grrantry
What kernel do you need for 3945 to load? And how do you chage the kernel?

When I load kext I get nothing Could be cause I can't turn on 3945it uses Functio f2 to turn on in Windows!!

Thanks
jalavoui
when this project started for iwi3945/4965 i assume that the code for mac80211-10.0.4 was used
but TNW and symuc didn't apply the patches to this lib
meaning that all this time we're using a very old version of this lib
i'll use the same lib after apllying the make modified to get it patched
all source code must be changed...

this is just to much work - i don't feel like rewriting all project from scratch
i''ll just fix it when i find new bugs

i do hope they haven't done the same mistake for iwl-1.2.23

@#$!

iwi3945 rel 924
iwi4965 rel 925

have no idea on how this will work with the new lib
add pere's iosleep
adamisnt
iwi4965 rel 923

Does the set_rate stuff, no scanning as far as I can tell.
No KP

iwi4965 rel 925

Can see what looks like scanning when booting in -v verbose mode, but not seeing those entries in system.log.

Getting this:

May 2 08:46:08 adam-notebook kernel[0]: error iwl4965: ERROR: No TX rate available.


and

May 2 08:46:08 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_handle r = 13, i = 12, REPLY_TX, 0x1c
May 2 08:46:08 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_reply_tx Tx queue 0 Status STA_INVALID (0x0000008b) rate_n_flags 0x820a retries 0
May 2 08:46:08 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_reply_tx Tx queue reclaim 0


then

May 2 08:46:41 adam-notebook kernel[0]: iwl4965: U iwl4965_rx_reply_rx Bad CRC or FIFO: 0x80000002.
x4hu
QUOTE(jalavoui @ May 2 2008, 11:10 AM) *
when this project started for iwi3945/4965 i assume that the code for mac80211-10.0.4 was used
but TNW and symuc didn't apply the patches to this lib
meaning that all this time we're using a very old version of this lib
i'll use the same lib after apllying the make modified to get it patched
all source code must be changed...

this is just to much work - i don't feel like rewriting all project from scratch
i''ll just fix it when i find new bugs

i do hope they haven't done the same mistake for iwl-1.2.23

@#$!

iwi3945 rel 924
iwi4965 rel 925

have no idea on how this will work with the new lib
add pere's iosleep


damn.... holy cr*p... do they have any chance to work with the old libraries on leo ?
I mean that can be an endless loop of bugs...
greyMD
damn... going to replace my i3945 with a dell mini pci-e... ((
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.