Jump to content
3411 posts in this topic

Recommended Posts

Iwi3945 906.

 

No more ucode errors :angry: , 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);}

reboot_jiffies_iosleep_10__scan_last_scan_jiffies_not_ready__.txt

iwi3945.kext.zip

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 :thumbsup_anim:

 

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)

iwi2200.pkg.zip

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?

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."

system.doc

Iwi3945 906.

 

No more ucode errors :) , 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

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.

3945syslog2.zip

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

 

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

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

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, 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

AppleIntelIntegratedFramebuffer.kext.zip

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

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! :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...