iwl3945: if I leave my machine running overnight, wifi will not work in the morning
Quoted 3 lines · Pavel Machek
Hi!
Kernel 2.6.27-rc8; happened few times already.
...
Quoted 1 line
After reboot, network will work (I believe ;-).
Hmm, it did not this time.
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26kds
iwl3945: Copyright(c) 2003-2008 Intel Corporation iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 iwl3945 0000:03:00.0: setting latency timer to 64
iwl3945: Detected Intel Wireless WiFi Link 3945ABG
iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs' iwl3945 0000:03:00.0: PCI INT A disabled
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver
...
Oct 20 00:06:25 amd kernel: wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1) Oct 20 00:06:25 amd kernel: wlan0: associated Oct 20 00:06:26 amd kernel: wlan0: disassociated Oct 20 00:06:27 amd kernel: wlan0: associate with AP 00:11:2f:0e:95:a0 Oct 20 00:06:27 amd kernel: wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1) Oct 20 00:06:27 amd kernel: wlan0: associated Oct 20 00:06:27 amd kernel: wlan0: disassociated Oct 20 00:06:28 amd kernel: wlan0: associate with AP 00:11:2f:0e:95:a0 Oct 20 00:06:28 amd kernel: wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1) Oct 20 00:06:28 amd kernel: wlan0: associated Oct 20 00:06:29 amd kernel: wlan0: disassociated
On to reboot the access point...
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi!
Kernel 2.6.27-rc8; happened few times already.
root@amd:~# ifconfig wlan0 down root@amd:~# SysRq : Changing Loglevel Loglevel set to 9
root@amd:~# ifconfig wlan0 up iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 iwl3945 0000:03:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106) Registered led device: iwl-phy0:radio Registered led device: iwl-phy0:assoc Registered led device: iwl-phy0:RX Registered led device: iwl-phy0:TX wlan0: authenticate with AP 00:11:2f:0e:95:a0 root@amd:~# wlan0: authenticate with AP 00:11:2f:0e:95:a0 wlan0: authenticated wlan0: associate with AP 00:11:2f:0e:95:a0 wlan0: RX AssocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1) wlan0: associated
root@amd:~# ping 10.0.0.2 PING 10.0.0.2 (10.0.0.2): 56 data bytes wlan0: deauthenticated wlan0: authenticate with AP 00:11:2f:0e:95:a0 wlan0: authenticated wlan0: associate with AP 00:11:2f:0e:95:a0 wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1) wlan0: associated
^C ##### ping will not reply.
--- 10.0.0.2 ping statistics ---
23 packets transmitted, 0 packets received, 100% packet loss root@amd:~#
#### iwlist works:
root@amd:~# iwlist wlan0 scan Warning: Driver for device wlan0 has been compiled with version 22 of Wireless Extension, while this program supports up to version 17. Some things may be broken...
wlan0 Scan completed :
Cell 01 - Address: 00:11:2F:0E:95:A0
ESSID:"pavel"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=43/100 Signal level:-83 dBm Noiselevel=-99 dBm
Encryption key:off
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
...
root@amd:~# iwconfig wlan0 essid pavel root@amd:~# wlan0: authenticate with AP 00:11:2f:0e:95:a0 wlan0: authenticated wlan0: associate with AP 00:11:2f:0e:95:a0 wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1) wlan0: associated
root@amd:~# ping hobit PING hobit.ucw.cz (10.0.0.2): 56 data bytes ^C --- hobit.ucw.cz ping statistics --- 34 packets transmitted, 0 packets received, 100% packet loss root@amd:~#
Is there documentation of /sys/module/iwl3945/drivers/pci:iwl3945/{un,}bind somewhere? I believe that's the next step, but could not figure it out.
After reboot, network will work (I believe ;-).
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 87 lines · Pavel Machek
Quoted 9 lines · Pavel Machek
Quoted 3 lines · Pavel Machek
Hi!
Kernel 2.6.27-rc8; happened few times already.
...
Quoted 1 line
After reboot, network will work (I believe ;-).
Hmm, it did not this time.
Happened again...
root@amd:/mnt# ifconfig wlan0 down root@amd:/mnt# iwlist wlan0 scan Warning: Driver for device wlan0 has been compiled with version 22 of Wireless Extension, while this program supports up to version 17. Some things may be broken...wlan0 Interface doesn't support scanning : Network is down
root@amd:/mnt# ifconfig wlan0 10.0.0.6 up root@amd:/mnt# iwlist wlan0 scan Warning: Driver for device wlan0 has been compiled with version 22 of Wireless Extension, while this program supports up to version 17. Some things may be broken...wlan0 Scan completed :
Cell 01 - Address: 00:11:2F:0E:95:A0 ESSID:"pavel" Mode:Master Channel:1 Frequency:2.412 GHz (Channel 1) Quality=95/100 Signal level:-34 dBm Noiselevel=-68 dBm
Encryption key:off
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:tsf=000000262894417f
Extra: Last beacon: 76ms agoroot@amd:/mnt# iwconfig wlan0 essid pavel root@amd:/mnt# ping hobit PING hobit.ucw.cz (10.0.0.2): 56 data bytes ^C --- hobit.ucw.cz ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss root@amd:/mnt#This time I tried rebooting the AP, but it did not help. dmesg says:
wlan0: No ProbeResp from current AP 00:11:2f:0e:95:a0 - assume out of range
wlan0: deauthenticated
iwl3945 0000:03:00.0: PCI INT A disabled
iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 iwl3945 0000:03:00.0: restoring config space at offset0x1(was0x100102, writing0x100106)
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticated
wlan0: associate with AP 00:11:2f:0e:95:a0
wlan0: RX AssocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1)
wlan0: associated
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticated
wlan0: associate with AP 00:11:2f:0e:95:a0
wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1)
wlan0: associated
wlan0: No ProbeResp from current AP 00:11:2f:0e:95:a0 - assume out of
Quoted 8 lines
range
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticated
wlan0: associate with AP 00:11:2f:0e:95:a0
wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1)
wlan0: associated
root@amd:/mnt#
reboot, and network is back.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 9 lines · Pavel Machek
Quoted 3 lines · Pavel Machek
Hi!
Kernel 2.6.27-rc8; happened few times already.
...
Quoted 1 line
After reboot, network will work (I believe ;-).
Hmm, it did not this time.
Happened again...
root@amd:/mnt# ifconfig wlan0 down root@amd:/mnt# iwlist wlan0 scan Warning: Driver for device wlan0 has been compiled with version 22 of Wireless Extension, while this program supports up to version 17. Some things may be broken...
wlan0 Interface doesn't support scanning : Network is down
root@amd:/mnt# ifconfig wlan0 10.0.0.6 up root@amd:/mnt# iwlist wlan0 scan Warning: Driver for device wlan0 has been compiled with version 22 of Wireless Extension, while this program supports up to version 17. Some things may be broken...
wlan0 Scan completed :
Cell 01 - Address: 00:11:2F:0E:95:A0
ESSID:"pavel"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=95/100 Signal level:-34 dBm Noiselevel=-68 dBm
Encryption key:off
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:tsf=000000262894417f
Extra: Last beacon: 76ms ago
root@amd:/mnt# iwconfig wlan0 essid pavel root@amd:/mnt# ping hobit PING hobit.ucw.cz (10.0.0.2): 56 data bytes ^C --- hobit.ucw.cz ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss root@amd:/mnt#
This time I tried rebooting the AP, but it did not help. dmesg says:
wlan0: No ProbeResp from current AP 00:11:2f:0e:95:a0 - assume out of range
wlan0: deauthenticated
iwl3945 0000:03:00.0: PCI INT A disabled
iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 iwl3945 0000:03:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticated
wlan0: associate with AP 00:11:2f:0e:95:a0
wlan0: RX AssocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1)
wlan0: associated
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticated
wlan0: associate with AP 00:11:2f:0e:95:a0
wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1)
wlan0: associated
wlan0: No ProbeResp from current AP 00:11:2f:0e:95:a0 - assume out of range
wlan0: authenticate with AP 00:11:2f:0e:95:a0
wlan0: authenticated
wlan0: associate with AP 00:11:2f:0e:95:a0
wlan0: RX ReassocResp from 00:11:2f:0e:95:a0 (capab=0x401 status=0 aid=1)
wlan0: associated
root@amd:/mnt#
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 6 lines · Pavel Machek
root@amd:~# ping hobit PING hobit.ucw.cz (10.0.0.2): 56 data bytes ^C --- hobit.ucw.cz ping statistics --- 34 packets transmitted, 0 packets received, 100% packet loss root@amd:~#
Can we start to get some debug logs about what happens when you try to ping (and it fails)? Please ensure driver is compiled with debugging (CONFIG_IWL3945_DEBUG) and load the module with debug=0x43fff
Also, please submit a bug for this
( http://www.intellinuxwireless.org/bugzilla/ )to help us keep track of all the debugging output you are providing.
Thank you
Reinette