Skip to contentSkip to conversation

wireless-testing regression: iwl3945 scan fails

DISCUSSION Kalle Valo 5 participants 10 messages Jul 22, 2009 – Jul 25, 2009

lore
Share & tools
lore

Kalle Valo

author
#0 lore raw

Good morning,

I just upgraded to rc3-wl (commit 225b6807) and my iwl3945 doesn't work anymore, even scan fails. I don't have time to investigate this right now, but I'll try to find some time during the evening.

Signature · 1 line
Kalle Valo
#1 lore raw
Quoted 3 lines · Kalle Valo

I just upgraded to rc3-wl (commit 225b6807) and my iwl3945 doesn't work anymore, even scan fails. I don't have time to investigate this right now, but I'll try to find some time during the evening.

Marcel had similar complaints yesterday evening. I dunno which device he has. FWIW, the iwl5300 I have here seems to be working fine.

Maybe the Intel folks have some insight? There was a big batch of patches from them in yesterday's update.

John

Signature · 3 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
			¡Viva Honduras Libre!
author
#2 lore raw
In reply to Kalle Valo
Quoted 5 lines · Kalle Valo

Good morning,

I just upgraded to rc3-wl (commit 225b6807) and my iwl3945 doesn't work anymore, even scan fails. I don't have time to investigate this right now, but I'll try to find some time during the evening.

I have looked at this now a bit and I don't think this is an iwl3945 problem. Scanning seems to stall in some situations and iwl3945 doesn't even receive the scan command.

Here's an example what's happening with wpa_supplicant from debian unstable:

$ sudo ifup wlan0
[  104.468073] iwl3945 0000:03:00.0: firmware: requesting iwlwifi-3945-2.ucode
[  104.533234] iwl3945 0000:03:00.0: loaded firmware version 15.32.2.9
[  104.612049] phy0: device now idle
[  104.613091] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  106.968392] phy0: device no longer idle - scanning
[  109.561397] phy0: device now idle
[  109.563737] wlan0: deauthenticating by local choice (reason=3)
[  109.563743] phy0: device no longer idle - in use

[waited a while]

$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Device or resource busy
$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Device or resource busy
$ sudo wpa_action wlan0 stop
[  191.649653] wlan0: deauthenticating by local choice (reason=3)
[  191.697619] phy0: device now idle

Also I have been able to reproduce the problem once with iw. For some strange reason I have had to reboot my laptop to reproduce this, unloading all wireless related modules (expect rfkill which I can't unload due to dependencies) is not enough.

Signature · 1 line
Kalle Valo
#3 lore raw

Hi Kalle,

Quoted 11 lines · Kalle Valo
Quoted 5 lines · Kalle Valo

Good morning,

I just upgraded to rc3-wl (commit 225b6807) and my iwl3945 doesn't work anymore, even scan fails. I don't have time to investigate this right now, but I'll try to find some time during the evening.

I have looked at this now a bit and I don't think this is an iwl3945 problem. Scanning seems to stall in some situations and iwl3945 doesn't even receive the scan command.

The patches we sent recently did undergo testing under various scenarios using wpa_supplicant. We have not done this testing after the 2.6.31-rc3-wl merge (yesterday) though. I just did a quick test on my 3945 using iwconfig to associate and it was able to do so on A and G bands. Looks like I need to do some wpa_supplicant testing.

Quoted 25 lines

Here's an example what's happening with wpa_supplicant from debian unstable:

$ sudo ifup wlan0
[  104.468073] iwl3945 0000:03:00.0: firmware: requesting iwlwifi-3945-2.ucode
[  104.533234] iwl3945 0000:03:00.0: loaded firmware version 15.32.2.9
[  104.612049] phy0: device now idle
[  104.613091] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  106.968392] phy0: device no longer idle - scanning
[  109.561397] phy0: device now idle
[  109.563737] wlan0: deauthenticating by local choice (reason=3)
[  109.563743] phy0: device no longer idle - in use

[waited a while]

$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Device or resource busy
$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Device or resource busy
$ sudo wpa_action wlan0 stop
Quoted 7 lines
[  191.649653] wlan0: deauthenticating by local choice (reason=3)
[  191.697619] phy0: device now idle

Also I have been able to reproduce the problem once with iw. For some strange reason I have had to reboot my laptop to reproduce this, unloading all wireless related modules (expect rfkill which I can't unload due to dependencies) is not enough.

Are you saying that this problem occurs always with wpa_supplicant and sometimes with iw?

Reinette

#4 lore raw

Hi Reinette,

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

I just upgraded to rc3-wl (commit 225b6807) and my iwl3945 doesn't work anymore, even scan fails. I don't have time to investigate this right now, but I'll try to find some time during the evening.

I have looked at this now a bit and I don't think this is an iwl3945 problem. Scanning seems to stall in some situations and iwl3945 doesn't even receive the scan command.

Quoted 5 lines

The patches we sent recently did undergo testing under various scenarios using wpa_supplicant. We have not done this testing after the 2.6.31-rc3-wl merge (yesterday) though. I just did a quick test on my 3945 using iwconfig to associate and it was able to do so on A and G bands. Looks like I need to do some wpa_supplicant testing.

can also at least get an IP address via DHCP and do some packet transfer. I made the experience that DHCP works and then we get disconnected seconds later.

Regards

Marcel

#5 lore raw

Hi Marcel,

Quoted 16 lines · Marcel Holtmann

Hi Reinette,

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

I just upgraded to rc3-wl (commit 225b6807) and my iwl3945 doesn't work anymore, even scan fails. I don't have time to investigate this right now, but I'll try to find some time during the evening.

I have looked at this now a bit and I don't think this is an iwl3945 problem. Scanning seems to stall in some situations and iwl3945 doesn't even receive the scan command.

Quoted 5 lines

The patches we sent recently did undergo testing under various scenarios using wpa_supplicant. We have not done this testing after the 2.6.31-rc3-wl merge (yesterday) though. I just did a quick test on my 3945 using iwconfig to associate and it was able to do so on A and G bands. Looks like I need to do some wpa_supplicant testing.

Quoted 3 lines

can also at least get an IP address via DHCP and do some packet transfer. I made the experience that DHCP works and then we get disconnected seconds later.

I have seen this for a long time now. I am using wpa_supplicant to connect to a WPA2 network using a 5100 device and get disconnected very regularly (starts with "CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys" which is caused by a missing probe response from the AP). In these cases wpa_supplicant is able to reconnect. This behavior is also present in 2.6.31-rc3-wl from yesterday.

Do you not get reconnected after you get disconnected?

Reinette

author
#6 lore raw
In reply to reinette chatre
Quoted 1 line · reinette chatre

Hi Kalle,

Hi Reinette,

Quoted 9 lines
Quoted 3 lines

I have looked at this now a bit and I don't think this is an iwl3945 problem. Scanning seems to stall in some situations and iwl3945 doesn't even receive the scan command.

The patches we sent recently did undergo testing under various scenarios using wpa_supplicant. We have not done this testing after the 2.6.31-rc3-wl merge (yesterday) though. I just did a quick test on my 3945 using iwconfig to associate and it was able to do so on A and G bands. Looks like I need to do some wpa_supplicant testing.

This odd problem might happen only in my setup.

Quoted 7 lines
Quoted 4 lines

Also I have been able to reproduce the problem once with iw. For some strange reason I have had to reboot my laptop to reproduce this, unloading all wireless related modules (expect rfkill which I can't unload due to dependencies) is not enough.

Are you saying that this problem occurs always with wpa_supplicant and sometimes with iw?

I did some more testing and I can now reproduce this with iw as well. I just need to reboot my laptop to reproduce it. I'll debug this more on a rainy day.

Signature · 1 line
Kalle Valo
author
#7 lore raw
Quoted 8 lines · Kalle Valo
Quoted 2 lines · reinette chatre

Are you saying that this problem occurs always with wpa_supplicant and sometimes with iw?

I did some more testing and I can now reproduce this with iw as well. I just need to reboot my laptop to reproduce it. I'll debug this more on a rainy day.

This is getting very odd, I cannot reproduce the problem anymore with rc4-wl. Just to be safe, I rebooted back to rc3-wl and I was immediately able to reproduce it. To summarise, rc2-wl and rc4-wl were ok and only rc3-wl is broken. So something fixed this, I just don't know what.

Signature · 1 line
Kalle Valo
#8 lore raw
Quoted 7 lines · Kalle Valo
Quoted 5 lines · Kalle Valo
Quoted 2 lines · reinette chatre

Are you saying that this problem occurs always with wpa_supplicant and sometimes with iw?

Quoted 8 lines
Quoted 3 lines

I did some more testing and I can now reproduce this with iw as well. I just need to reboot my laptop to reproduce it. I'll debug this more on a rainy day.

This is getting very odd, I cannot reproduce the problem anymore with rc4-wl. Just to be safe, I rebooted back to rc3-wl and I was immediately able to reproduce it. To summarise, rc2-wl and rc4-wl were ok and only rc3-wl is broken. So something fixed this, I just don't know what.

That makes sense though, I posted a fix for at least a similar problem that only happened right after bootup ;)

johannes

author Tested-by
#9 lore raw
Quoted 7 lines · Johannes Berg
Quoted 4 lines

This is getting very odd, I cannot reproduce the problem anymore with rc4-wl. Just to be safe, I rebooted back to rc3-wl and I was immediately able to reproduce it. To summarise, rc2-wl and rc4-wl were ok and only rc3-wl is broken. So something fixed this, I just don't know what.

That makes sense though, I posted a fix for at least a similar problem that only happened right after bootup ;)

The patch in question:

commit 8b0fd0af6b36b2123af7da4eabe228d1fc101e38
Author: Johannes Berg <[email protected]>
Date: Thu Jul 23 16:50:16 2009 +0200

mac80211: fix mlme timeouts

I tried reverting the patch in rc4-wl and I again was able to reproduce the problem. This confirms that the patch fixed it. Thanks.

Signature · 1 line
Kalle Valo